@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha
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/auth.d.ts +13 -0
- package/lib/auth.d.ts.map +1 -0
- package/lib/auth.js +12 -0
- package/lib/auth.js.map +1 -0
- package/lib/category.d.ts +2 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +2 -0
- package/lib/category.js.map +1 -0
- package/lib/client/api.d.ts +14 -0
- package/lib/client/api.d.ts.map +1 -0
- package/lib/client/api.js +197 -0
- package/lib/client/api.js.map +1 -0
- package/lib/client/index.d.ts +8 -0
- package/lib/client/index.d.ts.map +1 -0
- package/lib/client/index.js +8 -0
- package/lib/client/index.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +48 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +38 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/lib/retry.d.ts +14 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +14 -0
- package/lib/retry.js.map +1 -0
- package/lib/schemas.d.ts +29 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +34 -0
- package/lib/schemas.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +224 -0
- package/lib/services/abuse-reports.d.ts.map +1 -0
- package/lib/services/abuse-reports.js +353 -0
- package/lib/services/abuse-reports.js.map +1 -0
- package/lib/services/accounts.d.ts +682 -0
- package/lib/services/accounts.d.ts.map +1 -0
- package/lib/services/accounts.js +805 -0
- package/lib/services/accounts.js.map +1 -0
- package/lib/services/acm.d.ts +73 -0
- package/lib/services/acm.d.ts.map +1 -0
- package/lib/services/acm.js +76 -0
- package/lib/services/acm.js.map +1 -0
- package/lib/services/addressing.d.ts +1208 -0
- package/lib/services/addressing.d.ts.map +1 -0
- package/lib/services/addressing.js +1776 -0
- package/lib/services/addressing.js.map +1 -0
- package/lib/services/ai-gateway.d.ts +956 -0
- package/lib/services/ai-gateway.d.ts.map +1 -0
- package/lib/services/ai-gateway.js +1706 -0
- package/lib/services/ai-gateway.js.map +1 -0
- package/lib/services/ai.d.ts +243 -0
- package/lib/services/ai.d.ts.map +1 -0
- package/lib/services/ai.js +299 -0
- package/lib/services/ai.js.map +1 -0
- package/lib/services/aisearch.d.ts +915 -0
- package/lib/services/aisearch.d.ts.map +1 -0
- package/lib/services/aisearch.js +2425 -0
- package/lib/services/aisearch.js.map +1 -0
- package/lib/services/alerting.d.ts +718 -0
- package/lib/services/alerting.d.ts.map +1 -0
- package/lib/services/alerting.js +1388 -0
- package/lib/services/alerting.js.map +1 -0
- package/lib/services/api-gateway.d.ts +830 -0
- package/lib/services/api-gateway.d.ts.map +1 -0
- package/lib/services/api-gateway.js +1548 -0
- package/lib/services/api-gateway.js.map +1 -0
- package/lib/services/argo.d.ts +101 -0
- package/lib/services/argo.d.ts.map +1 -0
- package/lib/services/argo.js +105 -0
- package/lib/services/argo.js.map +1 -0
- package/lib/services/audit-logs.d.ts +46 -0
- package/lib/services/audit-logs.d.ts.map +1 -0
- package/lib/services/audit-logs.js +37 -0
- package/lib/services/audit-logs.js.map +1 -0
- package/lib/services/billing.d.ts +62 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +100 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/bot-management.d.ts +124 -0
- package/lib/services/bot-management.d.ts.map +1 -0
- package/lib/services/bot-management.js +262 -0
- package/lib/services/bot-management.js.map +1 -0
- package/lib/services/botnet-feed.d.ts +65 -0
- package/lib/services/botnet-feed.d.ts.map +1 -0
- package/lib/services/botnet-feed.js +84 -0
- package/lib/services/botnet-feed.js.map +1 -0
- package/lib/services/brand-protection.d.ts +188 -0
- package/lib/services/brand-protection.d.ts.map +1 -0
- package/lib/services/brand-protection.js +214 -0
- package/lib/services/brand-protection.js.map +1 -0
- package/lib/services/browser-rendering.d.ts +857 -0
- package/lib/services/browser-rendering.d.ts.map +1 -0
- package/lib/services/browser-rendering.js +1141 -0
- package/lib/services/browser-rendering.js.map +1 -0
- package/lib/services/cache.d.ts +287 -0
- package/lib/services/cache.d.ts.map +1 -0
- package/lib/services/cache.js +330 -0
- package/lib/services/cache.js.map +1 -0
- package/lib/services/calls.d.ts +202 -0
- package/lib/services/calls.d.ts.map +1 -0
- package/lib/services/calls.js +175 -0
- package/lib/services/calls.js.map +1 -0
- package/lib/services/certificate-authorities.d.ts +40 -0
- package/lib/services/certificate-authorities.d.ts.map +1 -0
- package/lib/services/certificate-authorities.js +49 -0
- package/lib/services/certificate-authorities.js.map +1 -0
- package/lib/services/client-certificates.d.ts +254 -0
- package/lib/services/client-certificates.d.ts.map +1 -0
- package/lib/services/client-certificates.js +350 -0
- package/lib/services/client-certificates.js.map +1 -0
- package/lib/services/cloud-connector.d.ts +59 -0
- package/lib/services/cloud-connector.d.ts.map +1 -0
- package/lib/services/cloud-connector.js +84 -0
- package/lib/services/cloud-connector.js.map +1 -0
- package/lib/services/cloudforce-one.d.ts +1318 -0
- package/lib/services/cloudforce-one.d.ts.map +1 -0
- package/lib/services/cloudforce-one.js +1684 -0
- package/lib/services/cloudforce-one.js.map +1 -0
- package/lib/services/connectivity.d.ts +248 -0
- package/lib/services/connectivity.d.ts.map +1 -0
- package/lib/services/connectivity.js +377 -0
- package/lib/services/connectivity.js.map +1 -0
- package/lib/services/content-scanning.d.ts +131 -0
- package/lib/services/content-scanning.d.ts.map +1 -0
- package/lib/services/content-scanning.js +156 -0
- package/lib/services/content-scanning.js.map +1 -0
- package/lib/services/custom-certificates.d.ts +211 -0
- package/lib/services/custom-certificates.d.ts.map +1 -0
- package/lib/services/custom-certificates.js +309 -0
- package/lib/services/custom-certificates.js.map +1 -0
- package/lib/services/custom-hostnames.d.ts +525 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -0
- package/lib/services/custom-hostnames.js +1164 -0
- package/lib/services/custom-hostnames.js.map +1 -0
- package/lib/services/custom-nameservers.d.ts +67 -0
- package/lib/services/custom-nameservers.d.ts.map +1 -0
- package/lib/services/custom-nameservers.js +80 -0
- package/lib/services/custom-nameservers.js.map +1 -0
- package/lib/services/custom-pages.d.ts +74 -0
- package/lib/services/custom-pages.d.ts.map +1 -0
- package/lib/services/custom-pages.js +125 -0
- package/lib/services/custom-pages.js.map +1 -0
- package/lib/services/d1.d.ts +326 -0
- package/lib/services/d1.d.ts.map +1 -0
- package/lib/services/d1.js +448 -0
- package/lib/services/d1.js.map +1 -0
- package/lib/services/dcv-delegation.d.ts +24 -0
- package/lib/services/dcv-delegation.d.ts.map +1 -0
- package/lib/services/dcv-delegation.js +24 -0
- package/lib/services/dcv-delegation.js.map +1 -0
- package/lib/services/diagnostics.d.ts +175 -0
- package/lib/services/diagnostics.d.ts.map +1 -0
- package/lib/services/diagnostics.js +273 -0
- package/lib/services/diagnostics.js.map +1 -0
- package/lib/services/dns-firewall.d.ts +288 -0
- package/lib/services/dns-firewall.d.ts.map +1 -0
- package/lib/services/dns-firewall.js +373 -0
- package/lib/services/dns-firewall.js.map +1 -0
- package/lib/services/dns.d.ts +2946 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +4511 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/durable-objects.d.ts +61 -0
- package/lib/services/durable-objects.d.ts.map +1 -0
- package/lib/services/durable-objects.js +66 -0
- package/lib/services/durable-objects.js.map +1 -0
- package/lib/services/email-routing.d.ts +542 -0
- package/lib/services/email-routing.d.ts.map +1 -0
- package/lib/services/email-routing.js +662 -0
- package/lib/services/email-routing.js.map +1 -0
- package/lib/services/email-security.d.ts +1131 -0
- package/lib/services/email-security.d.ts.map +1 -0
- package/lib/services/email-security.js +2065 -0
- package/lib/services/email-security.js.map +1 -0
- package/lib/services/filters.d.ts +157 -0
- package/lib/services/filters.d.ts.map +1 -0
- package/lib/services/filters.js +135 -0
- package/lib/services/filters.js.map +1 -0
- package/lib/services/firewall.d.ts +1080 -0
- package/lib/services/firewall.d.ts.map +1 -0
- package/lib/services/firewall.js +1881 -0
- package/lib/services/firewall.js.map +1 -0
- package/lib/services/healthchecks.d.ts +464 -0
- package/lib/services/healthchecks.d.ts.map +1 -0
- package/lib/services/healthchecks.js +838 -0
- package/lib/services/healthchecks.js.map +1 -0
- package/lib/services/hostnames.d.ts +74 -0
- package/lib/services/hostnames.d.ts.map +1 -0
- package/lib/services/hostnames.js +100 -0
- package/lib/services/hostnames.js.map +1 -0
- package/lib/services/hyperdrive.d.ts +203 -0
- package/lib/services/hyperdrive.d.ts.map +1 -0
- package/lib/services/hyperdrive.js +299 -0
- package/lib/services/hyperdrive.js.map +1 -0
- package/lib/services/iam.d.ts +554 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +743 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/images.d.ts +403 -0
- package/lib/services/images.d.ts.map +1 -0
- package/lib/services/images.js +417 -0
- package/lib/services/images.js.map +1 -0
- package/lib/services/intel.d.ts +768 -0
- package/lib/services/intel.d.ts.map +1 -0
- package/lib/services/intel.js +1179 -0
- package/lib/services/intel.js.map +1 -0
- package/lib/services/ips.d.ts +28 -0
- package/lib/services/ips.d.ts.map +1 -0
- package/lib/services/ips.js +39 -0
- package/lib/services/ips.js.map +1 -0
- package/lib/services/keyless-certificates.d.ts +177 -0
- package/lib/services/keyless-certificates.d.ts.map +1 -0
- package/lib/services/keyless-certificates.js +216 -0
- package/lib/services/keyless-certificates.js.map +1 -0
- package/lib/services/kv.d.ts +339 -0
- package/lib/services/kv.d.ts.map +1 -0
- package/lib/services/kv.js +402 -0
- package/lib/services/kv.js.map +1 -0
- package/lib/services/leaked-credential-checks.d.ts +119 -0
- package/lib/services/leaked-credential-checks.d.ts.map +1 -0
- package/lib/services/leaked-credential-checks.js +130 -0
- package/lib/services/leaked-credential-checks.js.map +1 -0
- package/lib/services/load-balancers.d.ts +1767 -0
- package/lib/services/load-balancers.d.ts.map +1 -0
- package/lib/services/load-balancers.js +3068 -0
- package/lib/services/load-balancers.js.map +1 -0
- package/lib/services/logpush.d.ts +401 -0
- package/lib/services/logpush.d.ts.map +1 -0
- package/lib/services/logpush.js +724 -0
- package/lib/services/logpush.js.map +1 -0
- package/lib/services/logs.d.ts +125 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +145 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/magic-cloud-networking.d.ts +1599 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -0
- package/lib/services/magic-cloud-networking.js +5205 -0
- package/lib/services/magic-cloud-networking.js.map +1 -0
- package/lib/services/magic-network-monitoring.d.ts +379 -0
- package/lib/services/magic-network-monitoring.d.ts.map +1 -0
- package/lib/services/magic-network-monitoring.js +535 -0
- package/lib/services/magic-network-monitoring.js.map +1 -0
- package/lib/services/magic-transit.d.ts +3650 -0
- package/lib/services/magic-transit.d.ts.map +1 -0
- package/lib/services/magic-transit.js +6120 -0
- package/lib/services/magic-transit.js.map +1 -0
- package/lib/services/managed-transforms.d.ts +79 -0
- package/lib/services/managed-transforms.d.ts.map +1 -0
- package/lib/services/managed-transforms.js +107 -0
- package/lib/services/managed-transforms.js.map +1 -0
- package/lib/services/memberships.d.ts +172 -0
- package/lib/services/memberships.d.ts.map +1 -0
- package/lib/services/memberships.js +282 -0
- package/lib/services/memberships.js.map +1 -0
- package/lib/services/mtls-certificates.d.ts +140 -0
- package/lib/services/mtls-certificates.d.ts.map +1 -0
- package/lib/services/mtls-certificates.js +173 -0
- package/lib/services/mtls-certificates.js.map +1 -0
- package/lib/services/network-interconnects.d.ts +410 -0
- package/lib/services/network-interconnects.d.ts.map +1 -0
- package/lib/services/network-interconnects.js +583 -0
- package/lib/services/network-interconnects.js.map +1 -0
- package/lib/services/organizations.d.ts +201 -0
- package/lib/services/organizations.d.ts.map +1 -0
- package/lib/services/organizations.js +355 -0
- package/lib/services/organizations.js.map +1 -0
- package/lib/services/origin-ca-certificates.d.ts +99 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -0
- package/lib/services/origin-ca-certificates.js +156 -0
- package/lib/services/origin-ca-certificates.js.map +1 -0
- package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
- package/lib/services/origin-post-quantum-encryption.js +60 -0
- package/lib/services/origin-post-quantum-encryption.js.map +1 -0
- package/lib/services/origin-tls-client-auth.d.ts +273 -0
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
- package/lib/services/origin-tls-client-auth.js +401 -0
- package/lib/services/origin-tls-client-auth.js.map +1 -0
- package/lib/services/page-rules.d.ts +773 -0
- package/lib/services/page-rules.d.ts.map +1 -0
- package/lib/services/page-rules.js +1365 -0
- package/lib/services/page-rules.js.map +1 -0
- package/lib/services/page-shield.d.ts +426 -0
- package/lib/services/page-shield.d.ts.map +1 -0
- package/lib/services/page-shield.js +484 -0
- package/lib/services/page-shield.js.map +1 -0
- package/lib/services/pages.d.ts +1654 -0
- package/lib/services/pages.d.ts.map +1 -0
- package/lib/services/pages.js +2954 -0
- package/lib/services/pages.js.map +1 -0
- package/lib/services/pipelines.d.ts +1461 -0
- package/lib/services/pipelines.d.ts.map +1 -0
- package/lib/services/pipelines.js +2912 -0
- package/lib/services/pipelines.js.map +1 -0
- package/lib/services/queues.d.ts +807 -0
- package/lib/services/queues.d.ts.map +1 -0
- package/lib/services/queues.js +1194 -0
- package/lib/services/queues.js.map +1 -0
- package/lib/services/r2-data-catalog.d.ts +341 -0
- package/lib/services/r2-data-catalog.d.ts.map +1 -0
- package/lib/services/r2-data-catalog.js +499 -0
- package/lib/services/r2-data-catalog.js.map +1 -0
- package/lib/services/r2.d.ts +1041 -0
- package/lib/services/r2.d.ts.map +1 -0
- package/lib/services/r2.js +1384 -0
- package/lib/services/r2.js.map +1 -0
- package/lib/services/radar.d.ts +9276 -0
- package/lib/services/radar.d.ts.map +1 -0
- package/lib/services/radar.js +20491 -0
- package/lib/services/radar.js.map +1 -0
- package/lib/services/rate-limits.d.ts +315 -0
- package/lib/services/rate-limits.d.ts.map +1 -0
- package/lib/services/rate-limits.js +521 -0
- package/lib/services/rate-limits.js.map +1 -0
- package/lib/services/realtime-kit.d.ts +2728 -0
- package/lib/services/realtime-kit.d.ts.map +1 -0
- package/lib/services/realtime-kit.js +5401 -0
- package/lib/services/realtime-kit.js.map +1 -0
- package/lib/services/registrar.d.ts +81 -0
- package/lib/services/registrar.d.ts.map +1 -0
- package/lib/services/registrar.js +154 -0
- package/lib/services/registrar.js.map +1 -0
- package/lib/services/request-tracers.d.ts +61 -0
- package/lib/services/request-tracers.d.ts.map +1 -0
- package/lib/services/request-tracers.js +82 -0
- package/lib/services/request-tracers.js.map +1 -0
- package/lib/services/resource-sharing.d.ts +540 -0
- package/lib/services/resource-sharing.d.ts.map +1 -0
- package/lib/services/resource-sharing.js +846 -0
- package/lib/services/resource-sharing.js.map +1 -0
- package/lib/services/rules.d.ts +297 -0
- package/lib/services/rules.d.ts.map +1 -0
- package/lib/services/rules.js +396 -0
- package/lib/services/rules.js.map +1 -0
- package/lib/services/rulesets.d.ts +3300 -0
- package/lib/services/rulesets.d.ts.map +1 -0
- package/lib/services/rulesets.js +7852 -0
- package/lib/services/rulesets.js.map +1 -0
- package/lib/services/rum.d.ts +289 -0
- package/lib/services/rum.d.ts.map +1 -0
- package/lib/services/rum.js +409 -0
- package/lib/services/rum.js.map +1 -0
- package/lib/services/schema-validation.d.ts +240 -0
- package/lib/services/schema-validation.d.ts.map +1 -0
- package/lib/services/schema-validation.js +306 -0
- package/lib/services/schema-validation.js.map +1 -0
- package/lib/services/secrets-store.d.ts +321 -0
- package/lib/services/secrets-store.d.ts.map +1 -0
- package/lib/services/secrets-store.js +385 -0
- package/lib/services/secrets-store.js.map +1 -0
- package/lib/services/security-center.d.ts +102 -0
- package/lib/services/security-center.d.ts.map +1 -0
- package/lib/services/security-center.js +170 -0
- package/lib/services/security-center.js.map +1 -0
- package/lib/services/security-txt.d.ts +105 -0
- package/lib/services/security-txt.d.ts.map +1 -0
- package/lib/services/security-txt.js +136 -0
- package/lib/services/security-txt.js.map +1 -0
- package/lib/services/snippets.d.ts +138 -0
- package/lib/services/snippets.d.ts.map +1 -0
- package/lib/services/snippets.js +178 -0
- package/lib/services/snippets.js.map +1 -0
- package/lib/services/spectrum.d.ts +316 -0
- package/lib/services/spectrum.d.ts.map +1 -0
- package/lib/services/spectrum.js +510 -0
- package/lib/services/spectrum.js.map +1 -0
- package/lib/services/speed.d.ts +227 -0
- package/lib/services/speed.d.ts.map +1 -0
- package/lib/services/speed.js +444 -0
- package/lib/services/speed.js.map +1 -0
- package/lib/services/ssl.d.ts +370 -0
- package/lib/services/ssl.d.ts.map +1 -0
- package/lib/services/ssl.js +732 -0
- package/lib/services/ssl.js.map +1 -0
- package/lib/services/stream.d.ts +1014 -0
- package/lib/services/stream.d.ts.map +1 -0
- package/lib/services/stream.js +1049 -0
- package/lib/services/stream.js.map +1 -0
- package/lib/services/token-validation.d.ts +547 -0
- package/lib/services/token-validation.d.ts.map +1 -0
- package/lib/services/token-validation.js +768 -0
- package/lib/services/token-validation.js.map +1 -0
- package/lib/services/turnstile.d.ts +248 -0
- package/lib/services/turnstile.d.ts.map +1 -0
- package/lib/services/turnstile.js +308 -0
- package/lib/services/turnstile.js.map +1 -0
- package/lib/services/url-normalization.d.ts +53 -0
- package/lib/services/url-normalization.d.ts.map +1 -0
- package/lib/services/url-normalization.js +52 -0
- package/lib/services/url-normalization.js.map +1 -0
- package/lib/services/url-scanner.d.ts +612 -0
- package/lib/services/url-scanner.d.ts.map +1 -0
- package/lib/services/url-scanner.js +915 -0
- package/lib/services/url-scanner.js.map +1 -0
- package/lib/services/user.d.ts +441 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +567 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vectorize.d.ts +282 -0
- package/lib/services/vectorize.d.ts.map +1 -0
- package/lib/services/vectorize.js +340 -0
- package/lib/services/vectorize.js.map +1 -0
- package/lib/services/waiting-rooms.d.ts +1009 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -0
- package/lib/services/waiting-rooms.js +1757 -0
- package/lib/services/waiting-rooms.js.map +1 -0
- package/lib/services/web3.d.ts +274 -0
- package/lib/services/web3.d.ts.map +1 -0
- package/lib/services/web3.js +362 -0
- package/lib/services/web3.js.map +1 -0
- package/lib/services/workers-for-platforms.d.ts +1224 -0
- package/lib/services/workers-for-platforms.d.ts.map +1 -0
- package/lib/services/workers-for-platforms.js +2078 -0
- package/lib/services/workers-for-platforms.js.map +1 -0
- package/lib/services/workers.d.ts +3498 -0
- package/lib/services/workers.d.ts.map +1 -0
- package/lib/services/workers.js +5967 -0
- package/lib/services/workers.js.map +1 -0
- package/lib/services/workflows.d.ts +359 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +516 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/services/zaraz.d.ts +300 -0
- package/lib/services/zaraz.d.ts.map +1 -0
- package/lib/services/zaraz.js +298 -0
- package/lib/services/zaraz.js.map +1 -0
- package/lib/services/zero-trust.d.ts +15449 -0
- package/lib/services/zero-trust.d.ts.map +1 -0
- package/lib/services/zero-trust.js +29194 -0
- package/lib/services/zero-trust.js.map +1 -0
- package/lib/services/zones.d.ts +1278 -0
- package/lib/services/zones.d.ts.map +1 -0
- package/lib/services/zones.js +2416 -0
- package/lib/services/zones.js.map +1 -0
- package/lib/traits.d.ts +28 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +26 -0
- package/lib/traits.js.map +1 -0
- package/package.json +67 -5
- package/src/auth.ts +14 -0
- package/src/category.ts +1 -0
- package/src/client/api.ts +269 -0
- package/src/client/index.ts +7 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +65 -0
- package/src/index.ts +9 -0
- package/src/retry.ts +35 -0
- package/src/schemas.ts +51 -0
- package/src/services/abuse-reports.ts +747 -0
- package/src/services/accounts.ts +1947 -0
- package/src/services/acm.ts +170 -0
- package/src/services/addressing.ts +3947 -0
- package/src/services/ai-gateway.ts +3335 -0
- package/src/services/ai.ts +727 -0
- package/src/services/aisearch.ts +4750 -0
- package/src/services/alerting.ts +2947 -0
- package/src/services/api-gateway.ts +3391 -0
- package/src/services/argo.ts +254 -0
- package/src/services/audit-logs.ts +90 -0
- package/src/services/billing.ts +172 -0
- package/src/services/bot-management.ts +541 -0
- package/src/services/botnet-feed.ts +193 -0
- package/src/services/brand-protection.ts +553 -0
- package/src/services/browser-rendering.ts +2707 -0
- package/src/services/cache.ts +827 -0
- package/src/services/calls.ts +483 -0
- package/src/services/certificate-authorities.ts +110 -0
- package/src/services/client-certificates.ts +718 -0
- package/src/services/cloud-connector.ts +181 -0
- package/src/services/cloudforce-one.ts +3876 -0
- package/src/services/connectivity.ts +629 -0
- package/src/services/content-scanning.ts +385 -0
- package/src/services/custom-certificates.ts +611 -0
- package/src/services/custom-hostnames.ts +2453 -0
- package/src/services/custom-nameservers.ts +182 -0
- package/src/services/custom-pages.ts +264 -0
- package/src/services/d1.ts +1034 -0
- package/src/services/dcv-delegation.ts +52 -0
- package/src/services/diagnostics.ts +603 -0
- package/src/services/dns-firewall.ts +823 -0
- package/src/services/dns.ts +8897 -0
- package/src/services/durable-objects.ts +148 -0
- package/src/services/email-routing.ts +1602 -0
- package/src/services/email-security.ts +4283 -0
- package/src/services/filters.ts +370 -0
- package/src/services/firewall.ts +3896 -0
- package/src/services/healthchecks.ts +1750 -0
- package/src/services/hostnames.ts +218 -0
- package/src/services/hyperdrive.ts +592 -0
- package/src/services/iam.ts +1668 -0
- package/src/services/images.ts +1086 -0
- package/src/services/intel.ts +2768 -0
- package/src/services/ips.ts +88 -0
- package/src/services/keyless-certificates.ts +462 -0
- package/src/services/kv.ts +1011 -0
- package/src/services/leaked-credential-checks.ts +325 -0
- package/src/services/load-balancers.ts +6438 -0
- package/src/services/logpush.ts +1667 -0
- package/src/services/logs.ts +375 -0
- package/src/services/magic-cloud-networking.ts +10020 -0
- package/src/services/magic-network-monitoring.ts +1156 -0
- package/src/services/magic-transit.ts +13050 -0
- package/src/services/managed-transforms.ts +237 -0
- package/src/services/memberships.ts +615 -0
- package/src/services/mtls-certificates.ts +374 -0
- package/src/services/network-interconnects.ts +1253 -0
- package/src/services/organizations.ts +674 -0
- package/src/services/origin-ca-certificates.ts +303 -0
- package/src/services/origin-post-quantum-encryption.ts +128 -0
- package/src/services/origin-tls-client-auth.ts +878 -0
- package/src/services/page-rules.ts +2612 -0
- package/src/services/page-shield.ts +1195 -0
- package/src/services/pages.ts +5709 -0
- package/src/services/pipelines.ts +6000 -0
- package/src/services/queues.ts +2629 -0
- package/src/services/r2-data-catalog.ts +1119 -0
- package/src/services/r2.ts +3348 -0
- package/src/services/radar.ts +42152 -0
- package/src/services/rate-limits.ts +1150 -0
- package/src/services/realtime-kit.ts +11079 -0
- package/src/services/registrar.ts +295 -0
- package/src/services/request-tracers.ts +158 -0
- package/src/services/resource-sharing.ts +1832 -0
- package/src/services/rules.ts +837 -0
- package/src/services/rulesets.ts +15144 -0
- package/src/services/rum.ts +901 -0
- package/src/services/schema-validation.ts +733 -0
- package/src/services/secrets-store.ts +860 -0
- package/src/services/security-center.ts +397 -0
- package/src/services/security-txt.ts +315 -0
- package/src/services/snippets.ts +420 -0
- package/src/services/spectrum.ts +1103 -0
- package/src/services/speed.ts +1056 -0
- package/src/services/ssl.ts +1587 -0
- package/src/services/stream.ts +2756 -0
- package/src/services/token-validation.ts +1585 -0
- package/src/services/turnstile.ts +643 -0
- package/src/services/url-normalization.ts +129 -0
- package/src/services/url-scanner.ts +1851 -0
- package/src/services/user.ts +1384 -0
- package/src/services/vectorize.ts +816 -0
- package/src/services/waiting-rooms.ts +3807 -0
- package/src/services/web3.ts +834 -0
- package/src/services/workers-for-platforms.ts +3859 -0
- package/src/services/workers.ts +11637 -0
- package/src/services/workflows.ts +1124 -0
- package/src/services/zaraz.ts +797 -0
- package/src/services/zero-trust.ts +58933 -0
- package/src/services/zones.ts +4875 -0
- package/src/traits.ts +47 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,1461 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare PIPELINES API
|
|
3
|
+
*
|
|
4
|
+
* Generated from Cloudflare TypeScript SDK.
|
|
5
|
+
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service pipelines
|
|
6
|
+
*/
|
|
7
|
+
import * as Schema from "effect/Schema";
|
|
8
|
+
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
9
|
+
import * as API from "../client/api.ts";
|
|
10
|
+
import type { Credentials } from "../credentials";
|
|
11
|
+
import { type DefaultErrors } from "../errors";
|
|
12
|
+
declare const InvalidSinkId_base: Schema.ErrorClass<InvalidSinkId, Schema.TaggedStruct<"InvalidSinkId", {
|
|
13
|
+
readonly code: Schema.Number;
|
|
14
|
+
readonly message: Schema.String;
|
|
15
|
+
}>, import("effect/Cause").YieldableError>;
|
|
16
|
+
export declare class InvalidSinkId extends InvalidSinkId_base {
|
|
17
|
+
}
|
|
18
|
+
declare const InvalidStreamId_base: Schema.ErrorClass<InvalidStreamId, Schema.TaggedStruct<"InvalidStreamId", {
|
|
19
|
+
readonly code: Schema.Number;
|
|
20
|
+
readonly message: Schema.String;
|
|
21
|
+
}>, import("effect/Cause").YieldableError>;
|
|
22
|
+
export declare class InvalidStreamId extends InvalidStreamId_base {
|
|
23
|
+
}
|
|
24
|
+
declare const InvalidStreamName_base: Schema.ErrorClass<InvalidStreamName, Schema.TaggedStruct<"InvalidStreamName", {
|
|
25
|
+
readonly code: Schema.Number;
|
|
26
|
+
readonly message: Schema.String;
|
|
27
|
+
}>, import("effect/Cause").YieldableError>;
|
|
28
|
+
export declare class InvalidStreamName extends InvalidStreamName_base {
|
|
29
|
+
}
|
|
30
|
+
declare const PipelineNotExists_base: Schema.ErrorClass<PipelineNotExists, Schema.TaggedStruct<"PipelineNotExists", {
|
|
31
|
+
readonly code: Schema.Number;
|
|
32
|
+
readonly message: Schema.String;
|
|
33
|
+
}>, import("effect/Cause").YieldableError>;
|
|
34
|
+
export declare class PipelineNotExists extends PipelineNotExists_base {
|
|
35
|
+
}
|
|
36
|
+
declare const SinkNotFound_base: Schema.ErrorClass<SinkNotFound, Schema.TaggedStruct<"SinkNotFound", {
|
|
37
|
+
readonly code: Schema.Number;
|
|
38
|
+
readonly message: Schema.String;
|
|
39
|
+
}>, import("effect/Cause").YieldableError>;
|
|
40
|
+
export declare class SinkNotFound extends SinkNotFound_base {
|
|
41
|
+
}
|
|
42
|
+
declare const StreamAlreadyExists_base: Schema.ErrorClass<StreamAlreadyExists, Schema.TaggedStruct<"StreamAlreadyExists", {
|
|
43
|
+
readonly code: Schema.Number;
|
|
44
|
+
readonly message: Schema.String;
|
|
45
|
+
}>, import("effect/Cause").YieldableError>;
|
|
46
|
+
export declare class StreamAlreadyExists extends StreamAlreadyExists_base {
|
|
47
|
+
}
|
|
48
|
+
declare const StreamNotFound_base: Schema.ErrorClass<StreamNotFound, Schema.TaggedStruct<"StreamNotFound", {
|
|
49
|
+
readonly code: Schema.Number;
|
|
50
|
+
readonly message: Schema.String;
|
|
51
|
+
}>, import("effect/Cause").YieldableError>;
|
|
52
|
+
export declare class StreamNotFound extends StreamNotFound_base {
|
|
53
|
+
}
|
|
54
|
+
declare const TableNotFound_base: Schema.ErrorClass<TableNotFound, Schema.TaggedStruct<"TableNotFound", {
|
|
55
|
+
readonly code: Schema.Number;
|
|
56
|
+
readonly message: Schema.String;
|
|
57
|
+
}>, import("effect/Cause").YieldableError>;
|
|
58
|
+
export declare class TableNotFound extends TableNotFound_base {
|
|
59
|
+
}
|
|
60
|
+
export interface GetPipelineRequest {
|
|
61
|
+
pipelineName: string;
|
|
62
|
+
/** Specifies the public ID of the account. */
|
|
63
|
+
accountId: string;
|
|
64
|
+
}
|
|
65
|
+
export declare const GetPipelineRequest: Schema.Schema<GetPipelineRequest>;
|
|
66
|
+
export interface GetPipelineResponse {
|
|
67
|
+
/** Specifies the pipeline identifier. */
|
|
68
|
+
id: string;
|
|
69
|
+
destination: {
|
|
70
|
+
batch: {
|
|
71
|
+
maxBytes?: number | null;
|
|
72
|
+
maxDurationS?: number | null;
|
|
73
|
+
maxRows?: number | null;
|
|
74
|
+
};
|
|
75
|
+
compression: {
|
|
76
|
+
type?: "none" | "gzip" | "deflate" | null;
|
|
77
|
+
};
|
|
78
|
+
format: "json";
|
|
79
|
+
path: {
|
|
80
|
+
bucket: string;
|
|
81
|
+
filename?: string | null;
|
|
82
|
+
filepath?: string | null;
|
|
83
|
+
prefix?: string | null;
|
|
84
|
+
};
|
|
85
|
+
type: "r2";
|
|
86
|
+
};
|
|
87
|
+
/** Indicates the endpoint URL to send traffic. */
|
|
88
|
+
endpoint: string;
|
|
89
|
+
/** Defines the name of the pipeline. */
|
|
90
|
+
name: string;
|
|
91
|
+
source: ({
|
|
92
|
+
format: "json";
|
|
93
|
+
type: string;
|
|
94
|
+
authentication?: boolean | null;
|
|
95
|
+
cors?: {
|
|
96
|
+
origins?: string[] | null;
|
|
97
|
+
} | null;
|
|
98
|
+
} | {
|
|
99
|
+
format: "json";
|
|
100
|
+
type: string;
|
|
101
|
+
})[];
|
|
102
|
+
/** Indicates the version number of last saved configuration. */
|
|
103
|
+
version: number;
|
|
104
|
+
}
|
|
105
|
+
export declare const GetPipelineResponse: Schema.Schema<GetPipelineResponse>;
|
|
106
|
+
export type GetPipelineError = DefaultErrors | PipelineNotExists;
|
|
107
|
+
export declare const getPipeline: API.OperationMethod<GetPipelineRequest, GetPipelineResponse, GetPipelineError, Credentials | HttpClient.HttpClient>;
|
|
108
|
+
export interface ListPipelinesRequest {
|
|
109
|
+
/** Path param: Specifies the public ID of the account. */
|
|
110
|
+
accountId: string;
|
|
111
|
+
/** Query param: Specifies which page to retrieve. */
|
|
112
|
+
page?: string;
|
|
113
|
+
/** Query param: Specifies the number of pipelines per page. */
|
|
114
|
+
perPage?: string;
|
|
115
|
+
/** Query param: Specifies the prefix of pipeline name to search. */
|
|
116
|
+
search?: string;
|
|
117
|
+
}
|
|
118
|
+
export declare const ListPipelinesRequest: Schema.Schema<ListPipelinesRequest>;
|
|
119
|
+
export type ListPipelinesResponse = {
|
|
120
|
+
resultInfo?: {
|
|
121
|
+
count: number;
|
|
122
|
+
page: number;
|
|
123
|
+
perPage: number;
|
|
124
|
+
totalCount: number;
|
|
125
|
+
} | null;
|
|
126
|
+
results?: {
|
|
127
|
+
id: string;
|
|
128
|
+
destination: {
|
|
129
|
+
batch: {
|
|
130
|
+
maxBytes?: number | null;
|
|
131
|
+
maxDurationS?: number | null;
|
|
132
|
+
maxRows?: number | null;
|
|
133
|
+
};
|
|
134
|
+
compression: {
|
|
135
|
+
type?: "none" | "gzip" | "deflate" | null;
|
|
136
|
+
};
|
|
137
|
+
format: "json";
|
|
138
|
+
path: {
|
|
139
|
+
bucket: string;
|
|
140
|
+
filename?: string | null;
|
|
141
|
+
filepath?: string | null;
|
|
142
|
+
prefix?: string | null;
|
|
143
|
+
};
|
|
144
|
+
type: "r2";
|
|
145
|
+
};
|
|
146
|
+
endpoint: string;
|
|
147
|
+
name: string;
|
|
148
|
+
source: ({
|
|
149
|
+
format: "json";
|
|
150
|
+
type: string;
|
|
151
|
+
authentication?: boolean | null;
|
|
152
|
+
cors?: {
|
|
153
|
+
origins?: string[] | null;
|
|
154
|
+
} | null;
|
|
155
|
+
} | {
|
|
156
|
+
format: "json";
|
|
157
|
+
type: string;
|
|
158
|
+
})[];
|
|
159
|
+
version: number;
|
|
160
|
+
}[] | null;
|
|
161
|
+
success?: boolean | null;
|
|
162
|
+
}[];
|
|
163
|
+
export declare const ListPipelinesResponse: Schema.Schema<ListPipelinesResponse>;
|
|
164
|
+
export type ListPipelinesError = DefaultErrors;
|
|
165
|
+
export declare const listPipelines: API.OperationMethod<ListPipelinesRequest, ListPipelinesResponse, ListPipelinesError, Credentials | HttpClient.HttpClient>;
|
|
166
|
+
export interface CreatePipelineRequest {
|
|
167
|
+
/** Path param: Specifies the public ID of the account. */
|
|
168
|
+
accountId: string;
|
|
169
|
+
/** Body param: */
|
|
170
|
+
destination: {
|
|
171
|
+
batch: {
|
|
172
|
+
maxBytes?: number;
|
|
173
|
+
maxDurationS?: number;
|
|
174
|
+
maxRows?: number;
|
|
175
|
+
};
|
|
176
|
+
compression: {
|
|
177
|
+
type?: "none" | "gzip" | "deflate";
|
|
178
|
+
};
|
|
179
|
+
credentials: {
|
|
180
|
+
accessKeyId: string;
|
|
181
|
+
endpoint: string;
|
|
182
|
+
secretAccessKey: string;
|
|
183
|
+
};
|
|
184
|
+
format: "json";
|
|
185
|
+
path: {
|
|
186
|
+
bucket: string;
|
|
187
|
+
filename?: string;
|
|
188
|
+
filepath?: string;
|
|
189
|
+
prefix?: string;
|
|
190
|
+
};
|
|
191
|
+
type: "r2";
|
|
192
|
+
};
|
|
193
|
+
/** Body param: Defines the name of the pipeline. */
|
|
194
|
+
name: string;
|
|
195
|
+
/** Body param: */
|
|
196
|
+
source: ({
|
|
197
|
+
format: "json";
|
|
198
|
+
type: string;
|
|
199
|
+
authentication?: boolean;
|
|
200
|
+
cors?: {
|
|
201
|
+
origins?: string[];
|
|
202
|
+
};
|
|
203
|
+
} | {
|
|
204
|
+
format: "json";
|
|
205
|
+
type: string;
|
|
206
|
+
})[];
|
|
207
|
+
}
|
|
208
|
+
export declare const CreatePipelineRequest: Schema.Schema<CreatePipelineRequest>;
|
|
209
|
+
export interface CreatePipelineResponse {
|
|
210
|
+
/** Specifies the pipeline identifier. */
|
|
211
|
+
id: string;
|
|
212
|
+
destination: {
|
|
213
|
+
batch: {
|
|
214
|
+
maxBytes?: number | null;
|
|
215
|
+
maxDurationS?: number | null;
|
|
216
|
+
maxRows?: number | null;
|
|
217
|
+
};
|
|
218
|
+
compression: {
|
|
219
|
+
type?: "none" | "gzip" | "deflate" | null;
|
|
220
|
+
};
|
|
221
|
+
format: "json";
|
|
222
|
+
path: {
|
|
223
|
+
bucket: string;
|
|
224
|
+
filename?: string | null;
|
|
225
|
+
filepath?: string | null;
|
|
226
|
+
prefix?: string | null;
|
|
227
|
+
};
|
|
228
|
+
type: "r2";
|
|
229
|
+
};
|
|
230
|
+
/** Indicates the endpoint URL to send traffic. */
|
|
231
|
+
endpoint: string;
|
|
232
|
+
/** Defines the name of the pipeline. */
|
|
233
|
+
name: string;
|
|
234
|
+
source: ({
|
|
235
|
+
format: "json";
|
|
236
|
+
type: string;
|
|
237
|
+
authentication?: boolean | null;
|
|
238
|
+
cors?: {
|
|
239
|
+
origins?: string[] | null;
|
|
240
|
+
} | null;
|
|
241
|
+
} | {
|
|
242
|
+
format: "json";
|
|
243
|
+
type: string;
|
|
244
|
+
})[];
|
|
245
|
+
/** Indicates the version number of last saved configuration. */
|
|
246
|
+
version: number;
|
|
247
|
+
}
|
|
248
|
+
export declare const CreatePipelineResponse: Schema.Schema<CreatePipelineResponse>;
|
|
249
|
+
export type CreatePipelineError = DefaultErrors;
|
|
250
|
+
export declare const createPipeline: API.OperationMethod<CreatePipelineRequest, CreatePipelineResponse, CreatePipelineError, Credentials | HttpClient.HttpClient>;
|
|
251
|
+
export interface UpdatePipelineRequest {
|
|
252
|
+
pipelineName: string;
|
|
253
|
+
/** Path param: Specifies the public ID of the account. */
|
|
254
|
+
accountId: string;
|
|
255
|
+
/** Body param: */
|
|
256
|
+
destination: {
|
|
257
|
+
batch: {
|
|
258
|
+
maxBytes?: number;
|
|
259
|
+
maxDurationS?: number;
|
|
260
|
+
maxRows?: number;
|
|
261
|
+
};
|
|
262
|
+
compression: {
|
|
263
|
+
type?: "none" | "gzip" | "deflate";
|
|
264
|
+
};
|
|
265
|
+
format: "json";
|
|
266
|
+
path: {
|
|
267
|
+
bucket: string;
|
|
268
|
+
filename?: string;
|
|
269
|
+
filepath?: string;
|
|
270
|
+
prefix?: string;
|
|
271
|
+
};
|
|
272
|
+
type: "r2";
|
|
273
|
+
credentials?: {
|
|
274
|
+
accessKeyId: string;
|
|
275
|
+
endpoint: string;
|
|
276
|
+
secretAccessKey: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
/** Body param: Defines the name of the pipeline. */
|
|
280
|
+
name: string;
|
|
281
|
+
/** Body param: */
|
|
282
|
+
source: ({
|
|
283
|
+
format: "json";
|
|
284
|
+
type: string;
|
|
285
|
+
authentication?: boolean;
|
|
286
|
+
cors?: {
|
|
287
|
+
origins?: string[];
|
|
288
|
+
};
|
|
289
|
+
} | {
|
|
290
|
+
format: "json";
|
|
291
|
+
type: string;
|
|
292
|
+
})[];
|
|
293
|
+
}
|
|
294
|
+
export declare const UpdatePipelineRequest: Schema.Schema<UpdatePipelineRequest>;
|
|
295
|
+
export interface UpdatePipelineResponse {
|
|
296
|
+
/** Specifies the pipeline identifier. */
|
|
297
|
+
id: string;
|
|
298
|
+
destination: {
|
|
299
|
+
batch: {
|
|
300
|
+
maxBytes?: number | null;
|
|
301
|
+
maxDurationS?: number | null;
|
|
302
|
+
maxRows?: number | null;
|
|
303
|
+
};
|
|
304
|
+
compression: {
|
|
305
|
+
type?: "none" | "gzip" | "deflate" | null;
|
|
306
|
+
};
|
|
307
|
+
format: "json";
|
|
308
|
+
path: {
|
|
309
|
+
bucket: string;
|
|
310
|
+
filename?: string | null;
|
|
311
|
+
filepath?: string | null;
|
|
312
|
+
prefix?: string | null;
|
|
313
|
+
};
|
|
314
|
+
type: "r2";
|
|
315
|
+
};
|
|
316
|
+
/** Indicates the endpoint URL to send traffic. */
|
|
317
|
+
endpoint: string;
|
|
318
|
+
/** Defines the name of the pipeline. */
|
|
319
|
+
name: string;
|
|
320
|
+
source: ({
|
|
321
|
+
format: "json";
|
|
322
|
+
type: string;
|
|
323
|
+
authentication?: boolean | null;
|
|
324
|
+
cors?: {
|
|
325
|
+
origins?: string[] | null;
|
|
326
|
+
} | null;
|
|
327
|
+
} | {
|
|
328
|
+
format: "json";
|
|
329
|
+
type: string;
|
|
330
|
+
})[];
|
|
331
|
+
/** Indicates the version number of last saved configuration. */
|
|
332
|
+
version: number;
|
|
333
|
+
}
|
|
334
|
+
export declare const UpdatePipelineResponse: Schema.Schema<UpdatePipelineResponse>;
|
|
335
|
+
export type UpdatePipelineError = DefaultErrors | PipelineNotExists;
|
|
336
|
+
export declare const updatePipeline: API.OperationMethod<UpdatePipelineRequest, UpdatePipelineResponse, UpdatePipelineError, Credentials | HttpClient.HttpClient>;
|
|
337
|
+
export interface DeletePipelineRequest {
|
|
338
|
+
pipelineName: string;
|
|
339
|
+
/** Specifies the public ID of the account. */
|
|
340
|
+
accountId: string;
|
|
341
|
+
}
|
|
342
|
+
export declare const DeletePipelineRequest: Schema.Schema<DeletePipelineRequest>;
|
|
343
|
+
export type DeletePipelineResponse = unknown;
|
|
344
|
+
export declare const DeletePipelineResponse: Schema.Schema<unknown>;
|
|
345
|
+
export type DeletePipelineError = DefaultErrors | PipelineNotExists;
|
|
346
|
+
export declare const deletePipeline: API.OperationMethod<DeletePipelineRequest, DeletePipelineResponse, DeletePipelineError, Credentials | HttpClient.HttpClient>;
|
|
347
|
+
export interface GetSinkRequest {
|
|
348
|
+
sinkId: string;
|
|
349
|
+
/** Specifies the public ID of the account. */
|
|
350
|
+
accountId: string;
|
|
351
|
+
}
|
|
352
|
+
export declare const GetSinkRequest: Schema.Schema<GetSinkRequest>;
|
|
353
|
+
export interface GetSinkResponse {
|
|
354
|
+
/** Indicates a unique identifier for this sink. */
|
|
355
|
+
id: string;
|
|
356
|
+
createdAt: string;
|
|
357
|
+
modifiedAt: string;
|
|
358
|
+
/** Defines the name of the Sink. */
|
|
359
|
+
name: string;
|
|
360
|
+
/** Specifies the type of sink. */
|
|
361
|
+
type: "r2" | "r2_data_catalog";
|
|
362
|
+
/** Defines the configuration of the R2 Sink. */
|
|
363
|
+
config?: {
|
|
364
|
+
accountId: string;
|
|
365
|
+
bucket: string;
|
|
366
|
+
credentials: {
|
|
367
|
+
accessKeyId: string;
|
|
368
|
+
secretAccessKey: string;
|
|
369
|
+
};
|
|
370
|
+
fileNaming?: {
|
|
371
|
+
prefix?: string | null;
|
|
372
|
+
strategy?: "serial" | "uuid" | "uuid_v7" | "ulid" | null;
|
|
373
|
+
suffix?: string | null;
|
|
374
|
+
} | null;
|
|
375
|
+
jurisdiction?: string | null;
|
|
376
|
+
partitioning?: {
|
|
377
|
+
timePattern?: string | null;
|
|
378
|
+
} | null;
|
|
379
|
+
path?: string | null;
|
|
380
|
+
rollingPolicy?: {
|
|
381
|
+
fileSizeBytes?: number | null;
|
|
382
|
+
inactivitySeconds?: number | null;
|
|
383
|
+
intervalSeconds?: number | null;
|
|
384
|
+
} | null;
|
|
385
|
+
} | {
|
|
386
|
+
token: string;
|
|
387
|
+
accountId: string;
|
|
388
|
+
bucket: string;
|
|
389
|
+
tableName: string;
|
|
390
|
+
namespace?: string | null;
|
|
391
|
+
rollingPolicy?: {
|
|
392
|
+
fileSizeBytes?: number | null;
|
|
393
|
+
inactivitySeconds?: number | null;
|
|
394
|
+
intervalSeconds?: number | null;
|
|
395
|
+
} | null;
|
|
396
|
+
} | null;
|
|
397
|
+
format?: {
|
|
398
|
+
type: "json";
|
|
399
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
400
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
401
|
+
unstructured?: boolean | null;
|
|
402
|
+
} | {
|
|
403
|
+
type: "parquet";
|
|
404
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
405
|
+
rowGroupBytes?: number | null;
|
|
406
|
+
} | null;
|
|
407
|
+
schema?: {
|
|
408
|
+
fields?: ({
|
|
409
|
+
type: "int32";
|
|
410
|
+
metadataKey?: string | null;
|
|
411
|
+
name?: string | null;
|
|
412
|
+
required?: boolean | null;
|
|
413
|
+
sqlName?: string | null;
|
|
414
|
+
} | {
|
|
415
|
+
type: "int64";
|
|
416
|
+
metadataKey?: string | null;
|
|
417
|
+
name?: string | null;
|
|
418
|
+
required?: boolean | null;
|
|
419
|
+
sqlName?: string | null;
|
|
420
|
+
} | {
|
|
421
|
+
type: "float32";
|
|
422
|
+
metadataKey?: string | null;
|
|
423
|
+
name?: string | null;
|
|
424
|
+
required?: boolean | null;
|
|
425
|
+
sqlName?: string | null;
|
|
426
|
+
} | {
|
|
427
|
+
type: "float64";
|
|
428
|
+
metadataKey?: string | null;
|
|
429
|
+
name?: string | null;
|
|
430
|
+
required?: boolean | null;
|
|
431
|
+
sqlName?: string | null;
|
|
432
|
+
} | {
|
|
433
|
+
type: "bool";
|
|
434
|
+
metadataKey?: string | null;
|
|
435
|
+
name?: string | null;
|
|
436
|
+
required?: boolean | null;
|
|
437
|
+
sqlName?: string | null;
|
|
438
|
+
} | {
|
|
439
|
+
type: "string";
|
|
440
|
+
metadataKey?: string | null;
|
|
441
|
+
name?: string | null;
|
|
442
|
+
required?: boolean | null;
|
|
443
|
+
sqlName?: string | null;
|
|
444
|
+
} | {
|
|
445
|
+
type: "binary";
|
|
446
|
+
metadataKey?: string | null;
|
|
447
|
+
name?: string | null;
|
|
448
|
+
required?: boolean | null;
|
|
449
|
+
sqlName?: string | null;
|
|
450
|
+
} | {
|
|
451
|
+
type: "timestamp";
|
|
452
|
+
metadataKey?: string | null;
|
|
453
|
+
name?: string | null;
|
|
454
|
+
required?: boolean | null;
|
|
455
|
+
sqlName?: string | null;
|
|
456
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond" | null;
|
|
457
|
+
} | {
|
|
458
|
+
type: "json";
|
|
459
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
460
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
461
|
+
unstructured?: boolean | null;
|
|
462
|
+
} | unknown)[] | null;
|
|
463
|
+
format?: {
|
|
464
|
+
type: "json";
|
|
465
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
466
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
467
|
+
unstructured?: boolean | null;
|
|
468
|
+
} | {
|
|
469
|
+
type: "parquet";
|
|
470
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
471
|
+
rowGroupBytes?: number | null;
|
|
472
|
+
} | null;
|
|
473
|
+
inferred?: boolean | null;
|
|
474
|
+
} | null;
|
|
475
|
+
}
|
|
476
|
+
export declare const GetSinkResponse: Schema.Schema<GetSinkResponse>;
|
|
477
|
+
export type GetSinkError = DefaultErrors | SinkNotFound | InvalidSinkId;
|
|
478
|
+
export declare const getSink: API.OperationMethod<GetSinkRequest, GetSinkResponse, GetSinkError, Credentials | HttpClient.HttpClient>;
|
|
479
|
+
export interface ListSinksRequest {
|
|
480
|
+
/** Path param: Specifies the public ID of the account. */
|
|
481
|
+
accountId: string;
|
|
482
|
+
/** Query param: */
|
|
483
|
+
pipelineId?: string;
|
|
484
|
+
}
|
|
485
|
+
export declare const ListSinksRequest: Schema.Schema<ListSinksRequest>;
|
|
486
|
+
export type ListSinksResponse = {
|
|
487
|
+
id: string;
|
|
488
|
+
createdAt: string;
|
|
489
|
+
modifiedAt: string;
|
|
490
|
+
name: string;
|
|
491
|
+
type: "r2" | "r2_data_catalog";
|
|
492
|
+
config?: {
|
|
493
|
+
accountId: string;
|
|
494
|
+
bucket: string;
|
|
495
|
+
credentials: {
|
|
496
|
+
accessKeyId: string;
|
|
497
|
+
secretAccessKey: string;
|
|
498
|
+
};
|
|
499
|
+
fileNaming?: {
|
|
500
|
+
prefix?: string | null;
|
|
501
|
+
strategy?: "serial" | "uuid" | "uuid_v7" | "ulid" | null;
|
|
502
|
+
suffix?: string | null;
|
|
503
|
+
} | null;
|
|
504
|
+
jurisdiction?: string | null;
|
|
505
|
+
partitioning?: {
|
|
506
|
+
timePattern?: string | null;
|
|
507
|
+
} | null;
|
|
508
|
+
path?: string | null;
|
|
509
|
+
rollingPolicy?: {
|
|
510
|
+
fileSizeBytes?: number | null;
|
|
511
|
+
inactivitySeconds?: number | null;
|
|
512
|
+
intervalSeconds?: number | null;
|
|
513
|
+
} | null;
|
|
514
|
+
} | {
|
|
515
|
+
token: string;
|
|
516
|
+
accountId: string;
|
|
517
|
+
bucket: string;
|
|
518
|
+
tableName: string;
|
|
519
|
+
namespace?: string | null;
|
|
520
|
+
rollingPolicy?: {
|
|
521
|
+
fileSizeBytes?: number | null;
|
|
522
|
+
inactivitySeconds?: number | null;
|
|
523
|
+
intervalSeconds?: number | null;
|
|
524
|
+
} | null;
|
|
525
|
+
} | null;
|
|
526
|
+
format?: {
|
|
527
|
+
type: "json";
|
|
528
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
529
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
530
|
+
unstructured?: boolean | null;
|
|
531
|
+
} | {
|
|
532
|
+
type: "parquet";
|
|
533
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
534
|
+
rowGroupBytes?: number | null;
|
|
535
|
+
} | null;
|
|
536
|
+
schema?: {
|
|
537
|
+
fields?: ({
|
|
538
|
+
type: "int32";
|
|
539
|
+
metadataKey?: string | null;
|
|
540
|
+
name?: string | null;
|
|
541
|
+
required?: boolean | null;
|
|
542
|
+
sqlName?: string | null;
|
|
543
|
+
} | {
|
|
544
|
+
type: "int64";
|
|
545
|
+
metadataKey?: string | null;
|
|
546
|
+
name?: string | null;
|
|
547
|
+
required?: boolean | null;
|
|
548
|
+
sqlName?: string | null;
|
|
549
|
+
} | {
|
|
550
|
+
type: "float32";
|
|
551
|
+
metadataKey?: string | null;
|
|
552
|
+
name?: string | null;
|
|
553
|
+
required?: boolean | null;
|
|
554
|
+
sqlName?: string | null;
|
|
555
|
+
} | {
|
|
556
|
+
type: "float64";
|
|
557
|
+
metadataKey?: string | null;
|
|
558
|
+
name?: string | null;
|
|
559
|
+
required?: boolean | null;
|
|
560
|
+
sqlName?: string | null;
|
|
561
|
+
} | {
|
|
562
|
+
type: "bool";
|
|
563
|
+
metadataKey?: string | null;
|
|
564
|
+
name?: string | null;
|
|
565
|
+
required?: boolean | null;
|
|
566
|
+
sqlName?: string | null;
|
|
567
|
+
} | {
|
|
568
|
+
type: "string";
|
|
569
|
+
metadataKey?: string | null;
|
|
570
|
+
name?: string | null;
|
|
571
|
+
required?: boolean | null;
|
|
572
|
+
sqlName?: string | null;
|
|
573
|
+
} | {
|
|
574
|
+
type: "binary";
|
|
575
|
+
metadataKey?: string | null;
|
|
576
|
+
name?: string | null;
|
|
577
|
+
required?: boolean | null;
|
|
578
|
+
sqlName?: string | null;
|
|
579
|
+
} | {
|
|
580
|
+
type: "timestamp";
|
|
581
|
+
metadataKey?: string | null;
|
|
582
|
+
name?: string | null;
|
|
583
|
+
required?: boolean | null;
|
|
584
|
+
sqlName?: string | null;
|
|
585
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond" | null;
|
|
586
|
+
} | {
|
|
587
|
+
type: "json";
|
|
588
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
589
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
590
|
+
unstructured?: boolean | null;
|
|
591
|
+
} | unknown)[] | null;
|
|
592
|
+
format?: {
|
|
593
|
+
type: "json";
|
|
594
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
595
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
596
|
+
unstructured?: boolean | null;
|
|
597
|
+
} | {
|
|
598
|
+
type: "parquet";
|
|
599
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
600
|
+
rowGroupBytes?: number | null;
|
|
601
|
+
} | null;
|
|
602
|
+
inferred?: boolean | null;
|
|
603
|
+
} | null;
|
|
604
|
+
}[];
|
|
605
|
+
export declare const ListSinksResponse: Schema.Schema<ListSinksResponse>;
|
|
606
|
+
export type ListSinksError = DefaultErrors;
|
|
607
|
+
export declare const listSinks: API.OperationMethod<ListSinksRequest, ListSinksResponse, ListSinksError, Credentials | HttpClient.HttpClient>;
|
|
608
|
+
export interface CreateSinkRequest {
|
|
609
|
+
/** Path param: Specifies the public ID of the account. */
|
|
610
|
+
accountId: string;
|
|
611
|
+
/** Body param: Defines the name of the Sink. */
|
|
612
|
+
name: string;
|
|
613
|
+
/** Body param: Specifies the type of sink. */
|
|
614
|
+
type: "r2" | "r2_data_catalog";
|
|
615
|
+
/** Body param: Defines the configuration of the R2 Sink. */
|
|
616
|
+
config?: {
|
|
617
|
+
accountId: string;
|
|
618
|
+
bucket: string;
|
|
619
|
+
credentials: {
|
|
620
|
+
accessKeyId: string;
|
|
621
|
+
secretAccessKey: string;
|
|
622
|
+
};
|
|
623
|
+
fileNaming?: {
|
|
624
|
+
prefix?: string;
|
|
625
|
+
strategy?: "serial" | "uuid" | "uuid_v7" | "ulid";
|
|
626
|
+
suffix?: string;
|
|
627
|
+
};
|
|
628
|
+
jurisdiction?: string;
|
|
629
|
+
partitioning?: {
|
|
630
|
+
timePattern?: string;
|
|
631
|
+
};
|
|
632
|
+
path?: string;
|
|
633
|
+
rollingPolicy?: {
|
|
634
|
+
fileSizeBytes?: number;
|
|
635
|
+
inactivitySeconds?: number;
|
|
636
|
+
intervalSeconds?: number;
|
|
637
|
+
};
|
|
638
|
+
} | {
|
|
639
|
+
token: string;
|
|
640
|
+
accountId: string;
|
|
641
|
+
bucket: string;
|
|
642
|
+
tableName: string;
|
|
643
|
+
namespace?: string;
|
|
644
|
+
rollingPolicy?: {
|
|
645
|
+
fileSizeBytes?: number;
|
|
646
|
+
inactivitySeconds?: number;
|
|
647
|
+
intervalSeconds?: number;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
/** Body param: */
|
|
651
|
+
format?: {
|
|
652
|
+
type: "json";
|
|
653
|
+
decimalEncoding?: "number" | "string" | "bytes";
|
|
654
|
+
timestampFormat?: "rfc3339" | "unix_millis";
|
|
655
|
+
unstructured?: boolean;
|
|
656
|
+
} | {
|
|
657
|
+
type: "parquet";
|
|
658
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4";
|
|
659
|
+
rowGroupBytes?: number | null;
|
|
660
|
+
};
|
|
661
|
+
/** Body param: */
|
|
662
|
+
schema?: {
|
|
663
|
+
fields?: ({
|
|
664
|
+
type: "int32";
|
|
665
|
+
metadataKey?: string | null;
|
|
666
|
+
name?: string;
|
|
667
|
+
required?: boolean;
|
|
668
|
+
sqlName?: string;
|
|
669
|
+
} | {
|
|
670
|
+
type: "int64";
|
|
671
|
+
metadataKey?: string | null;
|
|
672
|
+
name?: string;
|
|
673
|
+
required?: boolean;
|
|
674
|
+
sqlName?: string;
|
|
675
|
+
} | {
|
|
676
|
+
type: "float32";
|
|
677
|
+
metadataKey?: string | null;
|
|
678
|
+
name?: string;
|
|
679
|
+
required?: boolean;
|
|
680
|
+
sqlName?: string;
|
|
681
|
+
} | {
|
|
682
|
+
type: "float64";
|
|
683
|
+
metadataKey?: string | null;
|
|
684
|
+
name?: string;
|
|
685
|
+
required?: boolean;
|
|
686
|
+
sqlName?: string;
|
|
687
|
+
} | {
|
|
688
|
+
type: "bool";
|
|
689
|
+
metadataKey?: string | null;
|
|
690
|
+
name?: string;
|
|
691
|
+
required?: boolean;
|
|
692
|
+
sqlName?: string;
|
|
693
|
+
} | {
|
|
694
|
+
type: "string";
|
|
695
|
+
metadataKey?: string | null;
|
|
696
|
+
name?: string;
|
|
697
|
+
required?: boolean;
|
|
698
|
+
sqlName?: string;
|
|
699
|
+
} | {
|
|
700
|
+
type: "binary";
|
|
701
|
+
metadataKey?: string | null;
|
|
702
|
+
name?: string;
|
|
703
|
+
required?: boolean;
|
|
704
|
+
sqlName?: string;
|
|
705
|
+
} | {
|
|
706
|
+
type: "timestamp";
|
|
707
|
+
metadataKey?: string | null;
|
|
708
|
+
name?: string;
|
|
709
|
+
required?: boolean;
|
|
710
|
+
sqlName?: string;
|
|
711
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond";
|
|
712
|
+
} | {
|
|
713
|
+
type: "json";
|
|
714
|
+
decimalEncoding?: "number" | "string" | "bytes";
|
|
715
|
+
timestampFormat?: "rfc3339" | "unix_millis";
|
|
716
|
+
unstructured?: boolean;
|
|
717
|
+
} | unknown)[];
|
|
718
|
+
format?: {
|
|
719
|
+
type: "json";
|
|
720
|
+
decimalEncoding?: "number" | "string" | "bytes";
|
|
721
|
+
timestampFormat?: "rfc3339" | "unix_millis";
|
|
722
|
+
unstructured?: boolean;
|
|
723
|
+
} | {
|
|
724
|
+
type: "parquet";
|
|
725
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4";
|
|
726
|
+
rowGroupBytes?: number | null;
|
|
727
|
+
};
|
|
728
|
+
inferred?: boolean | null;
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
export declare const CreateSinkRequest: Schema.Schema<CreateSinkRequest>;
|
|
732
|
+
export interface CreateSinkResponse {
|
|
733
|
+
/** Indicates a unique identifier for this sink. */
|
|
734
|
+
id: string;
|
|
735
|
+
createdAt: string;
|
|
736
|
+
modifiedAt: string;
|
|
737
|
+
/** Defines the name of the Sink. */
|
|
738
|
+
name: string;
|
|
739
|
+
/** Specifies the type of sink. */
|
|
740
|
+
type: "r2" | "r2_data_catalog";
|
|
741
|
+
/** R2 Data Catalog Sink */
|
|
742
|
+
config?: {
|
|
743
|
+
accountId: string;
|
|
744
|
+
bucket: string;
|
|
745
|
+
credentials: {
|
|
746
|
+
accessKeyId: string;
|
|
747
|
+
secretAccessKey: string;
|
|
748
|
+
};
|
|
749
|
+
fileNaming?: {
|
|
750
|
+
prefix?: string | null;
|
|
751
|
+
strategy?: "serial" | "uuid" | "uuid_v7" | "ulid" | null;
|
|
752
|
+
suffix?: string | null;
|
|
753
|
+
} | null;
|
|
754
|
+
jurisdiction?: string | null;
|
|
755
|
+
partitioning?: {
|
|
756
|
+
timePattern?: string | null;
|
|
757
|
+
} | null;
|
|
758
|
+
path?: string | null;
|
|
759
|
+
rollingPolicy?: {
|
|
760
|
+
fileSizeBytes?: number | null;
|
|
761
|
+
inactivitySeconds?: number | null;
|
|
762
|
+
intervalSeconds?: number | null;
|
|
763
|
+
} | null;
|
|
764
|
+
} | {
|
|
765
|
+
token: string;
|
|
766
|
+
accountId: string;
|
|
767
|
+
bucket: string;
|
|
768
|
+
tableName: string;
|
|
769
|
+
namespace?: string | null;
|
|
770
|
+
rollingPolicy?: {
|
|
771
|
+
fileSizeBytes?: number | null;
|
|
772
|
+
inactivitySeconds?: number | null;
|
|
773
|
+
intervalSeconds?: number | null;
|
|
774
|
+
} | null;
|
|
775
|
+
} | null;
|
|
776
|
+
format?: {
|
|
777
|
+
type: "json";
|
|
778
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
779
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
780
|
+
unstructured?: boolean | null;
|
|
781
|
+
} | {
|
|
782
|
+
type: "parquet";
|
|
783
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
784
|
+
rowGroupBytes?: number | null;
|
|
785
|
+
} | null;
|
|
786
|
+
schema?: {
|
|
787
|
+
fields?: ({
|
|
788
|
+
type: "int32";
|
|
789
|
+
metadataKey?: string | null;
|
|
790
|
+
name?: string | null;
|
|
791
|
+
required?: boolean | null;
|
|
792
|
+
sqlName?: string | null;
|
|
793
|
+
} | {
|
|
794
|
+
type: "int64";
|
|
795
|
+
metadataKey?: string | null;
|
|
796
|
+
name?: string | null;
|
|
797
|
+
required?: boolean | null;
|
|
798
|
+
sqlName?: string | null;
|
|
799
|
+
} | {
|
|
800
|
+
type: "float32";
|
|
801
|
+
metadataKey?: string | null;
|
|
802
|
+
name?: string | null;
|
|
803
|
+
required?: boolean | null;
|
|
804
|
+
sqlName?: string | null;
|
|
805
|
+
} | {
|
|
806
|
+
type: "float64";
|
|
807
|
+
metadataKey?: string | null;
|
|
808
|
+
name?: string | null;
|
|
809
|
+
required?: boolean | null;
|
|
810
|
+
sqlName?: string | null;
|
|
811
|
+
} | {
|
|
812
|
+
type: "bool";
|
|
813
|
+
metadataKey?: string | null;
|
|
814
|
+
name?: string | null;
|
|
815
|
+
required?: boolean | null;
|
|
816
|
+
sqlName?: string | null;
|
|
817
|
+
} | {
|
|
818
|
+
type: "string";
|
|
819
|
+
metadataKey?: string | null;
|
|
820
|
+
name?: string | null;
|
|
821
|
+
required?: boolean | null;
|
|
822
|
+
sqlName?: string | null;
|
|
823
|
+
} | {
|
|
824
|
+
type: "binary";
|
|
825
|
+
metadataKey?: string | null;
|
|
826
|
+
name?: string | null;
|
|
827
|
+
required?: boolean | null;
|
|
828
|
+
sqlName?: string | null;
|
|
829
|
+
} | {
|
|
830
|
+
type: "timestamp";
|
|
831
|
+
metadataKey?: string | null;
|
|
832
|
+
name?: string | null;
|
|
833
|
+
required?: boolean | null;
|
|
834
|
+
sqlName?: string | null;
|
|
835
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond" | null;
|
|
836
|
+
} | {
|
|
837
|
+
type: "json";
|
|
838
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
839
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
840
|
+
unstructured?: boolean | null;
|
|
841
|
+
} | unknown)[] | null;
|
|
842
|
+
format?: {
|
|
843
|
+
type: "json";
|
|
844
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
845
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
846
|
+
unstructured?: boolean | null;
|
|
847
|
+
} | {
|
|
848
|
+
type: "parquet";
|
|
849
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
850
|
+
rowGroupBytes?: number | null;
|
|
851
|
+
} | null;
|
|
852
|
+
inferred?: boolean | null;
|
|
853
|
+
} | null;
|
|
854
|
+
}
|
|
855
|
+
export declare const CreateSinkResponse: Schema.Schema<CreateSinkResponse>;
|
|
856
|
+
export type CreateSinkError = DefaultErrors;
|
|
857
|
+
export declare const createSink: API.OperationMethod<CreateSinkRequest, CreateSinkResponse, CreateSinkError, Credentials | HttpClient.HttpClient>;
|
|
858
|
+
export interface DeleteSinkRequest {
|
|
859
|
+
sinkId: string;
|
|
860
|
+
/** Path param: Specifies the public ID of the account. */
|
|
861
|
+
accountId: string;
|
|
862
|
+
/** Query param: Delete sink forcefully, including deleting any dependent pipelines. */
|
|
863
|
+
force?: string;
|
|
864
|
+
}
|
|
865
|
+
export declare const DeleteSinkRequest: Schema.Schema<DeleteSinkRequest>;
|
|
866
|
+
export type DeleteSinkResponse = unknown;
|
|
867
|
+
export declare const DeleteSinkResponse: Schema.Schema<unknown>;
|
|
868
|
+
export type DeleteSinkError = DefaultErrors;
|
|
869
|
+
export declare const deleteSink: API.OperationMethod<DeleteSinkRequest, DeleteSinkResponse, DeleteSinkError, Credentials | HttpClient.HttpClient>;
|
|
870
|
+
export interface ValidateSqlPipelineRequest {
|
|
871
|
+
/** Path param: Specifies the public ID of the account. */
|
|
872
|
+
accountId: string;
|
|
873
|
+
/** Body param: Specifies SQL to validate. */
|
|
874
|
+
sql: string;
|
|
875
|
+
}
|
|
876
|
+
export declare const ValidateSqlPipelineRequest: Schema.Schema<ValidateSqlPipelineRequest>;
|
|
877
|
+
export interface ValidateSqlPipelineResponse {
|
|
878
|
+
/** Indicates tables involved in the processing. */
|
|
879
|
+
tables: Record<string, unknown>;
|
|
880
|
+
graph?: {
|
|
881
|
+
edges: {
|
|
882
|
+
destId: number;
|
|
883
|
+
edgeType: string;
|
|
884
|
+
keyType: string;
|
|
885
|
+
srcId: number;
|
|
886
|
+
valueType: string;
|
|
887
|
+
}[];
|
|
888
|
+
nodes: {
|
|
889
|
+
description: string;
|
|
890
|
+
nodeId: number;
|
|
891
|
+
operator: string;
|
|
892
|
+
parallelism: number;
|
|
893
|
+
}[];
|
|
894
|
+
} | null;
|
|
895
|
+
}
|
|
896
|
+
export declare const ValidateSqlPipelineResponse: Schema.Schema<ValidateSqlPipelineResponse>;
|
|
897
|
+
export type ValidateSqlPipelineError = DefaultErrors | TableNotFound;
|
|
898
|
+
export declare const validateSqlPipeline: API.OperationMethod<ValidateSqlPipelineRequest, ValidateSqlPipelineResponse, ValidateSqlPipelineError, Credentials | HttpClient.HttpClient>;
|
|
899
|
+
export interface GetStreamRequest {
|
|
900
|
+
streamId: string;
|
|
901
|
+
/** Specifies the public ID of the account. */
|
|
902
|
+
accountId: string;
|
|
903
|
+
}
|
|
904
|
+
export declare const GetStreamRequest: Schema.Schema<GetStreamRequest>;
|
|
905
|
+
export interface GetStreamResponse {
|
|
906
|
+
/** Indicates a unique identifier for this stream. */
|
|
907
|
+
id: string;
|
|
908
|
+
createdAt: string;
|
|
909
|
+
http: {
|
|
910
|
+
authentication: boolean;
|
|
911
|
+
enabled: boolean;
|
|
912
|
+
cors?: {
|
|
913
|
+
origins?: string[] | null;
|
|
914
|
+
} | null;
|
|
915
|
+
};
|
|
916
|
+
modifiedAt: string;
|
|
917
|
+
/** Indicates the name of the Stream. */
|
|
918
|
+
name: string;
|
|
919
|
+
/** Indicates the current version of this stream. */
|
|
920
|
+
version: number;
|
|
921
|
+
workerBinding: {
|
|
922
|
+
enabled: boolean;
|
|
923
|
+
};
|
|
924
|
+
/** Indicates the endpoint URL of this stream. */
|
|
925
|
+
endpoint?: string | null;
|
|
926
|
+
format?: {
|
|
927
|
+
type: "json";
|
|
928
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
929
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
930
|
+
unstructured?: boolean | null;
|
|
931
|
+
} | {
|
|
932
|
+
type: "parquet";
|
|
933
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
934
|
+
rowGroupBytes?: number | null;
|
|
935
|
+
} | null;
|
|
936
|
+
schema?: {
|
|
937
|
+
fields?: ({
|
|
938
|
+
type: "int32";
|
|
939
|
+
metadataKey?: string | null;
|
|
940
|
+
name?: string | null;
|
|
941
|
+
required?: boolean | null;
|
|
942
|
+
sqlName?: string | null;
|
|
943
|
+
} | {
|
|
944
|
+
type: "int64";
|
|
945
|
+
metadataKey?: string | null;
|
|
946
|
+
name?: string | null;
|
|
947
|
+
required?: boolean | null;
|
|
948
|
+
sqlName?: string | null;
|
|
949
|
+
} | {
|
|
950
|
+
type: "float32";
|
|
951
|
+
metadataKey?: string | null;
|
|
952
|
+
name?: string | null;
|
|
953
|
+
required?: boolean | null;
|
|
954
|
+
sqlName?: string | null;
|
|
955
|
+
} | {
|
|
956
|
+
type: "float64";
|
|
957
|
+
metadataKey?: string | null;
|
|
958
|
+
name?: string | null;
|
|
959
|
+
required?: boolean | null;
|
|
960
|
+
sqlName?: string | null;
|
|
961
|
+
} | {
|
|
962
|
+
type: "bool";
|
|
963
|
+
metadataKey?: string | null;
|
|
964
|
+
name?: string | null;
|
|
965
|
+
required?: boolean | null;
|
|
966
|
+
sqlName?: string | null;
|
|
967
|
+
} | {
|
|
968
|
+
type: "string";
|
|
969
|
+
metadataKey?: string | null;
|
|
970
|
+
name?: string | null;
|
|
971
|
+
required?: boolean | null;
|
|
972
|
+
sqlName?: string | null;
|
|
973
|
+
} | {
|
|
974
|
+
type: "binary";
|
|
975
|
+
metadataKey?: string | null;
|
|
976
|
+
name?: string | null;
|
|
977
|
+
required?: boolean | null;
|
|
978
|
+
sqlName?: string | null;
|
|
979
|
+
} | {
|
|
980
|
+
type: "timestamp";
|
|
981
|
+
metadataKey?: string | null;
|
|
982
|
+
name?: string | null;
|
|
983
|
+
required?: boolean | null;
|
|
984
|
+
sqlName?: string | null;
|
|
985
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond" | null;
|
|
986
|
+
} | {
|
|
987
|
+
type: "json";
|
|
988
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
989
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
990
|
+
unstructured?: boolean | null;
|
|
991
|
+
} | unknown)[] | null;
|
|
992
|
+
format?: {
|
|
993
|
+
type: "json";
|
|
994
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
995
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
996
|
+
unstructured?: boolean | null;
|
|
997
|
+
} | {
|
|
998
|
+
type: "parquet";
|
|
999
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
1000
|
+
rowGroupBytes?: number | null;
|
|
1001
|
+
} | null;
|
|
1002
|
+
inferred?: boolean | null;
|
|
1003
|
+
} | null;
|
|
1004
|
+
}
|
|
1005
|
+
export declare const GetStreamResponse: Schema.Schema<GetStreamResponse>;
|
|
1006
|
+
export type GetStreamError = DefaultErrors | StreamNotFound | InvalidStreamId;
|
|
1007
|
+
export declare const getStream: API.OperationMethod<GetStreamRequest, GetStreamResponse, GetStreamError, Credentials | HttpClient.HttpClient>;
|
|
1008
|
+
export interface ListStreamsRequest {
|
|
1009
|
+
/** Path param: Specifies the public ID of the account. */
|
|
1010
|
+
accountId: string;
|
|
1011
|
+
/** Query param: Specifies the public ID of the pipeline. */
|
|
1012
|
+
pipelineId?: string;
|
|
1013
|
+
}
|
|
1014
|
+
export declare const ListStreamsRequest: Schema.Schema<ListStreamsRequest>;
|
|
1015
|
+
export type ListStreamsResponse = {
|
|
1016
|
+
id: string;
|
|
1017
|
+
createdAt: string;
|
|
1018
|
+
http: {
|
|
1019
|
+
authentication: boolean;
|
|
1020
|
+
enabled: boolean;
|
|
1021
|
+
cors?: {
|
|
1022
|
+
origins?: string[] | null;
|
|
1023
|
+
} | null;
|
|
1024
|
+
};
|
|
1025
|
+
modifiedAt: string;
|
|
1026
|
+
name: string;
|
|
1027
|
+
version: number;
|
|
1028
|
+
workerBinding: {
|
|
1029
|
+
enabled: boolean;
|
|
1030
|
+
};
|
|
1031
|
+
endpoint?: string | null;
|
|
1032
|
+
format?: {
|
|
1033
|
+
type: "json";
|
|
1034
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1035
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1036
|
+
unstructured?: boolean | null;
|
|
1037
|
+
} | {
|
|
1038
|
+
type: "parquet";
|
|
1039
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
1040
|
+
rowGroupBytes?: number | null;
|
|
1041
|
+
} | null;
|
|
1042
|
+
schema?: {
|
|
1043
|
+
fields?: ({
|
|
1044
|
+
type: "int32";
|
|
1045
|
+
metadataKey?: string | null;
|
|
1046
|
+
name?: string | null;
|
|
1047
|
+
required?: boolean | null;
|
|
1048
|
+
sqlName?: string | null;
|
|
1049
|
+
} | {
|
|
1050
|
+
type: "int64";
|
|
1051
|
+
metadataKey?: string | null;
|
|
1052
|
+
name?: string | null;
|
|
1053
|
+
required?: boolean | null;
|
|
1054
|
+
sqlName?: string | null;
|
|
1055
|
+
} | {
|
|
1056
|
+
type: "float32";
|
|
1057
|
+
metadataKey?: string | null;
|
|
1058
|
+
name?: string | null;
|
|
1059
|
+
required?: boolean | null;
|
|
1060
|
+
sqlName?: string | null;
|
|
1061
|
+
} | {
|
|
1062
|
+
type: "float64";
|
|
1063
|
+
metadataKey?: string | null;
|
|
1064
|
+
name?: string | null;
|
|
1065
|
+
required?: boolean | null;
|
|
1066
|
+
sqlName?: string | null;
|
|
1067
|
+
} | {
|
|
1068
|
+
type: "bool";
|
|
1069
|
+
metadataKey?: string | null;
|
|
1070
|
+
name?: string | null;
|
|
1071
|
+
required?: boolean | null;
|
|
1072
|
+
sqlName?: string | null;
|
|
1073
|
+
} | {
|
|
1074
|
+
type: "string";
|
|
1075
|
+
metadataKey?: string | null;
|
|
1076
|
+
name?: string | null;
|
|
1077
|
+
required?: boolean | null;
|
|
1078
|
+
sqlName?: string | null;
|
|
1079
|
+
} | {
|
|
1080
|
+
type: "binary";
|
|
1081
|
+
metadataKey?: string | null;
|
|
1082
|
+
name?: string | null;
|
|
1083
|
+
required?: boolean | null;
|
|
1084
|
+
sqlName?: string | null;
|
|
1085
|
+
} | {
|
|
1086
|
+
type: "timestamp";
|
|
1087
|
+
metadataKey?: string | null;
|
|
1088
|
+
name?: string | null;
|
|
1089
|
+
required?: boolean | null;
|
|
1090
|
+
sqlName?: string | null;
|
|
1091
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond" | null;
|
|
1092
|
+
} | {
|
|
1093
|
+
type: "json";
|
|
1094
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1095
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1096
|
+
unstructured?: boolean | null;
|
|
1097
|
+
} | unknown)[] | null;
|
|
1098
|
+
format?: {
|
|
1099
|
+
type: "json";
|
|
1100
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1101
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1102
|
+
unstructured?: boolean | null;
|
|
1103
|
+
} | {
|
|
1104
|
+
type: "parquet";
|
|
1105
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
1106
|
+
rowGroupBytes?: number | null;
|
|
1107
|
+
} | null;
|
|
1108
|
+
inferred?: boolean | null;
|
|
1109
|
+
} | null;
|
|
1110
|
+
}[];
|
|
1111
|
+
export declare const ListStreamsResponse: Schema.Schema<ListStreamsResponse>;
|
|
1112
|
+
export type ListStreamsError = DefaultErrors;
|
|
1113
|
+
export declare const listStreams: API.OperationMethod<ListStreamsRequest, ListStreamsResponse, ListStreamsError, Credentials | HttpClient.HttpClient>;
|
|
1114
|
+
export interface CreateStreamRequest {
|
|
1115
|
+
/** Path param: Specifies the public ID of the account. */
|
|
1116
|
+
accountId: string;
|
|
1117
|
+
/** Body param: Specifies the name of the Stream. */
|
|
1118
|
+
name: string;
|
|
1119
|
+
/** Body param: */
|
|
1120
|
+
format?: {
|
|
1121
|
+
type: "json";
|
|
1122
|
+
decimalEncoding?: "number" | "string" | "bytes";
|
|
1123
|
+
timestampFormat?: "rfc3339" | "unix_millis";
|
|
1124
|
+
unstructured?: boolean;
|
|
1125
|
+
} | {
|
|
1126
|
+
type: "parquet";
|
|
1127
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4";
|
|
1128
|
+
rowGroupBytes?: number | null;
|
|
1129
|
+
};
|
|
1130
|
+
/** Body param: */
|
|
1131
|
+
http?: {
|
|
1132
|
+
authentication: boolean;
|
|
1133
|
+
enabled: boolean;
|
|
1134
|
+
cors?: {
|
|
1135
|
+
origins?: string[];
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
/** Body param: */
|
|
1139
|
+
schema?: {
|
|
1140
|
+
fields?: ({
|
|
1141
|
+
type: "int32";
|
|
1142
|
+
metadataKey?: string | null;
|
|
1143
|
+
name?: string;
|
|
1144
|
+
required?: boolean;
|
|
1145
|
+
sqlName?: string;
|
|
1146
|
+
} | {
|
|
1147
|
+
type: "int64";
|
|
1148
|
+
metadataKey?: string | null;
|
|
1149
|
+
name?: string;
|
|
1150
|
+
required?: boolean;
|
|
1151
|
+
sqlName?: string;
|
|
1152
|
+
} | {
|
|
1153
|
+
type: "float32";
|
|
1154
|
+
metadataKey?: string | null;
|
|
1155
|
+
name?: string;
|
|
1156
|
+
required?: boolean;
|
|
1157
|
+
sqlName?: string;
|
|
1158
|
+
} | {
|
|
1159
|
+
type: "float64";
|
|
1160
|
+
metadataKey?: string | null;
|
|
1161
|
+
name?: string;
|
|
1162
|
+
required?: boolean;
|
|
1163
|
+
sqlName?: string;
|
|
1164
|
+
} | {
|
|
1165
|
+
type: "bool";
|
|
1166
|
+
metadataKey?: string | null;
|
|
1167
|
+
name?: string;
|
|
1168
|
+
required?: boolean;
|
|
1169
|
+
sqlName?: string;
|
|
1170
|
+
} | {
|
|
1171
|
+
type: "string";
|
|
1172
|
+
metadataKey?: string | null;
|
|
1173
|
+
name?: string;
|
|
1174
|
+
required?: boolean;
|
|
1175
|
+
sqlName?: string;
|
|
1176
|
+
} | {
|
|
1177
|
+
type: "binary";
|
|
1178
|
+
metadataKey?: string | null;
|
|
1179
|
+
name?: string;
|
|
1180
|
+
required?: boolean;
|
|
1181
|
+
sqlName?: string;
|
|
1182
|
+
} | {
|
|
1183
|
+
type: "timestamp";
|
|
1184
|
+
metadataKey?: string | null;
|
|
1185
|
+
name?: string;
|
|
1186
|
+
required?: boolean;
|
|
1187
|
+
sqlName?: string;
|
|
1188
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond";
|
|
1189
|
+
} | {
|
|
1190
|
+
type: "json";
|
|
1191
|
+
decimalEncoding?: "number" | "string" | "bytes";
|
|
1192
|
+
timestampFormat?: "rfc3339" | "unix_millis";
|
|
1193
|
+
unstructured?: boolean;
|
|
1194
|
+
} | unknown)[];
|
|
1195
|
+
format?: {
|
|
1196
|
+
type: "json";
|
|
1197
|
+
decimalEncoding?: "number" | "string" | "bytes";
|
|
1198
|
+
timestampFormat?: "rfc3339" | "unix_millis";
|
|
1199
|
+
unstructured?: boolean;
|
|
1200
|
+
} | {
|
|
1201
|
+
type: "parquet";
|
|
1202
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4";
|
|
1203
|
+
rowGroupBytes?: number | null;
|
|
1204
|
+
};
|
|
1205
|
+
inferred?: boolean | null;
|
|
1206
|
+
};
|
|
1207
|
+
/** Body param: */
|
|
1208
|
+
workerBinding?: {
|
|
1209
|
+
enabled: boolean;
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
export declare const CreateStreamRequest: Schema.Schema<CreateStreamRequest>;
|
|
1213
|
+
export interface CreateStreamResponse {
|
|
1214
|
+
/** Indicates a unique identifier for this stream. */
|
|
1215
|
+
id: string;
|
|
1216
|
+
createdAt: string;
|
|
1217
|
+
http: {
|
|
1218
|
+
authentication: boolean;
|
|
1219
|
+
enabled: boolean;
|
|
1220
|
+
cors?: {
|
|
1221
|
+
origins?: string[] | null;
|
|
1222
|
+
} | null;
|
|
1223
|
+
};
|
|
1224
|
+
modifiedAt: string;
|
|
1225
|
+
/** Indicates the name of the Stream. */
|
|
1226
|
+
name: string;
|
|
1227
|
+
/** Indicates the current version of this stream. */
|
|
1228
|
+
version: number;
|
|
1229
|
+
workerBinding: {
|
|
1230
|
+
enabled: boolean;
|
|
1231
|
+
};
|
|
1232
|
+
/** Indicates the endpoint URL of this stream. */
|
|
1233
|
+
endpoint?: string | null;
|
|
1234
|
+
format?: {
|
|
1235
|
+
type: "json";
|
|
1236
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1237
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1238
|
+
unstructured?: boolean | null;
|
|
1239
|
+
} | {
|
|
1240
|
+
type: "parquet";
|
|
1241
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
1242
|
+
rowGroupBytes?: number | null;
|
|
1243
|
+
} | null;
|
|
1244
|
+
schema?: {
|
|
1245
|
+
fields?: ({
|
|
1246
|
+
type: "int32";
|
|
1247
|
+
metadataKey?: string | null;
|
|
1248
|
+
name?: string | null;
|
|
1249
|
+
required?: boolean | null;
|
|
1250
|
+
sqlName?: string | null;
|
|
1251
|
+
} | {
|
|
1252
|
+
type: "int64";
|
|
1253
|
+
metadataKey?: string | null;
|
|
1254
|
+
name?: string | null;
|
|
1255
|
+
required?: boolean | null;
|
|
1256
|
+
sqlName?: string | null;
|
|
1257
|
+
} | {
|
|
1258
|
+
type: "float32";
|
|
1259
|
+
metadataKey?: string | null;
|
|
1260
|
+
name?: string | null;
|
|
1261
|
+
required?: boolean | null;
|
|
1262
|
+
sqlName?: string | null;
|
|
1263
|
+
} | {
|
|
1264
|
+
type: "float64";
|
|
1265
|
+
metadataKey?: string | null;
|
|
1266
|
+
name?: string | null;
|
|
1267
|
+
required?: boolean | null;
|
|
1268
|
+
sqlName?: string | null;
|
|
1269
|
+
} | {
|
|
1270
|
+
type: "bool";
|
|
1271
|
+
metadataKey?: string | null;
|
|
1272
|
+
name?: string | null;
|
|
1273
|
+
required?: boolean | null;
|
|
1274
|
+
sqlName?: string | null;
|
|
1275
|
+
} | {
|
|
1276
|
+
type: "string";
|
|
1277
|
+
metadataKey?: string | null;
|
|
1278
|
+
name?: string | null;
|
|
1279
|
+
required?: boolean | null;
|
|
1280
|
+
sqlName?: string | null;
|
|
1281
|
+
} | {
|
|
1282
|
+
type: "binary";
|
|
1283
|
+
metadataKey?: string | null;
|
|
1284
|
+
name?: string | null;
|
|
1285
|
+
required?: boolean | null;
|
|
1286
|
+
sqlName?: string | null;
|
|
1287
|
+
} | {
|
|
1288
|
+
type: "timestamp";
|
|
1289
|
+
metadataKey?: string | null;
|
|
1290
|
+
name?: string | null;
|
|
1291
|
+
required?: boolean | null;
|
|
1292
|
+
sqlName?: string | null;
|
|
1293
|
+
unit?: "second" | "millisecond" | "microsecond" | "nanosecond" | null;
|
|
1294
|
+
} | {
|
|
1295
|
+
type: "json";
|
|
1296
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1297
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1298
|
+
unstructured?: boolean | null;
|
|
1299
|
+
} | unknown)[] | null;
|
|
1300
|
+
format?: {
|
|
1301
|
+
type: "json";
|
|
1302
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1303
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1304
|
+
unstructured?: boolean | null;
|
|
1305
|
+
} | {
|
|
1306
|
+
type: "parquet";
|
|
1307
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
1308
|
+
rowGroupBytes?: number | null;
|
|
1309
|
+
} | null;
|
|
1310
|
+
inferred?: boolean | null;
|
|
1311
|
+
} | null;
|
|
1312
|
+
}
|
|
1313
|
+
export declare const CreateStreamResponse: Schema.Schema<CreateStreamResponse>;
|
|
1314
|
+
export type CreateStreamError = DefaultErrors | InvalidStreamName | StreamAlreadyExists;
|
|
1315
|
+
export declare const createStream: API.OperationMethod<CreateStreamRequest, CreateStreamResponse, CreateStreamError, Credentials | HttpClient.HttpClient>;
|
|
1316
|
+
export interface PatchStreamRequest {
|
|
1317
|
+
streamId: string;
|
|
1318
|
+
/** Path param: Specifies the public ID of the account. */
|
|
1319
|
+
accountId: string;
|
|
1320
|
+
/** Body param: */
|
|
1321
|
+
http?: {
|
|
1322
|
+
authentication: boolean;
|
|
1323
|
+
enabled: boolean;
|
|
1324
|
+
cors?: {
|
|
1325
|
+
origins?: string[];
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
/** Body param: */
|
|
1329
|
+
workerBinding?: {
|
|
1330
|
+
enabled: boolean;
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
export declare const PatchStreamRequest: Schema.Schema<PatchStreamRequest>;
|
|
1334
|
+
export interface PatchStreamResponse {
|
|
1335
|
+
/** Indicates a unique identifier for this stream. */
|
|
1336
|
+
id: string;
|
|
1337
|
+
createdAt: string;
|
|
1338
|
+
http: {
|
|
1339
|
+
authentication: boolean;
|
|
1340
|
+
enabled: boolean;
|
|
1341
|
+
cors?: {
|
|
1342
|
+
origins?: string[] | null;
|
|
1343
|
+
} | null;
|
|
1344
|
+
};
|
|
1345
|
+
modifiedAt: string;
|
|
1346
|
+
/** Indicates the name of the Stream. */
|
|
1347
|
+
name: string;
|
|
1348
|
+
/** Indicates the current version of this stream. */
|
|
1349
|
+
version: number;
|
|
1350
|
+
workerBinding: {
|
|
1351
|
+
enabled: boolean;
|
|
1352
|
+
};
|
|
1353
|
+
/** Indicates the endpoint URL of this stream. */
|
|
1354
|
+
endpoint?: string | null;
|
|
1355
|
+
format?: {
|
|
1356
|
+
type: "json";
|
|
1357
|
+
decimalEncoding?: "number" | "string" | "bytes" | null;
|
|
1358
|
+
timestampFormat?: "rfc3339" | "unix_millis" | null;
|
|
1359
|
+
unstructured?: boolean | null;
|
|
1360
|
+
} | {
|
|
1361
|
+
type: "parquet";
|
|
1362
|
+
compression?: "uncompressed" | "snappy" | "gzip" | "zstd" | "lz4" | null;
|
|
1363
|
+
rowGroupBytes?: number | null;
|
|
1364
|
+
} | null;
|
|
1365
|
+
}
|
|
1366
|
+
export declare const PatchStreamResponse: Schema.Schema<PatchStreamResponse>;
|
|
1367
|
+
export type PatchStreamError = DefaultErrors | StreamNotFound;
|
|
1368
|
+
export declare const patchStream: API.OperationMethod<PatchStreamRequest, PatchStreamResponse, PatchStreamError, Credentials | HttpClient.HttpClient>;
|
|
1369
|
+
export interface DeleteStreamRequest {
|
|
1370
|
+
streamId: string;
|
|
1371
|
+
/** Path param: Specifies the public ID of the account. */
|
|
1372
|
+
accountId: string;
|
|
1373
|
+
/** Query param: Delete stream forcefully, including deleting any dependent pipelines. */
|
|
1374
|
+
force?: string;
|
|
1375
|
+
}
|
|
1376
|
+
export declare const DeleteStreamRequest: Schema.Schema<DeleteStreamRequest>;
|
|
1377
|
+
export type DeleteStreamResponse = unknown;
|
|
1378
|
+
export declare const DeleteStreamResponse: Schema.Schema<unknown>;
|
|
1379
|
+
export type DeleteStreamError = DefaultErrors | PipelineNotExists;
|
|
1380
|
+
export declare const deleteStream: API.OperationMethod<DeleteStreamRequest, DeleteStreamResponse, DeleteStreamError, Credentials | HttpClient.HttpClient>;
|
|
1381
|
+
export interface GetV1PipelineRequest {
|
|
1382
|
+
pipelineId: string;
|
|
1383
|
+
/** Specifies the public ID of the account. */
|
|
1384
|
+
accountId: string;
|
|
1385
|
+
}
|
|
1386
|
+
export declare const GetV1PipelineRequest: Schema.Schema<GetV1PipelineRequest>;
|
|
1387
|
+
export interface GetV1PipelineResponse {
|
|
1388
|
+
/** Indicates a unique identifier for this pipeline. */
|
|
1389
|
+
id: string;
|
|
1390
|
+
createdAt: string;
|
|
1391
|
+
modifiedAt: string;
|
|
1392
|
+
/** Indicates the name of the Pipeline. */
|
|
1393
|
+
name: string;
|
|
1394
|
+
/** Specifies SQL for the Pipeline processing flow. */
|
|
1395
|
+
sql: string;
|
|
1396
|
+
/** Indicates the current status of the Pipeline. */
|
|
1397
|
+
status: string;
|
|
1398
|
+
/** List of streams and sinks used by this pipeline. */
|
|
1399
|
+
tables: {
|
|
1400
|
+
id: string;
|
|
1401
|
+
latest: number;
|
|
1402
|
+
name: string;
|
|
1403
|
+
type: "stream" | "sink";
|
|
1404
|
+
version: number;
|
|
1405
|
+
}[];
|
|
1406
|
+
}
|
|
1407
|
+
export declare const GetV1PipelineResponse: Schema.Schema<GetV1PipelineResponse>;
|
|
1408
|
+
export type GetV1PipelineError = DefaultErrors;
|
|
1409
|
+
export declare const getV1Pipeline: API.OperationMethod<GetV1PipelineRequest, GetV1PipelineResponse, GetV1PipelineError, Credentials | HttpClient.HttpClient>;
|
|
1410
|
+
export interface ListV1PipelineRequest {
|
|
1411
|
+
/** Path param: Specifies the public ID of the account. */
|
|
1412
|
+
accountId: string;
|
|
1413
|
+
}
|
|
1414
|
+
export declare const ListV1PipelineRequest: Schema.Schema<ListV1PipelineRequest>;
|
|
1415
|
+
export type ListV1PipelineResponse = {
|
|
1416
|
+
id: string;
|
|
1417
|
+
createdAt: string;
|
|
1418
|
+
modifiedAt: string;
|
|
1419
|
+
name: string;
|
|
1420
|
+
sql: string;
|
|
1421
|
+
status: string;
|
|
1422
|
+
}[];
|
|
1423
|
+
export declare const ListV1PipelineResponse: Schema.Schema<ListV1PipelineResponse>;
|
|
1424
|
+
export type ListV1PipelineError = DefaultErrors;
|
|
1425
|
+
export declare const listV1Pipeline: API.OperationMethod<ListV1PipelineRequest, ListV1PipelineResponse, ListV1PipelineError, Credentials | HttpClient.HttpClient>;
|
|
1426
|
+
export interface CreateV1PipelineRequest {
|
|
1427
|
+
/** Path param: Specifies the public ID of the account. */
|
|
1428
|
+
accountId: string;
|
|
1429
|
+
/** Body param: Specifies the name of the Pipeline. */
|
|
1430
|
+
name: string;
|
|
1431
|
+
/** Body param: Specifies SQL for the Pipeline processing flow. */
|
|
1432
|
+
sql: string;
|
|
1433
|
+
}
|
|
1434
|
+
export declare const CreateV1PipelineRequest: Schema.Schema<CreateV1PipelineRequest>;
|
|
1435
|
+
export interface CreateV1PipelineResponse {
|
|
1436
|
+
/** Indicates a unique identifier for this pipeline. */
|
|
1437
|
+
id: string;
|
|
1438
|
+
createdAt: string;
|
|
1439
|
+
modifiedAt: string;
|
|
1440
|
+
/** Indicates the name of the Pipeline. */
|
|
1441
|
+
name: string;
|
|
1442
|
+
/** Specifies SQL for the Pipeline processing flow. */
|
|
1443
|
+
sql: string;
|
|
1444
|
+
/** Indicates the current status of the Pipeline. */
|
|
1445
|
+
status: string;
|
|
1446
|
+
}
|
|
1447
|
+
export declare const CreateV1PipelineResponse: Schema.Schema<CreateV1PipelineResponse>;
|
|
1448
|
+
export type CreateV1PipelineError = DefaultErrors;
|
|
1449
|
+
export declare const createV1Pipeline: API.OperationMethod<CreateV1PipelineRequest, CreateV1PipelineResponse, CreateV1PipelineError, Credentials | HttpClient.HttpClient>;
|
|
1450
|
+
export interface DeleteV1PipelineRequest {
|
|
1451
|
+
pipelineId: string;
|
|
1452
|
+
/** Specifies the public ID of the account. */
|
|
1453
|
+
accountId: string;
|
|
1454
|
+
}
|
|
1455
|
+
export declare const DeleteV1PipelineRequest: Schema.Schema<DeleteV1PipelineRequest>;
|
|
1456
|
+
export type DeleteV1PipelineResponse = unknown;
|
|
1457
|
+
export declare const DeleteV1PipelineResponse: Schema.Schema<unknown>;
|
|
1458
|
+
export type DeleteV1PipelineError = DefaultErrors;
|
|
1459
|
+
export declare const deleteV1Pipeline: API.OperationMethod<DeleteV1PipelineRequest, DeleteV1PipelineResponse, DeleteV1PipelineError, Credentials | HttpClient.HttpClient>;
|
|
1460
|
+
export {};
|
|
1461
|
+
//# sourceMappingURL=pipelines.d.ts.map
|