@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
|
@@ -28,7 +28,7 @@ interface LogoGetResponseItem {
|
|
|
28
28
|
/** Base64-encoded image data (only present when download=true) */
|
|
29
29
|
imageData?: string | null;
|
|
30
30
|
}
|
|
31
|
-
const LogoGetResponseItem = /*@__PURE__*/
|
|
31
|
+
const LogoGetResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
32
32
|
Schema.Struct({
|
|
33
33
|
id: Schema.Number,
|
|
34
34
|
r2Path: Schema.String,
|
|
@@ -61,7 +61,7 @@ interface Match {
|
|
|
61
61
|
contentType?: string | null;
|
|
62
62
|
imageData?: string | null;
|
|
63
63
|
}
|
|
64
|
-
const Match = /*@__PURE__*/
|
|
64
|
+
const Match = /*@__PURE__*/ Schema.suspend(() =>
|
|
65
65
|
Schema.Struct({
|
|
66
66
|
id: Schema.Number,
|
|
67
67
|
domain: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -90,7 +90,7 @@ const Match = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
90
90
|
interface PublicScans {
|
|
91
91
|
submissionId: string;
|
|
92
92
|
}
|
|
93
|
-
const PublicScans = /*@__PURE__*/
|
|
93
|
+
const PublicScans = /*@__PURE__*/ Schema.suspend(() =>
|
|
94
94
|
Schema.Struct({
|
|
95
95
|
submissionId: Schema.String,
|
|
96
96
|
}).pipe(Schema.encodeKeys({ submissionId: "submission_id" })),
|
|
@@ -104,7 +104,7 @@ interface MatchDetail {
|
|
|
104
104
|
/** Tag associated with the query, if one exists. */
|
|
105
105
|
queryTag: string | null;
|
|
106
106
|
}
|
|
107
|
-
const MatchDetail = /*@__PURE__*/
|
|
107
|
+
const MatchDetail = /*@__PURE__*/ Schema.suspend(() =>
|
|
108
108
|
Schema.Struct({
|
|
109
109
|
dismissed: Schema.Boolean,
|
|
110
110
|
matchId: Schema.Number,
|
|
@@ -140,7 +140,7 @@ interface Match2 {
|
|
|
140
140
|
}[]
|
|
141
141
|
| null;
|
|
142
142
|
}
|
|
143
|
-
const Match2 = /*@__PURE__*/
|
|
143
|
+
const Match2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
144
144
|
Schema.Struct({
|
|
145
145
|
domain: Schema.String,
|
|
146
146
|
firstSeen: Schema.String,
|
|
@@ -172,7 +172,7 @@ interface StringMatch {
|
|
|
172
172
|
maxEditDistance: number;
|
|
173
173
|
pattern: string;
|
|
174
174
|
}
|
|
175
|
-
const StringMatch = /*@__PURE__*/
|
|
175
|
+
const StringMatch = /*@__PURE__*/ Schema.suspend(() =>
|
|
176
176
|
Schema.Struct({
|
|
177
177
|
maxEditDistance: Schema.Number,
|
|
178
178
|
pattern: Schema.String,
|
|
@@ -189,7 +189,7 @@ interface Parameters {
|
|
|
189
189
|
maxTime?: string | null;
|
|
190
190
|
minTime?: string | null;
|
|
191
191
|
}
|
|
192
|
-
const Parameters = /*@__PURE__*/
|
|
192
|
+
const Parameters = /*@__PURE__*/ Schema.suspend(() =>
|
|
193
193
|
Schema.Struct({
|
|
194
194
|
stringMatches: Schema.Array(StringMatch),
|
|
195
195
|
maxTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -215,7 +215,7 @@ interface QueryGetResponseItem {
|
|
|
215
215
|
scan: boolean;
|
|
216
216
|
updated: string;
|
|
217
217
|
}
|
|
218
|
-
const QueryGetResponseItem = /*@__PURE__*/
|
|
218
|
+
const QueryGetResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
219
219
|
Schema.Struct({
|
|
220
220
|
created: Schema.String,
|
|
221
221
|
parameters: Schema.Union([Parameters, Schema.Null]),
|
|
@@ -244,7 +244,7 @@ export interface SubmitBrandProtectionRequest {
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
export const SubmitBrandProtectionRequest =
|
|
247
|
-
/*@__PURE__*/
|
|
247
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
248
248
|
Schema.Struct({
|
|
249
249
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
250
250
|
}).pipe(
|
|
@@ -261,7 +261,7 @@ export interface SubmitBrandProtectionResponse {
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
export const SubmitBrandProtectionResponse =
|
|
264
|
-
/*@__PURE__*/
|
|
264
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
265
265
|
Schema.Struct({
|
|
266
266
|
skippedUrls: Schema.optional(
|
|
267
267
|
Schema.Union([
|
|
@@ -290,7 +290,7 @@ export const submitBrandProtection: API.OperationMethod<
|
|
|
290
290
|
SubmitBrandProtectionResponse,
|
|
291
291
|
SubmitBrandProtectionError,
|
|
292
292
|
Credentials | HttpClient.HttpClient
|
|
293
|
-
> = /*@__PURE__*/
|
|
293
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
294
294
|
input: SubmitBrandProtectionRequest,
|
|
295
295
|
output: SubmitBrandProtectionResponse,
|
|
296
296
|
errors: [],
|
|
@@ -305,7 +305,7 @@ export interface UrlInfoBrandProtectionRequest {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
export const UrlInfoBrandProtectionRequest =
|
|
308
|
-
/*@__PURE__*/
|
|
308
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
309
309
|
Schema.Struct({
|
|
310
310
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
311
311
|
}).pipe(
|
|
@@ -321,7 +321,7 @@ export interface UrlInfoBrandProtectionResponse {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
export const UrlInfoBrandProtectionResponse =
|
|
324
|
-
/*@__PURE__*/
|
|
324
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
325
325
|
Schema.Struct({
|
|
326
326
|
result: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
327
327
|
}),
|
|
@@ -334,7 +334,7 @@ export const urlInfoBrandProtection: API.PaginatedOperationMethod<
|
|
|
334
334
|
UrlInfoBrandProtectionResponse,
|
|
335
335
|
UrlInfoBrandProtectionError,
|
|
336
336
|
Credentials | HttpClient.HttpClient
|
|
337
|
-
> = /*@__PURE__*/
|
|
337
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
338
338
|
input: UrlInfoBrandProtectionRequest,
|
|
339
339
|
output: UrlInfoBrandProtectionResponse,
|
|
340
340
|
errors: [],
|
|
@@ -361,21 +361,20 @@ export interface CreateLogoRequest {
|
|
|
361
361
|
image?: File | Blob;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
export const CreateLogoRequest = /*@__PURE__*/
|
|
365
|
-
(
|
|
366
|
-
Schema.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
),
|
|
364
|
+
export const CreateLogoRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
365
|
+
Schema.Struct({
|
|
366
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
367
|
+
matchType: Schema.optional(Schema.String).pipe(T.HttpQuery("match_type")),
|
|
368
|
+
tag: Schema.optional(Schema.String).pipe(T.HttpQuery("tag")),
|
|
369
|
+
threshold: Schema.optional(Schema.Number).pipe(T.HttpQuery("threshold")),
|
|
370
|
+
image: Schema.optional(UploadableSchema.pipe(T.HttpFormDataFile())),
|
|
371
|
+
}).pipe(
|
|
372
|
+
T.Http({
|
|
373
|
+
method: "POST",
|
|
374
|
+
path: "/accounts/{account_id}/brand-protection/logos",
|
|
375
|
+
contentType: "multipart",
|
|
376
|
+
}),
|
|
377
|
+
),
|
|
379
378
|
) as unknown as Schema.Codec<CreateLogoRequest>;
|
|
380
379
|
|
|
381
380
|
export interface CreateLogoResponse {
|
|
@@ -384,15 +383,14 @@ export interface CreateLogoResponse {
|
|
|
384
383
|
uploadPath?: string | null;
|
|
385
384
|
}
|
|
386
385
|
|
|
387
|
-
export const CreateLogoResponse = /*@__PURE__*/
|
|
388
|
-
(
|
|
389
|
-
Schema.
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
})
|
|
394
|
-
|
|
395
|
-
),
|
|
386
|
+
export const CreateLogoResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
387
|
+
Schema.Struct({
|
|
388
|
+
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
389
|
+
tag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
390
|
+
uploadPath: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
391
|
+
}).pipe(
|
|
392
|
+
Schema.encodeKeys({ id: "id", tag: "tag", uploadPath: "upload_path" }),
|
|
393
|
+
),
|
|
396
394
|
) as unknown as Schema.Codec<CreateLogoResponse>;
|
|
397
395
|
|
|
398
396
|
export type CreateLogoError = DefaultErrors;
|
|
@@ -402,7 +400,7 @@ export const createLogo: API.OperationMethod<
|
|
|
402
400
|
CreateLogoResponse,
|
|
403
401
|
CreateLogoError,
|
|
404
402
|
Credentials | HttpClient.HttpClient
|
|
405
|
-
> = /*@__PURE__*/
|
|
403
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
406
404
|
input: CreateLogoRequest,
|
|
407
405
|
output: CreateLogoResponse,
|
|
408
406
|
errors: [],
|
|
@@ -413,22 +411,21 @@ export interface DeleteLogoRequest {
|
|
|
413
411
|
accountId: string;
|
|
414
412
|
}
|
|
415
413
|
|
|
416
|
-
export const DeleteLogoRequest = /*@__PURE__*/
|
|
417
|
-
(
|
|
418
|
-
Schema.
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
),
|
|
414
|
+
export const DeleteLogoRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
415
|
+
Schema.Struct({
|
|
416
|
+
logoId: Schema.String.pipe(T.HttpPath("logoId")),
|
|
417
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
418
|
+
}).pipe(
|
|
419
|
+
T.Http({
|
|
420
|
+
method: "DELETE",
|
|
421
|
+
path: "/accounts/{account_id}/brand-protection/logos/{logoId}",
|
|
422
|
+
}),
|
|
423
|
+
),
|
|
427
424
|
) as unknown as Schema.Codec<DeleteLogoRequest>;
|
|
428
425
|
|
|
429
426
|
export type DeleteLogoResponse = unknown;
|
|
430
427
|
|
|
431
|
-
export const DeleteLogoResponse = /*@__PURE__*/
|
|
428
|
+
export const DeleteLogoResponse = /*@__PURE__*/ Schema.suspend(
|
|
432
429
|
() => Schema.Unknown,
|
|
433
430
|
) as unknown as Schema.Codec<DeleteLogoResponse>;
|
|
434
431
|
|
|
@@ -439,7 +436,7 @@ export const deleteLogo: API.OperationMethod<
|
|
|
439
436
|
DeleteLogoResponse,
|
|
440
437
|
DeleteLogoError,
|
|
441
438
|
Credentials | HttpClient.HttpClient
|
|
442
|
-
> = /*@__PURE__*/
|
|
439
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
443
440
|
input: DeleteLogoRequest,
|
|
444
441
|
output: DeleteLogoResponse,
|
|
445
442
|
errors: [],
|
|
@@ -460,21 +457,20 @@ export interface GetLogoMatchRequest {
|
|
|
460
457
|
offset?: string;
|
|
461
458
|
}
|
|
462
459
|
|
|
463
|
-
export const GetLogoMatchRequest = /*@__PURE__*/
|
|
464
|
-
(
|
|
465
|
-
Schema.
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
T.HttpQuery("logo_id"),
|
|
470
|
-
),
|
|
471
|
-
offset: Schema.optional(Schema.String).pipe(T.HttpQuery("offset")),
|
|
472
|
-
}).pipe(
|
|
473
|
-
T.Http({
|
|
474
|
-
method: "GET",
|
|
475
|
-
path: "/accounts/{account_id}/brand-protection/logo-matches",
|
|
476
|
-
}),
|
|
460
|
+
export const GetLogoMatchRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
461
|
+
Schema.Struct({
|
|
462
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
463
|
+
limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
|
|
464
|
+
logoId: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
465
|
+
T.HttpQuery("logo_id"),
|
|
477
466
|
),
|
|
467
|
+
offset: Schema.optional(Schema.String).pipe(T.HttpQuery("offset")),
|
|
468
|
+
}).pipe(
|
|
469
|
+
T.Http({
|
|
470
|
+
method: "GET",
|
|
471
|
+
path: "/accounts/{account_id}/brand-protection/logo-matches",
|
|
472
|
+
}),
|
|
473
|
+
),
|
|
478
474
|
) as unknown as Schema.Codec<GetLogoMatchRequest>;
|
|
479
475
|
|
|
480
476
|
export interface GetLogoMatchResponse {
|
|
@@ -482,17 +478,16 @@ export interface GetLogoMatchResponse {
|
|
|
482
478
|
total?: number | null;
|
|
483
479
|
}
|
|
484
480
|
|
|
485
|
-
export const GetLogoMatchResponse = /*@__PURE__*/
|
|
486
|
-
(
|
|
487
|
-
Schema.
|
|
488
|
-
|
|
489
|
-
Schema.
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
}),
|
|
481
|
+
export const GetLogoMatchResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
482
|
+
Schema.Struct({
|
|
483
|
+
matches: Schema.optional(
|
|
484
|
+
Schema.Union([
|
|
485
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
486
|
+
Schema.Null,
|
|
487
|
+
]),
|
|
488
|
+
),
|
|
489
|
+
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
490
|
+
}),
|
|
496
491
|
) as unknown as Schema.Codec<GetLogoMatchResponse>;
|
|
497
492
|
|
|
498
493
|
export type GetLogoMatchError = DefaultErrors;
|
|
@@ -502,7 +497,7 @@ export const getLogoMatch: API.OperationMethod<
|
|
|
502
497
|
GetLogoMatchResponse,
|
|
503
498
|
GetLogoMatchError,
|
|
504
499
|
Credentials | HttpClient.HttpClient
|
|
505
|
-
> = /*@__PURE__*/
|
|
500
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
506
501
|
input: GetLogoMatchRequest,
|
|
507
502
|
output: GetLogoMatchResponse,
|
|
508
503
|
errors: [],
|
|
@@ -520,7 +515,7 @@ export interface DownloadLogoMatchRequest {
|
|
|
520
515
|
}
|
|
521
516
|
|
|
522
517
|
export const DownloadLogoMatchRequest =
|
|
523
|
-
/*@__PURE__*/
|
|
518
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
524
519
|
Schema.Struct({
|
|
525
520
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
526
521
|
limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
|
|
@@ -542,7 +537,7 @@ export interface DownloadLogoMatchResponse {
|
|
|
542
537
|
}
|
|
543
538
|
|
|
544
539
|
export const DownloadLogoMatchResponse =
|
|
545
|
-
/*@__PURE__*/
|
|
540
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
546
541
|
Schema.Struct({
|
|
547
542
|
matches: Schema.optional(
|
|
548
543
|
Schema.Union([
|
|
@@ -561,7 +556,7 @@ export const downloadLogoMatch: API.OperationMethod<
|
|
|
561
556
|
DownloadLogoMatchResponse,
|
|
562
557
|
DownloadLogoMatchError,
|
|
563
558
|
Credentials | HttpClient.HttpClient
|
|
564
|
-
> = /*@__PURE__*/
|
|
559
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
565
560
|
input: DownloadLogoMatchRequest,
|
|
566
561
|
output: DownloadLogoMatchResponse,
|
|
567
562
|
errors: [],
|
|
@@ -584,7 +579,7 @@ export interface GetMatchRequest {
|
|
|
584
579
|
offset?: number;
|
|
585
580
|
}
|
|
586
581
|
|
|
587
|
-
export const GetMatchRequest = /*@__PURE__*/
|
|
582
|
+
export const GetMatchRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
588
583
|
Schema.Struct({
|
|
589
584
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
590
585
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
@@ -606,7 +601,7 @@ export interface GetMatchResponse {
|
|
|
606
601
|
total?: number | null;
|
|
607
602
|
}
|
|
608
603
|
|
|
609
|
-
export const GetMatchResponse = /*@__PURE__*/
|
|
604
|
+
export const GetMatchResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
610
605
|
Schema.Struct({
|
|
611
606
|
matches: Schema.optional(
|
|
612
607
|
Schema.Union([
|
|
@@ -625,7 +620,7 @@ export const getMatch: API.OperationMethod<
|
|
|
625
620
|
GetMatchResponse,
|
|
626
621
|
GetMatchError,
|
|
627
622
|
Credentials | HttpClient.HttpClient
|
|
628
|
-
> = /*@__PURE__*/
|
|
623
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
629
624
|
input: GetMatchRequest,
|
|
630
625
|
output: GetMatchResponse,
|
|
631
626
|
errors: [],
|
|
@@ -644,22 +639,21 @@ export interface DownloadMatchRequest {
|
|
|
644
639
|
offset?: number;
|
|
645
640
|
}
|
|
646
641
|
|
|
647
|
-
export const DownloadMatchRequest = /*@__PURE__*/
|
|
648
|
-
(
|
|
649
|
-
Schema.
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
T.HttpQuery("include_domain_id"),
|
|
654
|
-
),
|
|
655
|
-
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
656
|
-
offset: Schema.optional(Schema.Number).pipe(T.HttpQuery("offset")),
|
|
657
|
-
}).pipe(
|
|
658
|
-
T.Http({
|
|
659
|
-
method: "GET",
|
|
660
|
-
path: "/accounts/{account_id}/brand-protection/matches/download",
|
|
661
|
-
}),
|
|
642
|
+
export const DownloadMatchRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
643
|
+
Schema.Struct({
|
|
644
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
645
|
+
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
646
|
+
includeDomainId: Schema.optional(Schema.Boolean).pipe(
|
|
647
|
+
T.HttpQuery("include_domain_id"),
|
|
662
648
|
),
|
|
649
|
+
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
650
|
+
offset: Schema.optional(Schema.Number).pipe(T.HttpQuery("offset")),
|
|
651
|
+
}).pipe(
|
|
652
|
+
T.Http({
|
|
653
|
+
method: "GET",
|
|
654
|
+
path: "/accounts/{account_id}/brand-protection/matches/download",
|
|
655
|
+
}),
|
|
656
|
+
),
|
|
663
657
|
) as unknown as Schema.Codec<DownloadMatchRequest>;
|
|
664
658
|
|
|
665
659
|
export interface DownloadMatchResponse {
|
|
@@ -667,17 +661,16 @@ export interface DownloadMatchResponse {
|
|
|
667
661
|
total?: number | null;
|
|
668
662
|
}
|
|
669
663
|
|
|
670
|
-
export const DownloadMatchResponse = /*@__PURE__*/
|
|
671
|
-
(
|
|
672
|
-
Schema.
|
|
673
|
-
|
|
674
|
-
Schema.
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
}),
|
|
664
|
+
export const DownloadMatchResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
665
|
+
Schema.Struct({
|
|
666
|
+
matches: Schema.optional(
|
|
667
|
+
Schema.Union([
|
|
668
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
669
|
+
Schema.Null,
|
|
670
|
+
]),
|
|
671
|
+
),
|
|
672
|
+
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
673
|
+
}),
|
|
681
674
|
) as unknown as Schema.Codec<DownloadMatchResponse>;
|
|
682
675
|
|
|
683
676
|
export type DownloadMatchError = DefaultErrors;
|
|
@@ -687,7 +680,7 @@ export const downloadMatch: API.OperationMethod<
|
|
|
687
680
|
DownloadMatchResponse,
|
|
688
681
|
DownloadMatchError,
|
|
689
682
|
Credentials | HttpClient.HttpClient
|
|
690
|
-
> = /*@__PURE__*/
|
|
683
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
691
684
|
input: DownloadMatchRequest,
|
|
692
685
|
output: DownloadMatchResponse,
|
|
693
686
|
errors: [],
|
|
@@ -718,38 +711,35 @@ export interface CreateQueryRequest {
|
|
|
718
711
|
bodyTag?: string;
|
|
719
712
|
}
|
|
720
713
|
|
|
721
|
-
export const CreateQueryRequest = /*@__PURE__*/
|
|
722
|
-
(
|
|
723
|
-
Schema.
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
path: "/accounts/{account_id}/brand-protection/queries",
|
|
746
|
-
}),
|
|
747
|
-
),
|
|
714
|
+
export const CreateQueryRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
715
|
+
Schema.Struct({
|
|
716
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
717
|
+
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
718
|
+
queryScan: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("query_scan")),
|
|
719
|
+
queryTag: Schema.optional(Schema.String).pipe(T.HttpQuery("query_tag")),
|
|
720
|
+
maxTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
721
|
+
minTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
722
|
+
bodyScan: Schema.optional(Schema.Boolean),
|
|
723
|
+
stringMatches: Schema.optional(Schema.Unknown),
|
|
724
|
+
bodyTag: Schema.optional(Schema.String),
|
|
725
|
+
}).pipe(
|
|
726
|
+
Schema.encodeKeys({
|
|
727
|
+
maxTime: "max_time",
|
|
728
|
+
minTime: "min_time",
|
|
729
|
+
bodyScan: "body_scan",
|
|
730
|
+
stringMatches: "string_matches",
|
|
731
|
+
bodyTag: "body_tag",
|
|
732
|
+
}),
|
|
733
|
+
T.Http({
|
|
734
|
+
method: "POST",
|
|
735
|
+
path: "/accounts/{account_id}/brand-protection/queries",
|
|
736
|
+
}),
|
|
737
|
+
),
|
|
748
738
|
) as unknown as Schema.Codec<CreateQueryRequest>;
|
|
749
739
|
|
|
750
740
|
export type CreateQueryResponse = unknown;
|
|
751
741
|
|
|
752
|
-
export const CreateQueryResponse = /*@__PURE__*/
|
|
742
|
+
export const CreateQueryResponse = /*@__PURE__*/ Schema.suspend(
|
|
753
743
|
() => Schema.Unknown,
|
|
754
744
|
) as unknown as Schema.Codec<CreateQueryResponse>;
|
|
755
745
|
|
|
@@ -760,7 +750,7 @@ export const createQuery: API.OperationMethod<
|
|
|
760
750
|
CreateQueryResponse,
|
|
761
751
|
CreateQueryError,
|
|
762
752
|
Credentials | HttpClient.HttpClient
|
|
763
|
-
> = /*@__PURE__*/
|
|
753
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
764
754
|
input: CreateQueryRequest,
|
|
765
755
|
output: CreateQueryResponse,
|
|
766
756
|
errors: [],
|
|
@@ -777,24 +767,23 @@ export interface DeleteQueryRequest {
|
|
|
777
767
|
tag?: string;
|
|
778
768
|
}
|
|
779
769
|
|
|
780
|
-
export const DeleteQueryRequest = /*@__PURE__*/
|
|
781
|
-
(
|
|
782
|
-
Schema.
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
),
|
|
770
|
+
export const DeleteQueryRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
771
|
+
Schema.Struct({
|
|
772
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
773
|
+
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
774
|
+
scan: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("scan")),
|
|
775
|
+
tag: Schema.optional(Schema.String).pipe(T.HttpQuery("tag")),
|
|
776
|
+
}).pipe(
|
|
777
|
+
T.Http({
|
|
778
|
+
method: "DELETE",
|
|
779
|
+
path: "/accounts/{account_id}/brand-protection/queries",
|
|
780
|
+
}),
|
|
781
|
+
),
|
|
793
782
|
) as unknown as Schema.Codec<DeleteQueryRequest>;
|
|
794
783
|
|
|
795
784
|
export type DeleteQueryResponse = unknown;
|
|
796
785
|
|
|
797
|
-
export const DeleteQueryResponse = /*@__PURE__*/
|
|
786
|
+
export const DeleteQueryResponse = /*@__PURE__*/ Schema.suspend(
|
|
798
787
|
() => Schema.Unknown,
|
|
799
788
|
) as unknown as Schema.Codec<DeleteQueryResponse>;
|
|
800
789
|
|
|
@@ -805,7 +794,7 @@ export const deleteQuery: API.OperationMethod<
|
|
|
805
794
|
DeleteQueryResponse,
|
|
806
795
|
DeleteQueryError,
|
|
807
796
|
Credentials | HttpClient.HttpClient
|
|
808
|
-
> = /*@__PURE__*/
|
|
797
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
809
798
|
input: DeleteQueryRequest,
|
|
810
799
|
output: DeleteQueryResponse,
|
|
811
800
|
errors: [],
|
|
@@ -818,7 +807,7 @@ export interface BulkQueryRequest {
|
|
|
818
807
|
queries?: Record<string, unknown>[];
|
|
819
808
|
}
|
|
820
809
|
|
|
821
|
-
export const BulkQueryRequest = /*@__PURE__*/
|
|
810
|
+
export const BulkQueryRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
822
811
|
Schema.Struct({
|
|
823
812
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
824
813
|
queries: Schema.optional(
|
|
@@ -834,7 +823,7 @@ export const BulkQueryRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
834
823
|
|
|
835
824
|
export type BulkQueryResponse = unknown;
|
|
836
825
|
|
|
837
|
-
export const BulkQueryResponse = /*@__PURE__*/
|
|
826
|
+
export const BulkQueryResponse = /*@__PURE__*/ Schema.suspend(
|
|
838
827
|
() => Schema.Unknown,
|
|
839
828
|
) as unknown as Schema.Codec<BulkQueryResponse>;
|
|
840
829
|
|
|
@@ -845,7 +834,7 @@ export const bulkQuery: API.OperationMethod<
|
|
|
845
834
|
BulkQueryResponse,
|
|
846
835
|
BulkQueryError,
|
|
847
836
|
Credentials | HttpClient.HttpClient
|
|
848
|
-
> = /*@__PURE__*/
|
|
837
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
849
838
|
input: BulkQueryRequest,
|
|
850
839
|
output: BulkQueryResponse,
|
|
851
840
|
errors: [],
|
|
@@ -864,7 +853,7 @@ export interface GetV2LogoRequest {
|
|
|
864
853
|
download?: string;
|
|
865
854
|
}
|
|
866
855
|
|
|
867
|
-
export const GetV2LogoRequest = /*@__PURE__*/
|
|
856
|
+
export const GetV2LogoRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
868
857
|
Schema.Struct({
|
|
869
858
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
870
859
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
@@ -887,8 +876,8 @@ export type GetV2LogoResponse = {
|
|
|
887
876
|
imageData?: string | null;
|
|
888
877
|
}[];
|
|
889
878
|
|
|
890
|
-
export const GetV2LogoResponse = /*@__PURE__*/
|
|
891
|
-
|
|
879
|
+
export const GetV2LogoResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
880
|
+
Schema.Array(LogoGetResponseItem),
|
|
892
881
|
) as unknown as Schema.Codec<GetV2LogoResponse>;
|
|
893
882
|
|
|
894
883
|
export type GetV2LogoError = DefaultErrors;
|
|
@@ -898,7 +887,7 @@ export const getV2Logo: API.OperationMethod<
|
|
|
898
887
|
GetV2LogoResponse,
|
|
899
888
|
GetV2LogoError,
|
|
900
889
|
Credentials | HttpClient.HttpClient
|
|
901
|
-
> = /*@__PURE__*/
|
|
890
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
902
891
|
input: GetV2LogoRequest,
|
|
903
892
|
output: GetV2LogoResponse,
|
|
904
893
|
errors: [],
|
|
@@ -917,26 +906,25 @@ export interface CreateV2LogoRequest {
|
|
|
917
906
|
searchLookback?: boolean;
|
|
918
907
|
}
|
|
919
908
|
|
|
920
|
-
export const CreateV2LogoRequest = /*@__PURE__*/
|
|
921
|
-
(
|
|
922
|
-
Schema.
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
),
|
|
909
|
+
export const CreateV2LogoRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
910
|
+
Schema.Struct({
|
|
911
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
912
|
+
imageData: Schema.String,
|
|
913
|
+
similarityThreshold: Schema.Number,
|
|
914
|
+
tag: Schema.String,
|
|
915
|
+
searchLookback: Schema.optional(Schema.Boolean),
|
|
916
|
+
}).pipe(
|
|
917
|
+
Schema.encodeKeys({
|
|
918
|
+
imageData: "image_data",
|
|
919
|
+
similarityThreshold: "similarity_threshold",
|
|
920
|
+
tag: "tag",
|
|
921
|
+
searchLookback: "search_lookback",
|
|
922
|
+
}),
|
|
923
|
+
T.Http({
|
|
924
|
+
method: "POST",
|
|
925
|
+
path: "/accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/queries",
|
|
926
|
+
}),
|
|
927
|
+
),
|
|
940
928
|
) as unknown as Schema.Codec<CreateV2LogoRequest>;
|
|
941
929
|
|
|
942
930
|
export interface CreateV2LogoResponse {
|
|
@@ -945,19 +933,18 @@ export interface CreateV2LogoResponse {
|
|
|
945
933
|
queryId?: number | null;
|
|
946
934
|
}
|
|
947
935
|
|
|
948
|
-
export const CreateV2LogoResponse = /*@__PURE__*/
|
|
949
|
-
(
|
|
950
|
-
Schema.
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
),
|
|
936
|
+
export const CreateV2LogoResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
937
|
+
Schema.Struct({
|
|
938
|
+
message: Schema.String,
|
|
939
|
+
success: Schema.Boolean,
|
|
940
|
+
queryId: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
941
|
+
}).pipe(
|
|
942
|
+
Schema.encodeKeys({
|
|
943
|
+
message: "message",
|
|
944
|
+
success: "success",
|
|
945
|
+
queryId: "query_id",
|
|
946
|
+
}),
|
|
947
|
+
),
|
|
961
948
|
) as unknown as Schema.Codec<CreateV2LogoResponse>;
|
|
962
949
|
|
|
963
950
|
export type CreateV2LogoError = DefaultErrors;
|
|
@@ -967,7 +954,7 @@ export const createV2Logo: API.OperationMethod<
|
|
|
967
954
|
CreateV2LogoResponse,
|
|
968
955
|
CreateV2LogoError,
|
|
969
956
|
Credentials | HttpClient.HttpClient
|
|
970
|
-
> = /*@__PURE__*/
|
|
957
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
971
958
|
input: CreateV2LogoRequest,
|
|
972
959
|
output: CreateV2LogoResponse,
|
|
973
960
|
errors: [],
|
|
@@ -978,17 +965,16 @@ export interface DeleteV2LogoRequest {
|
|
|
978
965
|
accountId: string;
|
|
979
966
|
}
|
|
980
967
|
|
|
981
|
-
export const DeleteV2LogoRequest = /*@__PURE__*/
|
|
982
|
-
(
|
|
983
|
-
Schema.
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
),
|
|
968
|
+
export const DeleteV2LogoRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
969
|
+
Schema.Struct({
|
|
970
|
+
queryId: Schema.String.pipe(T.HttpPath("queryId")),
|
|
971
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
972
|
+
}).pipe(
|
|
973
|
+
T.Http({
|
|
974
|
+
method: "DELETE",
|
|
975
|
+
path: "/accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/queries/{queryId}",
|
|
976
|
+
}),
|
|
977
|
+
),
|
|
992
978
|
) as unknown as Schema.Codec<DeleteV2LogoRequest>;
|
|
993
979
|
|
|
994
980
|
export interface DeleteV2LogoResponse {
|
|
@@ -996,12 +982,11 @@ export interface DeleteV2LogoResponse {
|
|
|
996
982
|
success: boolean;
|
|
997
983
|
}
|
|
998
984
|
|
|
999
|
-
export const DeleteV2LogoResponse = /*@__PURE__*/
|
|
1000
|
-
(
|
|
1001
|
-
Schema.
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
}),
|
|
985
|
+
export const DeleteV2LogoResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
986
|
+
Schema.Struct({
|
|
987
|
+
message: Schema.String,
|
|
988
|
+
success: Schema.Boolean,
|
|
989
|
+
}),
|
|
1005
990
|
) as unknown as Schema.Codec<DeleteV2LogoResponse>;
|
|
1006
991
|
|
|
1007
992
|
export type DeleteV2LogoError = DefaultErrors;
|
|
@@ -1011,7 +996,7 @@ export const deleteV2Logo: API.OperationMethod<
|
|
|
1011
996
|
DeleteV2LogoResponse,
|
|
1012
997
|
DeleteV2LogoError,
|
|
1013
998
|
Credentials | HttpClient.HttpClient
|
|
1014
|
-
> = /*@__PURE__*/
|
|
999
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1015
1000
|
input: DeleteV2LogoRequest,
|
|
1016
1001
|
output: DeleteV2LogoResponse,
|
|
1017
1002
|
errors: [],
|
|
@@ -1043,34 +1028,33 @@ export interface GetV2LogoMatchRequest {
|
|
|
1043
1028
|
| (string & {});
|
|
1044
1029
|
}
|
|
1045
1030
|
|
|
1046
|
-
export const GetV2LogoMatchRequest = /*@__PURE__*/
|
|
1047
|
-
(
|
|
1048
|
-
Schema.
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
Schema.
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
"registrar",
|
|
1064
|
-
]),
|
|
1065
|
-
Schema.String,
|
|
1031
|
+
export const GetV2LogoMatchRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1032
|
+
Schema.Struct({
|
|
1033
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1034
|
+
queryId: Schema.String.pipe(T.HttpQuery("query_id")),
|
|
1035
|
+
download: Schema.optional(Schema.String).pipe(T.HttpQuery("download")),
|
|
1036
|
+
limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
|
|
1037
|
+
offset: Schema.optional(Schema.String).pipe(T.HttpQuery("offset")),
|
|
1038
|
+
order: Schema.optional(
|
|
1039
|
+
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
1040
|
+
).pipe(T.HttpQuery("order")),
|
|
1041
|
+
orderBy: Schema.optional(
|
|
1042
|
+
Schema.Union([
|
|
1043
|
+
Schema.Literals([
|
|
1044
|
+
"matchedAt",
|
|
1045
|
+
"domain",
|
|
1046
|
+
"similarityScore",
|
|
1047
|
+
"registrar",
|
|
1066
1048
|
]),
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1049
|
+
Schema.String,
|
|
1050
|
+
]),
|
|
1051
|
+
).pipe(T.HttpQuery("orderBy")),
|
|
1052
|
+
}).pipe(
|
|
1053
|
+
T.Http({
|
|
1054
|
+
method: "GET",
|
|
1055
|
+
path: "/accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/matches",
|
|
1056
|
+
}),
|
|
1057
|
+
),
|
|
1074
1058
|
) as unknown as Schema.Codec<GetV2LogoMatchRequest>;
|
|
1075
1059
|
|
|
1076
1060
|
export interface GetV2LogoMatchResponse {
|
|
@@ -1089,7 +1073,7 @@ export interface GetV2LogoMatchResponse {
|
|
|
1089
1073
|
}
|
|
1090
1074
|
|
|
1091
1075
|
export const GetV2LogoMatchResponse =
|
|
1092
|
-
/*@__PURE__*/
|
|
1076
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1093
1077
|
Schema.Struct({
|
|
1094
1078
|
matches: Schema.Array(Match),
|
|
1095
1079
|
total: Schema.Number,
|
|
@@ -1103,7 +1087,7 @@ export const getV2LogoMatch: API.OperationMethod<
|
|
|
1103
1087
|
GetV2LogoMatchResponse,
|
|
1104
1088
|
GetV2LogoMatchError,
|
|
1105
1089
|
Credentials | HttpClient.HttpClient
|
|
1106
|
-
> = /*@__PURE__*/
|
|
1090
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1107
1091
|
input: GetV2LogoMatchRequest,
|
|
1108
1092
|
output: GetV2LogoMatchResponse,
|
|
1109
1093
|
errors: [],
|
|
@@ -1134,37 +1118,36 @@ export interface GetV2MatchRequest {
|
|
|
1134
1118
|
orderBy?: "domain" | "first_seen" | "registrar" | (string & {});
|
|
1135
1119
|
}
|
|
1136
1120
|
|
|
1137
|
-
export const GetV2MatchRequest = /*@__PURE__*/
|
|
1138
|
-
(
|
|
1139
|
-
Schema.
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
T.HttpQuery("include_domain_id"),
|
|
1150
|
-
),
|
|
1151
|
-
limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
|
|
1152
|
-
offset: Schema.optional(Schema.String).pipe(T.HttpQuery("offset")),
|
|
1153
|
-
order: Schema.optional(
|
|
1154
|
-
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
1155
|
-
).pipe(T.HttpQuery("order")),
|
|
1156
|
-
orderBy: Schema.optional(
|
|
1157
|
-
Schema.Union([
|
|
1158
|
-
Schema.Literals(["domain", "first_seen", "registrar"]),
|
|
1159
|
-
Schema.String,
|
|
1160
|
-
]),
|
|
1161
|
-
).pipe(T.HttpQuery("orderBy")),
|
|
1162
|
-
}).pipe(
|
|
1163
|
-
T.Http({
|
|
1164
|
-
method: "GET",
|
|
1165
|
-
path: "/accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/matches",
|
|
1166
|
-
}),
|
|
1121
|
+
export const GetV2MatchRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1122
|
+
Schema.Struct({
|
|
1123
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1124
|
+
queryId: Schema.Array(Schema.String).pipe(T.HttpQuery("query_id")),
|
|
1125
|
+
domainSearch: Schema.optional(Schema.String).pipe(
|
|
1126
|
+
T.HttpQuery("domain_search"),
|
|
1127
|
+
),
|
|
1128
|
+
includeDismissed: Schema.optional(Schema.String).pipe(
|
|
1129
|
+
T.HttpQuery("include_dismissed"),
|
|
1130
|
+
),
|
|
1131
|
+
includeDomainId: Schema.optional(Schema.String).pipe(
|
|
1132
|
+
T.HttpQuery("include_domain_id"),
|
|
1167
1133
|
),
|
|
1134
|
+
limit: Schema.optional(Schema.String).pipe(T.HttpQuery("limit")),
|
|
1135
|
+
offset: Schema.optional(Schema.String).pipe(T.HttpQuery("offset")),
|
|
1136
|
+
order: Schema.optional(
|
|
1137
|
+
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
1138
|
+
).pipe(T.HttpQuery("order")),
|
|
1139
|
+
orderBy: Schema.optional(
|
|
1140
|
+
Schema.Union([
|
|
1141
|
+
Schema.Literals(["domain", "first_seen", "registrar"]),
|
|
1142
|
+
Schema.String,
|
|
1143
|
+
]),
|
|
1144
|
+
).pipe(T.HttpQuery("orderBy")),
|
|
1145
|
+
}).pipe(
|
|
1146
|
+
T.Http({
|
|
1147
|
+
method: "GET",
|
|
1148
|
+
path: "/accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/matches",
|
|
1149
|
+
}),
|
|
1150
|
+
),
|
|
1168
1151
|
) as unknown as Schema.Codec<GetV2MatchRequest>;
|
|
1169
1152
|
|
|
1170
1153
|
export interface GetV2MatchResponse {
|
|
@@ -1189,12 +1172,11 @@ export interface GetV2MatchResponse {
|
|
|
1189
1172
|
total: number;
|
|
1190
1173
|
}
|
|
1191
1174
|
|
|
1192
|
-
export const GetV2MatchResponse = /*@__PURE__*/
|
|
1193
|
-
(
|
|
1194
|
-
Schema.
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
}),
|
|
1175
|
+
export const GetV2MatchResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1176
|
+
Schema.Struct({
|
|
1177
|
+
matches: Schema.Array(Match2),
|
|
1178
|
+
total: Schema.Number,
|
|
1179
|
+
}),
|
|
1198
1180
|
) as unknown as Schema.Codec<GetV2MatchResponse>;
|
|
1199
1181
|
|
|
1200
1182
|
export type GetV2MatchError = DefaultErrors;
|
|
@@ -1204,7 +1186,7 @@ export const getV2Match: API.OperationMethod<
|
|
|
1204
1186
|
GetV2MatchResponse,
|
|
1205
1187
|
GetV2MatchError,
|
|
1206
1188
|
Credentials | HttpClient.HttpClient
|
|
1207
|
-
> = /*@__PURE__*/
|
|
1189
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1208
1190
|
input: GetV2MatchRequest,
|
|
1209
1191
|
output: GetV2MatchResponse,
|
|
1210
1192
|
errors: [],
|
|
@@ -1221,17 +1203,16 @@ export interface GetV2QueryRequest {
|
|
|
1221
1203
|
id?: string;
|
|
1222
1204
|
}
|
|
1223
1205
|
|
|
1224
|
-
export const GetV2QueryRequest = /*@__PURE__*/
|
|
1225
|
-
(
|
|
1226
|
-
Schema.
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
),
|
|
1206
|
+
export const GetV2QueryRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1207
|
+
Schema.Struct({
|
|
1208
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1209
|
+
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
1210
|
+
}).pipe(
|
|
1211
|
+
T.Http({
|
|
1212
|
+
method: "GET",
|
|
1213
|
+
path: "/accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/queries",
|
|
1214
|
+
}),
|
|
1215
|
+
),
|
|
1235
1216
|
) as unknown as Schema.Codec<GetV2QueryRequest>;
|
|
1236
1217
|
|
|
1237
1218
|
export type GetV2QueryResponse = {
|
|
@@ -1247,8 +1228,8 @@ export type GetV2QueryResponse = {
|
|
|
1247
1228
|
updated: string;
|
|
1248
1229
|
}[];
|
|
1249
1230
|
|
|
1250
|
-
export const GetV2QueryResponse = /*@__PURE__*/
|
|
1251
|
-
|
|
1231
|
+
export const GetV2QueryResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1232
|
+
Schema.Array(QueryGetResponseItem),
|
|
1252
1233
|
) as unknown as Schema.Codec<GetV2QueryResponse>;
|
|
1253
1234
|
|
|
1254
1235
|
export type GetV2QueryError = DefaultErrors;
|
|
@@ -1258,7 +1239,7 @@ export const getV2Query: API.OperationMethod<
|
|
|
1258
1239
|
GetV2QueryResponse,
|
|
1259
1240
|
GetV2QueryError,
|
|
1260
1241
|
Credentials | HttpClient.HttpClient
|
|
1261
|
-
> = /*@__PURE__*/
|
|
1242
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1262
1243
|
input: GetV2QueryRequest,
|
|
1263
1244
|
output: GetV2QueryResponse,
|
|
1264
1245
|
errors: [],
|