@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
|
@@ -23,7 +23,7 @@ interface AddScriptTag {
|
|
|
23
23
|
type?: string | null;
|
|
24
24
|
url?: string | null;
|
|
25
25
|
}
|
|
26
|
-
const AddScriptTag = /*@__PURE__*/
|
|
26
|
+
const AddScriptTag = /*@__PURE__*/ Schema.suspend(() =>
|
|
27
27
|
Schema.Struct({
|
|
28
28
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
29
29
|
content: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -36,7 +36,7 @@ interface AddStyleTag {
|
|
|
36
36
|
content?: string | null;
|
|
37
37
|
url?: string | null;
|
|
38
38
|
}
|
|
39
|
-
const AddStyleTag = /*@__PURE__*/
|
|
39
|
+
const AddStyleTag = /*@__PURE__*/ Schema.suspend(() =>
|
|
40
40
|
Schema.Struct({
|
|
41
41
|
content: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
42
42
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -47,7 +47,7 @@ interface Authenticate {
|
|
|
47
47
|
password: string;
|
|
48
48
|
username: string;
|
|
49
49
|
}
|
|
50
|
-
const Authenticate = /*@__PURE__*/
|
|
50
|
+
const Authenticate = /*@__PURE__*/ Schema.suspend(() =>
|
|
51
51
|
Schema.Struct({
|
|
52
52
|
password: SensitiveString,
|
|
53
53
|
username: Schema.String,
|
|
@@ -71,7 +71,7 @@ interface Cookie {
|
|
|
71
71
|
sourceScheme?: "Unset" | "NonSecure" | "Secure" | (string & {}) | null;
|
|
72
72
|
url?: string | null;
|
|
73
73
|
}
|
|
74
|
-
const Cookie = /*@__PURE__*/
|
|
74
|
+
const Cookie = /*@__PURE__*/ Schema.suspend(() =>
|
|
75
75
|
Schema.Struct({
|
|
76
76
|
name: Schema.String,
|
|
77
77
|
value: Schema.String,
|
|
@@ -132,7 +132,7 @@ interface GotoOptions {
|
|
|
132
132
|
)[]
|
|
133
133
|
| null;
|
|
134
134
|
}
|
|
135
|
-
const GotoOptions = /*@__PURE__*/
|
|
135
|
+
const GotoOptions = /*@__PURE__*/ Schema.suspend(() =>
|
|
136
136
|
Schema.Struct({
|
|
137
137
|
referer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
138
138
|
referrerPolicy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -170,7 +170,7 @@ interface Viewport {
|
|
|
170
170
|
isLandscape?: boolean | null;
|
|
171
171
|
isMobile?: boolean | null;
|
|
172
172
|
}
|
|
173
|
-
const Viewport = /*@__PURE__*/
|
|
173
|
+
const Viewport = /*@__PURE__*/ Schema.suspend(() =>
|
|
174
174
|
Schema.Struct({
|
|
175
175
|
height: Schema.Number,
|
|
176
176
|
width: Schema.Number,
|
|
@@ -189,7 +189,7 @@ interface WaitForSelector {
|
|
|
189
189
|
timeout?: number | null;
|
|
190
190
|
visible?: true | null;
|
|
191
191
|
}
|
|
192
|
-
const WaitForSelector = /*@__PURE__*/
|
|
192
|
+
const WaitForSelector = /*@__PURE__*/ Schema.suspend(() =>
|
|
193
193
|
Schema.Struct({
|
|
194
194
|
selector: Schema.String,
|
|
195
195
|
hidden: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
|
|
@@ -206,7 +206,7 @@ interface Metadata {
|
|
|
206
206
|
/** Title of the crawled page. */
|
|
207
207
|
title?: string | null;
|
|
208
208
|
}
|
|
209
|
-
const Metadata = /*@__PURE__*/
|
|
209
|
+
const Metadata = /*@__PURE__*/ Schema.suspend(() =>
|
|
210
210
|
Schema.Struct({
|
|
211
211
|
status: Schema.Number,
|
|
212
212
|
url: Schema.String,
|
|
@@ -234,7 +234,7 @@ interface Record2 {
|
|
|
234
234
|
/** Markdown of the content of the crawled URL. */
|
|
235
235
|
markdown?: string | null;
|
|
236
236
|
}
|
|
237
|
-
const Record2 = /*@__PURE__*/
|
|
237
|
+
const Record2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
238
238
|
Schema.Struct({
|
|
239
239
|
metadata: Metadata,
|
|
240
240
|
status: Schema.Union([
|
|
@@ -263,7 +263,7 @@ interface CustomAI {
|
|
|
263
263
|
/** Authorization token for the AI model: `Bearer <token>`. Not needed for workers-ai models. */
|
|
264
264
|
authorization?: string | null;
|
|
265
265
|
}
|
|
266
|
-
const CustomAI = /*@__PURE__*/
|
|
266
|
+
const CustomAI = /*@__PURE__*/ Schema.suspend(() =>
|
|
267
267
|
Schema.Struct({
|
|
268
268
|
model: Schema.String,
|
|
269
269
|
authorization: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -275,7 +275,7 @@ interface ResponseFormat {
|
|
|
275
275
|
/** Schema for the response format. More information here: https://developers.cloudflare.com/workers-ai/json-mode/ */
|
|
276
276
|
jsonSchema?: Record<string, unknown> | null;
|
|
277
277
|
}
|
|
278
|
-
const ResponseFormat = /*@__PURE__*/
|
|
278
|
+
const ResponseFormat = /*@__PURE__*/ Schema.suspend(() =>
|
|
279
279
|
Schema.Struct({
|
|
280
280
|
type: Schema.String,
|
|
281
281
|
jsonSchema: Schema.optional(
|
|
@@ -293,7 +293,7 @@ interface JsonOptions {
|
|
|
293
293
|
jsonSchema?: Record<string, unknown> | null;
|
|
294
294
|
} | null;
|
|
295
295
|
}
|
|
296
|
-
const JsonOptions = /*@__PURE__*/
|
|
296
|
+
const JsonOptions = /*@__PURE__*/ Schema.suspend(() =>
|
|
297
297
|
Schema.Struct({
|
|
298
298
|
customAi: Schema.optional(
|
|
299
299
|
Schema.Union([Schema.Array(CustomAI), Schema.Null]),
|
|
@@ -321,7 +321,7 @@ interface Options {
|
|
|
321
321
|
/** Include links to subdomains in the crawl job. This option is ignored if includeExternalLinks is true. */
|
|
322
322
|
includeSubdomains?: boolean | null;
|
|
323
323
|
}
|
|
324
|
-
const Options = /*@__PURE__*/
|
|
324
|
+
const Options = /*@__PURE__*/ Schema.suspend(() =>
|
|
325
325
|
Schema.Struct({
|
|
326
326
|
excludePatterns: Schema.optional(
|
|
327
327
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -352,7 +352,7 @@ interface Domain {
|
|
|
352
352
|
/** Type definitions. */
|
|
353
353
|
types?: Record<string, unknown>[] | null;
|
|
354
354
|
}
|
|
355
|
-
const Domain = /*@__PURE__*/
|
|
355
|
+
const Domain = /*@__PURE__*/ Schema.suspend(() =>
|
|
356
356
|
Schema.Struct({
|
|
357
357
|
domain: Schema.String,
|
|
358
358
|
commands: Schema.optional(
|
|
@@ -386,7 +386,7 @@ interface Version {
|
|
|
386
386
|
/** Minor version. */
|
|
387
387
|
minor: string;
|
|
388
388
|
}
|
|
389
|
-
const Version = /*@__PURE__*/
|
|
389
|
+
const Version = /*@__PURE__*/ Schema.suspend(() =>
|
|
390
390
|
Schema.Struct({
|
|
391
391
|
major: Schema.String,
|
|
392
392
|
minor: Schema.String,
|
|
@@ -409,7 +409,7 @@ interface TargetListResponseItem {
|
|
|
409
409
|
/** WebSocket URL for debugging this target. */
|
|
410
410
|
webSocketDebuggerUrl?: string | null;
|
|
411
411
|
}
|
|
412
|
-
const TargetListResponseItem = /*@__PURE__*/
|
|
412
|
+
const TargetListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
413
413
|
Schema.Struct({
|
|
414
414
|
id: Schema.String,
|
|
415
415
|
type: Schema.String,
|
|
@@ -449,7 +449,7 @@ interface SessionListResponseItem {
|
|
|
449
449
|
/** WebSocket URL for debugging this target. */
|
|
450
450
|
webSocketDebuggerUrl?: string | null;
|
|
451
451
|
}
|
|
452
|
-
const SessionListResponseItem = /*@__PURE__*/
|
|
452
|
+
const SessionListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
453
453
|
Schema.Struct({
|
|
454
454
|
sessionId: Schema.String,
|
|
455
455
|
closeReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -481,7 +481,7 @@ interface Margin {
|
|
|
481
481
|
right?: string | number | null;
|
|
482
482
|
top?: string | number | null;
|
|
483
483
|
}
|
|
484
|
-
const Margin = /*@__PURE__*/
|
|
484
|
+
const Margin = /*@__PURE__*/ Schema.suspend(() =>
|
|
485
485
|
Schema.Struct({
|
|
486
486
|
bottom: Schema.optional(
|
|
487
487
|
Schema.Union([Schema.Union([Schema.String, Schema.Number]), Schema.Null]),
|
|
@@ -550,7 +550,7 @@ interface Pdfoptions {
|
|
|
550
550
|
/** Sets the width of paper. Can be a number or string with unit. */
|
|
551
551
|
width?: string | number | null;
|
|
552
552
|
}
|
|
553
|
-
const Pdfoptions = /*@__PURE__*/
|
|
553
|
+
const Pdfoptions = /*@__PURE__*/ Schema.suspend(() =>
|
|
554
554
|
Schema.Struct({
|
|
555
555
|
displayHeaderFooter: Schema.optional(
|
|
556
556
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -606,7 +606,7 @@ const Pdfoptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
606
606
|
interface Element {
|
|
607
607
|
selector: string;
|
|
608
608
|
}
|
|
609
|
-
const Element = /*@__PURE__*/
|
|
609
|
+
const Element = /*@__PURE__*/ Schema.suspend(() =>
|
|
610
610
|
Schema.Struct({
|
|
611
611
|
selector: Schema.String,
|
|
612
612
|
}),
|
|
@@ -618,7 +618,7 @@ interface Attribute {
|
|
|
618
618
|
/** Attribute value. */
|
|
619
619
|
value: string;
|
|
620
620
|
}
|
|
621
|
-
const Attribute = /*@__PURE__*/
|
|
621
|
+
const Attribute = /*@__PURE__*/ Schema.suspend(() =>
|
|
622
622
|
Schema.Struct({
|
|
623
623
|
name: Schema.String,
|
|
624
624
|
value: Schema.String,
|
|
@@ -640,7 +640,7 @@ interface Results {
|
|
|
640
640
|
/** Element width. */
|
|
641
641
|
width: number;
|
|
642
642
|
}
|
|
643
|
-
const Results = /*@__PURE__*/
|
|
643
|
+
const Results = /*@__PURE__*/ Schema.suspend(() =>
|
|
644
644
|
Schema.Struct({
|
|
645
645
|
attributes: Schema.Array(Attribute),
|
|
646
646
|
height: Schema.Number,
|
|
@@ -665,12 +665,11 @@ interface ScrapeCreateResponseItem {
|
|
|
665
665
|
/** Selector. */
|
|
666
666
|
selector: string;
|
|
667
667
|
}
|
|
668
|
-
const ScrapeCreateResponseItem = /*@__PURE__*/
|
|
669
|
-
(
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
}),
|
|
668
|
+
const ScrapeCreateResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
669
|
+
Schema.Struct({
|
|
670
|
+
results: Results,
|
|
671
|
+
selector: Schema.String,
|
|
672
|
+
}),
|
|
674
673
|
) as unknown as Schema.Codec<ScrapeCreateResponseItem>;
|
|
675
674
|
|
|
676
675
|
interface Clip {
|
|
@@ -680,7 +679,7 @@ interface Clip {
|
|
|
680
679
|
y: number;
|
|
681
680
|
scale?: number | null;
|
|
682
681
|
}
|
|
683
|
-
const Clip = /*@__PURE__*/
|
|
682
|
+
const Clip = /*@__PURE__*/ Schema.suspend(() =>
|
|
684
683
|
Schema.Struct({
|
|
685
684
|
height: Schema.Number,
|
|
686
685
|
width: Schema.Number,
|
|
@@ -707,7 +706,7 @@ interface ScreenshotOptions {
|
|
|
707
706
|
quality?: number | null;
|
|
708
707
|
type?: "png" | "jpeg" | "webp" | (string & {}) | null;
|
|
709
708
|
}
|
|
710
|
-
const ScreenshotOptions = /*@__PURE__*/
|
|
709
|
+
const ScreenshotOptions = /*@__PURE__*/ Schema.suspend(() =>
|
|
711
710
|
Schema.Struct({
|
|
712
711
|
captureBeyondViewport: Schema.optional(
|
|
713
712
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -743,7 +742,7 @@ interface Error2 {
|
|
|
743
742
|
/** Error message. */
|
|
744
743
|
message: string;
|
|
745
744
|
}
|
|
746
|
-
const Error2 = /*@__PURE__*/
|
|
745
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
747
746
|
Schema.Struct({
|
|
748
747
|
code: Schema.Number,
|
|
749
748
|
message: Schema.String,
|
|
@@ -766,7 +765,7 @@ interface ScreenshotOptions2 {
|
|
|
766
765
|
quality?: number | null;
|
|
767
766
|
type?: "png" | "jpeg" | "webp" | (string & {}) | null;
|
|
768
767
|
}
|
|
769
|
-
const ScreenshotOptions2 = /*@__PURE__*/
|
|
768
|
+
const ScreenshotOptions2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
770
769
|
Schema.Struct({
|
|
771
770
|
captureBeyondViewport: Schema.optional(
|
|
772
771
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -818,7 +817,7 @@ interface AccessibilityTree {
|
|
|
818
817
|
valuemin?: number | null;
|
|
819
818
|
valuetext?: string | null;
|
|
820
819
|
}
|
|
821
|
-
const AccessibilityTree = /*@__PURE__*/
|
|
820
|
+
const AccessibilityTree = /*@__PURE__*/ Schema.suspend(() =>
|
|
822
821
|
Schema.Struct({
|
|
823
822
|
role: Schema.String,
|
|
824
823
|
autocomplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1006,97 +1005,96 @@ export interface CreateContentRequest {
|
|
|
1006
1005
|
html?: string;
|
|
1007
1006
|
}
|
|
1008
1007
|
|
|
1009
|
-
export const CreateContentRequest = /*@__PURE__*/
|
|
1010
|
-
(
|
|
1011
|
-
Schema.
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
Schema.
|
|
1021
|
-
Schema.
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
"other",
|
|
1041
|
-
]),
|
|
1042
|
-
Schema.String,
|
|
1008
|
+
export const CreateContentRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1009
|
+
Schema.Struct({
|
|
1010
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1011
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
1012
|
+
url: Schema.optional(Schema.String),
|
|
1013
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
1014
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
1015
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
1016
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
1017
|
+
allowResourceTypes: Schema.optional(
|
|
1018
|
+
Schema.Array(
|
|
1019
|
+
Schema.Union([
|
|
1020
|
+
Schema.Literals([
|
|
1021
|
+
"document",
|
|
1022
|
+
"stylesheet",
|
|
1023
|
+
"image",
|
|
1024
|
+
"media",
|
|
1025
|
+
"font",
|
|
1026
|
+
"script",
|
|
1027
|
+
"texttrack",
|
|
1028
|
+
"xhr",
|
|
1029
|
+
"fetch",
|
|
1030
|
+
"prefetch",
|
|
1031
|
+
"eventsource",
|
|
1032
|
+
"websocket",
|
|
1033
|
+
"manifest",
|
|
1034
|
+
"signedexchange",
|
|
1035
|
+
"ping",
|
|
1036
|
+
"cspviolationreport",
|
|
1037
|
+
"preflight",
|
|
1038
|
+
"other",
|
|
1043
1039
|
]),
|
|
1044
|
-
|
|
1040
|
+
Schema.String,
|
|
1041
|
+
]),
|
|
1045
1042
|
),
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
Schema.String,
|
|
1043
|
+
),
|
|
1044
|
+
authenticate: Schema.optional(Authenticate),
|
|
1045
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
1046
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
1047
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
1048
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
1049
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
1050
|
+
rejectResourceTypes: Schema.optional(
|
|
1051
|
+
Schema.Array(
|
|
1052
|
+
Schema.Union([
|
|
1053
|
+
Schema.Literals([
|
|
1054
|
+
"document",
|
|
1055
|
+
"stylesheet",
|
|
1056
|
+
"image",
|
|
1057
|
+
"media",
|
|
1058
|
+
"font",
|
|
1059
|
+
"script",
|
|
1060
|
+
"texttrack",
|
|
1061
|
+
"xhr",
|
|
1062
|
+
"fetch",
|
|
1063
|
+
"prefetch",
|
|
1064
|
+
"eventsource",
|
|
1065
|
+
"websocket",
|
|
1066
|
+
"manifest",
|
|
1067
|
+
"signedexchange",
|
|
1068
|
+
"ping",
|
|
1069
|
+
"cspviolationreport",
|
|
1070
|
+
"preflight",
|
|
1071
|
+
"other",
|
|
1076
1072
|
]),
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
setExtraHTTPHeaders: Schema.optional(
|
|
1080
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1073
|
+
Schema.String,
|
|
1074
|
+
]),
|
|
1081
1075
|
),
|
|
1082
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
1083
|
-
userAgent: Schema.optional(Schema.String),
|
|
1084
|
-
viewport: Schema.optional(Viewport),
|
|
1085
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
1086
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
1087
|
-
html: Schema.optional(Schema.String),
|
|
1088
|
-
}).pipe(
|
|
1089
|
-
T.Http({
|
|
1090
|
-
method: "POST",
|
|
1091
|
-
path: "/accounts/{account_id}/browser-rendering/content",
|
|
1092
|
-
}),
|
|
1093
1076
|
),
|
|
1077
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
1078
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1079
|
+
),
|
|
1080
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
1081
|
+
userAgent: Schema.optional(Schema.String),
|
|
1082
|
+
viewport: Schema.optional(Viewport),
|
|
1083
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
1084
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
1085
|
+
html: Schema.optional(Schema.String),
|
|
1086
|
+
}).pipe(
|
|
1087
|
+
T.Http({
|
|
1088
|
+
method: "POST",
|
|
1089
|
+
path: "/accounts/{account_id}/browser-rendering/content",
|
|
1090
|
+
}),
|
|
1091
|
+
),
|
|
1094
1092
|
) as unknown as Schema.Codec<CreateContentRequest>;
|
|
1095
1093
|
|
|
1096
1094
|
export type CreateContentResponse = string;
|
|
1097
1095
|
|
|
1098
|
-
export const CreateContentResponse = /*@__PURE__*/
|
|
1099
|
-
|
|
1096
|
+
export const CreateContentResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1097
|
+
Schema.String.pipe(T.ResponsePath("result")),
|
|
1100
1098
|
) as unknown as Schema.Codec<CreateContentResponse>;
|
|
1101
1099
|
|
|
1102
1100
|
export type CreateContentError = DefaultErrors;
|
|
@@ -1106,7 +1104,7 @@ export const createContent: API.OperationMethod<
|
|
|
1106
1104
|
CreateContentResponse,
|
|
1107
1105
|
CreateContentError,
|
|
1108
1106
|
Credentials | HttpClient.HttpClient
|
|
1109
|
-
> = /*@__PURE__*/
|
|
1107
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1110
1108
|
input: CreateContentRequest,
|
|
1111
1109
|
output: CreateContentResponse,
|
|
1112
1110
|
errors: [],
|
|
@@ -1137,7 +1135,7 @@ export interface GetCrawlRequest {
|
|
|
1137
1135
|
| (string & {});
|
|
1138
1136
|
}
|
|
1139
1137
|
|
|
1140
|
-
export const GetCrawlRequest = /*@__PURE__*/
|
|
1138
|
+
export const GetCrawlRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1141
1139
|
Schema.Struct({
|
|
1142
1140
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1143
1141
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1198,7 +1196,7 @@ export interface GetCrawlResponse {
|
|
|
1198
1196
|
cursor?: string | null;
|
|
1199
1197
|
}
|
|
1200
1198
|
|
|
1201
|
-
export const GetCrawlResponse = /*@__PURE__*/
|
|
1199
|
+
export const GetCrawlResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1202
1200
|
Schema.Struct({
|
|
1203
1201
|
id: Schema.String,
|
|
1204
1202
|
browserSecondsUsed: Schema.Number,
|
|
@@ -1218,7 +1216,7 @@ export const getCrawl: API.OperationMethod<
|
|
|
1218
1216
|
GetCrawlResponse,
|
|
1219
1217
|
GetCrawlError,
|
|
1220
1218
|
Credentials | HttpClient.HttpClient
|
|
1221
|
-
> = /*@__PURE__*/
|
|
1219
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1222
1220
|
input: GetCrawlRequest,
|
|
1223
1221
|
output: GetCrawlResponse,
|
|
1224
1222
|
errors: [],
|
|
@@ -1387,124 +1385,123 @@ export interface CreateCrawlRequest {
|
|
|
1387
1385
|
waitForTimeout?: number;
|
|
1388
1386
|
}
|
|
1389
1387
|
|
|
1390
|
-
export const CreateCrawlRequest = /*@__PURE__*/
|
|
1391
|
-
(
|
|
1392
|
-
Schema.
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
Schema.
|
|
1402
|
-
Schema.
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
"other",
|
|
1422
|
-
]),
|
|
1423
|
-
Schema.String,
|
|
1388
|
+
export const CreateCrawlRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1389
|
+
Schema.Struct({
|
|
1390
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1391
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
1392
|
+
url: Schema.String,
|
|
1393
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
1394
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
1395
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
1396
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
1397
|
+
allowResourceTypes: Schema.optional(
|
|
1398
|
+
Schema.Array(
|
|
1399
|
+
Schema.Union([
|
|
1400
|
+
Schema.Literals([
|
|
1401
|
+
"document",
|
|
1402
|
+
"stylesheet",
|
|
1403
|
+
"image",
|
|
1404
|
+
"media",
|
|
1405
|
+
"font",
|
|
1406
|
+
"script",
|
|
1407
|
+
"texttrack",
|
|
1408
|
+
"xhr",
|
|
1409
|
+
"fetch",
|
|
1410
|
+
"prefetch",
|
|
1411
|
+
"eventsource",
|
|
1412
|
+
"websocket",
|
|
1413
|
+
"manifest",
|
|
1414
|
+
"signedexchange",
|
|
1415
|
+
"ping",
|
|
1416
|
+
"cspviolationreport",
|
|
1417
|
+
"preflight",
|
|
1418
|
+
"other",
|
|
1424
1419
|
]),
|
|
1425
|
-
|
|
1420
|
+
Schema.String,
|
|
1421
|
+
]),
|
|
1426
1422
|
),
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
),
|
|
1423
|
+
),
|
|
1424
|
+
authenticate: Schema.optional(Authenticate),
|
|
1425
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
1426
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
1427
|
+
crawlPurposes: Schema.optional(
|
|
1428
|
+
Schema.Array(
|
|
1429
|
+
Schema.Union([
|
|
1430
|
+
Schema.Literals(["search", "ai-input", "ai-train"]),
|
|
1431
|
+
Schema.String,
|
|
1432
|
+
]),
|
|
1437
1433
|
),
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
),
|
|
1434
|
+
),
|
|
1435
|
+
depth: Schema.optional(Schema.Number),
|
|
1436
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
1437
|
+
formats: Schema.optional(
|
|
1438
|
+
Schema.Array(
|
|
1439
|
+
Schema.Union([
|
|
1440
|
+
Schema.Literals(["html", "markdown", "json"]),
|
|
1441
|
+
Schema.String,
|
|
1442
|
+
]),
|
|
1447
1443
|
),
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
Schema.Literals([
|
|
1459
|
-
"document",
|
|
1460
|
-
"stylesheet",
|
|
1461
|
-
"image",
|
|
1462
|
-
"media",
|
|
1463
|
-
"font",
|
|
1464
|
-
"script",
|
|
1465
|
-
"texttrack",
|
|
1466
|
-
"xhr",
|
|
1467
|
-
"fetch",
|
|
1468
|
-
"prefetch",
|
|
1469
|
-
"eventsource",
|
|
1470
|
-
"websocket",
|
|
1471
|
-
"manifest",
|
|
1472
|
-
"signedexchange",
|
|
1473
|
-
"ping",
|
|
1474
|
-
"cspviolationreport",
|
|
1475
|
-
"preflight",
|
|
1476
|
-
"other",
|
|
1477
|
-
]),
|
|
1478
|
-
Schema.String,
|
|
1479
|
-
]),
|
|
1480
|
-
),
|
|
1481
|
-
),
|
|
1482
|
-
render: Schema.optional(Schema.Boolean),
|
|
1483
|
-
setExtraHTTPHeaders: Schema.optional(
|
|
1484
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1485
|
-
),
|
|
1486
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
1487
|
-
source: Schema.optional(
|
|
1444
|
+
),
|
|
1445
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
1446
|
+
jsonOptions: Schema.optional(JsonOptions),
|
|
1447
|
+
limit: Schema.optional(Schema.Number),
|
|
1448
|
+
maxAge: Schema.optional(Schema.Number),
|
|
1449
|
+
modifiedSince: Schema.optional(Schema.Number),
|
|
1450
|
+
options: Schema.optional(Options),
|
|
1451
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
1452
|
+
rejectResourceTypes: Schema.optional(
|
|
1453
|
+
Schema.Array(
|
|
1488
1454
|
Schema.Union([
|
|
1489
|
-
Schema.Literals([
|
|
1455
|
+
Schema.Literals([
|
|
1456
|
+
"document",
|
|
1457
|
+
"stylesheet",
|
|
1458
|
+
"image",
|
|
1459
|
+
"media",
|
|
1460
|
+
"font",
|
|
1461
|
+
"script",
|
|
1462
|
+
"texttrack",
|
|
1463
|
+
"xhr",
|
|
1464
|
+
"fetch",
|
|
1465
|
+
"prefetch",
|
|
1466
|
+
"eventsource",
|
|
1467
|
+
"websocket",
|
|
1468
|
+
"manifest",
|
|
1469
|
+
"signedexchange",
|
|
1470
|
+
"ping",
|
|
1471
|
+
"cspviolationreport",
|
|
1472
|
+
"preflight",
|
|
1473
|
+
"other",
|
|
1474
|
+
]),
|
|
1490
1475
|
Schema.String,
|
|
1491
1476
|
]),
|
|
1492
1477
|
),
|
|
1493
|
-
viewport: Schema.optional(Viewport),
|
|
1494
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
1495
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
1496
|
-
}).pipe(
|
|
1497
|
-
T.Http({
|
|
1498
|
-
method: "POST",
|
|
1499
|
-
path: "/accounts/{account_id}/browser-rendering/crawl",
|
|
1500
|
-
}),
|
|
1501
1478
|
),
|
|
1479
|
+
render: Schema.optional(Schema.Boolean),
|
|
1480
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
1481
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1482
|
+
),
|
|
1483
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
1484
|
+
source: Schema.optional(
|
|
1485
|
+
Schema.Union([
|
|
1486
|
+
Schema.Literals(["sitemaps", "links", "all"]),
|
|
1487
|
+
Schema.String,
|
|
1488
|
+
]),
|
|
1489
|
+
),
|
|
1490
|
+
viewport: Schema.optional(Viewport),
|
|
1491
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
1492
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
1493
|
+
}).pipe(
|
|
1494
|
+
T.Http({
|
|
1495
|
+
method: "POST",
|
|
1496
|
+
path: "/accounts/{account_id}/browser-rendering/crawl",
|
|
1497
|
+
}),
|
|
1498
|
+
),
|
|
1502
1499
|
) as unknown as Schema.Codec<CreateCrawlRequest>;
|
|
1503
1500
|
|
|
1504
1501
|
export type CreateCrawlResponse = string;
|
|
1505
1502
|
|
|
1506
|
-
export const CreateCrawlResponse = /*@__PURE__*/
|
|
1507
|
-
|
|
1503
|
+
export const CreateCrawlResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1504
|
+
Schema.String.pipe(T.ResponsePath("result")),
|
|
1508
1505
|
) as unknown as Schema.Codec<CreateCrawlResponse>;
|
|
1509
1506
|
|
|
1510
1507
|
export type CreateCrawlError = DefaultErrors;
|
|
@@ -1514,7 +1511,7 @@ export const createCrawl: API.OperationMethod<
|
|
|
1514
1511
|
CreateCrawlResponse,
|
|
1515
1512
|
CreateCrawlError,
|
|
1516
1513
|
Credentials | HttpClient.HttpClient
|
|
1517
|
-
> = /*@__PURE__*/
|
|
1514
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1518
1515
|
input: CreateCrawlRequest,
|
|
1519
1516
|
output: CreateCrawlResponse,
|
|
1520
1517
|
errors: [],
|
|
@@ -1526,17 +1523,16 @@ export interface DeleteCrawlRequest {
|
|
|
1526
1523
|
accountId: string;
|
|
1527
1524
|
}
|
|
1528
1525
|
|
|
1529
|
-
export const DeleteCrawlRequest = /*@__PURE__*/
|
|
1530
|
-
(
|
|
1531
|
-
Schema.
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
),
|
|
1526
|
+
export const DeleteCrawlRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1527
|
+
Schema.Struct({
|
|
1528
|
+
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1529
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1530
|
+
}).pipe(
|
|
1531
|
+
T.Http({
|
|
1532
|
+
method: "DELETE",
|
|
1533
|
+
path: "/accounts/{account_id}/browser-rendering/crawl/{jobId}",
|
|
1534
|
+
}),
|
|
1535
|
+
),
|
|
1540
1536
|
) as unknown as Schema.Codec<DeleteCrawlRequest>;
|
|
1541
1537
|
|
|
1542
1538
|
export interface DeleteCrawlResponse {
|
|
@@ -1546,14 +1542,13 @@ export interface DeleteCrawlResponse {
|
|
|
1546
1542
|
message: string;
|
|
1547
1543
|
}
|
|
1548
1544
|
|
|
1549
|
-
export const DeleteCrawlResponse = /*@__PURE__*/
|
|
1550
|
-
(
|
|
1551
|
-
Schema.
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
})
|
|
1555
|
-
|
|
1556
|
-
.pipe(T.ResponsePath("result")),
|
|
1545
|
+
export const DeleteCrawlResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1546
|
+
Schema.Struct({
|
|
1547
|
+
jobId: Schema.String,
|
|
1548
|
+
message: Schema.String,
|
|
1549
|
+
})
|
|
1550
|
+
.pipe(Schema.encodeKeys({ jobId: "job_id", message: "message" }))
|
|
1551
|
+
.pipe(T.ResponsePath("result")),
|
|
1557
1552
|
) as unknown as Schema.Codec<DeleteCrawlResponse>;
|
|
1558
1553
|
|
|
1559
1554
|
export type DeleteCrawlError = DefaultErrors;
|
|
@@ -1563,7 +1558,7 @@ export const deleteCrawl: API.OperationMethod<
|
|
|
1563
1558
|
DeleteCrawlResponse,
|
|
1564
1559
|
DeleteCrawlError,
|
|
1565
1560
|
Credentials | HttpClient.HttpClient
|
|
1566
|
-
> = /*@__PURE__*/
|
|
1561
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1567
1562
|
input: DeleteCrawlRequest,
|
|
1568
1563
|
output: DeleteCrawlResponse,
|
|
1569
1564
|
errors: [],
|
|
@@ -1587,7 +1582,7 @@ export interface CreateDevtoolBrowserRequest {
|
|
|
1587
1582
|
}
|
|
1588
1583
|
|
|
1589
1584
|
export const CreateDevtoolBrowserRequest =
|
|
1590
|
-
/*@__PURE__*/
|
|
1585
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1591
1586
|
Schema.Struct({
|
|
1592
1587
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1593
1588
|
keepAlive: Schema.optional(Schema.Number).pipe(T.HttpQuery("keep_alive")),
|
|
@@ -1610,7 +1605,7 @@ export interface CreateDevtoolBrowserResponse {
|
|
|
1610
1605
|
}
|
|
1611
1606
|
|
|
1612
1607
|
export const CreateDevtoolBrowserResponse =
|
|
1613
|
-
/*@__PURE__*/
|
|
1608
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1614
1609
|
Schema.Struct({
|
|
1615
1610
|
sessionId: Schema.String,
|
|
1616
1611
|
webSocketDebuggerUrl: Schema.optional(
|
|
@@ -1626,7 +1621,7 @@ export const createDevtoolBrowser: API.OperationMethod<
|
|
|
1626
1621
|
CreateDevtoolBrowserResponse,
|
|
1627
1622
|
CreateDevtoolBrowserError,
|
|
1628
1623
|
Credentials | HttpClient.HttpClient
|
|
1629
|
-
> = /*@__PURE__*/
|
|
1624
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1630
1625
|
input: CreateDevtoolBrowserRequest,
|
|
1631
1626
|
output: CreateDevtoolBrowserResponse,
|
|
1632
1627
|
errors: [],
|
|
@@ -1639,7 +1634,7 @@ export interface DeleteDevtoolBrowserRequest {
|
|
|
1639
1634
|
}
|
|
1640
1635
|
|
|
1641
1636
|
export const DeleteDevtoolBrowserRequest =
|
|
1642
|
-
/*@__PURE__*/
|
|
1637
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1643
1638
|
Schema.Struct({
|
|
1644
1639
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
1645
1640
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1656,7 +1651,7 @@ export interface DeleteDevtoolBrowserResponse {
|
|
|
1656
1651
|
}
|
|
1657
1652
|
|
|
1658
1653
|
export const DeleteDevtoolBrowserResponse =
|
|
1659
|
-
/*@__PURE__*/
|
|
1654
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1660
1655
|
Schema.Struct({
|
|
1661
1656
|
status: Schema.Union([
|
|
1662
1657
|
Schema.Literals(["closing", "closed"]),
|
|
@@ -1672,7 +1667,7 @@ export const deleteDevtoolBrowser: API.OperationMethod<
|
|
|
1672
1667
|
DeleteDevtoolBrowserResponse,
|
|
1673
1668
|
DeleteDevtoolBrowserError,
|
|
1674
1669
|
Credentials | HttpClient.HttpClient
|
|
1675
|
-
> = /*@__PURE__*/
|
|
1670
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1676
1671
|
input: DeleteDevtoolBrowserRequest,
|
|
1677
1672
|
output: DeleteDevtoolBrowserResponse,
|
|
1678
1673
|
errors: [],
|
|
@@ -1691,7 +1686,7 @@ export interface ConnectDevtoolBrowserRequest {
|
|
|
1691
1686
|
}
|
|
1692
1687
|
|
|
1693
1688
|
export const ConnectDevtoolBrowserRequest =
|
|
1694
|
-
/*@__PURE__*/
|
|
1689
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1695
1690
|
Schema.Struct({
|
|
1696
1691
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
1697
1692
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1709,7 +1704,7 @@ export const ConnectDevtoolBrowserRequest =
|
|
|
1709
1704
|
export type ConnectDevtoolBrowserResponse = unknown;
|
|
1710
1705
|
|
|
1711
1706
|
export const ConnectDevtoolBrowserResponse =
|
|
1712
|
-
/*@__PURE__*/
|
|
1707
|
+
/*@__PURE__*/ Schema.suspend(
|
|
1713
1708
|
() => Schema.Unknown,
|
|
1714
1709
|
) as unknown as Schema.Codec<ConnectDevtoolBrowserResponse>;
|
|
1715
1710
|
|
|
@@ -1720,7 +1715,7 @@ export const connectDevtoolBrowser: API.OperationMethod<
|
|
|
1720
1715
|
ConnectDevtoolBrowserResponse,
|
|
1721
1716
|
ConnectDevtoolBrowserError,
|
|
1722
1717
|
Credentials | HttpClient.HttpClient
|
|
1723
|
-
> = /*@__PURE__*/
|
|
1718
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1724
1719
|
input: ConnectDevtoolBrowserRequest,
|
|
1725
1720
|
output: ConnectDevtoolBrowserResponse,
|
|
1726
1721
|
errors: [],
|
|
@@ -1738,7 +1733,7 @@ export interface LaunchDevtoolBrowserRequest {
|
|
|
1738
1733
|
}
|
|
1739
1734
|
|
|
1740
1735
|
export const LaunchDevtoolBrowserRequest =
|
|
1741
|
-
/*@__PURE__*/
|
|
1736
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1742
1737
|
Schema.Struct({
|
|
1743
1738
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1744
1739
|
keepAlive: Schema.optional(Schema.Number).pipe(T.HttpQuery("keep_alive")),
|
|
@@ -1755,7 +1750,7 @@ export const LaunchDevtoolBrowserRequest =
|
|
|
1755
1750
|
export type LaunchDevtoolBrowserResponse = unknown;
|
|
1756
1751
|
|
|
1757
1752
|
export const LaunchDevtoolBrowserResponse =
|
|
1758
|
-
/*@__PURE__*/
|
|
1753
|
+
/*@__PURE__*/ Schema.suspend(
|
|
1759
1754
|
() => Schema.Unknown,
|
|
1760
1755
|
) as unknown as Schema.Codec<LaunchDevtoolBrowserResponse>;
|
|
1761
1756
|
|
|
@@ -1766,7 +1761,7 @@ export const launchDevtoolBrowser: API.OperationMethod<
|
|
|
1766
1761
|
LaunchDevtoolBrowserResponse,
|
|
1767
1762
|
LaunchDevtoolBrowserError,
|
|
1768
1763
|
Credentials | HttpClient.HttpClient
|
|
1769
|
-
> = /*@__PURE__*/
|
|
1764
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1770
1765
|
input: LaunchDevtoolBrowserRequest,
|
|
1771
1766
|
output: LaunchDevtoolBrowserResponse,
|
|
1772
1767
|
errors: [],
|
|
@@ -1779,7 +1774,7 @@ export interface ProtocolDevtoolBrowserRequest {
|
|
|
1779
1774
|
}
|
|
1780
1775
|
|
|
1781
1776
|
export const ProtocolDevtoolBrowserRequest =
|
|
1782
|
-
/*@__PURE__*/
|
|
1777
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1783
1778
|
Schema.Struct({
|
|
1784
1779
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
1785
1780
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1806,7 +1801,7 @@ export interface ProtocolDevtoolBrowserResponse {
|
|
|
1806
1801
|
}
|
|
1807
1802
|
|
|
1808
1803
|
export const ProtocolDevtoolBrowserResponse =
|
|
1809
|
-
/*@__PURE__*/
|
|
1804
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1810
1805
|
Schema.Struct({
|
|
1811
1806
|
domains: Schema.Array(Domain),
|
|
1812
1807
|
version: Schema.optional(Schema.Union([Version, Schema.Null])),
|
|
@@ -1820,7 +1815,7 @@ export const protocolDevtoolBrowser: API.OperationMethod<
|
|
|
1820
1815
|
ProtocolDevtoolBrowserResponse,
|
|
1821
1816
|
ProtocolDevtoolBrowserError,
|
|
1822
1817
|
Credentials | HttpClient.HttpClient
|
|
1823
|
-
> = /*@__PURE__*/
|
|
1818
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1824
1819
|
input: ProtocolDevtoolBrowserRequest,
|
|
1825
1820
|
output: ProtocolDevtoolBrowserResponse,
|
|
1826
1821
|
errors: [],
|
|
@@ -1833,7 +1828,7 @@ export interface VersionDevtoolBrowserRequest {
|
|
|
1833
1828
|
}
|
|
1834
1829
|
|
|
1835
1830
|
export const VersionDevtoolBrowserRequest =
|
|
1836
|
-
/*@__PURE__*/
|
|
1831
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1837
1832
|
Schema.Struct({
|
|
1838
1833
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
1839
1834
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1861,7 +1856,7 @@ export interface VersionDevtoolBrowserResponse {
|
|
|
1861
1856
|
}
|
|
1862
1857
|
|
|
1863
1858
|
export const VersionDevtoolBrowserResponse =
|
|
1864
|
-
/*@__PURE__*/
|
|
1859
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1865
1860
|
Schema.Struct({
|
|
1866
1861
|
browser: Schema.String,
|
|
1867
1862
|
protocolVersion: Schema.String,
|
|
@@ -1888,7 +1883,7 @@ export const versionDevtoolBrowser: API.OperationMethod<
|
|
|
1888
1883
|
VersionDevtoolBrowserResponse,
|
|
1889
1884
|
VersionDevtoolBrowserError,
|
|
1890
1885
|
Credentials | HttpClient.HttpClient
|
|
1891
|
-
> = /*@__PURE__*/
|
|
1886
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1892
1887
|
input: VersionDevtoolBrowserRequest,
|
|
1893
1888
|
output: VersionDevtoolBrowserResponse,
|
|
1894
1889
|
errors: [],
|
|
@@ -1906,7 +1901,7 @@ export interface GetDevtoolBrowserPageRequest {
|
|
|
1906
1901
|
}
|
|
1907
1902
|
|
|
1908
1903
|
export const GetDevtoolBrowserPageRequest =
|
|
1909
|
-
/*@__PURE__*/
|
|
1904
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1910
1905
|
Schema.Struct({
|
|
1911
1906
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
1912
1907
|
targetId: Schema.String.pipe(T.HttpPath("targetId")),
|
|
@@ -1922,7 +1917,7 @@ export const GetDevtoolBrowserPageRequest =
|
|
|
1922
1917
|
export type GetDevtoolBrowserPageResponse = unknown;
|
|
1923
1918
|
|
|
1924
1919
|
export const GetDevtoolBrowserPageResponse =
|
|
1925
|
-
/*@__PURE__*/
|
|
1920
|
+
/*@__PURE__*/ Schema.suspend(
|
|
1926
1921
|
() => Schema.Unknown,
|
|
1927
1922
|
) as unknown as Schema.Codec<GetDevtoolBrowserPageResponse>;
|
|
1928
1923
|
|
|
@@ -1933,7 +1928,7 @@ export const getDevtoolBrowserPage: API.OperationMethod<
|
|
|
1933
1928
|
GetDevtoolBrowserPageResponse,
|
|
1934
1929
|
GetDevtoolBrowserPageError,
|
|
1935
1930
|
Credentials | HttpClient.HttpClient
|
|
1936
|
-
> = /*@__PURE__*/
|
|
1931
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1937
1932
|
input: GetDevtoolBrowserPageRequest,
|
|
1938
1933
|
output: GetDevtoolBrowserPageResponse,
|
|
1939
1934
|
errors: [],
|
|
@@ -1951,7 +1946,7 @@ export interface GetDevtoolBrowserTargetRequest {
|
|
|
1951
1946
|
}
|
|
1952
1947
|
|
|
1953
1948
|
export const GetDevtoolBrowserTargetRequest =
|
|
1954
|
-
/*@__PURE__*/
|
|
1949
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1955
1950
|
Schema.Struct({
|
|
1956
1951
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
1957
1952
|
targetId: Schema.String.pipe(T.HttpPath("targetId")),
|
|
@@ -1982,7 +1977,7 @@ export interface GetDevtoolBrowserTargetResponse {
|
|
|
1982
1977
|
}
|
|
1983
1978
|
|
|
1984
1979
|
export const GetDevtoolBrowserTargetResponse =
|
|
1985
|
-
/*@__PURE__*/
|
|
1980
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1986
1981
|
Schema.Struct({
|
|
1987
1982
|
id: Schema.String,
|
|
1988
1983
|
type: Schema.String,
|
|
@@ -2005,7 +2000,7 @@ export const getDevtoolBrowserTarget: API.OperationMethod<
|
|
|
2005
2000
|
GetDevtoolBrowserTargetResponse,
|
|
2006
2001
|
GetDevtoolBrowserTargetError,
|
|
2007
2002
|
Credentials | HttpClient.HttpClient
|
|
2008
|
-
> = /*@__PURE__*/
|
|
2003
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2009
2004
|
input: GetDevtoolBrowserTargetRequest,
|
|
2010
2005
|
output: GetDevtoolBrowserTargetResponse,
|
|
2011
2006
|
errors: [],
|
|
@@ -2018,7 +2013,7 @@ export interface ListDevtoolBrowserTargetsRequest {
|
|
|
2018
2013
|
}
|
|
2019
2014
|
|
|
2020
2015
|
export const ListDevtoolBrowserTargetsRequest =
|
|
2021
|
-
/*@__PURE__*/
|
|
2016
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2022
2017
|
Schema.Struct({
|
|
2023
2018
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
2024
2019
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2041,7 +2036,7 @@ export type ListDevtoolBrowserTargetsResponse = {
|
|
|
2041
2036
|
}[];
|
|
2042
2037
|
|
|
2043
2038
|
export const ListDevtoolBrowserTargetsResponse =
|
|
2044
|
-
/*@__PURE__*/
|
|
2039
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2045
2040
|
Schema.Array(TargetListResponseItem),
|
|
2046
2041
|
) as unknown as Schema.Codec<ListDevtoolBrowserTargetsResponse>;
|
|
2047
2042
|
|
|
@@ -2052,7 +2047,7 @@ export const listDevtoolBrowserTargets: API.OperationMethod<
|
|
|
2052
2047
|
ListDevtoolBrowserTargetsResponse,
|
|
2053
2048
|
ListDevtoolBrowserTargetsError,
|
|
2054
2049
|
Credentials | HttpClient.HttpClient
|
|
2055
|
-
> = /*@__PURE__*/
|
|
2050
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2056
2051
|
input: ListDevtoolBrowserTargetsRequest,
|
|
2057
2052
|
output: ListDevtoolBrowserTargetsResponse,
|
|
2058
2053
|
errors: [],
|
|
@@ -2067,7 +2062,7 @@ export interface CreateDevtoolBrowserTargetRequest {
|
|
|
2067
2062
|
}
|
|
2068
2063
|
|
|
2069
2064
|
export const CreateDevtoolBrowserTargetRequest =
|
|
2070
|
-
/*@__PURE__*/
|
|
2065
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2071
2066
|
Schema.Struct({
|
|
2072
2067
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
2073
2068
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2098,7 +2093,7 @@ export interface CreateDevtoolBrowserTargetResponse {
|
|
|
2098
2093
|
}
|
|
2099
2094
|
|
|
2100
2095
|
export const CreateDevtoolBrowserTargetResponse =
|
|
2101
|
-
/*@__PURE__*/
|
|
2096
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2102
2097
|
Schema.Struct({
|
|
2103
2098
|
id: Schema.String,
|
|
2104
2099
|
type: Schema.String,
|
|
@@ -2121,7 +2116,7 @@ export const createDevtoolBrowserTarget: API.OperationMethod<
|
|
|
2121
2116
|
CreateDevtoolBrowserTargetResponse,
|
|
2122
2117
|
CreateDevtoolBrowserTargetError,
|
|
2123
2118
|
Credentials | HttpClient.HttpClient
|
|
2124
|
-
> = /*@__PURE__*/
|
|
2119
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2125
2120
|
input: CreateDevtoolBrowserTargetRequest,
|
|
2126
2121
|
output: CreateDevtoolBrowserTargetResponse,
|
|
2127
2122
|
errors: [],
|
|
@@ -2135,7 +2130,7 @@ export interface ActivateDevtoolBrowserTargetRequest {
|
|
|
2135
2130
|
}
|
|
2136
2131
|
|
|
2137
2132
|
export const ActivateDevtoolBrowserTargetRequest =
|
|
2138
|
-
/*@__PURE__*/
|
|
2133
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2139
2134
|
Schema.Struct({
|
|
2140
2135
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
2141
2136
|
targetId: Schema.String.pipe(T.HttpPath("targetId")),
|
|
@@ -2154,7 +2149,7 @@ export interface ActivateDevtoolBrowserTargetResponse {
|
|
|
2154
2149
|
}
|
|
2155
2150
|
|
|
2156
2151
|
export const ActivateDevtoolBrowserTargetResponse =
|
|
2157
|
-
/*@__PURE__*/
|
|
2152
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2158
2153
|
Schema.Struct({
|
|
2159
2154
|
message: Schema.String,
|
|
2160
2155
|
}),
|
|
@@ -2167,7 +2162,7 @@ export const activateDevtoolBrowserTarget: API.OperationMethod<
|
|
|
2167
2162
|
ActivateDevtoolBrowserTargetResponse,
|
|
2168
2163
|
ActivateDevtoolBrowserTargetError,
|
|
2169
2164
|
Credentials | HttpClient.HttpClient
|
|
2170
|
-
> = /*@__PURE__*/
|
|
2165
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2171
2166
|
input: ActivateDevtoolBrowserTargetRequest,
|
|
2172
2167
|
output: ActivateDevtoolBrowserTargetResponse,
|
|
2173
2168
|
errors: [],
|
|
@@ -2181,7 +2176,7 @@ export interface CloseDevtoolBrowserTargetRequest {
|
|
|
2181
2176
|
}
|
|
2182
2177
|
|
|
2183
2178
|
export const CloseDevtoolBrowserTargetRequest =
|
|
2184
|
-
/*@__PURE__*/
|
|
2179
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2185
2180
|
Schema.Struct({
|
|
2186
2181
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
2187
2182
|
targetId: Schema.String.pipe(T.HttpPath("targetId")),
|
|
@@ -2200,7 +2195,7 @@ export interface CloseDevtoolBrowserTargetResponse {
|
|
|
2200
2195
|
}
|
|
2201
2196
|
|
|
2202
2197
|
export const CloseDevtoolBrowserTargetResponse =
|
|
2203
|
-
/*@__PURE__*/
|
|
2198
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2204
2199
|
Schema.Struct({
|
|
2205
2200
|
message: Schema.String,
|
|
2206
2201
|
}),
|
|
@@ -2213,7 +2208,7 @@ export const closeDevtoolBrowserTarget: API.OperationMethod<
|
|
|
2213
2208
|
CloseDevtoolBrowserTargetResponse,
|
|
2214
2209
|
CloseDevtoolBrowserTargetError,
|
|
2215
2210
|
Credentials | HttpClient.HttpClient
|
|
2216
|
-
> = /*@__PURE__*/
|
|
2211
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2217
2212
|
input: CloseDevtoolBrowserTargetRequest,
|
|
2218
2213
|
output: CloseDevtoolBrowserTargetResponse,
|
|
2219
2214
|
errors: [],
|
|
@@ -2230,7 +2225,7 @@ export interface GetDevtoolSessionRequest {
|
|
|
2230
2225
|
}
|
|
2231
2226
|
|
|
2232
2227
|
export const GetDevtoolSessionRequest =
|
|
2233
|
-
/*@__PURE__*/
|
|
2228
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2234
2229
|
Schema.Struct({
|
|
2235
2230
|
sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
|
|
2236
2231
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2268,7 +2263,7 @@ export interface GetDevtoolSessionResponse {
|
|
|
2268
2263
|
}
|
|
2269
2264
|
|
|
2270
2265
|
export const GetDevtoolSessionResponse =
|
|
2271
|
-
/*@__PURE__*/
|
|
2266
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2272
2267
|
Schema.Struct({
|
|
2273
2268
|
sessionId: Schema.String,
|
|
2274
2269
|
closeReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2301,7 +2296,7 @@ export const getDevtoolSession: API.OperationMethod<
|
|
|
2301
2296
|
GetDevtoolSessionResponse,
|
|
2302
2297
|
GetDevtoolSessionError,
|
|
2303
2298
|
Credentials | HttpClient.HttpClient
|
|
2304
|
-
> = /*@__PURE__*/
|
|
2299
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2305
2300
|
input: GetDevtoolSessionRequest,
|
|
2306
2301
|
output: GetDevtoolSessionResponse,
|
|
2307
2302
|
errors: [],
|
|
@@ -2317,7 +2312,7 @@ export interface ListDevtoolSessionsRequest {
|
|
|
2317
2312
|
}
|
|
2318
2313
|
|
|
2319
2314
|
export const ListDevtoolSessionsRequest =
|
|
2320
|
-
/*@__PURE__*/
|
|
2315
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2321
2316
|
Schema.Struct({
|
|
2322
2317
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2323
2318
|
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
@@ -2345,7 +2340,7 @@ export type ListDevtoolSessionsResponse = {
|
|
|
2345
2340
|
}[];
|
|
2346
2341
|
|
|
2347
2342
|
export const ListDevtoolSessionsResponse =
|
|
2348
|
-
/*@__PURE__*/
|
|
2343
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2349
2344
|
Schema.Array(SessionListResponseItem),
|
|
2350
2345
|
) as unknown as Schema.Codec<ListDevtoolSessionsResponse>;
|
|
2351
2346
|
|
|
@@ -2356,7 +2351,7 @@ export const listDevtoolSessions: API.OperationMethod<
|
|
|
2356
2351
|
ListDevtoolSessionsResponse,
|
|
2357
2352
|
ListDevtoolSessionsError,
|
|
2358
2353
|
Credentials | HttpClient.HttpClient
|
|
2359
|
-
> = /*@__PURE__*/
|
|
2354
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2360
2355
|
input: ListDevtoolSessionsRequest,
|
|
2361
2356
|
output: ListDevtoolSessionsResponse,
|
|
2362
2357
|
errors: [],
|
|
@@ -2510,141 +2505,139 @@ export interface CreateJsonRequest {
|
|
|
2510
2505
|
url?: string;
|
|
2511
2506
|
}
|
|
2512
2507
|
|
|
2513
|
-
export const CreateJsonRequest = /*@__PURE__*/
|
|
2514
|
-
(
|
|
2515
|
-
Schema.
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
Schema.
|
|
2525
|
-
Schema.
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
"other",
|
|
2545
|
-
]),
|
|
2546
|
-
Schema.String,
|
|
2508
|
+
export const CreateJsonRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2509
|
+
Schema.Struct({
|
|
2510
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2511
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
2512
|
+
html: Schema.optional(Schema.String),
|
|
2513
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
2514
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
2515
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
2516
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
2517
|
+
allowResourceTypes: Schema.optional(
|
|
2518
|
+
Schema.Array(
|
|
2519
|
+
Schema.Union([
|
|
2520
|
+
Schema.Literals([
|
|
2521
|
+
"document",
|
|
2522
|
+
"stylesheet",
|
|
2523
|
+
"image",
|
|
2524
|
+
"media",
|
|
2525
|
+
"font",
|
|
2526
|
+
"script",
|
|
2527
|
+
"texttrack",
|
|
2528
|
+
"xhr",
|
|
2529
|
+
"fetch",
|
|
2530
|
+
"prefetch",
|
|
2531
|
+
"eventsource",
|
|
2532
|
+
"websocket",
|
|
2533
|
+
"manifest",
|
|
2534
|
+
"signedexchange",
|
|
2535
|
+
"ping",
|
|
2536
|
+
"cspviolationreport",
|
|
2537
|
+
"preflight",
|
|
2538
|
+
"other",
|
|
2547
2539
|
]),
|
|
2548
|
-
|
|
2540
|
+
Schema.String,
|
|
2541
|
+
]),
|
|
2549
2542
|
),
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
Schema.String,
|
|
2543
|
+
),
|
|
2544
|
+
authenticate: Schema.optional(Authenticate),
|
|
2545
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
2546
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
2547
|
+
customAi: Schema.optional(Schema.Array(CustomAI)),
|
|
2548
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
2549
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
2550
|
+
prompt: Schema.optional(Schema.String),
|
|
2551
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
2552
|
+
rejectResourceTypes: Schema.optional(
|
|
2553
|
+
Schema.Array(
|
|
2554
|
+
Schema.Union([
|
|
2555
|
+
Schema.Literals([
|
|
2556
|
+
"document",
|
|
2557
|
+
"stylesheet",
|
|
2558
|
+
"image",
|
|
2559
|
+
"media",
|
|
2560
|
+
"font",
|
|
2561
|
+
"script",
|
|
2562
|
+
"texttrack",
|
|
2563
|
+
"xhr",
|
|
2564
|
+
"fetch",
|
|
2565
|
+
"prefetch",
|
|
2566
|
+
"eventsource",
|
|
2567
|
+
"websocket",
|
|
2568
|
+
"manifest",
|
|
2569
|
+
"signedexchange",
|
|
2570
|
+
"ping",
|
|
2571
|
+
"cspviolationreport",
|
|
2572
|
+
"preflight",
|
|
2573
|
+
"other",
|
|
2582
2574
|
]),
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
responseFormat: Schema.optional(ResponseFormat),
|
|
2586
|
-
setExtraHTTPHeaders: Schema.optional(
|
|
2587
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
2575
|
+
Schema.String,
|
|
2576
|
+
]),
|
|
2588
2577
|
),
|
|
2589
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
2590
|
-
userAgent: Schema.optional(Schema.String),
|
|
2591
|
-
viewport: Schema.optional(Viewport),
|
|
2592
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
2593
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
2594
|
-
url: Schema.optional(Schema.String),
|
|
2595
|
-
}).pipe(
|
|
2596
|
-
Schema.encodeKeys({
|
|
2597
|
-
html: "html",
|
|
2598
|
-
actionTimeout: "actionTimeout",
|
|
2599
|
-
addScriptTag: "addScriptTag",
|
|
2600
|
-
addStyleTag: "addStyleTag",
|
|
2601
|
-
allowRequestPattern: "allowRequestPattern",
|
|
2602
|
-
allowResourceTypes: "allowResourceTypes",
|
|
2603
|
-
authenticate: "authenticate",
|
|
2604
|
-
bestAttempt: "bestAttempt",
|
|
2605
|
-
cookies: "cookies",
|
|
2606
|
-
customAi: "custom_ai",
|
|
2607
|
-
emulateMediaType: "emulateMediaType",
|
|
2608
|
-
gotoOptions: "gotoOptions",
|
|
2609
|
-
prompt: "prompt",
|
|
2610
|
-
rejectRequestPattern: "rejectRequestPattern",
|
|
2611
|
-
rejectResourceTypes: "rejectResourceTypes",
|
|
2612
|
-
responseFormat: "response_format",
|
|
2613
|
-
setExtraHTTPHeaders: "setExtraHTTPHeaders",
|
|
2614
|
-
setJavaScriptEnabled: "setJavaScriptEnabled",
|
|
2615
|
-
userAgent: "userAgent",
|
|
2616
|
-
viewport: "viewport",
|
|
2617
|
-
waitForSelector: "waitForSelector",
|
|
2618
|
-
waitForTimeout: "waitForTimeout",
|
|
2619
|
-
url: "url",
|
|
2620
|
-
}),
|
|
2621
|
-
T.Http({
|
|
2622
|
-
method: "POST",
|
|
2623
|
-
path: "/accounts/{account_id}/browser-rendering/json",
|
|
2624
|
-
}),
|
|
2625
2578
|
),
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2579
|
+
responseFormat: Schema.optional(ResponseFormat),
|
|
2580
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
2581
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
2582
|
+
),
|
|
2583
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
2584
|
+
userAgent: Schema.optional(Schema.String),
|
|
2585
|
+
viewport: Schema.optional(Viewport),
|
|
2586
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
2587
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
2588
|
+
url: Schema.optional(Schema.String),
|
|
2589
|
+
}).pipe(
|
|
2590
|
+
Schema.encodeKeys({
|
|
2591
|
+
html: "html",
|
|
2592
|
+
actionTimeout: "actionTimeout",
|
|
2593
|
+
addScriptTag: "addScriptTag",
|
|
2594
|
+
addStyleTag: "addStyleTag",
|
|
2595
|
+
allowRequestPattern: "allowRequestPattern",
|
|
2596
|
+
allowResourceTypes: "allowResourceTypes",
|
|
2597
|
+
authenticate: "authenticate",
|
|
2598
|
+
bestAttempt: "bestAttempt",
|
|
2599
|
+
cookies: "cookies",
|
|
2600
|
+
customAi: "custom_ai",
|
|
2601
|
+
emulateMediaType: "emulateMediaType",
|
|
2602
|
+
gotoOptions: "gotoOptions",
|
|
2603
|
+
prompt: "prompt",
|
|
2604
|
+
rejectRequestPattern: "rejectRequestPattern",
|
|
2605
|
+
rejectResourceTypes: "rejectResourceTypes",
|
|
2606
|
+
responseFormat: "response_format",
|
|
2607
|
+
setExtraHTTPHeaders: "setExtraHTTPHeaders",
|
|
2608
|
+
setJavaScriptEnabled: "setJavaScriptEnabled",
|
|
2609
|
+
userAgent: "userAgent",
|
|
2610
|
+
viewport: "viewport",
|
|
2611
|
+
waitForSelector: "waitForSelector",
|
|
2612
|
+
waitForTimeout: "waitForTimeout",
|
|
2613
|
+
url: "url",
|
|
2614
|
+
}),
|
|
2615
|
+
T.Http({
|
|
2616
|
+
method: "POST",
|
|
2617
|
+
path: "/accounts/{account_id}/browser-rendering/json",
|
|
2618
|
+
}),
|
|
2619
|
+
),
|
|
2620
|
+
) as unknown as Schema.Codec<CreateJsonRequest>;
|
|
2621
|
+
|
|
2622
|
+
export type CreateJsonResponse = Record<string, unknown>;
|
|
2623
|
+
|
|
2624
|
+
export const CreateJsonResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2625
|
+
Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
|
|
2626
|
+
) as unknown as Schema.Codec<CreateJsonResponse>;
|
|
2627
|
+
|
|
2628
|
+
export type CreateJsonError = DefaultErrors;
|
|
2629
|
+
|
|
2630
|
+
export const createJson: API.OperationMethod<
|
|
2631
|
+
CreateJsonRequest,
|
|
2632
|
+
CreateJsonResponse,
|
|
2633
|
+
CreateJsonError,
|
|
2634
|
+
Credentials | HttpClient.HttpClient
|
|
2635
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2636
|
+
input: CreateJsonRequest,
|
|
2637
|
+
output: CreateJsonResponse,
|
|
2638
|
+
errors: [],
|
|
2639
|
+
}));
|
|
2640
|
+
|
|
2648
2641
|
// =============================================================================
|
|
2649
2642
|
// Link
|
|
2650
2643
|
// =============================================================================
|
|
@@ -2788,99 +2781,98 @@ export interface CreateLinkRequest {
|
|
|
2788
2781
|
url?: string;
|
|
2789
2782
|
}
|
|
2790
2783
|
|
|
2791
|
-
export const CreateLinkRequest = /*@__PURE__*/
|
|
2792
|
-
(
|
|
2793
|
-
Schema.
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
Schema.
|
|
2803
|
-
Schema.
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
"other",
|
|
2823
|
-
]),
|
|
2824
|
-
Schema.String,
|
|
2784
|
+
export const CreateLinkRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2785
|
+
Schema.Struct({
|
|
2786
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2787
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
2788
|
+
html: Schema.optional(Schema.String),
|
|
2789
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
2790
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
2791
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
2792
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
2793
|
+
allowResourceTypes: Schema.optional(
|
|
2794
|
+
Schema.Array(
|
|
2795
|
+
Schema.Union([
|
|
2796
|
+
Schema.Literals([
|
|
2797
|
+
"document",
|
|
2798
|
+
"stylesheet",
|
|
2799
|
+
"image",
|
|
2800
|
+
"media",
|
|
2801
|
+
"font",
|
|
2802
|
+
"script",
|
|
2803
|
+
"texttrack",
|
|
2804
|
+
"xhr",
|
|
2805
|
+
"fetch",
|
|
2806
|
+
"prefetch",
|
|
2807
|
+
"eventsource",
|
|
2808
|
+
"websocket",
|
|
2809
|
+
"manifest",
|
|
2810
|
+
"signedexchange",
|
|
2811
|
+
"ping",
|
|
2812
|
+
"cspviolationreport",
|
|
2813
|
+
"preflight",
|
|
2814
|
+
"other",
|
|
2825
2815
|
]),
|
|
2826
|
-
|
|
2816
|
+
Schema.String,
|
|
2817
|
+
]),
|
|
2827
2818
|
),
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
Schema.String,
|
|
2819
|
+
),
|
|
2820
|
+
authenticate: Schema.optional(Authenticate),
|
|
2821
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
2822
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
2823
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
2824
|
+
excludeExternalLinks: Schema.optional(Schema.Boolean),
|
|
2825
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
2826
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
2827
|
+
rejectResourceTypes: Schema.optional(
|
|
2828
|
+
Schema.Array(
|
|
2829
|
+
Schema.Union([
|
|
2830
|
+
Schema.Literals([
|
|
2831
|
+
"document",
|
|
2832
|
+
"stylesheet",
|
|
2833
|
+
"image",
|
|
2834
|
+
"media",
|
|
2835
|
+
"font",
|
|
2836
|
+
"script",
|
|
2837
|
+
"texttrack",
|
|
2838
|
+
"xhr",
|
|
2839
|
+
"fetch",
|
|
2840
|
+
"prefetch",
|
|
2841
|
+
"eventsource",
|
|
2842
|
+
"websocket",
|
|
2843
|
+
"manifest",
|
|
2844
|
+
"signedexchange",
|
|
2845
|
+
"ping",
|
|
2846
|
+
"cspviolationreport",
|
|
2847
|
+
"preflight",
|
|
2848
|
+
"other",
|
|
2859
2849
|
]),
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
setExtraHTTPHeaders: Schema.optional(
|
|
2863
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
2850
|
+
Schema.String,
|
|
2851
|
+
]),
|
|
2864
2852
|
),
|
|
2865
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
2866
|
-
userAgent: Schema.optional(Schema.String),
|
|
2867
|
-
viewport: Schema.optional(Viewport),
|
|
2868
|
-
visibleLinksOnly: Schema.optional(Schema.Boolean),
|
|
2869
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
2870
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
2871
|
-
url: Schema.optional(Schema.String),
|
|
2872
|
-
}).pipe(
|
|
2873
|
-
T.Http({
|
|
2874
|
-
method: "POST",
|
|
2875
|
-
path: "/accounts/{account_id}/browser-rendering/links",
|
|
2876
|
-
}),
|
|
2877
2853
|
),
|
|
2854
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
2855
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
2856
|
+
),
|
|
2857
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
2858
|
+
userAgent: Schema.optional(Schema.String),
|
|
2859
|
+
viewport: Schema.optional(Viewport),
|
|
2860
|
+
visibleLinksOnly: Schema.optional(Schema.Boolean),
|
|
2861
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
2862
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
2863
|
+
url: Schema.optional(Schema.String),
|
|
2864
|
+
}).pipe(
|
|
2865
|
+
T.Http({
|
|
2866
|
+
method: "POST",
|
|
2867
|
+
path: "/accounts/{account_id}/browser-rendering/links",
|
|
2868
|
+
}),
|
|
2869
|
+
),
|
|
2878
2870
|
) as unknown as Schema.Codec<CreateLinkRequest>;
|
|
2879
2871
|
|
|
2880
2872
|
export type CreateLinkResponse = string[];
|
|
2881
2873
|
|
|
2882
|
-
export const CreateLinkResponse = /*@__PURE__*/
|
|
2883
|
-
|
|
2874
|
+
export const CreateLinkResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2875
|
+
Schema.Array(Schema.String).pipe(T.ResponsePath("result")),
|
|
2884
2876
|
) as unknown as Schema.Codec<CreateLinkResponse>;
|
|
2885
2877
|
|
|
2886
2878
|
export type CreateLinkError = DefaultErrors;
|
|
@@ -2890,7 +2882,7 @@ export const createLink: API.OperationMethod<
|
|
|
2890
2882
|
CreateLinkResponse,
|
|
2891
2883
|
CreateLinkError,
|
|
2892
2884
|
Credentials | HttpClient.HttpClient
|
|
2893
|
-
> = /*@__PURE__*/
|
|
2885
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2894
2886
|
input: CreateLinkRequest,
|
|
2895
2887
|
output: CreateLinkResponse,
|
|
2896
2888
|
errors: [],
|
|
@@ -3035,97 +3027,96 @@ export interface CreateMarkdownRequest {
|
|
|
3035
3027
|
html?: string;
|
|
3036
3028
|
}
|
|
3037
3029
|
|
|
3038
|
-
export const CreateMarkdownRequest = /*@__PURE__*/
|
|
3039
|
-
(
|
|
3040
|
-
Schema.
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
Schema.
|
|
3050
|
-
Schema.
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
"other",
|
|
3070
|
-
]),
|
|
3071
|
-
Schema.String,
|
|
3030
|
+
export const CreateMarkdownRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3031
|
+
Schema.Struct({
|
|
3032
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3033
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
3034
|
+
url: Schema.optional(Schema.String),
|
|
3035
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
3036
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
3037
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
3038
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
3039
|
+
allowResourceTypes: Schema.optional(
|
|
3040
|
+
Schema.Array(
|
|
3041
|
+
Schema.Union([
|
|
3042
|
+
Schema.Literals([
|
|
3043
|
+
"document",
|
|
3044
|
+
"stylesheet",
|
|
3045
|
+
"image",
|
|
3046
|
+
"media",
|
|
3047
|
+
"font",
|
|
3048
|
+
"script",
|
|
3049
|
+
"texttrack",
|
|
3050
|
+
"xhr",
|
|
3051
|
+
"fetch",
|
|
3052
|
+
"prefetch",
|
|
3053
|
+
"eventsource",
|
|
3054
|
+
"websocket",
|
|
3055
|
+
"manifest",
|
|
3056
|
+
"signedexchange",
|
|
3057
|
+
"ping",
|
|
3058
|
+
"cspviolationreport",
|
|
3059
|
+
"preflight",
|
|
3060
|
+
"other",
|
|
3072
3061
|
]),
|
|
3073
|
-
|
|
3062
|
+
Schema.String,
|
|
3063
|
+
]),
|
|
3074
3064
|
),
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
Schema.String,
|
|
3065
|
+
),
|
|
3066
|
+
authenticate: Schema.optional(Authenticate),
|
|
3067
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
3068
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
3069
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
3070
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
3071
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
3072
|
+
rejectResourceTypes: Schema.optional(
|
|
3073
|
+
Schema.Array(
|
|
3074
|
+
Schema.Union([
|
|
3075
|
+
Schema.Literals([
|
|
3076
|
+
"document",
|
|
3077
|
+
"stylesheet",
|
|
3078
|
+
"image",
|
|
3079
|
+
"media",
|
|
3080
|
+
"font",
|
|
3081
|
+
"script",
|
|
3082
|
+
"texttrack",
|
|
3083
|
+
"xhr",
|
|
3084
|
+
"fetch",
|
|
3085
|
+
"prefetch",
|
|
3086
|
+
"eventsource",
|
|
3087
|
+
"websocket",
|
|
3088
|
+
"manifest",
|
|
3089
|
+
"signedexchange",
|
|
3090
|
+
"ping",
|
|
3091
|
+
"cspviolationreport",
|
|
3092
|
+
"preflight",
|
|
3093
|
+
"other",
|
|
3105
3094
|
]),
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
setExtraHTTPHeaders: Schema.optional(
|
|
3109
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
3095
|
+
Schema.String,
|
|
3096
|
+
]),
|
|
3110
3097
|
),
|
|
3111
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
3112
|
-
userAgent: Schema.optional(Schema.String),
|
|
3113
|
-
viewport: Schema.optional(Viewport),
|
|
3114
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
3115
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
3116
|
-
html: Schema.optional(Schema.String),
|
|
3117
|
-
}).pipe(
|
|
3118
|
-
T.Http({
|
|
3119
|
-
method: "POST",
|
|
3120
|
-
path: "/accounts/{account_id}/browser-rendering/markdown",
|
|
3121
|
-
}),
|
|
3122
3098
|
),
|
|
3099
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
3100
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
3101
|
+
),
|
|
3102
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
3103
|
+
userAgent: Schema.optional(Schema.String),
|
|
3104
|
+
viewport: Schema.optional(Viewport),
|
|
3105
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
3106
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
3107
|
+
html: Schema.optional(Schema.String),
|
|
3108
|
+
}).pipe(
|
|
3109
|
+
T.Http({
|
|
3110
|
+
method: "POST",
|
|
3111
|
+
path: "/accounts/{account_id}/browser-rendering/markdown",
|
|
3112
|
+
}),
|
|
3113
|
+
),
|
|
3123
3114
|
) as unknown as Schema.Codec<CreateMarkdownRequest>;
|
|
3124
3115
|
|
|
3125
3116
|
export type CreateMarkdownResponse = string;
|
|
3126
3117
|
|
|
3127
3118
|
export const CreateMarkdownResponse =
|
|
3128
|
-
/*@__PURE__*/
|
|
3119
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3129
3120
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
3130
3121
|
) as unknown as Schema.Codec<CreateMarkdownResponse>;
|
|
3131
3122
|
|
|
@@ -3136,7 +3127,7 @@ export const createMarkdown: API.OperationMethod<
|
|
|
3136
3127
|
CreateMarkdownResponse,
|
|
3137
3128
|
CreateMarkdownError,
|
|
3138
3129
|
Credentials | HttpClient.HttpClient
|
|
3139
|
-
> = /*@__PURE__*/
|
|
3130
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3140
3131
|
input: CreateMarkdownRequest,
|
|
3141
3132
|
output: CreateMarkdownResponse,
|
|
3142
3133
|
errors: [],
|
|
@@ -3317,7 +3308,7 @@ export interface CreatePdfRequest {
|
|
|
3317
3308
|
url?: string;
|
|
3318
3309
|
}
|
|
3319
3310
|
|
|
3320
|
-
export const CreatePdfRequest = /*@__PURE__*/
|
|
3311
|
+
export const CreatePdfRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3321
3312
|
Schema.Struct({
|
|
3322
3313
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3323
3314
|
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
@@ -3406,7 +3397,7 @@ export const CreatePdfRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
3406
3397
|
|
|
3407
3398
|
export type CreatePdfResponse = unknown;
|
|
3408
3399
|
|
|
3409
|
-
export const CreatePdfResponse = /*@__PURE__*/
|
|
3400
|
+
export const CreatePdfResponse = /*@__PURE__*/ Schema.suspend(
|
|
3410
3401
|
() => Schema.Unknown,
|
|
3411
3402
|
) as unknown as Schema.Codec<CreatePdfResponse>;
|
|
3412
3403
|
|
|
@@ -3417,7 +3408,7 @@ export const createPdf: API.OperationMethod<
|
|
|
3417
3408
|
CreatePdfResponse,
|
|
3418
3409
|
CreatePdfError,
|
|
3419
3410
|
Credentials | HttpClient.HttpClient
|
|
3420
|
-
> = /*@__PURE__*/
|
|
3411
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3421
3412
|
input: CreatePdfRequest,
|
|
3422
3413
|
output: CreatePdfResponse,
|
|
3423
3414
|
errors: [],
|
|
@@ -3564,92 +3555,91 @@ export interface CreateScrapeRequest {
|
|
|
3564
3555
|
url?: string;
|
|
3565
3556
|
}
|
|
3566
3557
|
|
|
3567
|
-
export const CreateScrapeRequest = /*@__PURE__*/
|
|
3568
|
-
(
|
|
3569
|
-
Schema.
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
Schema.
|
|
3580
|
-
Schema.
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
"other",
|
|
3600
|
-
]),
|
|
3601
|
-
Schema.String,
|
|
3602
|
-
]),
|
|
3603
|
-
),
|
|
3604
|
-
),
|
|
3605
|
-
authenticate: Schema.optional(Authenticate),
|
|
3606
|
-
bestAttempt: Schema.optional(Schema.Boolean),
|
|
3607
|
-
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
3608
|
-
emulateMediaType: Schema.optional(Schema.String),
|
|
3609
|
-
gotoOptions: Schema.optional(GotoOptions),
|
|
3610
|
-
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
3611
|
-
rejectResourceTypes: Schema.optional(
|
|
3612
|
-
Schema.Array(
|
|
3613
|
-
Schema.Union([
|
|
3614
|
-
Schema.Literals([
|
|
3615
|
-
"document",
|
|
3616
|
-
"stylesheet",
|
|
3617
|
-
"image",
|
|
3618
|
-
"media",
|
|
3619
|
-
"font",
|
|
3620
|
-
"script",
|
|
3621
|
-
"texttrack",
|
|
3622
|
-
"xhr",
|
|
3623
|
-
"fetch",
|
|
3624
|
-
"prefetch",
|
|
3625
|
-
"eventsource",
|
|
3626
|
-
"websocket",
|
|
3627
|
-
"manifest",
|
|
3628
|
-
"signedexchange",
|
|
3629
|
-
"ping",
|
|
3630
|
-
"cspviolationreport",
|
|
3631
|
-
"preflight",
|
|
3632
|
-
"other",
|
|
3633
|
-
]),
|
|
3634
|
-
Schema.String,
|
|
3558
|
+
export const CreateScrapeRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3559
|
+
Schema.Struct({
|
|
3560
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3561
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
3562
|
+
elements: Schema.Array(Element),
|
|
3563
|
+
html: Schema.optional(Schema.String),
|
|
3564
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
3565
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
3566
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
3567
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
3568
|
+
allowResourceTypes: Schema.optional(
|
|
3569
|
+
Schema.Array(
|
|
3570
|
+
Schema.Union([
|
|
3571
|
+
Schema.Literals([
|
|
3572
|
+
"document",
|
|
3573
|
+
"stylesheet",
|
|
3574
|
+
"image",
|
|
3575
|
+
"media",
|
|
3576
|
+
"font",
|
|
3577
|
+
"script",
|
|
3578
|
+
"texttrack",
|
|
3579
|
+
"xhr",
|
|
3580
|
+
"fetch",
|
|
3581
|
+
"prefetch",
|
|
3582
|
+
"eventsource",
|
|
3583
|
+
"websocket",
|
|
3584
|
+
"manifest",
|
|
3585
|
+
"signedexchange",
|
|
3586
|
+
"ping",
|
|
3587
|
+
"cspviolationreport",
|
|
3588
|
+
"preflight",
|
|
3589
|
+
"other",
|
|
3635
3590
|
]),
|
|
3636
|
-
|
|
3591
|
+
Schema.String,
|
|
3592
|
+
]),
|
|
3637
3593
|
),
|
|
3638
|
-
|
|
3639
|
-
|
|
3594
|
+
),
|
|
3595
|
+
authenticate: Schema.optional(Authenticate),
|
|
3596
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
3597
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
3598
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
3599
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
3600
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
3601
|
+
rejectResourceTypes: Schema.optional(
|
|
3602
|
+
Schema.Array(
|
|
3603
|
+
Schema.Union([
|
|
3604
|
+
Schema.Literals([
|
|
3605
|
+
"document",
|
|
3606
|
+
"stylesheet",
|
|
3607
|
+
"image",
|
|
3608
|
+
"media",
|
|
3609
|
+
"font",
|
|
3610
|
+
"script",
|
|
3611
|
+
"texttrack",
|
|
3612
|
+
"xhr",
|
|
3613
|
+
"fetch",
|
|
3614
|
+
"prefetch",
|
|
3615
|
+
"eventsource",
|
|
3616
|
+
"websocket",
|
|
3617
|
+
"manifest",
|
|
3618
|
+
"signedexchange",
|
|
3619
|
+
"ping",
|
|
3620
|
+
"cspviolationreport",
|
|
3621
|
+
"preflight",
|
|
3622
|
+
"other",
|
|
3623
|
+
]),
|
|
3624
|
+
Schema.String,
|
|
3625
|
+
]),
|
|
3640
3626
|
),
|
|
3641
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
3642
|
-
userAgent: Schema.optional(Schema.String),
|
|
3643
|
-
viewport: Schema.optional(Viewport),
|
|
3644
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
3645
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
3646
|
-
url: Schema.optional(Schema.String),
|
|
3647
|
-
}).pipe(
|
|
3648
|
-
T.Http({
|
|
3649
|
-
method: "POST",
|
|
3650
|
-
path: "/accounts/{account_id}/browser-rendering/scrape",
|
|
3651
|
-
}),
|
|
3652
3627
|
),
|
|
3628
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
3629
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
3630
|
+
),
|
|
3631
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
3632
|
+
userAgent: Schema.optional(Schema.String),
|
|
3633
|
+
viewport: Schema.optional(Viewport),
|
|
3634
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
3635
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
3636
|
+
url: Schema.optional(Schema.String),
|
|
3637
|
+
}).pipe(
|
|
3638
|
+
T.Http({
|
|
3639
|
+
method: "POST",
|
|
3640
|
+
path: "/accounts/{account_id}/browser-rendering/scrape",
|
|
3641
|
+
}),
|
|
3642
|
+
),
|
|
3653
3643
|
) as unknown as Schema.Codec<CreateScrapeRequest>;
|
|
3654
3644
|
|
|
3655
3645
|
export type CreateScrapeResponse = {
|
|
@@ -3665,8 +3655,8 @@ export type CreateScrapeResponse = {
|
|
|
3665
3655
|
selector: string;
|
|
3666
3656
|
}[];
|
|
3667
3657
|
|
|
3668
|
-
export const CreateScrapeResponse = /*@__PURE__*/
|
|
3669
|
-
|
|
3658
|
+
export const CreateScrapeResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3659
|
+
Schema.Array(ScrapeCreateResponseItem).pipe(T.ResponsePath("result")),
|
|
3670
3660
|
) as unknown as Schema.Codec<CreateScrapeResponse>;
|
|
3671
3661
|
|
|
3672
3662
|
export type CreateScrapeError = DefaultErrors;
|
|
@@ -3676,7 +3666,7 @@ export const createScrape: API.OperationMethod<
|
|
|
3676
3666
|
CreateScrapeResponse,
|
|
3677
3667
|
CreateScrapeError,
|
|
3678
3668
|
Credentials | HttpClient.HttpClient
|
|
3679
|
-
> = /*@__PURE__*/
|
|
3669
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3680
3670
|
input: CreateScrapeRequest,
|
|
3681
3671
|
output: CreateScrapeResponse,
|
|
3682
3672
|
errors: [],
|
|
@@ -3844,7 +3834,7 @@ export interface CreateScreenshotRequest {
|
|
|
3844
3834
|
}
|
|
3845
3835
|
|
|
3846
3836
|
export const CreateScreenshotRequest =
|
|
3847
|
-
/*@__PURE__*/
|
|
3837
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3848
3838
|
Schema.Struct({
|
|
3849
3839
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3850
3840
|
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
@@ -3940,7 +3930,7 @@ export interface CreateScreenshotResponse {
|
|
|
3940
3930
|
}
|
|
3941
3931
|
|
|
3942
3932
|
export const CreateScreenshotResponse =
|
|
3943
|
-
/*@__PURE__*/
|
|
3933
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3944
3934
|
Schema.Struct({
|
|
3945
3935
|
success: Schema.Boolean,
|
|
3946
3936
|
errors: Schema.optional(
|
|
@@ -3956,7 +3946,7 @@ export const createScreenshot: API.OperationMethod<
|
|
|
3956
3946
|
CreateScreenshotResponse,
|
|
3957
3947
|
CreateScreenshotError,
|
|
3958
3948
|
Credentials | HttpClient.HttpClient
|
|
3959
|
-
> = /*@__PURE__*/
|
|
3949
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3960
3950
|
input: CreateScreenshotRequest,
|
|
3961
3951
|
output: CreateScreenshotResponse,
|
|
3962
3952
|
errors: [],
|
|
@@ -4126,105 +4116,104 @@ export interface CreateSnapshotRequest {
|
|
|
4126
4116
|
url?: string;
|
|
4127
4117
|
}
|
|
4128
4118
|
|
|
4129
|
-
export const CreateSnapshotRequest = /*@__PURE__*/
|
|
4130
|
-
(
|
|
4131
|
-
Schema.
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
Schema.
|
|
4141
|
-
Schema.
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
"other",
|
|
4161
|
-
]),
|
|
4162
|
-
Schema.String,
|
|
4119
|
+
export const CreateSnapshotRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4120
|
+
Schema.Struct({
|
|
4121
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4122
|
+
cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
|
|
4123
|
+
html: Schema.optional(Schema.String),
|
|
4124
|
+
actionTimeout: Schema.optional(Schema.Number),
|
|
4125
|
+
addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
|
|
4126
|
+
addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
|
|
4127
|
+
allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
4128
|
+
allowResourceTypes: Schema.optional(
|
|
4129
|
+
Schema.Array(
|
|
4130
|
+
Schema.Union([
|
|
4131
|
+
Schema.Literals([
|
|
4132
|
+
"document",
|
|
4133
|
+
"stylesheet",
|
|
4134
|
+
"image",
|
|
4135
|
+
"media",
|
|
4136
|
+
"font",
|
|
4137
|
+
"script",
|
|
4138
|
+
"texttrack",
|
|
4139
|
+
"xhr",
|
|
4140
|
+
"fetch",
|
|
4141
|
+
"prefetch",
|
|
4142
|
+
"eventsource",
|
|
4143
|
+
"websocket",
|
|
4144
|
+
"manifest",
|
|
4145
|
+
"signedexchange",
|
|
4146
|
+
"ping",
|
|
4147
|
+
"cspviolationreport",
|
|
4148
|
+
"preflight",
|
|
4149
|
+
"other",
|
|
4163
4150
|
]),
|
|
4164
|
-
|
|
4151
|
+
Schema.String,
|
|
4152
|
+
]),
|
|
4165
4153
|
),
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
Schema.String,
|
|
4154
|
+
),
|
|
4155
|
+
authenticate: Schema.optional(Authenticate),
|
|
4156
|
+
bestAttempt: Schema.optional(Schema.Boolean),
|
|
4157
|
+
cookies: Schema.optional(Schema.Array(Cookie)),
|
|
4158
|
+
emulateMediaType: Schema.optional(Schema.String),
|
|
4159
|
+
formats: Schema.optional(
|
|
4160
|
+
Schema.Array(
|
|
4161
|
+
Schema.Union([
|
|
4162
|
+
Schema.Literals([
|
|
4163
|
+
"content",
|
|
4164
|
+
"screenshot",
|
|
4165
|
+
"markdown",
|
|
4166
|
+
"accessibilityTree",
|
|
4180
4167
|
]),
|
|
4181
|
-
|
|
4168
|
+
Schema.String,
|
|
4169
|
+
]),
|
|
4182
4170
|
),
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
Schema.String,
|
|
4171
|
+
),
|
|
4172
|
+
gotoOptions: Schema.optional(GotoOptions),
|
|
4173
|
+
rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
|
|
4174
|
+
rejectResourceTypes: Schema.optional(
|
|
4175
|
+
Schema.Array(
|
|
4176
|
+
Schema.Union([
|
|
4177
|
+
Schema.Literals([
|
|
4178
|
+
"document",
|
|
4179
|
+
"stylesheet",
|
|
4180
|
+
"image",
|
|
4181
|
+
"media",
|
|
4182
|
+
"font",
|
|
4183
|
+
"script",
|
|
4184
|
+
"texttrack",
|
|
4185
|
+
"xhr",
|
|
4186
|
+
"fetch",
|
|
4187
|
+
"prefetch",
|
|
4188
|
+
"eventsource",
|
|
4189
|
+
"websocket",
|
|
4190
|
+
"manifest",
|
|
4191
|
+
"signedexchange",
|
|
4192
|
+
"ping",
|
|
4193
|
+
"cspviolationreport",
|
|
4194
|
+
"preflight",
|
|
4195
|
+
"other",
|
|
4209
4196
|
]),
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
screenshotOptions: Schema.optional(ScreenshotOptions2),
|
|
4213
|
-
setExtraHTTPHeaders: Schema.optional(
|
|
4214
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
4197
|
+
Schema.String,
|
|
4198
|
+
]),
|
|
4215
4199
|
),
|
|
4216
|
-
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
4217
|
-
userAgent: Schema.optional(Schema.String),
|
|
4218
|
-
viewport: Schema.optional(Viewport),
|
|
4219
|
-
waitForSelector: Schema.optional(WaitForSelector),
|
|
4220
|
-
waitForTimeout: Schema.optional(Schema.Number),
|
|
4221
|
-
url: Schema.optional(Schema.String),
|
|
4222
|
-
}).pipe(
|
|
4223
|
-
T.Http({
|
|
4224
|
-
method: "POST",
|
|
4225
|
-
path: "/accounts/{account_id}/browser-rendering/snapshot",
|
|
4226
|
-
}),
|
|
4227
4200
|
),
|
|
4201
|
+
screenshotOptions: Schema.optional(ScreenshotOptions2),
|
|
4202
|
+
setExtraHTTPHeaders: Schema.optional(
|
|
4203
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
4204
|
+
),
|
|
4205
|
+
setJavaScriptEnabled: Schema.optional(Schema.Boolean),
|
|
4206
|
+
userAgent: Schema.optional(Schema.String),
|
|
4207
|
+
viewport: Schema.optional(Viewport),
|
|
4208
|
+
waitForSelector: Schema.optional(WaitForSelector),
|
|
4209
|
+
waitForTimeout: Schema.optional(Schema.Number),
|
|
4210
|
+
url: Schema.optional(Schema.String),
|
|
4211
|
+
}).pipe(
|
|
4212
|
+
T.Http({
|
|
4213
|
+
method: "POST",
|
|
4214
|
+
path: "/accounts/{account_id}/browser-rendering/snapshot",
|
|
4215
|
+
}),
|
|
4216
|
+
),
|
|
4228
4217
|
) as unknown as Schema.Codec<CreateSnapshotRequest>;
|
|
4229
4218
|
|
|
4230
4219
|
export interface CreateSnapshotResponse {
|
|
@@ -4266,7 +4255,7 @@ export interface CreateSnapshotResponse {
|
|
|
4266
4255
|
}
|
|
4267
4256
|
|
|
4268
4257
|
export const CreateSnapshotResponse =
|
|
4269
|
-
/*@__PURE__*/
|
|
4258
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4270
4259
|
Schema.Struct({
|
|
4271
4260
|
accessibilityTree: Schema.optional(
|
|
4272
4261
|
Schema.Union([AccessibilityTree, Schema.Null]),
|
|
@@ -4284,7 +4273,7 @@ export const createSnapshot: API.OperationMethod<
|
|
|
4284
4273
|
CreateSnapshotResponse,
|
|
4285
4274
|
CreateSnapshotError,
|
|
4286
4275
|
Credentials | HttpClient.HttpClient
|
|
4287
|
-
> = /*@__PURE__*/
|
|
4276
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4288
4277
|
input: CreateSnapshotRequest,
|
|
4289
4278
|
output: CreateSnapshotResponse,
|
|
4290
4279
|
errors: [],
|