@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
package/src/services/intel.ts
CHANGED
|
@@ -54,7 +54,7 @@ interface Payload {
|
|
|
54
54
|
detectionMethod?: string | null;
|
|
55
55
|
zoneTag?: string | null;
|
|
56
56
|
}
|
|
57
|
-
const Payload = /*@__PURE__*/
|
|
57
|
+
const Payload = /*@__PURE__*/ Schema.suspend(() =>
|
|
58
58
|
Schema.Struct({
|
|
59
59
|
detectionMethod: Schema.optional(
|
|
60
60
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -95,7 +95,7 @@ interface Issue {
|
|
|
95
95
|
/** User-defined classification for the insight. Can be 'false_positive', 'accept_risk', 'other', or null. */
|
|
96
96
|
userClassification?: "false_positive" | "accept_risk" | "other" | null;
|
|
97
97
|
}
|
|
98
|
-
const Issue = /*@__PURE__*/
|
|
98
|
+
const Issue = /*@__PURE__*/ Schema.suspend(() =>
|
|
99
99
|
Schema.Struct({
|
|
100
100
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
101
101
|
dismissed: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -206,7 +206,7 @@ interface ListAttackSurfaceReportIssuesResponseResultItem {
|
|
|
206
206
|
perPage?: number | null;
|
|
207
207
|
}
|
|
208
208
|
const ListAttackSurfaceReportIssuesResponseResultItem =
|
|
209
|
-
/*@__PURE__*/
|
|
209
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
210
210
|
Schema.Struct({
|
|
211
211
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
212
212
|
issues: Schema.optional(Schema.Union([Schema.Array(Issue), Schema.Null])),
|
|
@@ -265,7 +265,7 @@ interface ListAttackSurfaceReportIssuesResponseResult {
|
|
|
265
265
|
| null;
|
|
266
266
|
}
|
|
267
267
|
const ListAttackSurfaceReportIssuesResponseResult =
|
|
268
|
-
/*@__PURE__*/
|
|
268
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
269
269
|
Schema.Struct({
|
|
270
270
|
items: Schema.optional(
|
|
271
271
|
Schema.Union([
|
|
@@ -283,7 +283,7 @@ interface ListAttackSurfaceReportIssuesResponseResultInfo {
|
|
|
283
283
|
totalCount?: number | null;
|
|
284
284
|
}
|
|
285
285
|
const ListAttackSurfaceReportIssuesResponseResultInfo =
|
|
286
|
-
/*@__PURE__*/
|
|
286
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
287
287
|
Schema.Struct({
|
|
288
288
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
289
289
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -303,7 +303,7 @@ interface IssueClassResponseItem {
|
|
|
303
303
|
count?: number | null;
|
|
304
304
|
value?: string | null;
|
|
305
305
|
}
|
|
306
|
-
const IssueClassResponseItem = /*@__PURE__*/
|
|
306
|
+
const IssueClassResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
307
307
|
Schema.Struct({
|
|
308
308
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
309
309
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -313,7 +313,7 @@ const IssueClassResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
313
313
|
interface Source {
|
|
314
314
|
pointer?: string | null;
|
|
315
315
|
}
|
|
316
|
-
const Source = /*@__PURE__*/
|
|
316
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
317
317
|
Schema.Struct({
|
|
318
318
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
319
319
|
}),
|
|
@@ -325,7 +325,7 @@ interface Error2 {
|
|
|
325
325
|
documentationUrl?: string | null;
|
|
326
326
|
source?: { pointer?: string | null } | null;
|
|
327
327
|
}
|
|
328
|
-
const Error2 = /*@__PURE__*/
|
|
328
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
329
329
|
Schema.Struct({
|
|
330
330
|
code: Schema.Number,
|
|
331
331
|
message: Schema.String,
|
|
@@ -351,7 +351,7 @@ interface ReverseRecord {
|
|
|
351
351
|
/** Last seen date of the DNS record during the time period. */
|
|
352
352
|
lastSeen?: string | null;
|
|
353
353
|
}
|
|
354
|
-
const ReverseRecord = /*@__PURE__*/
|
|
354
|
+
const ReverseRecord = /*@__PURE__*/ Schema.suspend(() =>
|
|
355
355
|
Schema.Struct({
|
|
356
356
|
firstSeen: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
357
357
|
hostname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -381,23 +381,22 @@ interface ListDnsResponseResultItem {
|
|
|
381
381
|
}[]
|
|
382
382
|
| null;
|
|
383
383
|
}
|
|
384
|
-
const ListDnsResponseResultItem = /*@__PURE__*/
|
|
385
|
-
(
|
|
386
|
-
Schema.
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
Schema.Union([Schema.Array(ReverseRecord), Schema.Null]),
|
|
392
|
-
),
|
|
393
|
-
}).pipe(
|
|
394
|
-
Schema.encodeKeys({
|
|
395
|
-
count: "count",
|
|
396
|
-
page: "page",
|
|
397
|
-
perPage: "per_page",
|
|
398
|
-
reverseRecords: "reverse_records",
|
|
399
|
-
}),
|
|
384
|
+
const ListDnsResponseResultItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
385
|
+
Schema.Struct({
|
|
386
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
387
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
388
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
389
|
+
reverseRecords: Schema.optional(
|
|
390
|
+
Schema.Union([Schema.Array(ReverseRecord), Schema.Null]),
|
|
400
391
|
),
|
|
392
|
+
}).pipe(
|
|
393
|
+
Schema.encodeKeys({
|
|
394
|
+
count: "count",
|
|
395
|
+
page: "page",
|
|
396
|
+
perPage: "per_page",
|
|
397
|
+
reverseRecords: "reverse_records",
|
|
398
|
+
}),
|
|
399
|
+
),
|
|
401
400
|
) as unknown as Schema.Codec<ListDnsResponseResultItem>;
|
|
402
401
|
|
|
403
402
|
interface ListDnsResponseResult {
|
|
@@ -416,7 +415,7 @@ interface ListDnsResponseResult {
|
|
|
416
415
|
}[]
|
|
417
416
|
| null;
|
|
418
417
|
}
|
|
419
|
-
const ListDnsResponseResult = /*@__PURE__*/
|
|
418
|
+
const ListDnsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
420
419
|
Schema.Struct({
|
|
421
420
|
items: Schema.optional(
|
|
422
421
|
Schema.Union([Schema.Array(ListDnsResponseResultItem), Schema.Null]),
|
|
@@ -428,7 +427,7 @@ interface AdditionalInformation {
|
|
|
428
427
|
/** Suspected DGA malware family. */
|
|
429
428
|
suspectedMalwareFamily?: string | null;
|
|
430
429
|
}
|
|
431
|
-
const AdditionalInformation = /*@__PURE__*/
|
|
430
|
+
const AdditionalInformation = /*@__PURE__*/ Schema.suspend(() =>
|
|
432
431
|
Schema.Struct({
|
|
433
432
|
suspectedMalwareFamily: Schema.optional(
|
|
434
433
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -442,7 +441,7 @@ interface Application {
|
|
|
442
441
|
id?: number | null;
|
|
443
442
|
name?: string | null;
|
|
444
443
|
}
|
|
445
|
-
const Application = /*@__PURE__*/
|
|
444
|
+
const Application = /*@__PURE__*/ Schema.suspend(() =>
|
|
446
445
|
Schema.Struct({
|
|
447
446
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
448
447
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -454,7 +453,7 @@ interface ContentCategory {
|
|
|
454
453
|
name?: string | null;
|
|
455
454
|
superCategoryId?: number | null;
|
|
456
455
|
}
|
|
457
|
-
const ContentCategory = /*@__PURE__*/
|
|
456
|
+
const ContentCategory = /*@__PURE__*/ Schema.suspend(() =>
|
|
458
457
|
Schema.Struct({
|
|
459
458
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
460
459
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -476,7 +475,7 @@ interface ResolvesToRef {
|
|
|
476
475
|
/** IP address or domain name. */
|
|
477
476
|
value?: string | null;
|
|
478
477
|
}
|
|
479
|
-
const ResolvesToRef = /*@__PURE__*/
|
|
478
|
+
const ResolvesToRef = /*@__PURE__*/ Schema.suspend(() =>
|
|
480
479
|
Schema.Struct({
|
|
481
480
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
482
481
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -524,7 +523,7 @@ interface BulkGetResponseItem {
|
|
|
524
523
|
}[]
|
|
525
524
|
| null;
|
|
526
525
|
}
|
|
527
|
-
const BulkGetResponseItem = /*@__PURE__*/
|
|
526
|
+
const BulkGetResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
528
527
|
Schema.Struct({
|
|
529
528
|
additionalInformation: Schema.optional(
|
|
530
529
|
Schema.Union([AdditionalInformation, Schema.Null]),
|
|
@@ -567,7 +566,7 @@ interface Categorization {
|
|
|
567
566
|
end?: string | null;
|
|
568
567
|
start?: string | null;
|
|
569
568
|
}
|
|
570
|
-
const Categorization = /*@__PURE__*/
|
|
569
|
+
const Categorization = /*@__PURE__*/ Schema.suspend(() =>
|
|
571
570
|
Schema.Struct({
|
|
572
571
|
categories: Schema.optional(
|
|
573
572
|
Schema.Union([Schema.Array(Application), Schema.Null]),
|
|
@@ -587,7 +586,7 @@ interface DomainHistory {
|
|
|
587
586
|
| null;
|
|
588
587
|
domain?: string | null;
|
|
589
588
|
}
|
|
590
|
-
const DomainHistory = /*@__PURE__*/
|
|
589
|
+
const DomainHistory = /*@__PURE__*/ Schema.suspend(() =>
|
|
591
590
|
Schema.Struct({
|
|
592
591
|
categorizations: Schema.optional(
|
|
593
592
|
Schema.Union([Schema.Array(Categorization), Schema.Null]),
|
|
@@ -604,7 +603,7 @@ interface Persisted {
|
|
|
604
603
|
urlsAdded?: number | null;
|
|
605
604
|
urlsRemoved?: number | null;
|
|
606
605
|
}
|
|
607
|
-
const Persisted = /*@__PURE__*/
|
|
606
|
+
const Persisted = /*@__PURE__*/ Schema.suspend(() =>
|
|
608
607
|
Schema.Struct({
|
|
609
608
|
domainsAdded: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
610
609
|
domainsRemoved: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -632,7 +631,7 @@ interface Skipped {
|
|
|
632
631
|
/** Reserved for future use. Currently always 0 — the unifier aborts the entire upload on a single bad indicator. */
|
|
633
632
|
invalidIndicators?: number | null;
|
|
634
633
|
}
|
|
635
|
-
const Skipped = /*@__PURE__*/
|
|
634
|
+
const Skipped = /*@__PURE__*/ Schema.suspend(() =>
|
|
636
635
|
Schema.Struct({
|
|
637
636
|
allowlistedDomains: Schema.optional(
|
|
638
637
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
@@ -660,7 +659,7 @@ interface Uploaded {
|
|
|
660
659
|
/** Number of URL indicators in the upload */
|
|
661
660
|
urls?: number | null;
|
|
662
661
|
}
|
|
663
|
-
const Uploaded = /*@__PURE__*/
|
|
662
|
+
const Uploaded = /*@__PURE__*/ Schema.suspend(() =>
|
|
664
663
|
Schema.Struct({
|
|
665
664
|
domains: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
666
665
|
ips: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -691,7 +690,7 @@ interface LastUploadSummary {
|
|
|
691
690
|
urls?: number | null;
|
|
692
691
|
} | null;
|
|
693
692
|
}
|
|
694
|
-
const LastUploadSummary = /*@__PURE__*/
|
|
693
|
+
const LastUploadSummary = /*@__PURE__*/ Schema.suspend(() =>
|
|
695
694
|
Schema.Struct({
|
|
696
695
|
persisted: Schema.optional(Schema.Union([Persisted, Schema.Null])),
|
|
697
696
|
skipped: Schema.optional(Schema.Union([Skipped, Schema.Null])),
|
|
@@ -718,7 +717,7 @@ interface ListIndicatorFeedsResponseResult {
|
|
|
718
717
|
name?: string | null;
|
|
719
718
|
}
|
|
720
719
|
const ListIndicatorFeedsResponseResult =
|
|
721
|
-
/*@__PURE__*/
|
|
720
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
722
721
|
Schema.Struct({
|
|
723
722
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
724
723
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -760,29 +759,28 @@ interface PermissionListResponseItem {
|
|
|
760
759
|
/** The name of the indicator feed */
|
|
761
760
|
name?: string | null;
|
|
762
761
|
}
|
|
763
|
-
const PermissionListResponseItem = /*@__PURE__*/
|
|
764
|
-
(
|
|
765
|
-
Schema.
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
773
|
-
),
|
|
774
|
-
isPublic: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
775
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
776
|
-
}).pipe(
|
|
777
|
-
Schema.encodeKeys({
|
|
778
|
-
id: "id",
|
|
779
|
-
description: "description",
|
|
780
|
-
isAttributable: "is_attributable",
|
|
781
|
-
isDownloadable: "is_downloadable",
|
|
782
|
-
isPublic: "is_public",
|
|
783
|
-
name: "name",
|
|
784
|
-
}),
|
|
762
|
+
const PermissionListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
763
|
+
Schema.Struct({
|
|
764
|
+
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
765
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
766
|
+
isAttributable: Schema.optional(
|
|
767
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
768
|
+
),
|
|
769
|
+
isDownloadable: Schema.optional(
|
|
770
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
785
771
|
),
|
|
772
|
+
isPublic: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
773
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
774
|
+
}).pipe(
|
|
775
|
+
Schema.encodeKeys({
|
|
776
|
+
id: "id",
|
|
777
|
+
description: "description",
|
|
778
|
+
isAttributable: "is_attributable",
|
|
779
|
+
isDownloadable: "is_downloadable",
|
|
780
|
+
isPublic: "is_public",
|
|
781
|
+
name: "name",
|
|
782
|
+
}),
|
|
783
|
+
),
|
|
786
784
|
) as unknown as Schema.Codec<PermissionListResponseItem>;
|
|
787
785
|
|
|
788
786
|
interface BelongsToRef {
|
|
@@ -793,7 +791,7 @@ interface BelongsToRef {
|
|
|
793
791
|
type?: "hosting_provider" | "isp" | "organization" | (string & {}) | null;
|
|
794
792
|
value?: string | null;
|
|
795
793
|
}
|
|
796
|
-
const BelongsToRef = /*@__PURE__*/
|
|
794
|
+
const BelongsToRef = /*@__PURE__*/ Schema.suspend(() =>
|
|
797
795
|
Schema.Struct({
|
|
798
796
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
799
797
|
country: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -829,7 +827,7 @@ interface Ip {
|
|
|
829
827
|
}[]
|
|
830
828
|
| null;
|
|
831
829
|
}
|
|
832
|
-
const Ip = /*@__PURE__*/
|
|
830
|
+
const Ip = /*@__PURE__*/ Schema.suspend(() =>
|
|
833
831
|
Schema.Struct({
|
|
834
832
|
belongsToRef: Schema.optional(Schema.Union([BelongsToRef, Schema.Null])),
|
|
835
833
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -861,27 +859,26 @@ interface ListSinkholesResponseResult {
|
|
|
861
859
|
/** The id of the R2 instance. */
|
|
862
860
|
r2Id?: string | null;
|
|
863
861
|
}
|
|
864
|
-
const ListSinkholesResponseResult = /*@__PURE__*/
|
|
865
|
-
(
|
|
866
|
-
Schema.
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
),
|
|
862
|
+
const ListSinkholesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
863
|
+
Schema.Struct({
|
|
864
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
865
|
+
accountTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
866
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
867
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
868
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
869
|
+
r2Bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
870
|
+
r2Id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
871
|
+
}).pipe(
|
|
872
|
+
Schema.encodeKeys({
|
|
873
|
+
id: "id",
|
|
874
|
+
accountTag: "account_tag",
|
|
875
|
+
createdOn: "created_on",
|
|
876
|
+
modifiedOn: "modified_on",
|
|
877
|
+
name: "name",
|
|
878
|
+
r2Bucket: "r2_bucket",
|
|
879
|
+
r2Id: "r2_id",
|
|
880
|
+
}),
|
|
881
|
+
),
|
|
885
882
|
) as unknown as Schema.Codec<ListSinkholesResponseResult>;
|
|
886
883
|
|
|
887
884
|
// =============================================================================
|
|
@@ -894,7 +891,7 @@ export interface GetAsnRequest {
|
|
|
894
891
|
asn: string;
|
|
895
892
|
}
|
|
896
893
|
|
|
897
|
-
export const GetAsnRequest = /*@__PURE__*/
|
|
894
|
+
export const GetAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
898
895
|
Schema.Struct({
|
|
899
896
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
900
897
|
asn: Schema.String.pipe(T.HttpPath("asn")),
|
|
@@ -905,7 +902,7 @@ export const GetAsnRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
905
902
|
|
|
906
903
|
export type GetAsnResponse = number;
|
|
907
904
|
|
|
908
|
-
export const GetAsnResponse = /*@__PURE__*/
|
|
905
|
+
export const GetAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
909
906
|
Schema.Number.pipe(T.ResponsePath("result")),
|
|
910
907
|
) as unknown as Schema.Codec<GetAsnResponse>;
|
|
911
908
|
|
|
@@ -916,7 +913,7 @@ export const getAsn: API.OperationMethod<
|
|
|
916
913
|
GetAsnResponse,
|
|
917
914
|
GetAsnError,
|
|
918
915
|
Credentials | HttpClient.HttpClient
|
|
919
|
-
> = /*@__PURE__*/
|
|
916
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
920
917
|
input: GetAsnRequest,
|
|
921
918
|
output: GetAsnResponse,
|
|
922
919
|
errors: [],
|
|
@@ -932,17 +929,16 @@ export interface GetAsnSubnetRequest {
|
|
|
932
929
|
asn: string;
|
|
933
930
|
}
|
|
934
931
|
|
|
935
|
-
export const GetAsnSubnetRequest = /*@__PURE__*/
|
|
936
|
-
(
|
|
937
|
-
Schema.
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
),
|
|
932
|
+
export const GetAsnSubnetRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
933
|
+
Schema.Struct({
|
|
934
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
935
|
+
asn: Schema.String.pipe(T.HttpPath("asn")),
|
|
936
|
+
}).pipe(
|
|
937
|
+
T.Http({
|
|
938
|
+
method: "GET",
|
|
939
|
+
path: "/accounts/{account_id}/intel/asn/{asn}/subnets",
|
|
940
|
+
}),
|
|
941
|
+
),
|
|
946
942
|
) as unknown as Schema.Codec<GetAsnSubnetRequest>;
|
|
947
943
|
|
|
948
944
|
export interface GetAsnSubnetResponse {
|
|
@@ -957,27 +953,26 @@ export interface GetAsnSubnetResponse {
|
|
|
957
953
|
subnets?: string[] | null;
|
|
958
954
|
}
|
|
959
955
|
|
|
960
|
-
export const GetAsnSubnetResponse = /*@__PURE__*/
|
|
961
|
-
(
|
|
962
|
-
Schema.
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
970
|
-
),
|
|
971
|
-
}).pipe(
|
|
972
|
-
Schema.encodeKeys({
|
|
973
|
-
asn: "asn",
|
|
974
|
-
count: "count",
|
|
975
|
-
ipCountTotal: "ip_count_total",
|
|
976
|
-
page: "page",
|
|
977
|
-
perPage: "per_page",
|
|
978
|
-
subnets: "subnets",
|
|
979
|
-
}),
|
|
956
|
+
export const GetAsnSubnetResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
957
|
+
Schema.Struct({
|
|
958
|
+
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
959
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
960
|
+
ipCountTotal: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
961
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
962
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
963
|
+
subnets: Schema.optional(
|
|
964
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
980
965
|
),
|
|
966
|
+
}).pipe(
|
|
967
|
+
Schema.encodeKeys({
|
|
968
|
+
asn: "asn",
|
|
969
|
+
count: "count",
|
|
970
|
+
ipCountTotal: "ip_count_total",
|
|
971
|
+
page: "page",
|
|
972
|
+
perPage: "per_page",
|
|
973
|
+
subnets: "subnets",
|
|
974
|
+
}),
|
|
975
|
+
),
|
|
981
976
|
) as unknown as Schema.Codec<GetAsnSubnetResponse>;
|
|
982
977
|
|
|
983
978
|
export type GetAsnSubnetError = DefaultErrors;
|
|
@@ -987,7 +982,7 @@ export const getAsnSubnet: API.OperationMethod<
|
|
|
987
982
|
GetAsnSubnetResponse,
|
|
988
983
|
GetAsnSubnetError,
|
|
989
984
|
Credentials | HttpClient.HttpClient
|
|
990
|
-
> = /*@__PURE__*/
|
|
985
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
991
986
|
input: GetAsnSubnetRequest,
|
|
992
987
|
output: GetAsnSubnetResponse,
|
|
993
988
|
errors: [],
|
|
@@ -1043,7 +1038,7 @@ export interface ListAttackSurfaceReportIssuesRequest {
|
|
|
1043
1038
|
}
|
|
1044
1039
|
|
|
1045
1040
|
export const ListAttackSurfaceReportIssuesRequest =
|
|
1046
|
-
/*@__PURE__*/
|
|
1041
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1047
1042
|
Schema.Struct({
|
|
1048
1043
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1049
1044
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -1178,7 +1173,7 @@ export interface ListAttackSurfaceReportIssuesResponse {
|
|
|
1178
1173
|
}
|
|
1179
1174
|
|
|
1180
1175
|
export const ListAttackSurfaceReportIssuesResponse =
|
|
1181
|
-
/*@__PURE__*/
|
|
1176
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1182
1177
|
Schema.Struct({
|
|
1183
1178
|
result: ListAttackSurfaceReportIssuesResponseResult,
|
|
1184
1179
|
resultInfo: Schema.optional(
|
|
@@ -1197,7 +1192,7 @@ export const listAttackSurfaceReportIssues: API.PaginatedOperationMethod<
|
|
|
1197
1192
|
ListAttackSurfaceReportIssuesResponse,
|
|
1198
1193
|
ListAttackSurfaceReportIssuesError,
|
|
1199
1194
|
Credentials | HttpClient.HttpClient
|
|
1200
|
-
> = /*@__PURE__*/
|
|
1195
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1201
1196
|
input: ListAttackSurfaceReportIssuesRequest,
|
|
1202
1197
|
output: ListAttackSurfaceReportIssuesResponse,
|
|
1203
1198
|
errors: [],
|
|
@@ -1254,7 +1249,7 @@ export interface ClassAttackSurfaceReportIssueRequest {
|
|
|
1254
1249
|
}
|
|
1255
1250
|
|
|
1256
1251
|
export const ClassAttackSurfaceReportIssueRequest =
|
|
1257
|
-
/*@__PURE__*/
|
|
1252
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1258
1253
|
Schema.Struct({
|
|
1259
1254
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1260
1255
|
dismissed: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("dismissed")),
|
|
@@ -1336,7 +1331,7 @@ export type ClassAttackSurfaceReportIssueResponse = {
|
|
|
1336
1331
|
}[];
|
|
1337
1332
|
|
|
1338
1333
|
export const ClassAttackSurfaceReportIssueResponse =
|
|
1339
|
-
/*@__PURE__*/
|
|
1334
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1340
1335
|
Schema.Array(IssueClassResponseItem).pipe(T.ResponsePath("result")),
|
|
1341
1336
|
) as unknown as Schema.Codec<ClassAttackSurfaceReportIssueResponse>;
|
|
1342
1337
|
|
|
@@ -1347,7 +1342,7 @@ export const classAttackSurfaceReportIssue: API.OperationMethod<
|
|
|
1347
1342
|
ClassAttackSurfaceReportIssueResponse,
|
|
1348
1343
|
ClassAttackSurfaceReportIssueError,
|
|
1349
1344
|
Credentials | HttpClient.HttpClient
|
|
1350
|
-
> = /*@__PURE__*/
|
|
1345
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1351
1346
|
input: ClassAttackSurfaceReportIssueRequest,
|
|
1352
1347
|
output: ClassAttackSurfaceReportIssueResponse,
|
|
1353
1348
|
errors: [],
|
|
@@ -1362,7 +1357,7 @@ export interface DismissAttackSurfaceReportIssueRequest {
|
|
|
1362
1357
|
}
|
|
1363
1358
|
|
|
1364
1359
|
export const DismissAttackSurfaceReportIssueRequest =
|
|
1365
|
-
/*@__PURE__*/
|
|
1360
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1366
1361
|
Schema.Struct({
|
|
1367
1362
|
issueId: Schema.String.pipe(T.HttpPath("issueId")),
|
|
1368
1363
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1393,7 +1388,7 @@ export interface DismissAttackSurfaceReportIssueResponse {
|
|
|
1393
1388
|
}
|
|
1394
1389
|
|
|
1395
1390
|
export const DismissAttackSurfaceReportIssueResponse =
|
|
1396
|
-
/*@__PURE__*/
|
|
1391
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1397
1392
|
Schema.Struct({
|
|
1398
1393
|
errors: Schema.Array(Error2),
|
|
1399
1394
|
messages: Schema.Array(Error2),
|
|
@@ -1408,7 +1403,7 @@ export const dismissAttackSurfaceReportIssue: API.OperationMethod<
|
|
|
1408
1403
|
DismissAttackSurfaceReportIssueResponse,
|
|
1409
1404
|
DismissAttackSurfaceReportIssueError,
|
|
1410
1405
|
Credentials | HttpClient.HttpClient
|
|
1411
|
-
> = /*@__PURE__*/
|
|
1406
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1412
1407
|
input: DismissAttackSurfaceReportIssueRequest,
|
|
1413
1408
|
output: DismissAttackSurfaceReportIssueResponse,
|
|
1414
1409
|
errors: [],
|
|
@@ -1458,7 +1453,7 @@ export interface SeverityAttackSurfaceReportIssueRequest {
|
|
|
1458
1453
|
}
|
|
1459
1454
|
|
|
1460
1455
|
export const SeverityAttackSurfaceReportIssueRequest =
|
|
1461
|
-
/*@__PURE__*/
|
|
1456
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1462
1457
|
Schema.Struct({
|
|
1463
1458
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1464
1459
|
dismissed: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("dismissed")),
|
|
@@ -1540,7 +1535,7 @@ export type SeverityAttackSurfaceReportIssueResponse = {
|
|
|
1540
1535
|
}[];
|
|
1541
1536
|
|
|
1542
1537
|
export const SeverityAttackSurfaceReportIssueResponse =
|
|
1543
|
-
/*@__PURE__*/
|
|
1538
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1544
1539
|
Schema.Array(IssueClassResponseItem).pipe(T.ResponsePath("result")),
|
|
1545
1540
|
) as unknown as Schema.Codec<SeverityAttackSurfaceReportIssueResponse>;
|
|
1546
1541
|
|
|
@@ -1551,7 +1546,7 @@ export const severityAttackSurfaceReportIssue: API.OperationMethod<
|
|
|
1551
1546
|
SeverityAttackSurfaceReportIssueResponse,
|
|
1552
1547
|
SeverityAttackSurfaceReportIssueError,
|
|
1553
1548
|
Credentials | HttpClient.HttpClient
|
|
1554
|
-
> = /*@__PURE__*/
|
|
1549
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1555
1550
|
input: SeverityAttackSurfaceReportIssueRequest,
|
|
1556
1551
|
output: SeverityAttackSurfaceReportIssueResponse,
|
|
1557
1552
|
errors: [],
|
|
@@ -1601,7 +1596,7 @@ export interface TypeAttackSurfaceReportIssueRequest {
|
|
|
1601
1596
|
}
|
|
1602
1597
|
|
|
1603
1598
|
export const TypeAttackSurfaceReportIssueRequest =
|
|
1604
|
-
/*@__PURE__*/
|
|
1599
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1605
1600
|
Schema.Struct({
|
|
1606
1601
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1607
1602
|
dismissed: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("dismissed")),
|
|
@@ -1683,7 +1678,7 @@ export type TypeAttackSurfaceReportIssueResponse = {
|
|
|
1683
1678
|
}[];
|
|
1684
1679
|
|
|
1685
1680
|
export const TypeAttackSurfaceReportIssueResponse =
|
|
1686
|
-
/*@__PURE__*/
|
|
1681
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1687
1682
|
Schema.Array(IssueClassResponseItem).pipe(T.ResponsePath("result")),
|
|
1688
1683
|
) as unknown as Schema.Codec<TypeAttackSurfaceReportIssueResponse>;
|
|
1689
1684
|
|
|
@@ -1694,7 +1689,7 @@ export const typeAttackSurfaceReportIssue: API.OperationMethod<
|
|
|
1694
1689
|
TypeAttackSurfaceReportIssueResponse,
|
|
1695
1690
|
TypeAttackSurfaceReportIssueError,
|
|
1696
1691
|
Credentials | HttpClient.HttpClient
|
|
1697
|
-
> = /*@__PURE__*/
|
|
1692
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1698
1693
|
input: TypeAttackSurfaceReportIssueRequest,
|
|
1699
1694
|
output: TypeAttackSurfaceReportIssueResponse,
|
|
1700
1695
|
errors: [],
|
|
@@ -1710,7 +1705,7 @@ export interface GetAttackSurfaceReportIssueTypeRequest {
|
|
|
1710
1705
|
}
|
|
1711
1706
|
|
|
1712
1707
|
export const GetAttackSurfaceReportIssueTypeRequest =
|
|
1713
|
-
/*@__PURE__*/
|
|
1708
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1714
1709
|
Schema.Struct({
|
|
1715
1710
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1716
1711
|
}).pipe(
|
|
@@ -1726,7 +1721,7 @@ export interface GetAttackSurfaceReportIssueTypeResponse {
|
|
|
1726
1721
|
}
|
|
1727
1722
|
|
|
1728
1723
|
export const GetAttackSurfaceReportIssueTypeResponse =
|
|
1729
|
-
/*@__PURE__*/
|
|
1724
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1730
1725
|
Schema.Struct({
|
|
1731
1726
|
result: Schema.Array(Schema.String),
|
|
1732
1727
|
}),
|
|
@@ -1739,7 +1734,7 @@ export const getAttackSurfaceReportIssueType: API.PaginatedOperationMethod<
|
|
|
1739
1734
|
GetAttackSurfaceReportIssueTypeResponse,
|
|
1740
1735
|
GetAttackSurfaceReportIssueTypeError,
|
|
1741
1736
|
Credentials | HttpClient.HttpClient
|
|
1742
|
-
> = /*@__PURE__*/
|
|
1737
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1743
1738
|
input: GetAttackSurfaceReportIssueTypeRequest,
|
|
1744
1739
|
output: GetAttackSurfaceReportIssueTypeResponse,
|
|
1745
1740
|
errors: [],
|
|
@@ -1764,7 +1759,7 @@ export interface ListDnsRequest {
|
|
|
1764
1759
|
startEndParams?: { end?: string; start?: string };
|
|
1765
1760
|
}
|
|
1766
1761
|
|
|
1767
|
-
export const ListDnsRequest = /*@__PURE__*/
|
|
1762
|
+
export const ListDnsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1768
1763
|
Schema.Struct({
|
|
1769
1764
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1770
1765
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -1804,7 +1799,7 @@ export interface ListDnsResponse {
|
|
|
1804
1799
|
} | null;
|
|
1805
1800
|
}
|
|
1806
1801
|
|
|
1807
|
-
export const ListDnsResponse = /*@__PURE__*/
|
|
1802
|
+
export const ListDnsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1808
1803
|
Schema.Struct({
|
|
1809
1804
|
result: ListDnsResponseResult,
|
|
1810
1805
|
resultInfo: Schema.optional(
|
|
@@ -1823,7 +1818,7 @@ export const listDns: API.PaginatedOperationMethod<
|
|
|
1823
1818
|
ListDnsResponse,
|
|
1824
1819
|
ListDnsError,
|
|
1825
1820
|
Credentials | HttpClient.HttpClient
|
|
1826
|
-
> = /*@__PURE__*/
|
|
1821
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1827
1822
|
input: ListDnsRequest,
|
|
1828
1823
|
output: ListDnsResponse,
|
|
1829
1824
|
errors: [],
|
|
@@ -1851,7 +1846,7 @@ export interface GetDomainRequest {
|
|
|
1851
1846
|
skipRanking?: boolean;
|
|
1852
1847
|
}
|
|
1853
1848
|
|
|
1854
|
-
export const GetDomainRequest = /*@__PURE__*/
|
|
1849
|
+
export const GetDomainRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1855
1850
|
Schema.Struct({
|
|
1856
1851
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1857
1852
|
domain: Schema.optional(Schema.String).pipe(T.HttpQuery("domain")),
|
|
@@ -1908,53 +1903,48 @@ export interface GetDomainResponse {
|
|
|
1908
1903
|
| null;
|
|
1909
1904
|
}
|
|
1910
1905
|
|
|
1911
|
-
export const GetDomainResponse = /*@__PURE__*/
|
|
1912
|
-
(
|
|
1913
|
-
Schema.
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
),
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
riskScore: "risk_score",
|
|
1954
|
-
riskTypes: "risk_types",
|
|
1955
|
-
}),
|
|
1956
|
-
)
|
|
1957
|
-
.pipe(T.ResponsePath("result")),
|
|
1906
|
+
export const GetDomainResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1907
|
+
Schema.Struct({
|
|
1908
|
+
additionalInformation: Schema.optional(
|
|
1909
|
+
Schema.Union([AdditionalInformation, Schema.Null]),
|
|
1910
|
+
),
|
|
1911
|
+
application: Schema.optional(Schema.Union([Application, Schema.Null])),
|
|
1912
|
+
contentCategories: Schema.optional(
|
|
1913
|
+
Schema.Union([Schema.Array(ContentCategory), Schema.Null]),
|
|
1914
|
+
),
|
|
1915
|
+
domain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1916
|
+
inheritedContentCategories: Schema.optional(
|
|
1917
|
+
Schema.Union([Schema.Array(ContentCategory), Schema.Null]),
|
|
1918
|
+
),
|
|
1919
|
+
inheritedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1920
|
+
inheritedRiskTypes: Schema.optional(
|
|
1921
|
+
Schema.Union([Schema.Array(ContentCategory), Schema.Null]),
|
|
1922
|
+
),
|
|
1923
|
+
popularityRank: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1924
|
+
resolvesToRefs: Schema.optional(
|
|
1925
|
+
Schema.Union([Schema.Array(ResolvesToRef), Schema.Null]),
|
|
1926
|
+
),
|
|
1927
|
+
riskScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1928
|
+
riskTypes: Schema.optional(
|
|
1929
|
+
Schema.Union([Schema.Array(ContentCategory), Schema.Null]),
|
|
1930
|
+
),
|
|
1931
|
+
})
|
|
1932
|
+
.pipe(
|
|
1933
|
+
Schema.encodeKeys({
|
|
1934
|
+
additionalInformation: "additional_information",
|
|
1935
|
+
application: "application",
|
|
1936
|
+
contentCategories: "content_categories",
|
|
1937
|
+
domain: "domain",
|
|
1938
|
+
inheritedContentCategories: "inherited_content_categories",
|
|
1939
|
+
inheritedFrom: "inherited_from",
|
|
1940
|
+
inheritedRiskTypes: "inherited_risk_types",
|
|
1941
|
+
popularityRank: "popularity_rank",
|
|
1942
|
+
resolvesToRefs: "resolves_to_refs",
|
|
1943
|
+
riskScore: "risk_score",
|
|
1944
|
+
riskTypes: "risk_types",
|
|
1945
|
+
}),
|
|
1946
|
+
)
|
|
1947
|
+
.pipe(T.ResponsePath("result")),
|
|
1958
1948
|
) as unknown as Schema.Codec<GetDomainResponse>;
|
|
1959
1949
|
|
|
1960
1950
|
export type GetDomainError = DefaultErrors;
|
|
@@ -1964,7 +1954,7 @@ export const getDomain: API.OperationMethod<
|
|
|
1964
1954
|
GetDomainResponse,
|
|
1965
1955
|
GetDomainError,
|
|
1966
1956
|
Credentials | HttpClient.HttpClient
|
|
1967
|
-
> = /*@__PURE__*/
|
|
1957
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1968
1958
|
input: GetDomainRequest,
|
|
1969
1959
|
output: GetDomainResponse,
|
|
1970
1960
|
errors: [],
|
|
@@ -1985,25 +1975,24 @@ export interface GetDomainBulkRequest {
|
|
|
1985
1975
|
skipRanking?: boolean;
|
|
1986
1976
|
}
|
|
1987
1977
|
|
|
1988
|
-
export const GetDomainBulkRequest = /*@__PURE__*/
|
|
1989
|
-
(
|
|
1990
|
-
Schema.
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
T.HttpQuery("domain"),
|
|
1994
|
-
),
|
|
1995
|
-
includeRanking: Schema.optional(Schema.Boolean).pipe(
|
|
1996
|
-
T.HttpQuery("include_ranking"),
|
|
1997
|
-
),
|
|
1998
|
-
skipRanking: Schema.optional(Schema.Boolean).pipe(
|
|
1999
|
-
T.HttpQuery("skip_ranking"),
|
|
2000
|
-
),
|
|
2001
|
-
}).pipe(
|
|
2002
|
-
T.Http({
|
|
2003
|
-
method: "GET",
|
|
2004
|
-
path: "/accounts/{account_id}/intel/domain/bulk",
|
|
2005
|
-
}),
|
|
1978
|
+
export const GetDomainBulkRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1979
|
+
Schema.Struct({
|
|
1980
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1981
|
+
domain: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
1982
|
+
T.HttpQuery("domain"),
|
|
2006
1983
|
),
|
|
1984
|
+
includeRanking: Schema.optional(Schema.Boolean).pipe(
|
|
1985
|
+
T.HttpQuery("include_ranking"),
|
|
1986
|
+
),
|
|
1987
|
+
skipRanking: Schema.optional(Schema.Boolean).pipe(
|
|
1988
|
+
T.HttpQuery("skip_ranking"),
|
|
1989
|
+
),
|
|
1990
|
+
}).pipe(
|
|
1991
|
+
T.Http({
|
|
1992
|
+
method: "GET",
|
|
1993
|
+
path: "/accounts/{account_id}/intel/domain/bulk",
|
|
1994
|
+
}),
|
|
1995
|
+
),
|
|
2007
1996
|
) as unknown as Schema.Codec<GetDomainBulkRequest>;
|
|
2008
1997
|
|
|
2009
1998
|
export type GetDomainBulkResponse = {
|
|
@@ -2043,8 +2032,8 @@ export type GetDomainBulkResponse = {
|
|
|
2043
2032
|
| null;
|
|
2044
2033
|
}[];
|
|
2045
2034
|
|
|
2046
|
-
export const GetDomainBulkResponse = /*@__PURE__*/
|
|
2047
|
-
|
|
2035
|
+
export const GetDomainBulkResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2036
|
+
Schema.Array(BulkGetResponseItem).pipe(T.ResponsePath("result")),
|
|
2048
2037
|
) as unknown as Schema.Codec<GetDomainBulkResponse>;
|
|
2049
2038
|
|
|
2050
2039
|
export type GetDomainBulkError = DefaultErrors;
|
|
@@ -2054,7 +2043,7 @@ export const getDomainBulk: API.OperationMethod<
|
|
|
2054
2043
|
GetDomainBulkResponse,
|
|
2055
2044
|
GetDomainBulkError,
|
|
2056
2045
|
Credentials | HttpClient.HttpClient
|
|
2057
|
-
> = /*@__PURE__*/
|
|
2046
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2058
2047
|
input: GetDomainBulkRequest,
|
|
2059
2048
|
output: GetDomainBulkResponse,
|
|
2060
2049
|
errors: [],
|
|
@@ -2072,7 +2061,7 @@ export interface GetDomainHistoryRequest {
|
|
|
2072
2061
|
}
|
|
2073
2062
|
|
|
2074
2063
|
export const GetDomainHistoryRequest =
|
|
2075
|
-
/*@__PURE__*/
|
|
2064
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2076
2065
|
Schema.Struct({
|
|
2077
2066
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2078
2067
|
domain: Schema.optional(Schema.String).pipe(T.HttpQuery("domain")),
|
|
@@ -2096,7 +2085,7 @@ export type GetDomainHistoryResponse = {
|
|
|
2096
2085
|
}[];
|
|
2097
2086
|
|
|
2098
2087
|
export const GetDomainHistoryResponse =
|
|
2099
|
-
/*@__PURE__*/
|
|
2088
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2100
2089
|
Schema.Array(DomainHistory).pipe(T.ResponsePath("result")),
|
|
2101
2090
|
) as unknown as Schema.Codec<GetDomainHistoryResponse>;
|
|
2102
2091
|
|
|
@@ -2107,7 +2096,7 @@ export const getDomainHistory: API.OperationMethod<
|
|
|
2107
2096
|
GetDomainHistoryResponse,
|
|
2108
2097
|
GetDomainHistoryError,
|
|
2109
2098
|
Credentials | HttpClient.HttpClient
|
|
2110
|
-
> = /*@__PURE__*/
|
|
2099
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2111
2100
|
input: GetDomainHistoryRequest,
|
|
2112
2101
|
output: GetDomainHistoryResponse,
|
|
2113
2102
|
errors: [],
|
|
@@ -2124,7 +2113,7 @@ export interface GetIndicatorFeedRequest {
|
|
|
2124
2113
|
}
|
|
2125
2114
|
|
|
2126
2115
|
export const GetIndicatorFeedRequest =
|
|
2127
|
-
/*@__PURE__*/
|
|
2116
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2128
2117
|
Schema.Struct({
|
|
2129
2118
|
feedId: Schema.Number.pipe(T.HttpPath("feedId")),
|
|
2130
2119
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2193,7 +2182,7 @@ export interface GetIndicatorFeedResponse {
|
|
|
2193
2182
|
}
|
|
2194
2183
|
|
|
2195
2184
|
export const GetIndicatorFeedResponse =
|
|
2196
|
-
/*@__PURE__*/
|
|
2185
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2197
2186
|
Schema.Struct({
|
|
2198
2187
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2199
2188
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2262,7 +2251,7 @@ export const getIndicatorFeed: API.OperationMethod<
|
|
|
2262
2251
|
GetIndicatorFeedResponse,
|
|
2263
2252
|
GetIndicatorFeedError,
|
|
2264
2253
|
Credentials | HttpClient.HttpClient
|
|
2265
|
-
> = /*@__PURE__*/
|
|
2254
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2266
2255
|
input: GetIndicatorFeedRequest,
|
|
2267
2256
|
output: GetIndicatorFeedResponse,
|
|
2268
2257
|
errors: [IndicatorFeedNotFound, Forbidden],
|
|
@@ -2274,7 +2263,7 @@ export interface ListIndicatorFeedsRequest {
|
|
|
2274
2263
|
}
|
|
2275
2264
|
|
|
2276
2265
|
export const ListIndicatorFeedsRequest =
|
|
2277
|
-
/*@__PURE__*/
|
|
2266
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2278
2267
|
Schema.Struct({
|
|
2279
2268
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2280
2269
|
}).pipe(
|
|
@@ -2299,7 +2288,7 @@ export interface ListIndicatorFeedsResponse {
|
|
|
2299
2288
|
}
|
|
2300
2289
|
|
|
2301
2290
|
export const ListIndicatorFeedsResponse =
|
|
2302
|
-
/*@__PURE__*/
|
|
2291
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2303
2292
|
Schema.Struct({
|
|
2304
2293
|
result: Schema.Array(ListIndicatorFeedsResponseResult),
|
|
2305
2294
|
}),
|
|
@@ -2312,7 +2301,7 @@ export const listIndicatorFeeds: API.PaginatedOperationMethod<
|
|
|
2312
2301
|
ListIndicatorFeedsResponse,
|
|
2313
2302
|
ListIndicatorFeedsError,
|
|
2314
2303
|
Credentials | HttpClient.HttpClient
|
|
2315
|
-
> = /*@__PURE__*/
|
|
2304
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2316
2305
|
input: ListIndicatorFeedsRequest,
|
|
2317
2306
|
output: ListIndicatorFeedsResponse,
|
|
2318
2307
|
errors: [Forbidden],
|
|
@@ -2332,7 +2321,7 @@ export interface CreateIndicatorFeedRequest {
|
|
|
2332
2321
|
}
|
|
2333
2322
|
|
|
2334
2323
|
export const CreateIndicatorFeedRequest =
|
|
2335
|
-
/*@__PURE__*/
|
|
2324
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2336
2325
|
Schema.Struct({
|
|
2337
2326
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2338
2327
|
description: Schema.optional(Schema.String),
|
|
@@ -2365,7 +2354,7 @@ export interface CreateIndicatorFeedResponse {
|
|
|
2365
2354
|
}
|
|
2366
2355
|
|
|
2367
2356
|
export const CreateIndicatorFeedResponse =
|
|
2368
|
-
/*@__PURE__*/
|
|
2357
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2369
2358
|
Schema.Struct({
|
|
2370
2359
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2371
2360
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2405,7 +2394,7 @@ export const createIndicatorFeed: API.OperationMethod<
|
|
|
2405
2394
|
CreateIndicatorFeedResponse,
|
|
2406
2395
|
CreateIndicatorFeedError,
|
|
2407
2396
|
Credentials | HttpClient.HttpClient
|
|
2408
|
-
> = /*@__PURE__*/
|
|
2397
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2409
2398
|
input: CreateIndicatorFeedRequest,
|
|
2410
2399
|
output: CreateIndicatorFeedResponse,
|
|
2411
2400
|
errors: [IndicatorFeedsNotEntitled, Forbidden],
|
|
@@ -2428,7 +2417,7 @@ export interface UpdateIndicatorFeedRequest {
|
|
|
2428
2417
|
}
|
|
2429
2418
|
|
|
2430
2419
|
export const UpdateIndicatorFeedRequest =
|
|
2431
|
-
/*@__PURE__*/
|
|
2420
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2432
2421
|
Schema.Struct({
|
|
2433
2422
|
feedId: Schema.Number.pipe(T.HttpPath("feedId")),
|
|
2434
2423
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2472,7 +2461,7 @@ export interface UpdateIndicatorFeedResponse {
|
|
|
2472
2461
|
}
|
|
2473
2462
|
|
|
2474
2463
|
export const UpdateIndicatorFeedResponse =
|
|
2475
|
-
/*@__PURE__*/
|
|
2464
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2476
2465
|
Schema.Struct({
|
|
2477
2466
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2478
2467
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2512,7 +2501,7 @@ export const updateIndicatorFeed: API.OperationMethod<
|
|
|
2512
2501
|
UpdateIndicatorFeedResponse,
|
|
2513
2502
|
UpdateIndicatorFeedError,
|
|
2514
2503
|
Credentials | HttpClient.HttpClient
|
|
2515
|
-
> = /*@__PURE__*/
|
|
2504
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2516
2505
|
input: UpdateIndicatorFeedRequest,
|
|
2517
2506
|
output: UpdateIndicatorFeedResponse,
|
|
2518
2507
|
errors: [IndicatorFeedNotFound, Forbidden],
|
|
@@ -2525,7 +2514,7 @@ export interface DataIndicatorFeedRequest {
|
|
|
2525
2514
|
}
|
|
2526
2515
|
|
|
2527
2516
|
export const DataIndicatorFeedRequest =
|
|
2528
|
-
/*@__PURE__*/
|
|
2517
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2529
2518
|
Schema.Struct({
|
|
2530
2519
|
feedId: Schema.Number.pipe(T.HttpPath("feedId")),
|
|
2531
2520
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2540,7 +2529,7 @@ export const DataIndicatorFeedRequest =
|
|
|
2540
2529
|
export type DataIndicatorFeedResponse = string;
|
|
2541
2530
|
|
|
2542
2531
|
export const DataIndicatorFeedResponse =
|
|
2543
|
-
/*@__PURE__*/
|
|
2532
|
+
/*@__PURE__*/ Schema.suspend(
|
|
2544
2533
|
() => Schema.String,
|
|
2545
2534
|
) as unknown as Schema.Codec<DataIndicatorFeedResponse>;
|
|
2546
2535
|
|
|
@@ -2551,7 +2540,7 @@ export const dataIndicatorFeed: API.OperationMethod<
|
|
|
2551
2540
|
DataIndicatorFeedResponse,
|
|
2552
2541
|
DataIndicatorFeedError,
|
|
2553
2542
|
Credentials | HttpClient.HttpClient
|
|
2554
|
-
> = /*@__PURE__*/
|
|
2543
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2555
2544
|
input: DataIndicatorFeedRequest,
|
|
2556
2545
|
output: DataIndicatorFeedResponse,
|
|
2557
2546
|
errors: [],
|
|
@@ -2567,7 +2556,7 @@ export interface ListIndicatorFeedPermissionsRequest {
|
|
|
2567
2556
|
}
|
|
2568
2557
|
|
|
2569
2558
|
export const ListIndicatorFeedPermissionsRequest =
|
|
2570
|
-
/*@__PURE__*/
|
|
2559
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2571
2560
|
Schema.Struct({
|
|
2572
2561
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2573
2562
|
}).pipe(
|
|
@@ -2588,7 +2577,7 @@ export type ListIndicatorFeedPermissionsResponse = {
|
|
|
2588
2577
|
}[];
|
|
2589
2578
|
|
|
2590
2579
|
export const ListIndicatorFeedPermissionsResponse =
|
|
2591
|
-
/*@__PURE__*/
|
|
2580
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2592
2581
|
Schema.Array(PermissionListResponseItem).pipe(T.ResponsePath("result")),
|
|
2593
2582
|
) as unknown as Schema.Codec<ListIndicatorFeedPermissionsResponse>;
|
|
2594
2583
|
|
|
@@ -2599,7 +2588,7 @@ export const listIndicatorFeedPermissions: API.OperationMethod<
|
|
|
2599
2588
|
ListIndicatorFeedPermissionsResponse,
|
|
2600
2589
|
ListIndicatorFeedPermissionsError,
|
|
2601
2590
|
Credentials | HttpClient.HttpClient
|
|
2602
|
-
> = /*@__PURE__*/
|
|
2591
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2603
2592
|
input: ListIndicatorFeedPermissionsRequest,
|
|
2604
2593
|
output: ListIndicatorFeedPermissionsResponse,
|
|
2605
2594
|
errors: [Forbidden],
|
|
@@ -2615,7 +2604,7 @@ export interface CreateIndicatorFeedPermissionRequest {
|
|
|
2615
2604
|
}
|
|
2616
2605
|
|
|
2617
2606
|
export const CreateIndicatorFeedPermissionRequest =
|
|
2618
|
-
/*@__PURE__*/
|
|
2607
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2619
2608
|
Schema.Struct({
|
|
2620
2609
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2621
2610
|
accountTag: Schema.optional(Schema.String),
|
|
@@ -2635,7 +2624,7 @@ export interface CreateIndicatorFeedPermissionResponse {
|
|
|
2635
2624
|
}
|
|
2636
2625
|
|
|
2637
2626
|
export const CreateIndicatorFeedPermissionResponse =
|
|
2638
|
-
/*@__PURE__*/
|
|
2627
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2639
2628
|
Schema.Struct({
|
|
2640
2629
|
success: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2641
2630
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -2651,7 +2640,7 @@ export const createIndicatorFeedPermission: API.OperationMethod<
|
|
|
2651
2640
|
CreateIndicatorFeedPermissionResponse,
|
|
2652
2641
|
CreateIndicatorFeedPermissionError,
|
|
2653
2642
|
Credentials | HttpClient.HttpClient
|
|
2654
|
-
> = /*@__PURE__*/
|
|
2643
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2655
2644
|
input: CreateIndicatorFeedPermissionRequest,
|
|
2656
2645
|
output: CreateIndicatorFeedPermissionResponse,
|
|
2657
2646
|
errors: [IndicatorFeedNotFound, Forbidden],
|
|
@@ -2667,7 +2656,7 @@ export interface DeleteIndicatorFeedPermissionRequest {
|
|
|
2667
2656
|
}
|
|
2668
2657
|
|
|
2669
2658
|
export const DeleteIndicatorFeedPermissionRequest =
|
|
2670
|
-
/*@__PURE__*/
|
|
2659
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2671
2660
|
Schema.Struct({
|
|
2672
2661
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2673
2662
|
accountTag: Schema.optional(Schema.String),
|
|
@@ -2687,7 +2676,7 @@ export interface DeleteIndicatorFeedPermissionResponse {
|
|
|
2687
2676
|
}
|
|
2688
2677
|
|
|
2689
2678
|
export const DeleteIndicatorFeedPermissionResponse =
|
|
2690
|
-
/*@__PURE__*/
|
|
2679
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2691
2680
|
Schema.Struct({
|
|
2692
2681
|
success: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2693
2682
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -2703,7 +2692,7 @@ export const deleteIndicatorFeedPermission: API.OperationMethod<
|
|
|
2703
2692
|
DeleteIndicatorFeedPermissionResponse,
|
|
2704
2693
|
DeleteIndicatorFeedPermissionError,
|
|
2705
2694
|
Credentials | HttpClient.HttpClient
|
|
2706
|
-
> = /*@__PURE__*/
|
|
2695
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2707
2696
|
input: DeleteIndicatorFeedPermissionRequest,
|
|
2708
2697
|
output: DeleteIndicatorFeedPermissionResponse,
|
|
2709
2698
|
errors: [IndicatorFeedNotFound, Forbidden],
|
|
@@ -2722,7 +2711,7 @@ export interface PutIndicatorFeedSnapshotRequest {
|
|
|
2722
2711
|
}
|
|
2723
2712
|
|
|
2724
2713
|
export const PutIndicatorFeedSnapshotRequest =
|
|
2725
|
-
/*@__PURE__*/
|
|
2714
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2726
2715
|
Schema.Struct({
|
|
2727
2716
|
feedId: Schema.Number.pipe(T.HttpPath("feedId")),
|
|
2728
2717
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2746,7 +2735,7 @@ export interface PutIndicatorFeedSnapshotResponse {
|
|
|
2746
2735
|
}
|
|
2747
2736
|
|
|
2748
2737
|
export const PutIndicatorFeedSnapshotResponse =
|
|
2749
|
-
/*@__PURE__*/
|
|
2738
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2750
2739
|
Schema.Struct({
|
|
2751
2740
|
fileId: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2752
2741
|
filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2772,7 +2761,7 @@ export const putIndicatorFeedSnapshot: API.OperationMethod<
|
|
|
2772
2761
|
PutIndicatorFeedSnapshotResponse,
|
|
2773
2762
|
PutIndicatorFeedSnapshotError,
|
|
2774
2763
|
Credentials | HttpClient.HttpClient
|
|
2775
|
-
> = /*@__PURE__*/
|
|
2764
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2776
2765
|
input: PutIndicatorFeedSnapshotRequest,
|
|
2777
2766
|
output: PutIndicatorFeedSnapshotResponse,
|
|
2778
2767
|
errors: [IndicatorFeedNotFound, Forbidden],
|
|
@@ -2791,7 +2780,7 @@ export interface GetIpRequest {
|
|
|
2791
2780
|
ipv6?: string;
|
|
2792
2781
|
}
|
|
2793
2782
|
|
|
2794
|
-
export const GetIpRequest = /*@__PURE__*/
|
|
2783
|
+
export const GetIpRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2795
2784
|
Schema.Struct({
|
|
2796
2785
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2797
2786
|
ipv4: Schema.optional(Schema.String).pipe(T.HttpQuery("ipv4")),
|
|
@@ -2817,7 +2806,7 @@ export type GetIpResponse = {
|
|
|
2817
2806
|
| null;
|
|
2818
2807
|
}[];
|
|
2819
2808
|
|
|
2820
|
-
export const GetIpResponse = /*@__PURE__*/
|
|
2809
|
+
export const GetIpResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2821
2810
|
Schema.Array(Ip).pipe(T.ResponsePath("result")),
|
|
2822
2811
|
) as unknown as Schema.Codec<GetIpResponse>;
|
|
2823
2812
|
|
|
@@ -2828,7 +2817,7 @@ export const getIp: API.OperationMethod<
|
|
|
2828
2817
|
GetIpResponse,
|
|
2829
2818
|
GetIpError,
|
|
2830
2819
|
Credentials | HttpClient.HttpClient
|
|
2831
|
-
> = /*@__PURE__*/
|
|
2820
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2832
2821
|
input: GetIpRequest,
|
|
2833
2822
|
output: GetIpResponse,
|
|
2834
2823
|
errors: [],
|
|
@@ -2858,7 +2847,7 @@ export interface CreateMiscategorizationRequest {
|
|
|
2858
2847
|
}
|
|
2859
2848
|
|
|
2860
2849
|
export const CreateMiscategorizationRequest =
|
|
2861
|
-
/*@__PURE__*/
|
|
2850
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2862
2851
|
Schema.Struct({
|
|
2863
2852
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2864
2853
|
contentAdds: Schema.optional(Schema.Array(Schema.Number)),
|
|
@@ -2908,7 +2897,7 @@ export interface CreateMiscategorizationResponse {
|
|
|
2908
2897
|
}
|
|
2909
2898
|
|
|
2910
2899
|
export const CreateMiscategorizationResponse =
|
|
2911
|
-
/*@__PURE__*/
|
|
2900
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2912
2901
|
Schema.Struct({
|
|
2913
2902
|
errors: Schema.Array(Error2),
|
|
2914
2903
|
messages: Schema.Array(Error2),
|
|
@@ -2923,7 +2912,7 @@ export const createMiscategorization: API.OperationMethod<
|
|
|
2923
2912
|
CreateMiscategorizationResponse,
|
|
2924
2913
|
CreateMiscategorizationError,
|
|
2925
2914
|
Credentials | HttpClient.HttpClient
|
|
2926
|
-
> = /*@__PURE__*/
|
|
2915
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2927
2916
|
input: CreateMiscategorizationRequest,
|
|
2928
2917
|
output: CreateMiscategorizationResponse,
|
|
2929
2918
|
errors: [],
|
|
@@ -2938,13 +2927,12 @@ export interface ListSinkholesRequest {
|
|
|
2938
2927
|
accountId: string;
|
|
2939
2928
|
}
|
|
2940
2929
|
|
|
2941
|
-
export const ListSinkholesRequest = /*@__PURE__*/
|
|
2942
|
-
(
|
|
2943
|
-
Schema.
|
|
2944
|
-
|
|
2945
|
-
})
|
|
2946
|
-
|
|
2947
|
-
),
|
|
2930
|
+
export const ListSinkholesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2931
|
+
Schema.Struct({
|
|
2932
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2933
|
+
}).pipe(
|
|
2934
|
+
T.Http({ method: "GET", path: "/accounts/{account_id}/intel/sinkholes" }),
|
|
2935
|
+
),
|
|
2948
2936
|
) as unknown as Schema.Codec<ListSinkholesRequest>;
|
|
2949
2937
|
|
|
2950
2938
|
export interface ListSinkholesResponse {
|
|
@@ -2959,11 +2947,10 @@ export interface ListSinkholesResponse {
|
|
|
2959
2947
|
}[];
|
|
2960
2948
|
}
|
|
2961
2949
|
|
|
2962
|
-
export const ListSinkholesResponse = /*@__PURE__*/
|
|
2963
|
-
(
|
|
2964
|
-
Schema.
|
|
2965
|
-
|
|
2966
|
-
}),
|
|
2950
|
+
export const ListSinkholesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2951
|
+
Schema.Struct({
|
|
2952
|
+
result: Schema.Array(ListSinkholesResponseResult),
|
|
2953
|
+
}),
|
|
2967
2954
|
) as unknown as Schema.Codec<ListSinkholesResponse>;
|
|
2968
2955
|
|
|
2969
2956
|
export type ListSinkholesError = DefaultErrors;
|
|
@@ -2973,7 +2960,7 @@ export const listSinkholes: API.PaginatedOperationMethod<
|
|
|
2973
2960
|
ListSinkholesResponse,
|
|
2974
2961
|
ListSinkholesError,
|
|
2975
2962
|
Credentials | HttpClient.HttpClient
|
|
2976
|
-
> = /*@__PURE__*/
|
|
2963
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2977
2964
|
input: ListSinkholesRequest,
|
|
2978
2965
|
output: ListSinkholesResponse,
|
|
2979
2966
|
errors: [],
|
|
@@ -2994,7 +2981,7 @@ export interface GetWhoiRequest {
|
|
|
2994
2981
|
domain?: string;
|
|
2995
2982
|
}
|
|
2996
2983
|
|
|
2997
|
-
export const GetWhoiRequest = /*@__PURE__*/
|
|
2984
|
+
export const GetWhoiRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2998
2985
|
Schema.Struct({
|
|
2999
2986
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3000
2987
|
domain: Schema.optional(Schema.String).pipe(T.HttpQuery("domain")),
|
|
@@ -3093,7 +3080,7 @@ export interface GetWhoiResponse {
|
|
|
3093
3080
|
whoisServer?: string | null;
|
|
3094
3081
|
}
|
|
3095
3082
|
|
|
3096
|
-
export const GetWhoiResponse = /*@__PURE__*/
|
|
3083
|
+
export const GetWhoiResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3097
3084
|
Schema.Struct({
|
|
3098
3085
|
dnssec: Schema.Boolean,
|
|
3099
3086
|
domain: Schema.String,
|
|
@@ -3370,7 +3357,7 @@ export const getWhoi: API.OperationMethod<
|
|
|
3370
3357
|
GetWhoiResponse,
|
|
3371
3358
|
GetWhoiError,
|
|
3372
3359
|
Credentials | HttpClient.HttpClient
|
|
3373
|
-
> = /*@__PURE__*/
|
|
3360
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3374
3361
|
input: GetWhoiRequest,
|
|
3375
3362
|
output: GetWhoiResponse,
|
|
3376
3363
|
errors: [],
|