@distilled.cloud/cloudflare 0.2.6 → 0.4.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/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
package/src/services/intel.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service intel
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import * as stream from "effect/Stream";
|
|
8
9
|
import * as Schema from "effect/Schema";
|
|
9
10
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
11
|
import * as API from "../client/api.ts";
|
|
@@ -212,146 +213,237 @@ export const ListAttackSurfaceReportIssuesRequest =
|
|
|
212
213
|
}),
|
|
213
214
|
) as unknown as Schema.Schema<ListAttackSurfaceReportIssuesRequest>;
|
|
214
215
|
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
216
|
+
export interface ListAttackSurfaceReportIssuesResponse {
|
|
217
|
+
result: {
|
|
218
|
+
items?:
|
|
219
|
+
| {
|
|
220
|
+
count?: number | null;
|
|
221
|
+
issues?:
|
|
222
|
+
| {
|
|
223
|
+
id?: string | null;
|
|
224
|
+
dismissed?: boolean | null;
|
|
225
|
+
issueClass?: string | null;
|
|
226
|
+
issueType?:
|
|
227
|
+
| "compliance_violation"
|
|
228
|
+
| "email_security"
|
|
229
|
+
| "exposed_infrastructure"
|
|
230
|
+
| "insecure_configuration"
|
|
231
|
+
| "weak_authentication"
|
|
232
|
+
| "configuration_suggestion"
|
|
233
|
+
| null;
|
|
234
|
+
payload?: {
|
|
235
|
+
detectionMethod?: string | null;
|
|
236
|
+
zoneTag?: string | null;
|
|
237
|
+
} | null;
|
|
238
|
+
resolveLink?: string | null;
|
|
239
|
+
resolveText?: string | null;
|
|
240
|
+
severity?: "Low" | "Moderate" | "Critical" | null;
|
|
241
|
+
since?: string | null;
|
|
242
|
+
subject?: string | null;
|
|
243
|
+
timestamp?: string | null;
|
|
244
|
+
}[]
|
|
245
|
+
| null;
|
|
246
|
+
page?: number | null;
|
|
247
|
+
perPage?: number | null;
|
|
248
|
+
}[]
|
|
249
|
+
| null;
|
|
250
|
+
};
|
|
251
|
+
resultInfo: {
|
|
252
|
+
count?: number | null;
|
|
253
|
+
page?: number | null;
|
|
254
|
+
perPage?: number | null;
|
|
255
|
+
totalCount?: number | null;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
245
258
|
|
|
246
259
|
export const ListAttackSurfaceReportIssuesResponse =
|
|
247
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
248
|
-
Schema.Struct({
|
|
249
|
-
|
|
250
|
-
issues: Schema.optional(
|
|
260
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
261
|
+
result: Schema.Struct({
|
|
262
|
+
items: Schema.optional(
|
|
251
263
|
Schema.Union([
|
|
252
264
|
Schema.Array(
|
|
253
265
|
Schema.Struct({
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
257
|
-
),
|
|
258
|
-
issueClass: Schema.optional(
|
|
259
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
260
|
-
),
|
|
261
|
-
issueType: Schema.optional(
|
|
262
|
-
Schema.Union([
|
|
263
|
-
Schema.Literals([
|
|
264
|
-
"compliance_violation",
|
|
265
|
-
"email_security",
|
|
266
|
-
"exposed_infrastructure",
|
|
267
|
-
"insecure_configuration",
|
|
268
|
-
"weak_authentication",
|
|
269
|
-
"configuration_suggestion",
|
|
270
|
-
]),
|
|
271
|
-
Schema.Null,
|
|
272
|
-
]),
|
|
266
|
+
count: Schema.optional(
|
|
267
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
273
268
|
),
|
|
274
|
-
|
|
269
|
+
issues: Schema.optional(
|
|
275
270
|
Schema.Union([
|
|
276
|
-
Schema.
|
|
277
|
-
|
|
278
|
-
Schema.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
Schema.
|
|
271
|
+
Schema.Array(
|
|
272
|
+
Schema.Struct({
|
|
273
|
+
id: Schema.optional(
|
|
274
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
275
|
+
),
|
|
276
|
+
dismissed: Schema.optional(
|
|
277
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
278
|
+
),
|
|
279
|
+
issueClass: Schema.optional(
|
|
280
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
281
|
+
),
|
|
282
|
+
issueType: Schema.optional(
|
|
283
|
+
Schema.Union([
|
|
284
|
+
Schema.Literals([
|
|
285
|
+
"compliance_violation",
|
|
286
|
+
"email_security",
|
|
287
|
+
"exposed_infrastructure",
|
|
288
|
+
"insecure_configuration",
|
|
289
|
+
"weak_authentication",
|
|
290
|
+
"configuration_suggestion",
|
|
291
|
+
]),
|
|
292
|
+
Schema.Null,
|
|
293
|
+
]),
|
|
294
|
+
),
|
|
295
|
+
payload: Schema.optional(
|
|
296
|
+
Schema.Union([
|
|
297
|
+
Schema.Struct({
|
|
298
|
+
detectionMethod: Schema.optional(
|
|
299
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
300
|
+
),
|
|
301
|
+
zoneTag: Schema.optional(
|
|
302
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
303
|
+
),
|
|
304
|
+
}).pipe(
|
|
305
|
+
Schema.encodeKeys({
|
|
306
|
+
detectionMethod: "detection_method",
|
|
307
|
+
zoneTag: "zone_tag",
|
|
308
|
+
}),
|
|
309
|
+
),
|
|
310
|
+
Schema.Null,
|
|
311
|
+
]),
|
|
312
|
+
),
|
|
313
|
+
resolveLink: Schema.optional(
|
|
314
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
315
|
+
),
|
|
316
|
+
resolveText: Schema.optional(
|
|
317
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
318
|
+
),
|
|
319
|
+
severity: Schema.optional(
|
|
320
|
+
Schema.Union([
|
|
321
|
+
Schema.Literals(["Low", "Moderate", "Critical"]),
|
|
322
|
+
Schema.Null,
|
|
323
|
+
]),
|
|
324
|
+
),
|
|
325
|
+
since: Schema.optional(
|
|
326
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
327
|
+
),
|
|
328
|
+
subject: Schema.optional(
|
|
329
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
330
|
+
),
|
|
331
|
+
timestamp: Schema.optional(
|
|
332
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
333
|
+
),
|
|
334
|
+
}).pipe(
|
|
335
|
+
Schema.encodeKeys({
|
|
336
|
+
id: "id",
|
|
337
|
+
dismissed: "dismissed",
|
|
338
|
+
issueClass: "issue_class",
|
|
339
|
+
issueType: "issue_type",
|
|
340
|
+
payload: "payload",
|
|
341
|
+
resolveLink: "resolve_link",
|
|
342
|
+
resolveText: "resolve_text",
|
|
343
|
+
severity: "severity",
|
|
344
|
+
since: "since",
|
|
345
|
+
subject: "subject",
|
|
346
|
+
timestamp: "timestamp",
|
|
347
|
+
}),
|
|
282
348
|
),
|
|
283
|
-
}).pipe(
|
|
284
|
-
Schema.encodeKeys({
|
|
285
|
-
detectionMethod: "detection_method",
|
|
286
|
-
zoneTag: "zone_tag",
|
|
287
|
-
}),
|
|
288
349
|
),
|
|
289
350
|
Schema.Null,
|
|
290
351
|
]),
|
|
291
352
|
),
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
resolveText: Schema.optional(
|
|
296
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
297
|
-
),
|
|
298
|
-
severity: Schema.optional(
|
|
299
|
-
Schema.Union([
|
|
300
|
-
Schema.Literals(["Low", "Moderate", "Critical"]),
|
|
301
|
-
Schema.Null,
|
|
302
|
-
]),
|
|
303
|
-
),
|
|
304
|
-
since: Schema.optional(
|
|
305
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
306
|
-
),
|
|
307
|
-
subject: Schema.optional(
|
|
308
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
309
|
-
),
|
|
310
|
-
timestamp: Schema.optional(
|
|
311
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
353
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
354
|
+
perPage: Schema.optional(
|
|
355
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
312
356
|
),
|
|
313
357
|
}).pipe(
|
|
314
358
|
Schema.encodeKeys({
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
payload: "payload",
|
|
320
|
-
resolveLink: "resolve_link",
|
|
321
|
-
resolveText: "resolve_text",
|
|
322
|
-
severity: "severity",
|
|
323
|
-
since: "since",
|
|
324
|
-
subject: "subject",
|
|
325
|
-
timestamp: "timestamp",
|
|
359
|
+
count: "count",
|
|
360
|
+
issues: "issues",
|
|
361
|
+
page: "page",
|
|
362
|
+
perPage: "per_page",
|
|
326
363
|
}),
|
|
327
364
|
),
|
|
328
365
|
),
|
|
329
366
|
Schema.Null,
|
|
330
367
|
]),
|
|
331
368
|
),
|
|
369
|
+
}),
|
|
370
|
+
resultInfo: Schema.Struct({
|
|
371
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
332
372
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
333
373
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
374
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
334
375
|
}).pipe(
|
|
335
376
|
Schema.encodeKeys({
|
|
336
377
|
count: "count",
|
|
337
|
-
issues: "issues",
|
|
338
378
|
page: "page",
|
|
339
379
|
perPage: "per_page",
|
|
380
|
+
totalCount: "total_count",
|
|
340
381
|
}),
|
|
341
382
|
),
|
|
383
|
+
}).pipe(
|
|
384
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
342
385
|
) as unknown as Schema.Schema<ListAttackSurfaceReportIssuesResponse>;
|
|
343
386
|
|
|
344
387
|
export type ListAttackSurfaceReportIssuesError = DefaultErrors;
|
|
345
388
|
|
|
346
|
-
export const listAttackSurfaceReportIssues: API.
|
|
389
|
+
export const listAttackSurfaceReportIssues: API.PaginatedOperationMethod<
|
|
347
390
|
ListAttackSurfaceReportIssuesRequest,
|
|
348
391
|
ListAttackSurfaceReportIssuesResponse,
|
|
349
392
|
ListAttackSurfaceReportIssuesError,
|
|
350
393
|
Credentials | HttpClient.HttpClient
|
|
351
|
-
>
|
|
394
|
+
> & {
|
|
395
|
+
pages: (
|
|
396
|
+
input: ListAttackSurfaceReportIssuesRequest,
|
|
397
|
+
) => stream.Stream<
|
|
398
|
+
ListAttackSurfaceReportIssuesResponse,
|
|
399
|
+
ListAttackSurfaceReportIssuesError,
|
|
400
|
+
Credentials | HttpClient.HttpClient
|
|
401
|
+
>;
|
|
402
|
+
items: (input: ListAttackSurfaceReportIssuesRequest) => stream.Stream<
|
|
403
|
+
{
|
|
404
|
+
count?: number | null;
|
|
405
|
+
issues?:
|
|
406
|
+
| {
|
|
407
|
+
id?: string | null;
|
|
408
|
+
dismissed?: boolean | null;
|
|
409
|
+
issueClass?: string | null;
|
|
410
|
+
issueType?:
|
|
411
|
+
| "compliance_violation"
|
|
412
|
+
| "email_security"
|
|
413
|
+
| "exposed_infrastructure"
|
|
414
|
+
| "insecure_configuration"
|
|
415
|
+
| "weak_authentication"
|
|
416
|
+
| "configuration_suggestion"
|
|
417
|
+
| null;
|
|
418
|
+
payload?: {
|
|
419
|
+
detectionMethod?: string | null;
|
|
420
|
+
zoneTag?: string | null;
|
|
421
|
+
} | null;
|
|
422
|
+
resolveLink?: string | null;
|
|
423
|
+
resolveText?: string | null;
|
|
424
|
+
severity?: "Low" | "Moderate" | "Critical" | null;
|
|
425
|
+
since?: string | null;
|
|
426
|
+
subject?: string | null;
|
|
427
|
+
timestamp?: string | null;
|
|
428
|
+
}[]
|
|
429
|
+
| null;
|
|
430
|
+
page?: number | null;
|
|
431
|
+
perPage?: number | null;
|
|
432
|
+
},
|
|
433
|
+
ListAttackSurfaceReportIssuesError,
|
|
434
|
+
Credentials | HttpClient.HttpClient
|
|
435
|
+
>;
|
|
436
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
352
437
|
input: ListAttackSurfaceReportIssuesRequest,
|
|
353
438
|
output: ListAttackSurfaceReportIssuesResponse,
|
|
354
439
|
errors: [],
|
|
440
|
+
pagination: {
|
|
441
|
+
mode: "page",
|
|
442
|
+
inputToken: "page",
|
|
443
|
+
outputToken: "resultInfo.page",
|
|
444
|
+
items: "result.items",
|
|
445
|
+
pageSize: "perPage",
|
|
446
|
+
} as const,
|
|
355
447
|
}));
|
|
356
448
|
|
|
357
449
|
export interface ClassAttackSurfaceReportIssueRequest {
|
|
@@ -465,6 +557,8 @@ export const ClassAttackSurfaceReportIssueResponse =
|
|
|
465
557
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
466
558
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
467
559
|
}),
|
|
560
|
+
).pipe(
|
|
561
|
+
T.ResponsePath("result"),
|
|
468
562
|
) as unknown as Schema.Schema<ClassAttackSurfaceReportIssueResponse>;
|
|
469
563
|
|
|
470
564
|
export type ClassAttackSurfaceReportIssueError = DefaultErrors;
|
|
@@ -698,6 +792,8 @@ export const SeverityAttackSurfaceReportIssueResponse =
|
|
|
698
792
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
699
793
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
700
794
|
}),
|
|
795
|
+
).pipe(
|
|
796
|
+
T.ResponsePath("result"),
|
|
701
797
|
) as unknown as Schema.Schema<SeverityAttackSurfaceReportIssueResponse>;
|
|
702
798
|
|
|
703
799
|
export type SeverityAttackSurfaceReportIssueError = DefaultErrors;
|
|
@@ -824,6 +920,8 @@ export const TypeAttackSurfaceReportIssueResponse =
|
|
|
824
920
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
825
921
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
826
922
|
}),
|
|
923
|
+
).pipe(
|
|
924
|
+
T.ResponsePath("result"),
|
|
827
925
|
) as unknown as Schema.Schema<TypeAttackSurfaceReportIssueResponse>;
|
|
828
926
|
|
|
829
927
|
export type TypeAttackSurfaceReportIssueError = DefaultErrors;
|
|
@@ -858,24 +956,45 @@ export const GetAttackSurfaceReportIssueTypeRequest =
|
|
|
858
956
|
}),
|
|
859
957
|
) as unknown as Schema.Schema<GetAttackSurfaceReportIssueTypeRequest>;
|
|
860
958
|
|
|
861
|
-
export
|
|
959
|
+
export interface GetAttackSurfaceReportIssueTypeResponse {
|
|
960
|
+
result: string[];
|
|
961
|
+
}
|
|
862
962
|
|
|
863
963
|
export const GetAttackSurfaceReportIssueTypeResponse =
|
|
864
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
865
|
-
Schema.String,
|
|
866
|
-
) as unknown as Schema.Schema<GetAttackSurfaceReportIssueTypeResponse>;
|
|
964
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
965
|
+
result: Schema.Array(Schema.String),
|
|
966
|
+
}) as unknown as Schema.Schema<GetAttackSurfaceReportIssueTypeResponse>;
|
|
867
967
|
|
|
868
968
|
export type GetAttackSurfaceReportIssueTypeError = DefaultErrors;
|
|
869
969
|
|
|
870
|
-
export const getAttackSurfaceReportIssueType: API.
|
|
970
|
+
export const getAttackSurfaceReportIssueType: API.PaginatedOperationMethod<
|
|
871
971
|
GetAttackSurfaceReportIssueTypeRequest,
|
|
872
972
|
GetAttackSurfaceReportIssueTypeResponse,
|
|
873
973
|
GetAttackSurfaceReportIssueTypeError,
|
|
874
974
|
Credentials | HttpClient.HttpClient
|
|
875
|
-
>
|
|
975
|
+
> & {
|
|
976
|
+
pages: (
|
|
977
|
+
input: GetAttackSurfaceReportIssueTypeRequest,
|
|
978
|
+
) => stream.Stream<
|
|
979
|
+
GetAttackSurfaceReportIssueTypeResponse,
|
|
980
|
+
GetAttackSurfaceReportIssueTypeError,
|
|
981
|
+
Credentials | HttpClient.HttpClient
|
|
982
|
+
>;
|
|
983
|
+
items: (
|
|
984
|
+
input: GetAttackSurfaceReportIssueTypeRequest,
|
|
985
|
+
) => stream.Stream<
|
|
986
|
+
string,
|
|
987
|
+
GetAttackSurfaceReportIssueTypeError,
|
|
988
|
+
Credentials | HttpClient.HttpClient
|
|
989
|
+
>;
|
|
990
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
876
991
|
input: GetAttackSurfaceReportIssueTypeRequest,
|
|
877
992
|
output: GetAttackSurfaceReportIssueTypeResponse,
|
|
878
993
|
errors: [],
|
|
994
|
+
pagination: {
|
|
995
|
+
mode: "single",
|
|
996
|
+
items: "result",
|
|
997
|
+
} as const,
|
|
879
998
|
}));
|
|
880
999
|
|
|
881
1000
|
// =============================================================================
|
|
@@ -904,69 +1023,138 @@ export const ListDnsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
904
1023
|
T.Http({ method: "GET", path: "/accounts/{account_id}/intel/dns" }),
|
|
905
1024
|
) as unknown as Schema.Schema<ListDnsRequest>;
|
|
906
1025
|
|
|
907
|
-
export
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
1026
|
+
export interface ListDnsResponse {
|
|
1027
|
+
result: {
|
|
1028
|
+
items?:
|
|
1029
|
+
| {
|
|
1030
|
+
count?: number | null;
|
|
1031
|
+
page?: number | null;
|
|
1032
|
+
perPage?: number | null;
|
|
1033
|
+
reverseRecords?:
|
|
1034
|
+
| {
|
|
1035
|
+
firstSeen?: string | null;
|
|
1036
|
+
hostname?: string | null;
|
|
1037
|
+
lastSeen?: string | null;
|
|
1038
|
+
}[]
|
|
1039
|
+
| null;
|
|
1040
|
+
}[]
|
|
1041
|
+
| null;
|
|
1042
|
+
};
|
|
1043
|
+
resultInfo: {
|
|
1044
|
+
count?: number | null;
|
|
1045
|
+
page?: number | null;
|
|
1046
|
+
perPage?: number | null;
|
|
1047
|
+
totalCount?: number | null;
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
919
1050
|
|
|
920
|
-
export const ListDnsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
921
|
-
Schema.Struct({
|
|
922
|
-
|
|
923
|
-
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
924
|
-
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
925
|
-
reverseRecords: Schema.optional(
|
|
1051
|
+
export const ListDnsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1052
|
+
result: Schema.Struct({
|
|
1053
|
+
items: Schema.optional(
|
|
926
1054
|
Schema.Union([
|
|
927
1055
|
Schema.Array(
|
|
928
1056
|
Schema.Struct({
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1057
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1058
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1059
|
+
perPage: Schema.optional(
|
|
1060
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
934
1061
|
),
|
|
935
|
-
|
|
936
|
-
Schema.Union([
|
|
1062
|
+
reverseRecords: Schema.optional(
|
|
1063
|
+
Schema.Union([
|
|
1064
|
+
Schema.Array(
|
|
1065
|
+
Schema.Struct({
|
|
1066
|
+
firstSeen: Schema.optional(
|
|
1067
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1068
|
+
),
|
|
1069
|
+
hostname: Schema.optional(
|
|
1070
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1071
|
+
),
|
|
1072
|
+
lastSeen: Schema.optional(
|
|
1073
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1074
|
+
),
|
|
1075
|
+
}).pipe(
|
|
1076
|
+
Schema.encodeKeys({
|
|
1077
|
+
firstSeen: "first_seen",
|
|
1078
|
+
hostname: "hostname",
|
|
1079
|
+
lastSeen: "last_seen",
|
|
1080
|
+
}),
|
|
1081
|
+
),
|
|
1082
|
+
),
|
|
1083
|
+
Schema.Null,
|
|
1084
|
+
]),
|
|
937
1085
|
),
|
|
938
1086
|
}).pipe(
|
|
939
1087
|
Schema.encodeKeys({
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
1088
|
+
count: "count",
|
|
1089
|
+
page: "page",
|
|
1090
|
+
perPage: "per_page",
|
|
1091
|
+
reverseRecords: "reverse_records",
|
|
943
1092
|
}),
|
|
944
1093
|
),
|
|
945
1094
|
),
|
|
946
1095
|
Schema.Null,
|
|
947
1096
|
]),
|
|
948
1097
|
),
|
|
1098
|
+
}),
|
|
1099
|
+
resultInfo: Schema.Struct({
|
|
1100
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1101
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1102
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1103
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
949
1104
|
}).pipe(
|
|
950
1105
|
Schema.encodeKeys({
|
|
951
1106
|
count: "count",
|
|
952
1107
|
page: "page",
|
|
953
1108
|
perPage: "per_page",
|
|
954
|
-
|
|
1109
|
+
totalCount: "total_count",
|
|
955
1110
|
}),
|
|
956
1111
|
),
|
|
1112
|
+
}).pipe(
|
|
1113
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
957
1114
|
) as unknown as Schema.Schema<ListDnsResponse>;
|
|
958
1115
|
|
|
959
1116
|
export type ListDnsError = DefaultErrors;
|
|
960
1117
|
|
|
961
|
-
export const listDns: API.
|
|
1118
|
+
export const listDns: API.PaginatedOperationMethod<
|
|
962
1119
|
ListDnsRequest,
|
|
963
1120
|
ListDnsResponse,
|
|
964
1121
|
ListDnsError,
|
|
965
1122
|
Credentials | HttpClient.HttpClient
|
|
966
|
-
>
|
|
1123
|
+
> & {
|
|
1124
|
+
pages: (
|
|
1125
|
+
input: ListDnsRequest,
|
|
1126
|
+
) => stream.Stream<
|
|
1127
|
+
ListDnsResponse,
|
|
1128
|
+
ListDnsError,
|
|
1129
|
+
Credentials | HttpClient.HttpClient
|
|
1130
|
+
>;
|
|
1131
|
+
items: (input: ListDnsRequest) => stream.Stream<
|
|
1132
|
+
{
|
|
1133
|
+
count?: number | null;
|
|
1134
|
+
page?: number | null;
|
|
1135
|
+
perPage?: number | null;
|
|
1136
|
+
reverseRecords?:
|
|
1137
|
+
| {
|
|
1138
|
+
firstSeen?: string | null;
|
|
1139
|
+
hostname?: string | null;
|
|
1140
|
+
lastSeen?: string | null;
|
|
1141
|
+
}[]
|
|
1142
|
+
| null;
|
|
1143
|
+
},
|
|
1144
|
+
ListDnsError,
|
|
1145
|
+
Credentials | HttpClient.HttpClient
|
|
1146
|
+
>;
|
|
1147
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
967
1148
|
input: ListDnsRequest,
|
|
968
1149
|
output: ListDnsResponse,
|
|
969
1150
|
errors: [],
|
|
1151
|
+
pagination: {
|
|
1152
|
+
mode: "page",
|
|
1153
|
+
inputToken: "page",
|
|
1154
|
+
outputToken: "resultInfo.page",
|
|
1155
|
+
items: "result.items",
|
|
1156
|
+
pageSize: "perPage",
|
|
1157
|
+
} as const,
|
|
970
1158
|
}));
|
|
971
1159
|
|
|
972
1160
|
// =============================================================================
|
|
@@ -1150,21 +1338,25 @@ export const GetDomainResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1150
1338
|
Schema.Null,
|
|
1151
1339
|
]),
|
|
1152
1340
|
),
|
|
1153
|
-
})
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
)
|
|
1341
|
+
})
|
|
1342
|
+
.pipe(
|
|
1343
|
+
Schema.encodeKeys({
|
|
1344
|
+
additionalInformation: "additional_information",
|
|
1345
|
+
application: "application",
|
|
1346
|
+
contentCategories: "content_categories",
|
|
1347
|
+
domain: "domain",
|
|
1348
|
+
inheritedContentCategories: "inherited_content_categories",
|
|
1349
|
+
inheritedFrom: "inherited_from",
|
|
1350
|
+
inheritedRiskTypes: "inherited_risk_types",
|
|
1351
|
+
popularityRank: "popularity_rank",
|
|
1352
|
+
resolvesToRefs: "resolves_to_refs",
|
|
1353
|
+
riskScore: "risk_score",
|
|
1354
|
+
riskTypes: "risk_types",
|
|
1355
|
+
}),
|
|
1356
|
+
)
|
|
1357
|
+
.pipe(
|
|
1358
|
+
T.ResponsePath("result"),
|
|
1359
|
+
) as unknown as Schema.Schema<GetDomainResponse>;
|
|
1168
1360
|
|
|
1169
1361
|
export type GetDomainError = DefaultErrors;
|
|
1170
1362
|
|
|
@@ -1359,6 +1551,8 @@ export const GetDomainBulkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
1359
1551
|
riskTypes: "risk_types",
|
|
1360
1552
|
}),
|
|
1361
1553
|
),
|
|
1554
|
+
).pipe(
|
|
1555
|
+
T.ResponsePath("result"),
|
|
1362
1556
|
) as unknown as Schema.Schema<GetDomainBulkResponse>;
|
|
1363
1557
|
|
|
1364
1558
|
export type GetDomainBulkError = DefaultErrors;
|
|
@@ -1440,6 +1634,8 @@ export const GetDomainHistoryResponse =
|
|
|
1440
1634
|
),
|
|
1441
1635
|
domain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1442
1636
|
}),
|
|
1637
|
+
).pipe(
|
|
1638
|
+
T.ResponsePath("result"),
|
|
1443
1639
|
) as unknown as Schema.Schema<GetDomainHistoryResponse>;
|
|
1444
1640
|
|
|
1445
1641
|
export type GetDomainHistoryError = DefaultErrors;
|
|
@@ -1537,21 +1733,25 @@ export const GetIndicatorFeedResponse =
|
|
|
1537
1733
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1538
1734
|
providerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1539
1735
|
providerName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1540
|
-
})
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1736
|
+
})
|
|
1737
|
+
.pipe(
|
|
1738
|
+
Schema.encodeKeys({
|
|
1739
|
+
id: "id",
|
|
1740
|
+
createdOn: "created_on",
|
|
1741
|
+
description: "description",
|
|
1742
|
+
isAttributable: "is_attributable",
|
|
1743
|
+
isDownloadable: "is_downloadable",
|
|
1744
|
+
isPublic: "is_public",
|
|
1745
|
+
latestUploadStatus: "latest_upload_status",
|
|
1746
|
+
modifiedOn: "modified_on",
|
|
1747
|
+
name: "name",
|
|
1748
|
+
providerId: "provider_id",
|
|
1749
|
+
providerName: "provider_name",
|
|
1750
|
+
}),
|
|
1751
|
+
)
|
|
1752
|
+
.pipe(
|
|
1753
|
+
T.ResponsePath("result"),
|
|
1754
|
+
) as unknown as Schema.Schema<GetIndicatorFeedResponse>;
|
|
1555
1755
|
|
|
1556
1756
|
export type GetIndicatorFeedError = DefaultErrors;
|
|
1557
1757
|
|
|
@@ -1581,57 +1781,89 @@ export const ListIndicatorFeedsRequest =
|
|
|
1581
1781
|
}),
|
|
1582
1782
|
) as unknown as Schema.Schema<ListIndicatorFeedsRequest>;
|
|
1583
1783
|
|
|
1584
|
-
export
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1784
|
+
export interface ListIndicatorFeedsResponse {
|
|
1785
|
+
result: {
|
|
1786
|
+
id?: number | null;
|
|
1787
|
+
createdOn?: string | null;
|
|
1788
|
+
description?: string | null;
|
|
1789
|
+
isAttributable?: boolean | null;
|
|
1790
|
+
isDownloadable?: boolean | null;
|
|
1791
|
+
isPublic?: boolean | null;
|
|
1792
|
+
modifiedOn?: string | null;
|
|
1793
|
+
name?: string | null;
|
|
1794
|
+
}[];
|
|
1795
|
+
}
|
|
1594
1796
|
|
|
1595
1797
|
export const ListIndicatorFeedsResponse =
|
|
1596
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1597
|
-
Schema.
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1798
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1799
|
+
result: Schema.Array(
|
|
1800
|
+
Schema.Struct({
|
|
1801
|
+
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1802
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1803
|
+
description: Schema.optional(
|
|
1804
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1805
|
+
),
|
|
1806
|
+
isAttributable: Schema.optional(
|
|
1807
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1808
|
+
),
|
|
1809
|
+
isDownloadable: Schema.optional(
|
|
1810
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1811
|
+
),
|
|
1812
|
+
isPublic: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1813
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1814
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1815
|
+
}).pipe(
|
|
1816
|
+
Schema.encodeKeys({
|
|
1817
|
+
id: "id",
|
|
1818
|
+
createdOn: "created_on",
|
|
1819
|
+
description: "description",
|
|
1820
|
+
isAttributable: "is_attributable",
|
|
1821
|
+
isDownloadable: "is_downloadable",
|
|
1822
|
+
isPublic: "is_public",
|
|
1823
|
+
modifiedOn: "modified_on",
|
|
1824
|
+
name: "name",
|
|
1825
|
+
}),
|
|
1606
1826
|
),
|
|
1607
|
-
isPublic: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1608
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1609
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1610
|
-
}).pipe(
|
|
1611
|
-
Schema.encodeKeys({
|
|
1612
|
-
id: "id",
|
|
1613
|
-
createdOn: "created_on",
|
|
1614
|
-
description: "description",
|
|
1615
|
-
isAttributable: "is_attributable",
|
|
1616
|
-
isDownloadable: "is_downloadable",
|
|
1617
|
-
isPublic: "is_public",
|
|
1618
|
-
modifiedOn: "modified_on",
|
|
1619
|
-
name: "name",
|
|
1620
|
-
}),
|
|
1621
1827
|
),
|
|
1622
|
-
) as unknown as Schema.Schema<ListIndicatorFeedsResponse>;
|
|
1828
|
+
}) as unknown as Schema.Schema<ListIndicatorFeedsResponse>;
|
|
1623
1829
|
|
|
1624
1830
|
export type ListIndicatorFeedsError = DefaultErrors;
|
|
1625
1831
|
|
|
1626
|
-
export const listIndicatorFeeds: API.
|
|
1832
|
+
export const listIndicatorFeeds: API.PaginatedOperationMethod<
|
|
1627
1833
|
ListIndicatorFeedsRequest,
|
|
1628
1834
|
ListIndicatorFeedsResponse,
|
|
1629
1835
|
ListIndicatorFeedsError,
|
|
1630
1836
|
Credentials | HttpClient.HttpClient
|
|
1631
|
-
>
|
|
1837
|
+
> & {
|
|
1838
|
+
pages: (
|
|
1839
|
+
input: ListIndicatorFeedsRequest,
|
|
1840
|
+
) => stream.Stream<
|
|
1841
|
+
ListIndicatorFeedsResponse,
|
|
1842
|
+
ListIndicatorFeedsError,
|
|
1843
|
+
Credentials | HttpClient.HttpClient
|
|
1844
|
+
>;
|
|
1845
|
+
items: (input: ListIndicatorFeedsRequest) => stream.Stream<
|
|
1846
|
+
{
|
|
1847
|
+
id?: number | null;
|
|
1848
|
+
createdOn?: string | null;
|
|
1849
|
+
description?: string | null;
|
|
1850
|
+
isAttributable?: boolean | null;
|
|
1851
|
+
isDownloadable?: boolean | null;
|
|
1852
|
+
isPublic?: boolean | null;
|
|
1853
|
+
modifiedOn?: string | null;
|
|
1854
|
+
name?: string | null;
|
|
1855
|
+
},
|
|
1856
|
+
ListIndicatorFeedsError,
|
|
1857
|
+
Credentials | HttpClient.HttpClient
|
|
1858
|
+
>;
|
|
1859
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1632
1860
|
input: ListIndicatorFeedsRequest,
|
|
1633
1861
|
output: ListIndicatorFeedsResponse,
|
|
1634
1862
|
errors: [],
|
|
1863
|
+
pagination: {
|
|
1864
|
+
mode: "single",
|
|
1865
|
+
items: "result",
|
|
1866
|
+
} as const,
|
|
1635
1867
|
}));
|
|
1636
1868
|
|
|
1637
1869
|
export interface CreateIndicatorFeedRequest {
|
|
@@ -1688,18 +1920,22 @@ export const CreateIndicatorFeedResponse =
|
|
|
1688
1920
|
isPublic: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1689
1921
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1690
1922
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1691
|
-
})
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1923
|
+
})
|
|
1924
|
+
.pipe(
|
|
1925
|
+
Schema.encodeKeys({
|
|
1926
|
+
id: "id",
|
|
1927
|
+
createdOn: "created_on",
|
|
1928
|
+
description: "description",
|
|
1929
|
+
isAttributable: "is_attributable",
|
|
1930
|
+
isDownloadable: "is_downloadable",
|
|
1931
|
+
isPublic: "is_public",
|
|
1932
|
+
modifiedOn: "modified_on",
|
|
1933
|
+
name: "name",
|
|
1934
|
+
}),
|
|
1935
|
+
)
|
|
1936
|
+
.pipe(
|
|
1937
|
+
T.ResponsePath("result"),
|
|
1938
|
+
) as unknown as Schema.Schema<CreateIndicatorFeedResponse>;
|
|
1703
1939
|
|
|
1704
1940
|
export type CreateIndicatorFeedError = DefaultErrors;
|
|
1705
1941
|
|
|
@@ -1786,18 +2022,22 @@ export const UpdateIndicatorFeedResponse =
|
|
|
1786
2022
|
isPublic: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1787
2023
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1788
2024
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1789
|
-
})
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
2025
|
+
})
|
|
2026
|
+
.pipe(
|
|
2027
|
+
Schema.encodeKeys({
|
|
2028
|
+
id: "id",
|
|
2029
|
+
createdOn: "created_on",
|
|
2030
|
+
description: "description",
|
|
2031
|
+
isAttributable: "is_attributable",
|
|
2032
|
+
isDownloadable: "is_downloadable",
|
|
2033
|
+
isPublic: "is_public",
|
|
2034
|
+
modifiedOn: "modified_on",
|
|
2035
|
+
name: "name",
|
|
2036
|
+
}),
|
|
2037
|
+
)
|
|
2038
|
+
.pipe(
|
|
2039
|
+
T.ResponsePath("result"),
|
|
2040
|
+
) as unknown as Schema.Schema<UpdateIndicatorFeedResponse>;
|
|
1801
2041
|
|
|
1802
2042
|
export type UpdateIndicatorFeedError = DefaultErrors;
|
|
1803
2043
|
|
|
@@ -1898,6 +2138,8 @@ export const ListIndicatorFeedPermissionsResponse =
|
|
|
1898
2138
|
name: "name",
|
|
1899
2139
|
}),
|
|
1900
2140
|
),
|
|
2141
|
+
).pipe(
|
|
2142
|
+
T.ResponsePath("result"),
|
|
1901
2143
|
) as unknown as Schema.Schema<ListIndicatorFeedPermissionsResponse>;
|
|
1902
2144
|
|
|
1903
2145
|
export type ListIndicatorFeedPermissionsError = DefaultErrors;
|
|
@@ -1943,7 +2185,9 @@ export interface CreateIndicatorFeedPermissionResponse {
|
|
|
1943
2185
|
export const CreateIndicatorFeedPermissionResponse =
|
|
1944
2186
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1945
2187
|
success: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1946
|
-
})
|
|
2188
|
+
}).pipe(
|
|
2189
|
+
T.ResponsePath("result"),
|
|
2190
|
+
) as unknown as Schema.Schema<CreateIndicatorFeedPermissionResponse>;
|
|
1947
2191
|
|
|
1948
2192
|
export type CreateIndicatorFeedPermissionError = DefaultErrors;
|
|
1949
2193
|
|
|
@@ -1988,7 +2232,9 @@ export interface DeleteIndicatorFeedPermissionResponse {
|
|
|
1988
2232
|
export const DeleteIndicatorFeedPermissionResponse =
|
|
1989
2233
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1990
2234
|
success: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1991
|
-
})
|
|
2235
|
+
}).pipe(
|
|
2236
|
+
T.ResponsePath("result"),
|
|
2237
|
+
) as unknown as Schema.Schema<DeleteIndicatorFeedPermissionResponse>;
|
|
1992
2238
|
|
|
1993
2239
|
export type DeleteIndicatorFeedPermissionError = DefaultErrors;
|
|
1994
2240
|
|
|
@@ -2042,13 +2288,17 @@ export const PutIndicatorFeedSnapshotResponse =
|
|
|
2042
2288
|
fileId: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2043
2289
|
filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2044
2290
|
status: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2045
|
-
})
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2291
|
+
})
|
|
2292
|
+
.pipe(
|
|
2293
|
+
Schema.encodeKeys({
|
|
2294
|
+
fileId: "file_id",
|
|
2295
|
+
filename: "filename",
|
|
2296
|
+
status: "status",
|
|
2297
|
+
}),
|
|
2298
|
+
)
|
|
2299
|
+
.pipe(
|
|
2300
|
+
T.ResponsePath("result"),
|
|
2301
|
+
) as unknown as Schema.Schema<PutIndicatorFeedSnapshotResponse>;
|
|
2052
2302
|
|
|
2053
2303
|
export type PutIndicatorFeedSnapshotError = DefaultErrors;
|
|
2054
2304
|
|
|
@@ -2151,7 +2401,7 @@ export const GetIpResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
2151
2401
|
riskTypes: "risk_types",
|
|
2152
2402
|
}),
|
|
2153
2403
|
),
|
|
2154
|
-
) as unknown as Schema.Schema<GetIpResponse>;
|
|
2404
|
+
).pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetIpResponse>;
|
|
2155
2405
|
|
|
2156
2406
|
export type GetIpError = DefaultErrors;
|
|
2157
2407
|
|
|
@@ -2181,31 +2431,54 @@ export const GetIpListRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2181
2431
|
T.Http({ method: "GET", path: "/accounts/{account_id}/intel/ip-list" }),
|
|
2182
2432
|
) as unknown as Schema.Schema<GetIpListRequest>;
|
|
2183
2433
|
|
|
2184
|
-
export
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2434
|
+
export interface GetIpListResponse {
|
|
2435
|
+
result: {
|
|
2436
|
+
id?: number | null;
|
|
2437
|
+
description?: string | null;
|
|
2438
|
+
name?: string | null;
|
|
2439
|
+
}[];
|
|
2440
|
+
}
|
|
2189
2441
|
|
|
2190
|
-
export const GetIpListResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2191
|
-
Schema.
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
)
|
|
2442
|
+
export const GetIpListResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2443
|
+
result: Schema.Array(
|
|
2444
|
+
Schema.Struct({
|
|
2445
|
+
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2446
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2447
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2448
|
+
}),
|
|
2449
|
+
),
|
|
2450
|
+
}) as unknown as Schema.Schema<GetIpListResponse>;
|
|
2197
2451
|
|
|
2198
2452
|
export type GetIpListError = DefaultErrors;
|
|
2199
2453
|
|
|
2200
|
-
export const getIpList: API.
|
|
2454
|
+
export const getIpList: API.PaginatedOperationMethod<
|
|
2201
2455
|
GetIpListRequest,
|
|
2202
2456
|
GetIpListResponse,
|
|
2203
2457
|
GetIpListError,
|
|
2204
2458
|
Credentials | HttpClient.HttpClient
|
|
2205
|
-
>
|
|
2459
|
+
> & {
|
|
2460
|
+
pages: (
|
|
2461
|
+
input: GetIpListRequest,
|
|
2462
|
+
) => stream.Stream<
|
|
2463
|
+
GetIpListResponse,
|
|
2464
|
+
GetIpListError,
|
|
2465
|
+
Credentials | HttpClient.HttpClient
|
|
2466
|
+
>;
|
|
2467
|
+
items: (
|
|
2468
|
+
input: GetIpListRequest,
|
|
2469
|
+
) => stream.Stream<
|
|
2470
|
+
{ id?: number | null; description?: string | null; name?: string | null },
|
|
2471
|
+
GetIpListError,
|
|
2472
|
+
Credentials | HttpClient.HttpClient
|
|
2473
|
+
>;
|
|
2474
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2206
2475
|
input: GetIpListRequest,
|
|
2207
2476
|
output: GetIpListResponse,
|
|
2208
2477
|
errors: [],
|
|
2478
|
+
pagination: {
|
|
2479
|
+
mode: "single",
|
|
2480
|
+
items: "result",
|
|
2481
|
+
} as const,
|
|
2209
2482
|
}));
|
|
2210
2483
|
|
|
2211
2484
|
// =============================================================================
|
|
@@ -2361,49 +2634,78 @@ export const ListSinkholesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2361
2634
|
T.Http({ method: "GET", path: "/accounts/{account_id}/intel/sinkholes" }),
|
|
2362
2635
|
) as unknown as Schema.Schema<ListSinkholesRequest>;
|
|
2363
2636
|
|
|
2364
|
-
export
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2637
|
+
export interface ListSinkholesResponse {
|
|
2638
|
+
result: {
|
|
2639
|
+
id?: number | null;
|
|
2640
|
+
accountTag?: string | null;
|
|
2641
|
+
createdOn?: string | null;
|
|
2642
|
+
modifiedOn?: string | null;
|
|
2643
|
+
name?: string | null;
|
|
2644
|
+
r2Bucket?: string | null;
|
|
2645
|
+
r2Id?: string | null;
|
|
2646
|
+
}[];
|
|
2647
|
+
}
|
|
2373
2648
|
|
|
2374
|
-
export const ListSinkholesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2375
|
-
Schema.
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2649
|
+
export const ListSinkholesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2650
|
+
result: Schema.Array(
|
|
2651
|
+
Schema.Struct({
|
|
2652
|
+
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2653
|
+
accountTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2654
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2655
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2656
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2657
|
+
r2Bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2658
|
+
r2Id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2659
|
+
}).pipe(
|
|
2660
|
+
Schema.encodeKeys({
|
|
2661
|
+
id: "id",
|
|
2662
|
+
accountTag: "account_tag",
|
|
2663
|
+
createdOn: "created_on",
|
|
2664
|
+
modifiedOn: "modified_on",
|
|
2665
|
+
name: "name",
|
|
2666
|
+
r2Bucket: "r2_bucket",
|
|
2667
|
+
r2Id: "r2_id",
|
|
2668
|
+
}),
|
|
2669
|
+
),
|
|
2393
2670
|
),
|
|
2394
|
-
) as unknown as Schema.Schema<ListSinkholesResponse>;
|
|
2671
|
+
}) as unknown as Schema.Schema<ListSinkholesResponse>;
|
|
2395
2672
|
|
|
2396
2673
|
export type ListSinkholesError = DefaultErrors;
|
|
2397
2674
|
|
|
2398
|
-
export const listSinkholes: API.
|
|
2675
|
+
export const listSinkholes: API.PaginatedOperationMethod<
|
|
2399
2676
|
ListSinkholesRequest,
|
|
2400
2677
|
ListSinkholesResponse,
|
|
2401
2678
|
ListSinkholesError,
|
|
2402
2679
|
Credentials | HttpClient.HttpClient
|
|
2403
|
-
>
|
|
2680
|
+
> & {
|
|
2681
|
+
pages: (
|
|
2682
|
+
input: ListSinkholesRequest,
|
|
2683
|
+
) => stream.Stream<
|
|
2684
|
+
ListSinkholesResponse,
|
|
2685
|
+
ListSinkholesError,
|
|
2686
|
+
Credentials | HttpClient.HttpClient
|
|
2687
|
+
>;
|
|
2688
|
+
items: (input: ListSinkholesRequest) => stream.Stream<
|
|
2689
|
+
{
|
|
2690
|
+
id?: number | null;
|
|
2691
|
+
accountTag?: string | null;
|
|
2692
|
+
createdOn?: string | null;
|
|
2693
|
+
modifiedOn?: string | null;
|
|
2694
|
+
name?: string | null;
|
|
2695
|
+
r2Bucket?: string | null;
|
|
2696
|
+
r2Id?: string | null;
|
|
2697
|
+
},
|
|
2698
|
+
ListSinkholesError,
|
|
2699
|
+
Credentials | HttpClient.HttpClient
|
|
2700
|
+
>;
|
|
2701
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2404
2702
|
input: ListSinkholesRequest,
|
|
2405
2703
|
output: ListSinkholesResponse,
|
|
2406
2704
|
errors: [],
|
|
2705
|
+
pagination: {
|
|
2706
|
+
mode: "single",
|
|
2707
|
+
items: "result",
|
|
2708
|
+
} as const,
|
|
2407
2709
|
}));
|
|
2408
2710
|
|
|
2409
2711
|
// =============================================================================
|
|
@@ -2662,97 +2964,99 @@ export const GetWhoiResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2662
2964
|
updatedDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2663
2965
|
updatedDateRaw: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2664
2966
|
whoisServer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2665
|
-
})
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
)
|
|
2967
|
+
})
|
|
2968
|
+
.pipe(
|
|
2969
|
+
Schema.encodeKeys({
|
|
2970
|
+
dnssec: "dnssec",
|
|
2971
|
+
domain: "domain",
|
|
2972
|
+
extension: "extension",
|
|
2973
|
+
found: "found",
|
|
2974
|
+
nameservers: "nameservers",
|
|
2975
|
+
punycode: "punycode",
|
|
2976
|
+
registrant: "registrant",
|
|
2977
|
+
registrar: "registrar",
|
|
2978
|
+
id: "id",
|
|
2979
|
+
administrativeCity: "administrative_city",
|
|
2980
|
+
administrativeCountry: "administrative_country",
|
|
2981
|
+
administrativeEmail: "administrative_email",
|
|
2982
|
+
administrativeFax: "administrative_fax",
|
|
2983
|
+
administrativeFaxExt: "administrative_fax_ext",
|
|
2984
|
+
administrativeId: "administrative_id",
|
|
2985
|
+
administrativeName: "administrative_name",
|
|
2986
|
+
administrativeOrg: "administrative_org",
|
|
2987
|
+
administrativePhone: "administrative_phone",
|
|
2988
|
+
administrativePhoneExt: "administrative_phone_ext",
|
|
2989
|
+
administrativePostalCode: "administrative_postal_code",
|
|
2990
|
+
administrativeProvince: "administrative_province",
|
|
2991
|
+
administrativeReferralUrl: "administrative_referral_url",
|
|
2992
|
+
administrativeStreet: "administrative_street",
|
|
2993
|
+
billingCity: "billing_city",
|
|
2994
|
+
billingCountry: "billing_country",
|
|
2995
|
+
billingEmail: "billing_email",
|
|
2996
|
+
billingFax: "billing_fax",
|
|
2997
|
+
billingFaxExt: "billing_fax_ext",
|
|
2998
|
+
billingId: "billing_id",
|
|
2999
|
+
billingName: "billing_name",
|
|
3000
|
+
billingOrg: "billing_org",
|
|
3001
|
+
billingPhone: "billing_phone",
|
|
3002
|
+
billingPhoneExt: "billing_phone_ext",
|
|
3003
|
+
billingPostalCode: "billing_postal_code",
|
|
3004
|
+
billingProvince: "billing_province",
|
|
3005
|
+
billingReferralUrl: "billing_referral_url",
|
|
3006
|
+
billingStreet: "billing_street",
|
|
3007
|
+
createdDate: "created_date",
|
|
3008
|
+
createdDateRaw: "created_date_raw",
|
|
3009
|
+
expirationDate: "expiration_date",
|
|
3010
|
+
expirationDateRaw: "expiration_date_raw",
|
|
3011
|
+
registrantCity: "registrant_city",
|
|
3012
|
+
registrantCountry: "registrant_country",
|
|
3013
|
+
registrantEmail: "registrant_email",
|
|
3014
|
+
registrantFax: "registrant_fax",
|
|
3015
|
+
registrantFaxExt: "registrant_fax_ext",
|
|
3016
|
+
registrantId: "registrant_id",
|
|
3017
|
+
registrantName: "registrant_name",
|
|
3018
|
+
registrantOrg: "registrant_org",
|
|
3019
|
+
registrantPhone: "registrant_phone",
|
|
3020
|
+
registrantPhoneExt: "registrant_phone_ext",
|
|
3021
|
+
registrantPostalCode: "registrant_postal_code",
|
|
3022
|
+
registrantProvince: "registrant_province",
|
|
3023
|
+
registrantReferralUrl: "registrant_referral_url",
|
|
3024
|
+
registrantStreet: "registrant_street",
|
|
3025
|
+
registrarCity: "registrar_city",
|
|
3026
|
+
registrarCountry: "registrar_country",
|
|
3027
|
+
registrarEmail: "registrar_email",
|
|
3028
|
+
registrarFax: "registrar_fax",
|
|
3029
|
+
registrarFaxExt: "registrar_fax_ext",
|
|
3030
|
+
registrarId: "registrar_id",
|
|
3031
|
+
registrarName: "registrar_name",
|
|
3032
|
+
registrarOrg: "registrar_org",
|
|
3033
|
+
registrarPhone: "registrar_phone",
|
|
3034
|
+
registrarPhoneExt: "registrar_phone_ext",
|
|
3035
|
+
registrarPostalCode: "registrar_postal_code",
|
|
3036
|
+
registrarProvince: "registrar_province",
|
|
3037
|
+
registrarReferralUrl: "registrar_referral_url",
|
|
3038
|
+
registrarStreet: "registrar_street",
|
|
3039
|
+
status: "status",
|
|
3040
|
+
technicalCity: "technical_city",
|
|
3041
|
+
technicalCountry: "technical_country",
|
|
3042
|
+
technicalEmail: "technical_email",
|
|
3043
|
+
technicalFax: "technical_fax",
|
|
3044
|
+
technicalFaxExt: "technical_fax_ext",
|
|
3045
|
+
technicalId: "technical_id",
|
|
3046
|
+
technicalName: "technical_name",
|
|
3047
|
+
technicalOrg: "technical_org",
|
|
3048
|
+
technicalPhone: "technical_phone",
|
|
3049
|
+
technicalPhoneExt: "technical_phone_ext",
|
|
3050
|
+
technicalPostalCode: "technical_postal_code",
|
|
3051
|
+
technicalProvince: "technical_province",
|
|
3052
|
+
technicalReferralUrl: "technical_referral_url",
|
|
3053
|
+
technicalStreet: "technical_street",
|
|
3054
|
+
updatedDate: "updated_date",
|
|
3055
|
+
updatedDateRaw: "updated_date_raw",
|
|
3056
|
+
whoisServer: "whois_server",
|
|
3057
|
+
}),
|
|
3058
|
+
)
|
|
3059
|
+
.pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetWhoiResponse>;
|
|
2756
3060
|
|
|
2757
3061
|
export type GetWhoiError = DefaultErrors;
|
|
2758
3062
|
|