@distilled.cloud/cloudflare 0.0.0-john
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -0
- package/lib/auth.d.ts +14 -0
- package/lib/auth.d.ts.map +1 -0
- package/lib/auth.js +13 -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 +12 -0
- package/lib/client/api.d.ts.map +1 -0
- package/lib/client/api.js +292 -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 +68 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +136 -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 +31 -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/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +296 -0
- package/lib/services/abuse-reports.d.ts.map +1 -0
- package/lib/services/abuse-reports.js +414 -0
- package/lib/services/abuse-reports.js.map +1 -0
- package/lib/services/accounts.d.ts +766 -0
- package/lib/services/accounts.d.ts.map +1 -0
- package/lib/services/accounts.js +860 -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 +80 -0
- package/lib/services/acm.js.map +1 -0
- package/lib/services/addressing.d.ts +1321 -0
- package/lib/services/addressing.d.ts.map +1 -0
- package/lib/services/addressing.js +1863 -0
- package/lib/services/addressing.js.map +1 -0
- package/lib/services/ai-gateway.d.ts +1137 -0
- package/lib/services/ai-gateway.d.ts.map +1 -0
- package/lib/services/ai-gateway.js +1830 -0
- package/lib/services/ai-gateway.js.map +1 -0
- package/lib/services/ai.d.ts +297 -0
- package/lib/services/ai.d.ts.map +1 -0
- package/lib/services/ai.js +352 -0
- package/lib/services/ai.js.map +1 -0
- package/lib/services/aisearch.d.ts +1069 -0
- package/lib/services/aisearch.d.ts.map +1 -0
- package/lib/services/aisearch.js +2542 -0
- package/lib/services/aisearch.js.map +1 -0
- package/lib/services/alerting.d.ts +855 -0
- package/lib/services/alerting.d.ts.map +1 -0
- package/lib/services/alerting.js +1445 -0
- package/lib/services/alerting.js.map +1 -0
- package/lib/services/api-gateway.d.ts +1088 -0
- package/lib/services/api-gateway.d.ts.map +1 -0
- package/lib/services/api-gateway.js +1655 -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 +113 -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 +102 -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 +88 -0
- package/lib/services/botnet-feed.js.map +1 -0
- package/lib/services/brand-protection.d.ts +194 -0
- package/lib/services/brand-protection.d.ts.map +1 -0
- package/lib/services/brand-protection.js +221 -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 +1142 -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 +354 -0
- package/lib/services/cache.js.map +1 -0
- package/lib/services/calls.d.ts +223 -0
- package/lib/services/calls.d.ts.map +1 -0
- package/lib/services/calls.js +188 -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 +288 -0
- package/lib/services/client-certificates.d.ts.map +1 -0
- package/lib/services/client-certificates.js +379 -0
- package/lib/services/client-certificates.js.map +1 -0
- package/lib/services/cloud-connector.d.ts +88 -0
- package/lib/services/cloud-connector.d.ts.map +1 -0
- package/lib/services/cloud-connector.js +97 -0
- package/lib/services/cloud-connector.js.map +1 -0
- package/lib/services/cloudforce-one.d.ts +1387 -0
- package/lib/services/cloudforce-one.d.ts.map +1 -0
- package/lib/services/cloudforce-one.js +1741 -0
- package/lib/services/cloudforce-one.js.map +1 -0
- package/lib/services/connectivity.d.ts +291 -0
- package/lib/services/connectivity.d.ts.map +1 -0
- package/lib/services/connectivity.js +404 -0
- package/lib/services/connectivity.js.map +1 -0
- package/lib/services/content-scanning.d.ts +156 -0
- package/lib/services/content-scanning.d.ts.map +1 -0
- package/lib/services/content-scanning.js +175 -0
- package/lib/services/content-scanning.js.map +1 -0
- package/lib/services/custom-certificates.d.ts +240 -0
- package/lib/services/custom-certificates.d.ts.map +1 -0
- package/lib/services/custom-certificates.js +336 -0
- package/lib/services/custom-certificates.js.map +1 -0
- package/lib/services/custom-hostnames.d.ts +590 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -0
- package/lib/services/custom-hostnames.js +1204 -0
- package/lib/services/custom-hostnames.js.map +1 -0
- package/lib/services/custom-nameservers.d.ts +87 -0
- package/lib/services/custom-nameservers.d.ts.map +1 -0
- package/lib/services/custom-nameservers.js +95 -0
- package/lib/services/custom-nameservers.js.map +1 -0
- package/lib/services/custom-pages.d.ts +89 -0
- package/lib/services/custom-pages.d.ts.map +1 -0
- package/lib/services/custom-pages.js +140 -0
- package/lib/services/custom-pages.js.map +1 -0
- package/lib/services/d1.d.ts +392 -0
- package/lib/services/d1.d.ts.map +1 -0
- package/lib/services/d1.js +487 -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 +208 -0
- package/lib/services/diagnostics.d.ts.map +1 -0
- package/lib/services/diagnostics.js +288 -0
- package/lib/services/diagnostics.js.map +1 -0
- package/lib/services/dns-firewall.d.ts +317 -0
- package/lib/services/dns-firewall.d.ts.map +1 -0
- package/lib/services/dns-firewall.js +400 -0
- package/lib/services/dns-firewall.js.map +1 -0
- package/lib/services/dns.d.ts +3065 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +4627 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/durable-objects.d.ts +92 -0
- package/lib/services/durable-objects.d.ts.map +1 -0
- package/lib/services/durable-objects.js +103 -0
- package/lib/services/durable-objects.js.map +1 -0
- package/lib/services/email-routing.d.ts +598 -0
- package/lib/services/email-routing.d.ts.map +1 -0
- package/lib/services/email-routing.js +715 -0
- package/lib/services/email-routing.js.map +1 -0
- package/lib/services/email-security.d.ts +1389 -0
- package/lib/services/email-security.d.ts.map +1 -0
- package/lib/services/email-security.js +2261 -0
- package/lib/services/email-security.js.map +1 -0
- package/lib/services/filters.d.ts +197 -0
- package/lib/services/filters.d.ts.map +1 -0
- package/lib/services/filters.js +168 -0
- package/lib/services/filters.js.map +1 -0
- package/lib/services/firewall.d.ts +1352 -0
- package/lib/services/firewall.d.ts.map +1 -0
- package/lib/services/firewall.js +2084 -0
- package/lib/services/firewall.js.map +1 -0
- package/lib/services/healthchecks.d.ts +507 -0
- package/lib/services/healthchecks.d.ts.map +1 -0
- package/lib/services/healthchecks.js +867 -0
- package/lib/services/healthchecks.js.map +1 -0
- package/lib/services/hostnames.d.ts +86 -0
- package/lib/services/hostnames.d.ts.map +1 -0
- package/lib/services/hostnames.js +111 -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 +300 -0
- package/lib/services/hyperdrive.js.map +1 -0
- package/lib/services/iam.d.ts +657 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +843 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/images.d.ts +427 -0
- package/lib/services/images.d.ts.map +1 -0
- package/lib/services/images.js +444 -0
- package/lib/services/images.js.map +1 -0
- package/lib/services/intel.d.ts +865 -0
- package/lib/services/intel.d.ts.map +1 -0
- package/lib/services/intel.js +1266 -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 +197 -0
- package/lib/services/keyless-certificates.d.ts.map +1 -0
- package/lib/services/keyless-certificates.js +229 -0
- package/lib/services/keyless-certificates.js.map +1 -0
- package/lib/services/kv.d.ts +369 -0
- package/lib/services/kv.d.ts.map +1 -0
- package/lib/services/kv.js +453 -0
- package/lib/services/kv.js.map +1 -0
- package/lib/services/leaked-credential-checks.d.ts +129 -0
- package/lib/services/leaked-credential-checks.d.ts.map +1 -0
- package/lib/services/leaked-credential-checks.js +138 -0
- package/lib/services/leaked-credential-checks.js.map +1 -0
- package/lib/services/load-balancers.d.ts +1973 -0
- package/lib/services/load-balancers.d.ts.map +1 -0
- package/lib/services/load-balancers.js +3181 -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 +732 -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 +149 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/magic-cloud-networking.d.ts +1892 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -0
- package/lib/services/magic-cloud-networking.js +5291 -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 +557 -0
- package/lib/services/magic-network-monitoring.js.map +1 -0
- package/lib/services/magic-transit.d.ts +3886 -0
- package/lib/services/magic-transit.d.ts.map +1 -0
- package/lib/services/magic-transit.js +6284 -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 +111 -0
- package/lib/services/managed-transforms.js.map +1 -0
- package/lib/services/memberships.d.ts +204 -0
- package/lib/services/memberships.d.ts.map +1 -0
- package/lib/services/memberships.js +308 -0
- package/lib/services/memberships.js.map +1 -0
- package/lib/services/mtls-certificates.d.ts +164 -0
- package/lib/services/mtls-certificates.d.ts.map +1 -0
- package/lib/services/mtls-certificates.js +192 -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 +232 -0
- package/lib/services/organizations.d.ts.map +1 -0
- package/lib/services/organizations.js +370 -0
- package/lib/services/organizations.js.map +1 -0
- package/lib/services/origin-ca-certificates.d.ts +119 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -0
- package/lib/services/origin-ca-certificates.js +183 -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 +64 -0
- package/lib/services/origin-post-quantum-encryption.js.map +1 -0
- package/lib/services/origin-tls-client-auth.d.ts +308 -0
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
- package/lib/services/origin-tls-client-auth.js +435 -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 +1373 -0
- package/lib/services/page-rules.js.map +1 -0
- package/lib/services/page-shield.d.ts +505 -0
- package/lib/services/page-shield.d.ts.map +1 -0
- package/lib/services/page-shield.js +520 -0
- package/lib/services/page-shield.js.map +1 -0
- package/lib/services/pages.d.ts +1949 -0
- package/lib/services/pages.d.ts.map +1 -0
- package/lib/services/pages.js +3030 -0
- package/lib/services/pages.js.map +1 -0
- package/lib/services/pipelines.d.ts +1716 -0
- package/lib/services/pipelines.d.ts.map +1 -0
- package/lib/services/pipelines.js +2991 -0
- package/lib/services/pipelines.js.map +1 -0
- package/lib/services/queues.d.ts +904 -0
- package/lib/services/queues.d.ts.map +1 -0
- package/lib/services/queues.js +1250 -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 +513 -0
- package/lib/services/r2-data-catalog.js.map +1 -0
- package/lib/services/r2.d.ts +1087 -0
- package/lib/services/r2.d.ts.map +1 -0
- package/lib/services/r2.js +1404 -0
- package/lib/services/r2.js.map +1 -0
- package/lib/services/radar.d.ts +9365 -0
- package/lib/services/radar.d.ts.map +1 -0
- package/lib/services/radar.js +20552 -0
- package/lib/services/radar.js.map +1 -0
- package/lib/services/rate-limits.d.ts +360 -0
- package/lib/services/rate-limits.d.ts.map +1 -0
- package/lib/services/rate-limits.js +545 -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 +5402 -0
- package/lib/services/realtime-kit.js.map +1 -0
- package/lib/services/registrar.d.ts +121 -0
- package/lib/services/registrar.d.ts.map +1 -0
- package/lib/services/registrar.js +167 -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 +85 -0
- package/lib/services/request-tracers.js.map +1 -0
- package/lib/services/resource-sharing.d.ts +622 -0
- package/lib/services/resource-sharing.d.ts.map +1 -0
- package/lib/services/resource-sharing.js +929 -0
- package/lib/services/resource-sharing.js.map +1 -0
- package/lib/services/rules.d.ts +346 -0
- package/lib/services/rules.d.ts.map +1 -0
- package/lib/services/rules.js +431 -0
- package/lib/services/rules.js.map +1 -0
- package/lib/services/rulesets.d.ts +3345 -0
- package/lib/services/rulesets.d.ts.map +1 -0
- package/lib/services/rulesets.js +7904 -0
- package/lib/services/rulesets.js.map +1 -0
- package/lib/services/rum.d.ts +314 -0
- package/lib/services/rum.d.ts.map +1 -0
- package/lib/services/rum.js +442 -0
- package/lib/services/rum.js.map +1 -0
- package/lib/services/schema-validation.d.ts +273 -0
- package/lib/services/schema-validation.d.ts.map +1 -0
- package/lib/services/schema-validation.js +365 -0
- package/lib/services/schema-validation.js.map +1 -0
- package/lib/services/secrets-store.d.ts +393 -0
- package/lib/services/secrets-store.d.ts.map +1 -0
- package/lib/services/secrets-store.js +452 -0
- package/lib/services/secrets-store.js.map +1 -0
- package/lib/services/security-center.d.ts +136 -0
- package/lib/services/security-center.d.ts.map +1 -0
- package/lib/services/security-center.js +196 -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 +190 -0
- package/lib/services/snippets.d.ts.map +1 -0
- package/lib/services/snippets.js +221 -0
- package/lib/services/snippets.js.map +1 -0
- package/lib/services/spectrum.d.ts +350 -0
- package/lib/services/spectrum.d.ts.map +1 -0
- package/lib/services/spectrum.js +535 -0
- package/lib/services/spectrum.js.map +1 -0
- package/lib/services/speed.d.ts +257 -0
- package/lib/services/speed.d.ts.map +1 -0
- package/lib/services/speed.js +471 -0
- package/lib/services/speed.js.map +1 -0
- package/lib/services/ssl.d.ts +412 -0
- package/lib/services/ssl.d.ts.map +1 -0
- package/lib/services/ssl.js +755 -0
- package/lib/services/ssl.js.map +1 -0
- package/lib/services/stream.d.ts +1110 -0
- package/lib/services/stream.d.ts.map +1 -0
- package/lib/services/stream.js +1085 -0
- package/lib/services/stream.js.map +1 -0
- package/lib/services/token-validation.d.ts +662 -0
- package/lib/services/token-validation.d.ts.map +1 -0
- package/lib/services/token-validation.js +834 -0
- package/lib/services/token-validation.js.map +1 -0
- package/lib/services/turnstile.d.ts +272 -0
- package/lib/services/turnstile.d.ts.map +1 -0
- package/lib/services/turnstile.js +339 -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 +507 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +634 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vectorize.d.ts +297 -0
- package/lib/services/vectorize.d.ts.map +1 -0
- package/lib/services/vectorize.js +351 -0
- package/lib/services/vectorize.js.map +1 -0
- package/lib/services/waiting-rooms.d.ts +1149 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -0
- package/lib/services/waiting-rooms.js +1859 -0
- package/lib/services/waiting-rooms.js.map +1 -0
- package/lib/services/web3.d.ts +289 -0
- package/lib/services/web3.d.ts.map +1 -0
- package/lib/services/web3.js +381 -0
- package/lib/services/web3.js.map +1 -0
- package/lib/services/workers-for-platforms.d.ts +1394 -0
- package/lib/services/workers-for-platforms.d.ts.map +1 -0
- package/lib/services/workers-for-platforms.js +2121 -0
- package/lib/services/workers-for-platforms.js.map +1 -0
- package/lib/services/workers.d.ts +3827 -0
- package/lib/services/workers.d.ts.map +1 -0
- package/lib/services/workers.js +6105 -0
- package/lib/services/workers.js.map +1 -0
- package/lib/services/workflows.d.ts +442 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +599 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/services/zaraz.d.ts +312 -0
- package/lib/services/zaraz.d.ts.map +1 -0
- package/lib/services/zaraz.js +305 -0
- package/lib/services/zaraz.js.map +1 -0
- package/lib/services/zero-trust.d.ts +18235 -0
- package/lib/services/zero-trust.d.ts.map +1 -0
- package/lib/services/zero-trust.js +30268 -0
- package/lib/services/zero-trust.js.map +1 -0
- package/lib/services/zones.d.ts +1382 -0
- package/lib/services/zones.d.ts.map +1 -0
- package/lib/services/zones.js +2477 -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 +82 -0
- package/src/auth.ts +15 -0
- package/src/category.ts +1 -0
- package/src/client/api.ts +421 -0
- package/src/client/index.ts +7 -0
- package/src/credentials.ts +271 -0
- package/src/errors.ts +73 -0
- package/src/index.ts +9 -0
- package/src/retry.ts +35 -0
- package/src/schemas.ts +51 -0
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +955 -0
- package/src/services/accounts.ts +2152 -0
- package/src/services/acm.ts +178 -0
- package/src/services/addressing.ts +4262 -0
- package/src/services/ai-gateway.ts +3773 -0
- package/src/services/ai.ts +901 -0
- package/src/services/aisearch.ts +5215 -0
- package/src/services/alerting.ts +3303 -0
- package/src/services/api-gateway.ts +3890 -0
- package/src/services/argo.ts +270 -0
- package/src/services/audit-logs.ts +90 -0
- package/src/services/billing.ts +176 -0
- package/src/services/bot-management.ts +545 -0
- package/src/services/botnet-feed.ts +205 -0
- package/src/services/brand-protection.ts +575 -0
- package/src/services/browser-rendering.ts +2720 -0
- package/src/services/cache.ts +877 -0
- package/src/services/calls.ts +548 -0
- package/src/services/certificate-authorities.ts +114 -0
- package/src/services/client-certificates.ts +815 -0
- package/src/services/cloud-connector.ts +248 -0
- package/src/services/cloudforce-one.ts +4104 -0
- package/src/services/connectivity.ts +706 -0
- package/src/services/content-scanning.ts +458 -0
- package/src/services/custom-certificates.ts +690 -0
- package/src/services/custom-hostnames.ts +2641 -0
- package/src/services/custom-nameservers.ts +235 -0
- package/src/services/custom-pages.ts +311 -0
- package/src/services/d1.ts +1208 -0
- package/src/services/dcv-delegation.ts +54 -0
- package/src/services/diagnostics.ts +677 -0
- package/src/services/dns-firewall.ts +904 -0
- package/src/services/dns.ts +9277 -0
- package/src/services/durable-objects.ts +237 -0
- package/src/services/email-routing.ts +1796 -0
- package/src/services/email-security.ts +5052 -0
- package/src/services/filters.ts +488 -0
- package/src/services/firewall.ts +4728 -0
- package/src/services/healthchecks.ts +1866 -0
- package/src/services/hostnames.ts +254 -0
- package/src/services/hyperdrive.ts +595 -0
- package/src/services/iam.ts +1969 -0
- package/src/services/images.ts +1180 -0
- package/src/services/intel.ts +3072 -0
- package/src/services/ips.ts +88 -0
- package/src/services/keyless-certificates.ts +509 -0
- package/src/services/kv.ts +1129 -0
- package/src/services/leaked-credential-checks.ts +364 -0
- package/src/services/load-balancers.ts +6993 -0
- package/src/services/logpush.ts +1695 -0
- package/src/services/logs.ts +389 -0
- package/src/services/magic-cloud-networking.ts +10747 -0
- package/src/services/magic-network-monitoring.ts +1200 -0
- package/src/services/magic-transit.ts +13673 -0
- package/src/services/managed-transforms.ts +245 -0
- package/src/services/memberships.ts +698 -0
- package/src/services/mtls-certificates.ts +444 -0
- package/src/services/network-interconnects.ts +1253 -0
- package/src/services/organizations.ts +738 -0
- package/src/services/origin-ca-certificates.ts +369 -0
- package/src/services/origin-post-quantum-encryption.ts +136 -0
- package/src/services/origin-tls-client-auth.ts +1002 -0
- package/src/services/page-rules.ts +2632 -0
- package/src/services/page-shield.ts +1371 -0
- package/src/services/pages.ts +6167 -0
- package/src/services/pipelines.ts +6455 -0
- package/src/services/queues.ts +2827 -0
- package/src/services/r2-data-catalog.ts +1151 -0
- package/src/services/r2.ts +3529 -0
- package/src/services/radar.ts +42836 -0
- package/src/services/rate-limits.ts +1252 -0
- package/src/services/realtime-kit.ts +11080 -0
- package/src/services/registrar.ts +390 -0
- package/src/services/request-tracers.ts +161 -0
- package/src/services/resource-sharing.ts +2082 -0
- package/src/services/rules.ts +953 -0
- package/src/services/rulesets.ts +15361 -0
- package/src/services/rum.ts +994 -0
- package/src/services/schema-validation.ts +869 -0
- package/src/services/secrets-store.ts +1050 -0
- package/src/services/security-center.ts +495 -0
- package/src/services/security-txt.ts +317 -0
- package/src/services/snippets.ts +562 -0
- package/src/services/spectrum.ts +1190 -0
- package/src/services/speed.ts +1154 -0
- package/src/services/ssl.ts +1714 -0
- package/src/services/stream.ts +3008 -0
- package/src/services/token-validation.ts +1825 -0
- package/src/services/turnstile.ts +725 -0
- package/src/services/url-normalization.ts +133 -0
- package/src/services/url-scanner.ts +1851 -0
- package/src/services/user.ts +1587 -0
- package/src/services/vectorize.ts +875 -0
- package/src/services/waiting-rooms.ts +4216 -0
- package/src/services/web3.ts +899 -0
- package/src/services/workers-for-platforms.ts +4134 -0
- package/src/services/workers.ts +12298 -0
- package/src/services/workflows.ts +1372 -0
- package/src/services/zaraz.ts +833 -0
- package/src/services/zero-trust.ts +64685 -0
- package/src/services/zones.ts +5106 -0
- package/src/traits.ts +47 -0
|
@@ -0,0 +1,1949 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare PAGES API
|
|
3
|
+
*
|
|
4
|
+
* Generated from Cloudflare TypeScript SDK.
|
|
5
|
+
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service pages
|
|
6
|
+
*/
|
|
7
|
+
import * as stream from "effect/Stream";
|
|
8
|
+
import * as Schema from "effect/Schema";
|
|
9
|
+
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
|
+
import * as API from "../client/api.ts";
|
|
11
|
+
import type { Credentials } from "../credentials.ts";
|
|
12
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
13
|
+
export interface PurgeBuildCacheProjectRequest {
|
|
14
|
+
projectName: string;
|
|
15
|
+
/** Identifier. */
|
|
16
|
+
accountId: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const PurgeBuildCacheProjectRequest: Schema.Schema<PurgeBuildCacheProjectRequest>;
|
|
19
|
+
export type PurgeBuildCacheProjectResponse = unknown;
|
|
20
|
+
export declare const PurgeBuildCacheProjectResponse: Schema.Schema<unknown>;
|
|
21
|
+
export type PurgeBuildCacheProjectError = DefaultErrors;
|
|
22
|
+
export declare const purgeBuildCacheProject: API.OperationMethod<PurgeBuildCacheProjectRequest, PurgeBuildCacheProjectResponse, PurgeBuildCacheProjectError, Credentials | HttpClient.HttpClient>;
|
|
23
|
+
export interface GetProjectRequest {
|
|
24
|
+
projectName: string;
|
|
25
|
+
/** Identifier. */
|
|
26
|
+
accountId: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const GetProjectRequest: Schema.Schema<GetProjectRequest>;
|
|
29
|
+
export interface GetProjectResponse {
|
|
30
|
+
/** ID of the project. */
|
|
31
|
+
id: string;
|
|
32
|
+
/** Most recent production deployment of the project. */
|
|
33
|
+
canonicalDeployment: {
|
|
34
|
+
id: string;
|
|
35
|
+
aliases: string[] | null;
|
|
36
|
+
buildConfig: {
|
|
37
|
+
webAnalyticsTag: string | null;
|
|
38
|
+
webAnalyticsToken: string | null;
|
|
39
|
+
buildCaching?: boolean | null;
|
|
40
|
+
buildCommand?: string | null;
|
|
41
|
+
destinationDir?: string | null;
|
|
42
|
+
rootDir?: string | null;
|
|
43
|
+
};
|
|
44
|
+
createdOn: string;
|
|
45
|
+
deploymentTrigger: {
|
|
46
|
+
metadata: {
|
|
47
|
+
branch: string;
|
|
48
|
+
commitDirty: boolean;
|
|
49
|
+
commitHash: string;
|
|
50
|
+
commitMessage: string;
|
|
51
|
+
};
|
|
52
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
53
|
+
};
|
|
54
|
+
envVars: Record<string, unknown> | null;
|
|
55
|
+
environment: "preview" | "production";
|
|
56
|
+
isSkipped: boolean;
|
|
57
|
+
latestStage: unknown;
|
|
58
|
+
modifiedOn: string;
|
|
59
|
+
projectId: string;
|
|
60
|
+
projectName: string;
|
|
61
|
+
shortId: string;
|
|
62
|
+
source: {
|
|
63
|
+
config: {
|
|
64
|
+
deploymentsEnabled?: boolean | null;
|
|
65
|
+
owner?: string | null;
|
|
66
|
+
ownerId?: string | null;
|
|
67
|
+
pathExcludes?: string[] | null;
|
|
68
|
+
pathIncludes?: string[] | null;
|
|
69
|
+
prCommentsEnabled?: boolean | null;
|
|
70
|
+
previewBranchExcludes?: string[] | null;
|
|
71
|
+
previewBranchIncludes?: string[] | null;
|
|
72
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
73
|
+
productionBranch?: string | null;
|
|
74
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
75
|
+
repoId?: string | null;
|
|
76
|
+
repoName?: string | null;
|
|
77
|
+
};
|
|
78
|
+
type: "github" | "gitlab";
|
|
79
|
+
};
|
|
80
|
+
stages: unknown[];
|
|
81
|
+
url: string;
|
|
82
|
+
usesFunctions?: boolean | null;
|
|
83
|
+
} | null;
|
|
84
|
+
/** When the project was created. */
|
|
85
|
+
createdOn: string;
|
|
86
|
+
/** Configs for deployments in a project. */
|
|
87
|
+
deploymentConfigs: {
|
|
88
|
+
preview: {
|
|
89
|
+
aiBindings?: Record<string, unknown> | null;
|
|
90
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
91
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
92
|
+
browsers?: Record<string, unknown> | null;
|
|
93
|
+
buildImageMajorVersion?: number | null;
|
|
94
|
+
compatibilityDate?: string | null;
|
|
95
|
+
compatibilityFlags?: string[] | null;
|
|
96
|
+
d1Databases?: Record<string, unknown> | null;
|
|
97
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
98
|
+
envVars?: Record<string, unknown> | null;
|
|
99
|
+
failOpen?: boolean | null;
|
|
100
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
101
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
102
|
+
limits?: {
|
|
103
|
+
cpuMs: number;
|
|
104
|
+
} | null;
|
|
105
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
106
|
+
placement?: {
|
|
107
|
+
mode: string;
|
|
108
|
+
} | null;
|
|
109
|
+
queueProducers?: Record<string, unknown> | null;
|
|
110
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
111
|
+
services?: Record<string, unknown> | null;
|
|
112
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
113
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
114
|
+
wranglerConfigHash?: string | null;
|
|
115
|
+
};
|
|
116
|
+
production: {
|
|
117
|
+
aiBindings?: Record<string, unknown> | null;
|
|
118
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
119
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
120
|
+
browsers?: Record<string, unknown> | null;
|
|
121
|
+
buildImageMajorVersion?: number | null;
|
|
122
|
+
compatibilityDate?: string | null;
|
|
123
|
+
compatibilityFlags?: string[] | null;
|
|
124
|
+
d1Databases?: Record<string, unknown> | null;
|
|
125
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
126
|
+
envVars?: Record<string, unknown> | null;
|
|
127
|
+
failOpen?: boolean | null;
|
|
128
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
129
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
130
|
+
limits?: {
|
|
131
|
+
cpuMs: number;
|
|
132
|
+
} | null;
|
|
133
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
134
|
+
placement?: {
|
|
135
|
+
mode: string;
|
|
136
|
+
} | null;
|
|
137
|
+
queueProducers?: Record<string, unknown> | null;
|
|
138
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
139
|
+
services?: Record<string, unknown> | null;
|
|
140
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
141
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
142
|
+
wranglerConfigHash?: string | null;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
/** Framework the project is using. */
|
|
146
|
+
framework: string;
|
|
147
|
+
/** Version of the framework the project is using. */
|
|
148
|
+
frameworkVersion: string;
|
|
149
|
+
/** Most recent deployment of the project. */
|
|
150
|
+
latestDeployment: {
|
|
151
|
+
id: string;
|
|
152
|
+
aliases: string[] | null;
|
|
153
|
+
buildConfig: {
|
|
154
|
+
webAnalyticsTag: string | null;
|
|
155
|
+
webAnalyticsToken: string | null;
|
|
156
|
+
buildCaching?: boolean | null;
|
|
157
|
+
buildCommand?: string | null;
|
|
158
|
+
destinationDir?: string | null;
|
|
159
|
+
rootDir?: string | null;
|
|
160
|
+
};
|
|
161
|
+
createdOn: string;
|
|
162
|
+
deploymentTrigger: {
|
|
163
|
+
metadata: {
|
|
164
|
+
branch: string;
|
|
165
|
+
commitDirty: boolean;
|
|
166
|
+
commitHash: string;
|
|
167
|
+
commitMessage: string;
|
|
168
|
+
};
|
|
169
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
170
|
+
};
|
|
171
|
+
envVars: Record<string, unknown> | null;
|
|
172
|
+
environment: "preview" | "production";
|
|
173
|
+
isSkipped: boolean;
|
|
174
|
+
latestStage: unknown;
|
|
175
|
+
modifiedOn: string;
|
|
176
|
+
projectId: string;
|
|
177
|
+
projectName: string;
|
|
178
|
+
shortId: string;
|
|
179
|
+
source: {
|
|
180
|
+
config: {
|
|
181
|
+
deploymentsEnabled?: boolean | null;
|
|
182
|
+
owner?: string | null;
|
|
183
|
+
ownerId?: string | null;
|
|
184
|
+
pathExcludes?: string[] | null;
|
|
185
|
+
pathIncludes?: string[] | null;
|
|
186
|
+
prCommentsEnabled?: boolean | null;
|
|
187
|
+
previewBranchExcludes?: string[] | null;
|
|
188
|
+
previewBranchIncludes?: string[] | null;
|
|
189
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
190
|
+
productionBranch?: string | null;
|
|
191
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
192
|
+
repoId?: string | null;
|
|
193
|
+
repoName?: string | null;
|
|
194
|
+
};
|
|
195
|
+
type: "github" | "gitlab";
|
|
196
|
+
};
|
|
197
|
+
stages: unknown[];
|
|
198
|
+
url: string;
|
|
199
|
+
usesFunctions?: boolean | null;
|
|
200
|
+
} | null;
|
|
201
|
+
/** Name of the project. */
|
|
202
|
+
name: string;
|
|
203
|
+
/** Name of the preview script. */
|
|
204
|
+
previewScriptName: string;
|
|
205
|
+
/** Production branch of the project. Used to identify production deployments. */
|
|
206
|
+
productionBranch: string;
|
|
207
|
+
/** Name of the production script. */
|
|
208
|
+
productionScriptName: string;
|
|
209
|
+
/** Whether the project uses functions. */
|
|
210
|
+
usesFunctions: boolean | null;
|
|
211
|
+
/** Configs for the project build process. */
|
|
212
|
+
buildConfig?: {
|
|
213
|
+
webAnalyticsTag: string | null;
|
|
214
|
+
webAnalyticsToken: string | null;
|
|
215
|
+
buildCaching?: boolean | null;
|
|
216
|
+
buildCommand?: string | null;
|
|
217
|
+
destinationDir?: string | null;
|
|
218
|
+
rootDir?: string | null;
|
|
219
|
+
} | null;
|
|
220
|
+
/** A list of associated custom domains for the project. */
|
|
221
|
+
domains?: string[] | null;
|
|
222
|
+
/** Configs for the project source control. */
|
|
223
|
+
source?: {
|
|
224
|
+
config: {
|
|
225
|
+
deploymentsEnabled?: boolean | null;
|
|
226
|
+
owner?: string | null;
|
|
227
|
+
ownerId?: string | null;
|
|
228
|
+
pathExcludes?: string[] | null;
|
|
229
|
+
pathIncludes?: string[] | null;
|
|
230
|
+
prCommentsEnabled?: boolean | null;
|
|
231
|
+
previewBranchExcludes?: string[] | null;
|
|
232
|
+
previewBranchIncludes?: string[] | null;
|
|
233
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
234
|
+
productionBranch?: string | null;
|
|
235
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
236
|
+
repoId?: string | null;
|
|
237
|
+
repoName?: string | null;
|
|
238
|
+
};
|
|
239
|
+
type: "github" | "gitlab";
|
|
240
|
+
} | null;
|
|
241
|
+
/** The Cloudflare subdomain associated with the project. */
|
|
242
|
+
subdomain?: string | null;
|
|
243
|
+
}
|
|
244
|
+
export declare const GetProjectResponse: Schema.Schema<GetProjectResponse>;
|
|
245
|
+
export type GetProjectError = DefaultErrors;
|
|
246
|
+
export declare const getProject: API.OperationMethod<GetProjectRequest, GetProjectResponse, GetProjectError, Credentials | HttpClient.HttpClient>;
|
|
247
|
+
export interface ListProjectsRequest {
|
|
248
|
+
/** Path param: Identifier. */
|
|
249
|
+
accountId: string;
|
|
250
|
+
}
|
|
251
|
+
export declare const ListProjectsRequest: Schema.Schema<ListProjectsRequest>;
|
|
252
|
+
export interface ListProjectsResponse {
|
|
253
|
+
result: {
|
|
254
|
+
id: string;
|
|
255
|
+
canonicalDeployment: {
|
|
256
|
+
id: string;
|
|
257
|
+
aliases: string[] | null;
|
|
258
|
+
buildConfig: {
|
|
259
|
+
webAnalyticsTag: string | null;
|
|
260
|
+
webAnalyticsToken: string | null;
|
|
261
|
+
buildCaching?: boolean | null;
|
|
262
|
+
buildCommand?: string | null;
|
|
263
|
+
destinationDir?: string | null;
|
|
264
|
+
rootDir?: string | null;
|
|
265
|
+
};
|
|
266
|
+
createdOn: string;
|
|
267
|
+
deploymentTrigger: {
|
|
268
|
+
metadata: {
|
|
269
|
+
branch: string;
|
|
270
|
+
commitDirty: boolean;
|
|
271
|
+
commitHash: string;
|
|
272
|
+
commitMessage: string;
|
|
273
|
+
};
|
|
274
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
275
|
+
};
|
|
276
|
+
envVars: Record<string, unknown> | null;
|
|
277
|
+
environment: "preview" | "production";
|
|
278
|
+
isSkipped: boolean;
|
|
279
|
+
latestStage: unknown;
|
|
280
|
+
modifiedOn: string;
|
|
281
|
+
projectId: string;
|
|
282
|
+
projectName: string;
|
|
283
|
+
shortId: string;
|
|
284
|
+
source: {
|
|
285
|
+
config: {
|
|
286
|
+
deploymentsEnabled?: boolean | null;
|
|
287
|
+
owner?: string | null;
|
|
288
|
+
ownerId?: string | null;
|
|
289
|
+
pathExcludes?: string[] | null;
|
|
290
|
+
pathIncludes?: string[] | null;
|
|
291
|
+
prCommentsEnabled?: boolean | null;
|
|
292
|
+
previewBranchExcludes?: string[] | null;
|
|
293
|
+
previewBranchIncludes?: string[] | null;
|
|
294
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
295
|
+
productionBranch?: string | null;
|
|
296
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
297
|
+
repoId?: string | null;
|
|
298
|
+
repoName?: string | null;
|
|
299
|
+
};
|
|
300
|
+
type: "github" | "gitlab";
|
|
301
|
+
};
|
|
302
|
+
stages: unknown[];
|
|
303
|
+
url: string;
|
|
304
|
+
usesFunctions?: boolean | null;
|
|
305
|
+
} | null;
|
|
306
|
+
createdOn: string;
|
|
307
|
+
deploymentConfigs: {
|
|
308
|
+
preview: {
|
|
309
|
+
aiBindings?: Record<string, unknown> | null;
|
|
310
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
311
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
312
|
+
browsers?: Record<string, unknown> | null;
|
|
313
|
+
buildImageMajorVersion?: number | null;
|
|
314
|
+
compatibilityDate?: string | null;
|
|
315
|
+
compatibilityFlags?: string[] | null;
|
|
316
|
+
d1Databases?: Record<string, unknown> | null;
|
|
317
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
318
|
+
envVars?: Record<string, unknown> | null;
|
|
319
|
+
failOpen?: boolean | null;
|
|
320
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
321
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
322
|
+
limits?: {
|
|
323
|
+
cpuMs: number;
|
|
324
|
+
} | null;
|
|
325
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
326
|
+
placement?: {
|
|
327
|
+
mode: string;
|
|
328
|
+
} | null;
|
|
329
|
+
queueProducers?: Record<string, unknown> | null;
|
|
330
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
331
|
+
services?: Record<string, unknown> | null;
|
|
332
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
333
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
334
|
+
wranglerConfigHash?: string | null;
|
|
335
|
+
};
|
|
336
|
+
production: {
|
|
337
|
+
aiBindings?: Record<string, unknown> | null;
|
|
338
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
339
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
340
|
+
browsers?: Record<string, unknown> | null;
|
|
341
|
+
buildImageMajorVersion?: number | null;
|
|
342
|
+
compatibilityDate?: string | null;
|
|
343
|
+
compatibilityFlags?: string[] | null;
|
|
344
|
+
d1Databases?: Record<string, unknown> | null;
|
|
345
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
346
|
+
envVars?: Record<string, unknown> | null;
|
|
347
|
+
failOpen?: boolean | null;
|
|
348
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
349
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
350
|
+
limits?: {
|
|
351
|
+
cpuMs: number;
|
|
352
|
+
} | null;
|
|
353
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
354
|
+
placement?: {
|
|
355
|
+
mode: string;
|
|
356
|
+
} | null;
|
|
357
|
+
queueProducers?: Record<string, unknown> | null;
|
|
358
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
359
|
+
services?: Record<string, unknown> | null;
|
|
360
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
361
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
362
|
+
wranglerConfigHash?: string | null;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
framework: string;
|
|
366
|
+
frameworkVersion: string;
|
|
367
|
+
latestDeployment: {
|
|
368
|
+
id: string;
|
|
369
|
+
aliases: string[] | null;
|
|
370
|
+
buildConfig: {
|
|
371
|
+
webAnalyticsTag: string | null;
|
|
372
|
+
webAnalyticsToken: string | null;
|
|
373
|
+
buildCaching?: boolean | null;
|
|
374
|
+
buildCommand?: string | null;
|
|
375
|
+
destinationDir?: string | null;
|
|
376
|
+
rootDir?: string | null;
|
|
377
|
+
};
|
|
378
|
+
createdOn: string;
|
|
379
|
+
deploymentTrigger: {
|
|
380
|
+
metadata: {
|
|
381
|
+
branch: string;
|
|
382
|
+
commitDirty: boolean;
|
|
383
|
+
commitHash: string;
|
|
384
|
+
commitMessage: string;
|
|
385
|
+
};
|
|
386
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
387
|
+
};
|
|
388
|
+
envVars: Record<string, unknown> | null;
|
|
389
|
+
environment: "preview" | "production";
|
|
390
|
+
isSkipped: boolean;
|
|
391
|
+
latestStage: unknown;
|
|
392
|
+
modifiedOn: string;
|
|
393
|
+
projectId: string;
|
|
394
|
+
projectName: string;
|
|
395
|
+
shortId: string;
|
|
396
|
+
source: {
|
|
397
|
+
config: {
|
|
398
|
+
deploymentsEnabled?: boolean | null;
|
|
399
|
+
owner?: string | null;
|
|
400
|
+
ownerId?: string | null;
|
|
401
|
+
pathExcludes?: string[] | null;
|
|
402
|
+
pathIncludes?: string[] | null;
|
|
403
|
+
prCommentsEnabled?: boolean | null;
|
|
404
|
+
previewBranchExcludes?: string[] | null;
|
|
405
|
+
previewBranchIncludes?: string[] | null;
|
|
406
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
407
|
+
productionBranch?: string | null;
|
|
408
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
409
|
+
repoId?: string | null;
|
|
410
|
+
repoName?: string | null;
|
|
411
|
+
};
|
|
412
|
+
type: "github" | "gitlab";
|
|
413
|
+
};
|
|
414
|
+
stages: unknown[];
|
|
415
|
+
url: string;
|
|
416
|
+
usesFunctions?: boolean | null;
|
|
417
|
+
} | null;
|
|
418
|
+
name: string;
|
|
419
|
+
previewScriptName: string;
|
|
420
|
+
productionBranch: string;
|
|
421
|
+
productionScriptName: string;
|
|
422
|
+
usesFunctions: boolean | null;
|
|
423
|
+
buildConfig?: {
|
|
424
|
+
webAnalyticsTag: string | null;
|
|
425
|
+
webAnalyticsToken: string | null;
|
|
426
|
+
buildCaching?: boolean | null;
|
|
427
|
+
buildCommand?: string | null;
|
|
428
|
+
destinationDir?: string | null;
|
|
429
|
+
rootDir?: string | null;
|
|
430
|
+
} | null;
|
|
431
|
+
domains?: string[] | null;
|
|
432
|
+
source?: {
|
|
433
|
+
config: {
|
|
434
|
+
deploymentsEnabled?: boolean | null;
|
|
435
|
+
owner?: string | null;
|
|
436
|
+
ownerId?: string | null;
|
|
437
|
+
pathExcludes?: string[] | null;
|
|
438
|
+
pathIncludes?: string[] | null;
|
|
439
|
+
prCommentsEnabled?: boolean | null;
|
|
440
|
+
previewBranchExcludes?: string[] | null;
|
|
441
|
+
previewBranchIncludes?: string[] | null;
|
|
442
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
443
|
+
productionBranch?: string | null;
|
|
444
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
445
|
+
repoId?: string | null;
|
|
446
|
+
repoName?: string | null;
|
|
447
|
+
};
|
|
448
|
+
type: "github" | "gitlab";
|
|
449
|
+
} | null;
|
|
450
|
+
subdomain?: string | null;
|
|
451
|
+
}[];
|
|
452
|
+
resultInfo: {
|
|
453
|
+
count?: number | null;
|
|
454
|
+
page?: number | null;
|
|
455
|
+
perPage?: number | null;
|
|
456
|
+
totalCount?: number | null;
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
export declare const ListProjectsResponse: Schema.Schema<ListProjectsResponse>;
|
|
460
|
+
export type ListProjectsError = DefaultErrors;
|
|
461
|
+
export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequest, ListProjectsResponse, ListProjectsError, Credentials | HttpClient.HttpClient> & {
|
|
462
|
+
pages: (input: ListProjectsRequest) => stream.Stream<ListProjectsResponse, ListProjectsError, Credentials | HttpClient.HttpClient>;
|
|
463
|
+
items: (input: ListProjectsRequest) => stream.Stream<{
|
|
464
|
+
id: string;
|
|
465
|
+
canonicalDeployment: {
|
|
466
|
+
id: string;
|
|
467
|
+
aliases: string[] | null;
|
|
468
|
+
buildConfig: {
|
|
469
|
+
webAnalyticsTag: string | null;
|
|
470
|
+
webAnalyticsToken: string | null;
|
|
471
|
+
buildCaching?: boolean | null;
|
|
472
|
+
buildCommand?: string | null;
|
|
473
|
+
destinationDir?: string | null;
|
|
474
|
+
rootDir?: string | null;
|
|
475
|
+
};
|
|
476
|
+
createdOn: string;
|
|
477
|
+
deploymentTrigger: {
|
|
478
|
+
metadata: {
|
|
479
|
+
branch: string;
|
|
480
|
+
commitDirty: boolean;
|
|
481
|
+
commitHash: string;
|
|
482
|
+
commitMessage: string;
|
|
483
|
+
};
|
|
484
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
485
|
+
};
|
|
486
|
+
envVars: Record<string, unknown> | null;
|
|
487
|
+
environment: "preview" | "production";
|
|
488
|
+
isSkipped: boolean;
|
|
489
|
+
latestStage: unknown;
|
|
490
|
+
modifiedOn: string;
|
|
491
|
+
projectId: string;
|
|
492
|
+
projectName: string;
|
|
493
|
+
shortId: string;
|
|
494
|
+
source: {
|
|
495
|
+
config: {
|
|
496
|
+
deploymentsEnabled?: boolean | null;
|
|
497
|
+
owner?: string | null;
|
|
498
|
+
ownerId?: string | null;
|
|
499
|
+
pathExcludes?: string[] | null;
|
|
500
|
+
pathIncludes?: string[] | null;
|
|
501
|
+
prCommentsEnabled?: boolean | null;
|
|
502
|
+
previewBranchExcludes?: string[] | null;
|
|
503
|
+
previewBranchIncludes?: string[] | null;
|
|
504
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
505
|
+
productionBranch?: string | null;
|
|
506
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
507
|
+
repoId?: string | null;
|
|
508
|
+
repoName?: string | null;
|
|
509
|
+
};
|
|
510
|
+
type: "github" | "gitlab";
|
|
511
|
+
};
|
|
512
|
+
stages: unknown[];
|
|
513
|
+
url: string;
|
|
514
|
+
usesFunctions?: boolean | null;
|
|
515
|
+
} | null;
|
|
516
|
+
createdOn: string;
|
|
517
|
+
deploymentConfigs: {
|
|
518
|
+
preview: {
|
|
519
|
+
aiBindings?: Record<string, unknown> | null;
|
|
520
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
521
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
522
|
+
browsers?: Record<string, unknown> | null;
|
|
523
|
+
buildImageMajorVersion?: number | null;
|
|
524
|
+
compatibilityDate?: string | null;
|
|
525
|
+
compatibilityFlags?: string[] | null;
|
|
526
|
+
d1Databases?: Record<string, unknown> | null;
|
|
527
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
528
|
+
envVars?: Record<string, unknown> | null;
|
|
529
|
+
failOpen?: boolean | null;
|
|
530
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
531
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
532
|
+
limits?: {
|
|
533
|
+
cpuMs: number;
|
|
534
|
+
} | null;
|
|
535
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
536
|
+
placement?: {
|
|
537
|
+
mode: string;
|
|
538
|
+
} | null;
|
|
539
|
+
queueProducers?: Record<string, unknown> | null;
|
|
540
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
541
|
+
services?: Record<string, unknown> | null;
|
|
542
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
543
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
544
|
+
wranglerConfigHash?: string | null;
|
|
545
|
+
};
|
|
546
|
+
production: {
|
|
547
|
+
aiBindings?: Record<string, unknown> | null;
|
|
548
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
549
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
550
|
+
browsers?: Record<string, unknown> | null;
|
|
551
|
+
buildImageMajorVersion?: number | null;
|
|
552
|
+
compatibilityDate?: string | null;
|
|
553
|
+
compatibilityFlags?: string[] | null;
|
|
554
|
+
d1Databases?: Record<string, unknown> | null;
|
|
555
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
556
|
+
envVars?: Record<string, unknown> | null;
|
|
557
|
+
failOpen?: boolean | null;
|
|
558
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
559
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
560
|
+
limits?: {
|
|
561
|
+
cpuMs: number;
|
|
562
|
+
} | null;
|
|
563
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
564
|
+
placement?: {
|
|
565
|
+
mode: string;
|
|
566
|
+
} | null;
|
|
567
|
+
queueProducers?: Record<string, unknown> | null;
|
|
568
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
569
|
+
services?: Record<string, unknown> | null;
|
|
570
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
571
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
572
|
+
wranglerConfigHash?: string | null;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
framework: string;
|
|
576
|
+
frameworkVersion: string;
|
|
577
|
+
latestDeployment: {
|
|
578
|
+
id: string;
|
|
579
|
+
aliases: string[] | null;
|
|
580
|
+
buildConfig: {
|
|
581
|
+
webAnalyticsTag: string | null;
|
|
582
|
+
webAnalyticsToken: string | null;
|
|
583
|
+
buildCaching?: boolean | null;
|
|
584
|
+
buildCommand?: string | null;
|
|
585
|
+
destinationDir?: string | null;
|
|
586
|
+
rootDir?: string | null;
|
|
587
|
+
};
|
|
588
|
+
createdOn: string;
|
|
589
|
+
deploymentTrigger: {
|
|
590
|
+
metadata: {
|
|
591
|
+
branch: string;
|
|
592
|
+
commitDirty: boolean;
|
|
593
|
+
commitHash: string;
|
|
594
|
+
commitMessage: string;
|
|
595
|
+
};
|
|
596
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
597
|
+
};
|
|
598
|
+
envVars: Record<string, unknown> | null;
|
|
599
|
+
environment: "preview" | "production";
|
|
600
|
+
isSkipped: boolean;
|
|
601
|
+
latestStage: unknown;
|
|
602
|
+
modifiedOn: string;
|
|
603
|
+
projectId: string;
|
|
604
|
+
projectName: string;
|
|
605
|
+
shortId: string;
|
|
606
|
+
source: {
|
|
607
|
+
config: {
|
|
608
|
+
deploymentsEnabled?: boolean | null;
|
|
609
|
+
owner?: string | null;
|
|
610
|
+
ownerId?: string | null;
|
|
611
|
+
pathExcludes?: string[] | null;
|
|
612
|
+
pathIncludes?: string[] | null;
|
|
613
|
+
prCommentsEnabled?: boolean | null;
|
|
614
|
+
previewBranchExcludes?: string[] | null;
|
|
615
|
+
previewBranchIncludes?: string[] | null;
|
|
616
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
617
|
+
productionBranch?: string | null;
|
|
618
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
619
|
+
repoId?: string | null;
|
|
620
|
+
repoName?: string | null;
|
|
621
|
+
};
|
|
622
|
+
type: "github" | "gitlab";
|
|
623
|
+
};
|
|
624
|
+
stages: unknown[];
|
|
625
|
+
url: string;
|
|
626
|
+
usesFunctions?: boolean | null;
|
|
627
|
+
} | null;
|
|
628
|
+
name: string;
|
|
629
|
+
previewScriptName: string;
|
|
630
|
+
productionBranch: string;
|
|
631
|
+
productionScriptName: string;
|
|
632
|
+
usesFunctions: boolean | null;
|
|
633
|
+
buildConfig?: {
|
|
634
|
+
webAnalyticsTag: string | null;
|
|
635
|
+
webAnalyticsToken: string | null;
|
|
636
|
+
buildCaching?: boolean | null;
|
|
637
|
+
buildCommand?: string | null;
|
|
638
|
+
destinationDir?: string | null;
|
|
639
|
+
rootDir?: string | null;
|
|
640
|
+
} | null;
|
|
641
|
+
domains?: string[] | null;
|
|
642
|
+
source?: {
|
|
643
|
+
config: {
|
|
644
|
+
deploymentsEnabled?: boolean | null;
|
|
645
|
+
owner?: string | null;
|
|
646
|
+
ownerId?: string | null;
|
|
647
|
+
pathExcludes?: string[] | null;
|
|
648
|
+
pathIncludes?: string[] | null;
|
|
649
|
+
prCommentsEnabled?: boolean | null;
|
|
650
|
+
previewBranchExcludes?: string[] | null;
|
|
651
|
+
previewBranchIncludes?: string[] | null;
|
|
652
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
653
|
+
productionBranch?: string | null;
|
|
654
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
655
|
+
repoId?: string | null;
|
|
656
|
+
repoName?: string | null;
|
|
657
|
+
};
|
|
658
|
+
type: "github" | "gitlab";
|
|
659
|
+
} | null;
|
|
660
|
+
subdomain?: string | null;
|
|
661
|
+
}, ListProjectsError, Credentials | HttpClient.HttpClient>;
|
|
662
|
+
};
|
|
663
|
+
export interface CreateProjectRequest {
|
|
664
|
+
/** Path param: Identifier. */
|
|
665
|
+
accountId: string;
|
|
666
|
+
/** Body param: Name of the project. */
|
|
667
|
+
name: string;
|
|
668
|
+
/** Body param: Production branch of the project. Used to identify production deployments. */
|
|
669
|
+
productionBranch: string;
|
|
670
|
+
/** Body param: Configs for the project build process. */
|
|
671
|
+
buildConfig?: {
|
|
672
|
+
buildCaching?: boolean;
|
|
673
|
+
buildCommand?: string;
|
|
674
|
+
destinationDir?: string;
|
|
675
|
+
rootDir?: string;
|
|
676
|
+
webAnalyticsTag?: string | null;
|
|
677
|
+
webAnalyticsToken?: string | null;
|
|
678
|
+
};
|
|
679
|
+
/** Body param: Configs for deployments in a project. */
|
|
680
|
+
deploymentConfigs?: {
|
|
681
|
+
preview?: {
|
|
682
|
+
aiBindings?: Record<string, unknown>;
|
|
683
|
+
alwaysUseLatestCompatibilityDate?: boolean;
|
|
684
|
+
analyticsEngineDatasets?: Record<string, unknown>;
|
|
685
|
+
browsers?: Record<string, unknown>;
|
|
686
|
+
buildImageMajorVersion?: number;
|
|
687
|
+
compatibilityDate?: string;
|
|
688
|
+
compatibilityFlags?: string[];
|
|
689
|
+
d1Databases?: Record<string, unknown>;
|
|
690
|
+
durableObjectNamespaces?: Record<string, unknown>;
|
|
691
|
+
envVars?: Record<string, unknown>;
|
|
692
|
+
failOpen?: boolean;
|
|
693
|
+
hyperdriveBindings?: Record<string, unknown>;
|
|
694
|
+
kvNamespaces?: Record<string, unknown>;
|
|
695
|
+
limits?: {
|
|
696
|
+
cpuMs: number;
|
|
697
|
+
};
|
|
698
|
+
mtlsCertificates?: Record<string, unknown>;
|
|
699
|
+
placement?: {
|
|
700
|
+
mode: string;
|
|
701
|
+
};
|
|
702
|
+
queueProducers?: Record<string, unknown>;
|
|
703
|
+
r2Buckets?: Record<string, unknown>;
|
|
704
|
+
services?: Record<string, unknown>;
|
|
705
|
+
usageModel?: "standard" | "bundled" | "unbound";
|
|
706
|
+
vectorizeBindings?: Record<string, unknown>;
|
|
707
|
+
wranglerConfigHash?: string;
|
|
708
|
+
};
|
|
709
|
+
production?: {
|
|
710
|
+
aiBindings?: Record<string, unknown>;
|
|
711
|
+
alwaysUseLatestCompatibilityDate?: boolean;
|
|
712
|
+
analyticsEngineDatasets?: Record<string, unknown>;
|
|
713
|
+
browsers?: Record<string, unknown>;
|
|
714
|
+
buildImageMajorVersion?: number;
|
|
715
|
+
compatibilityDate?: string;
|
|
716
|
+
compatibilityFlags?: string[];
|
|
717
|
+
d1Databases?: Record<string, unknown>;
|
|
718
|
+
durableObjectNamespaces?: Record<string, unknown>;
|
|
719
|
+
envVars?: Record<string, unknown>;
|
|
720
|
+
failOpen?: boolean;
|
|
721
|
+
hyperdriveBindings?: Record<string, unknown>;
|
|
722
|
+
kvNamespaces?: Record<string, unknown>;
|
|
723
|
+
limits?: {
|
|
724
|
+
cpuMs: number;
|
|
725
|
+
};
|
|
726
|
+
mtlsCertificates?: Record<string, unknown>;
|
|
727
|
+
placement?: {
|
|
728
|
+
mode: string;
|
|
729
|
+
};
|
|
730
|
+
queueProducers?: Record<string, unknown>;
|
|
731
|
+
r2Buckets?: Record<string, unknown>;
|
|
732
|
+
services?: Record<string, unknown>;
|
|
733
|
+
usageModel?: "standard" | "bundled" | "unbound";
|
|
734
|
+
vectorizeBindings?: Record<string, unknown>;
|
|
735
|
+
wranglerConfigHash?: string;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
/** Body param: Configs for the project source control. */
|
|
739
|
+
source?: {
|
|
740
|
+
config: {
|
|
741
|
+
deploymentsEnabled?: boolean;
|
|
742
|
+
owner?: string;
|
|
743
|
+
ownerId?: string;
|
|
744
|
+
pathExcludes?: string[];
|
|
745
|
+
pathIncludes?: string[];
|
|
746
|
+
prCommentsEnabled?: boolean;
|
|
747
|
+
previewBranchExcludes?: string[];
|
|
748
|
+
previewBranchIncludes?: string[];
|
|
749
|
+
previewDeploymentSetting?: "all" | "none" | "custom";
|
|
750
|
+
productionBranch?: string;
|
|
751
|
+
productionDeploymentsEnabled?: boolean;
|
|
752
|
+
repoId?: string;
|
|
753
|
+
repoName?: string;
|
|
754
|
+
};
|
|
755
|
+
type: "github" | "gitlab";
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
export declare const CreateProjectRequest: Schema.Schema<CreateProjectRequest>;
|
|
759
|
+
export interface CreateProjectResponse {
|
|
760
|
+
/** ID of the project. */
|
|
761
|
+
id: string;
|
|
762
|
+
/** Most recent production deployment of the project. */
|
|
763
|
+
canonicalDeployment: {
|
|
764
|
+
id: string;
|
|
765
|
+
aliases: string[] | null;
|
|
766
|
+
buildConfig: {
|
|
767
|
+
webAnalyticsTag: string | null;
|
|
768
|
+
webAnalyticsToken: string | null;
|
|
769
|
+
buildCaching?: boolean | null;
|
|
770
|
+
buildCommand?: string | null;
|
|
771
|
+
destinationDir?: string | null;
|
|
772
|
+
rootDir?: string | null;
|
|
773
|
+
};
|
|
774
|
+
createdOn: string;
|
|
775
|
+
deploymentTrigger: {
|
|
776
|
+
metadata: {
|
|
777
|
+
branch: string;
|
|
778
|
+
commitDirty: boolean;
|
|
779
|
+
commitHash: string;
|
|
780
|
+
commitMessage: string;
|
|
781
|
+
};
|
|
782
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
783
|
+
};
|
|
784
|
+
envVars: Record<string, unknown> | null;
|
|
785
|
+
environment: "preview" | "production";
|
|
786
|
+
isSkipped: boolean;
|
|
787
|
+
latestStage: unknown;
|
|
788
|
+
modifiedOn: string;
|
|
789
|
+
projectId: string;
|
|
790
|
+
projectName: string;
|
|
791
|
+
shortId: string;
|
|
792
|
+
source: {
|
|
793
|
+
config: {
|
|
794
|
+
deploymentsEnabled?: boolean | null;
|
|
795
|
+
owner?: string | null;
|
|
796
|
+
ownerId?: string | null;
|
|
797
|
+
pathExcludes?: string[] | null;
|
|
798
|
+
pathIncludes?: string[] | null;
|
|
799
|
+
prCommentsEnabled?: boolean | null;
|
|
800
|
+
previewBranchExcludes?: string[] | null;
|
|
801
|
+
previewBranchIncludes?: string[] | null;
|
|
802
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
803
|
+
productionBranch?: string | null;
|
|
804
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
805
|
+
repoId?: string | null;
|
|
806
|
+
repoName?: string | null;
|
|
807
|
+
};
|
|
808
|
+
type: "github" | "gitlab";
|
|
809
|
+
};
|
|
810
|
+
stages: unknown[];
|
|
811
|
+
url: string;
|
|
812
|
+
usesFunctions?: boolean | null;
|
|
813
|
+
} | null;
|
|
814
|
+
/** When the project was created. */
|
|
815
|
+
createdOn: string;
|
|
816
|
+
/** Configs for deployments in a project. */
|
|
817
|
+
deploymentConfigs: {
|
|
818
|
+
preview: {
|
|
819
|
+
aiBindings?: Record<string, unknown> | null;
|
|
820
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
821
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
822
|
+
browsers?: Record<string, unknown> | null;
|
|
823
|
+
buildImageMajorVersion?: number | null;
|
|
824
|
+
compatibilityDate?: string | null;
|
|
825
|
+
compatibilityFlags?: string[] | null;
|
|
826
|
+
d1Databases?: Record<string, unknown> | null;
|
|
827
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
828
|
+
envVars?: Record<string, unknown> | null;
|
|
829
|
+
failOpen?: boolean | null;
|
|
830
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
831
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
832
|
+
limits?: {
|
|
833
|
+
cpuMs: number;
|
|
834
|
+
} | null;
|
|
835
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
836
|
+
placement?: {
|
|
837
|
+
mode: string;
|
|
838
|
+
} | null;
|
|
839
|
+
queueProducers?: Record<string, unknown> | null;
|
|
840
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
841
|
+
services?: Record<string, unknown> | null;
|
|
842
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
843
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
844
|
+
wranglerConfigHash?: string | null;
|
|
845
|
+
};
|
|
846
|
+
production: {
|
|
847
|
+
aiBindings?: Record<string, unknown> | null;
|
|
848
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
849
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
850
|
+
browsers?: Record<string, unknown> | null;
|
|
851
|
+
buildImageMajorVersion?: number | null;
|
|
852
|
+
compatibilityDate?: string | null;
|
|
853
|
+
compatibilityFlags?: string[] | null;
|
|
854
|
+
d1Databases?: Record<string, unknown> | null;
|
|
855
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
856
|
+
envVars?: Record<string, unknown> | null;
|
|
857
|
+
failOpen?: boolean | null;
|
|
858
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
859
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
860
|
+
limits?: {
|
|
861
|
+
cpuMs: number;
|
|
862
|
+
} | null;
|
|
863
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
864
|
+
placement?: {
|
|
865
|
+
mode: string;
|
|
866
|
+
} | null;
|
|
867
|
+
queueProducers?: Record<string, unknown> | null;
|
|
868
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
869
|
+
services?: Record<string, unknown> | null;
|
|
870
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
871
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
872
|
+
wranglerConfigHash?: string | null;
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
/** Framework the project is using. */
|
|
876
|
+
framework: string;
|
|
877
|
+
/** Version of the framework the project is using. */
|
|
878
|
+
frameworkVersion: string;
|
|
879
|
+
/** Most recent deployment of the project. */
|
|
880
|
+
latestDeployment: {
|
|
881
|
+
id: string;
|
|
882
|
+
aliases: string[] | null;
|
|
883
|
+
buildConfig: {
|
|
884
|
+
webAnalyticsTag: string | null;
|
|
885
|
+
webAnalyticsToken: string | null;
|
|
886
|
+
buildCaching?: boolean | null;
|
|
887
|
+
buildCommand?: string | null;
|
|
888
|
+
destinationDir?: string | null;
|
|
889
|
+
rootDir?: string | null;
|
|
890
|
+
};
|
|
891
|
+
createdOn: string;
|
|
892
|
+
deploymentTrigger: {
|
|
893
|
+
metadata: {
|
|
894
|
+
branch: string;
|
|
895
|
+
commitDirty: boolean;
|
|
896
|
+
commitHash: string;
|
|
897
|
+
commitMessage: string;
|
|
898
|
+
};
|
|
899
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
900
|
+
};
|
|
901
|
+
envVars: Record<string, unknown> | null;
|
|
902
|
+
environment: "preview" | "production";
|
|
903
|
+
isSkipped: boolean;
|
|
904
|
+
latestStage: unknown;
|
|
905
|
+
modifiedOn: string;
|
|
906
|
+
projectId: string;
|
|
907
|
+
projectName: string;
|
|
908
|
+
shortId: string;
|
|
909
|
+
source: {
|
|
910
|
+
config: {
|
|
911
|
+
deploymentsEnabled?: boolean | null;
|
|
912
|
+
owner?: string | null;
|
|
913
|
+
ownerId?: string | null;
|
|
914
|
+
pathExcludes?: string[] | null;
|
|
915
|
+
pathIncludes?: string[] | null;
|
|
916
|
+
prCommentsEnabled?: boolean | null;
|
|
917
|
+
previewBranchExcludes?: string[] | null;
|
|
918
|
+
previewBranchIncludes?: string[] | null;
|
|
919
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
920
|
+
productionBranch?: string | null;
|
|
921
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
922
|
+
repoId?: string | null;
|
|
923
|
+
repoName?: string | null;
|
|
924
|
+
};
|
|
925
|
+
type: "github" | "gitlab";
|
|
926
|
+
};
|
|
927
|
+
stages: unknown[];
|
|
928
|
+
url: string;
|
|
929
|
+
usesFunctions?: boolean | null;
|
|
930
|
+
} | null;
|
|
931
|
+
/** Name of the project. */
|
|
932
|
+
name: string;
|
|
933
|
+
/** Name of the preview script. */
|
|
934
|
+
previewScriptName: string;
|
|
935
|
+
/** Production branch of the project. Used to identify production deployments. */
|
|
936
|
+
productionBranch: string;
|
|
937
|
+
/** Name of the production script. */
|
|
938
|
+
productionScriptName: string;
|
|
939
|
+
/** Whether the project uses functions. */
|
|
940
|
+
usesFunctions: boolean | null;
|
|
941
|
+
/** Configs for the project build process. */
|
|
942
|
+
buildConfig?: {
|
|
943
|
+
webAnalyticsTag: string | null;
|
|
944
|
+
webAnalyticsToken: string | null;
|
|
945
|
+
buildCaching?: boolean | null;
|
|
946
|
+
buildCommand?: string | null;
|
|
947
|
+
destinationDir?: string | null;
|
|
948
|
+
rootDir?: string | null;
|
|
949
|
+
} | null;
|
|
950
|
+
/** A list of associated custom domains for the project. */
|
|
951
|
+
domains?: string[] | null;
|
|
952
|
+
/** Configs for the project source control. */
|
|
953
|
+
source?: {
|
|
954
|
+
config: {
|
|
955
|
+
deploymentsEnabled?: boolean | null;
|
|
956
|
+
owner?: string | null;
|
|
957
|
+
ownerId?: string | null;
|
|
958
|
+
pathExcludes?: string[] | null;
|
|
959
|
+
pathIncludes?: string[] | null;
|
|
960
|
+
prCommentsEnabled?: boolean | null;
|
|
961
|
+
previewBranchExcludes?: string[] | null;
|
|
962
|
+
previewBranchIncludes?: string[] | null;
|
|
963
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
964
|
+
productionBranch?: string | null;
|
|
965
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
966
|
+
repoId?: string | null;
|
|
967
|
+
repoName?: string | null;
|
|
968
|
+
};
|
|
969
|
+
type: "github" | "gitlab";
|
|
970
|
+
} | null;
|
|
971
|
+
/** The Cloudflare subdomain associated with the project. */
|
|
972
|
+
subdomain?: string | null;
|
|
973
|
+
}
|
|
974
|
+
export declare const CreateProjectResponse: Schema.Schema<CreateProjectResponse>;
|
|
975
|
+
export type CreateProjectError = DefaultErrors;
|
|
976
|
+
export declare const createProject: API.OperationMethod<CreateProjectRequest, CreateProjectResponse, CreateProjectError, Credentials | HttpClient.HttpClient>;
|
|
977
|
+
export interface PatchProjectRequest {
|
|
978
|
+
projectName: string;
|
|
979
|
+
/** Path param: Identifier. */
|
|
980
|
+
accountId: string;
|
|
981
|
+
/** Body param: Configs for the project build process. */
|
|
982
|
+
buildConfig?: {
|
|
983
|
+
buildCaching?: boolean;
|
|
984
|
+
buildCommand?: string;
|
|
985
|
+
destinationDir?: string;
|
|
986
|
+
rootDir?: string;
|
|
987
|
+
webAnalyticsTag?: string | null;
|
|
988
|
+
webAnalyticsToken?: string | null;
|
|
989
|
+
};
|
|
990
|
+
/** Body param: Configs for deployments in a project. */
|
|
991
|
+
deploymentConfigs?: {
|
|
992
|
+
preview?: {
|
|
993
|
+
aiBindings?: Record<string, unknown>;
|
|
994
|
+
alwaysUseLatestCompatibilityDate?: boolean;
|
|
995
|
+
analyticsEngineDatasets?: Record<string, unknown>;
|
|
996
|
+
browsers?: Record<string, unknown>;
|
|
997
|
+
buildImageMajorVersion?: number;
|
|
998
|
+
compatibilityDate?: string;
|
|
999
|
+
compatibilityFlags?: string[];
|
|
1000
|
+
d1Databases?: Record<string, unknown>;
|
|
1001
|
+
durableObjectNamespaces?: Record<string, unknown>;
|
|
1002
|
+
envVars?: Record<string, unknown>;
|
|
1003
|
+
failOpen?: boolean;
|
|
1004
|
+
hyperdriveBindings?: Record<string, unknown>;
|
|
1005
|
+
kvNamespaces?: Record<string, unknown>;
|
|
1006
|
+
limits?: {
|
|
1007
|
+
cpuMs: number;
|
|
1008
|
+
};
|
|
1009
|
+
mtlsCertificates?: Record<string, unknown>;
|
|
1010
|
+
placement?: {
|
|
1011
|
+
mode: string;
|
|
1012
|
+
};
|
|
1013
|
+
queueProducers?: Record<string, unknown>;
|
|
1014
|
+
r2Buckets?: Record<string, unknown>;
|
|
1015
|
+
services?: Record<string, unknown>;
|
|
1016
|
+
usageModel?: "standard" | "bundled" | "unbound";
|
|
1017
|
+
vectorizeBindings?: Record<string, unknown>;
|
|
1018
|
+
wranglerConfigHash?: string;
|
|
1019
|
+
};
|
|
1020
|
+
production?: {
|
|
1021
|
+
aiBindings?: Record<string, unknown>;
|
|
1022
|
+
alwaysUseLatestCompatibilityDate?: boolean;
|
|
1023
|
+
analyticsEngineDatasets?: Record<string, unknown>;
|
|
1024
|
+
browsers?: Record<string, unknown>;
|
|
1025
|
+
buildImageMajorVersion?: number;
|
|
1026
|
+
compatibilityDate?: string;
|
|
1027
|
+
compatibilityFlags?: string[];
|
|
1028
|
+
d1Databases?: Record<string, unknown>;
|
|
1029
|
+
durableObjectNamespaces?: Record<string, unknown>;
|
|
1030
|
+
envVars?: Record<string, unknown>;
|
|
1031
|
+
failOpen?: boolean;
|
|
1032
|
+
hyperdriveBindings?: Record<string, unknown>;
|
|
1033
|
+
kvNamespaces?: Record<string, unknown>;
|
|
1034
|
+
limits?: {
|
|
1035
|
+
cpuMs: number;
|
|
1036
|
+
};
|
|
1037
|
+
mtlsCertificates?: Record<string, unknown>;
|
|
1038
|
+
placement?: {
|
|
1039
|
+
mode: string;
|
|
1040
|
+
};
|
|
1041
|
+
queueProducers?: Record<string, unknown>;
|
|
1042
|
+
r2Buckets?: Record<string, unknown>;
|
|
1043
|
+
services?: Record<string, unknown>;
|
|
1044
|
+
usageModel?: "standard" | "bundled" | "unbound";
|
|
1045
|
+
vectorizeBindings?: Record<string, unknown>;
|
|
1046
|
+
wranglerConfigHash?: string;
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
/** Body param: Name of the project. */
|
|
1050
|
+
name?: string;
|
|
1051
|
+
/** Body param: Production branch of the project. Used to identify production deployments. */
|
|
1052
|
+
productionBranch?: string;
|
|
1053
|
+
/** Body param: Configs for the project source control. */
|
|
1054
|
+
source?: {
|
|
1055
|
+
config: {
|
|
1056
|
+
deploymentsEnabled?: boolean;
|
|
1057
|
+
owner?: string;
|
|
1058
|
+
ownerId?: string;
|
|
1059
|
+
pathExcludes?: string[];
|
|
1060
|
+
pathIncludes?: string[];
|
|
1061
|
+
prCommentsEnabled?: boolean;
|
|
1062
|
+
previewBranchExcludes?: string[];
|
|
1063
|
+
previewBranchIncludes?: string[];
|
|
1064
|
+
previewDeploymentSetting?: "all" | "none" | "custom";
|
|
1065
|
+
productionBranch?: string;
|
|
1066
|
+
productionDeploymentsEnabled?: boolean;
|
|
1067
|
+
repoId?: string;
|
|
1068
|
+
repoName?: string;
|
|
1069
|
+
};
|
|
1070
|
+
type: "github" | "gitlab";
|
|
1071
|
+
};
|
|
1072
|
+
}
|
|
1073
|
+
export declare const PatchProjectRequest: Schema.Schema<PatchProjectRequest>;
|
|
1074
|
+
export interface PatchProjectResponse {
|
|
1075
|
+
/** ID of the project. */
|
|
1076
|
+
id: string;
|
|
1077
|
+
/** Most recent production deployment of the project. */
|
|
1078
|
+
canonicalDeployment: {
|
|
1079
|
+
id: string;
|
|
1080
|
+
aliases: string[] | null;
|
|
1081
|
+
buildConfig: {
|
|
1082
|
+
webAnalyticsTag: string | null;
|
|
1083
|
+
webAnalyticsToken: string | null;
|
|
1084
|
+
buildCaching?: boolean | null;
|
|
1085
|
+
buildCommand?: string | null;
|
|
1086
|
+
destinationDir?: string | null;
|
|
1087
|
+
rootDir?: string | null;
|
|
1088
|
+
};
|
|
1089
|
+
createdOn: string;
|
|
1090
|
+
deploymentTrigger: {
|
|
1091
|
+
metadata: {
|
|
1092
|
+
branch: string;
|
|
1093
|
+
commitDirty: boolean;
|
|
1094
|
+
commitHash: string;
|
|
1095
|
+
commitMessage: string;
|
|
1096
|
+
};
|
|
1097
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1098
|
+
};
|
|
1099
|
+
envVars: Record<string, unknown> | null;
|
|
1100
|
+
environment: "preview" | "production";
|
|
1101
|
+
isSkipped: boolean;
|
|
1102
|
+
latestStage: unknown;
|
|
1103
|
+
modifiedOn: string;
|
|
1104
|
+
projectId: string;
|
|
1105
|
+
projectName: string;
|
|
1106
|
+
shortId: string;
|
|
1107
|
+
source: {
|
|
1108
|
+
config: {
|
|
1109
|
+
deploymentsEnabled?: boolean | null;
|
|
1110
|
+
owner?: string | null;
|
|
1111
|
+
ownerId?: string | null;
|
|
1112
|
+
pathExcludes?: string[] | null;
|
|
1113
|
+
pathIncludes?: string[] | null;
|
|
1114
|
+
prCommentsEnabled?: boolean | null;
|
|
1115
|
+
previewBranchExcludes?: string[] | null;
|
|
1116
|
+
previewBranchIncludes?: string[] | null;
|
|
1117
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1118
|
+
productionBranch?: string | null;
|
|
1119
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1120
|
+
repoId?: string | null;
|
|
1121
|
+
repoName?: string | null;
|
|
1122
|
+
};
|
|
1123
|
+
type: "github" | "gitlab";
|
|
1124
|
+
};
|
|
1125
|
+
stages: unknown[];
|
|
1126
|
+
url: string;
|
|
1127
|
+
usesFunctions?: boolean | null;
|
|
1128
|
+
} | null;
|
|
1129
|
+
/** When the project was created. */
|
|
1130
|
+
createdOn: string;
|
|
1131
|
+
/** Configs for deployments in a project. */
|
|
1132
|
+
deploymentConfigs: {
|
|
1133
|
+
preview: {
|
|
1134
|
+
aiBindings?: Record<string, unknown> | null;
|
|
1135
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
1136
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
1137
|
+
browsers?: Record<string, unknown> | null;
|
|
1138
|
+
buildImageMajorVersion?: number | null;
|
|
1139
|
+
compatibilityDate?: string | null;
|
|
1140
|
+
compatibilityFlags?: string[] | null;
|
|
1141
|
+
d1Databases?: Record<string, unknown> | null;
|
|
1142
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
1143
|
+
envVars?: Record<string, unknown> | null;
|
|
1144
|
+
failOpen?: boolean | null;
|
|
1145
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1146
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
1147
|
+
limits?: {
|
|
1148
|
+
cpuMs: number;
|
|
1149
|
+
} | null;
|
|
1150
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
1151
|
+
placement?: {
|
|
1152
|
+
mode: string;
|
|
1153
|
+
} | null;
|
|
1154
|
+
queueProducers?: Record<string, unknown> | null;
|
|
1155
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
1156
|
+
services?: Record<string, unknown> | null;
|
|
1157
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1158
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
1159
|
+
wranglerConfigHash?: string | null;
|
|
1160
|
+
};
|
|
1161
|
+
production: {
|
|
1162
|
+
aiBindings?: Record<string, unknown> | null;
|
|
1163
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
1164
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
1165
|
+
browsers?: Record<string, unknown> | null;
|
|
1166
|
+
buildImageMajorVersion?: number | null;
|
|
1167
|
+
compatibilityDate?: string | null;
|
|
1168
|
+
compatibilityFlags?: string[] | null;
|
|
1169
|
+
d1Databases?: Record<string, unknown> | null;
|
|
1170
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
1171
|
+
envVars?: Record<string, unknown> | null;
|
|
1172
|
+
failOpen?: boolean | null;
|
|
1173
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1174
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
1175
|
+
limits?: {
|
|
1176
|
+
cpuMs: number;
|
|
1177
|
+
} | null;
|
|
1178
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
1179
|
+
placement?: {
|
|
1180
|
+
mode: string;
|
|
1181
|
+
} | null;
|
|
1182
|
+
queueProducers?: Record<string, unknown> | null;
|
|
1183
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
1184
|
+
services?: Record<string, unknown> | null;
|
|
1185
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1186
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
1187
|
+
wranglerConfigHash?: string | null;
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
/** Framework the project is using. */
|
|
1191
|
+
framework: string;
|
|
1192
|
+
/** Version of the framework the project is using. */
|
|
1193
|
+
frameworkVersion: string;
|
|
1194
|
+
/** Most recent deployment of the project. */
|
|
1195
|
+
latestDeployment: {
|
|
1196
|
+
id: string;
|
|
1197
|
+
aliases: string[] | null;
|
|
1198
|
+
buildConfig: {
|
|
1199
|
+
webAnalyticsTag: string | null;
|
|
1200
|
+
webAnalyticsToken: string | null;
|
|
1201
|
+
buildCaching?: boolean | null;
|
|
1202
|
+
buildCommand?: string | null;
|
|
1203
|
+
destinationDir?: string | null;
|
|
1204
|
+
rootDir?: string | null;
|
|
1205
|
+
};
|
|
1206
|
+
createdOn: string;
|
|
1207
|
+
deploymentTrigger: {
|
|
1208
|
+
metadata: {
|
|
1209
|
+
branch: string;
|
|
1210
|
+
commitDirty: boolean;
|
|
1211
|
+
commitHash: string;
|
|
1212
|
+
commitMessage: string;
|
|
1213
|
+
};
|
|
1214
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1215
|
+
};
|
|
1216
|
+
envVars: Record<string, unknown> | null;
|
|
1217
|
+
environment: "preview" | "production";
|
|
1218
|
+
isSkipped: boolean;
|
|
1219
|
+
latestStage: unknown;
|
|
1220
|
+
modifiedOn: string;
|
|
1221
|
+
projectId: string;
|
|
1222
|
+
projectName: string;
|
|
1223
|
+
shortId: string;
|
|
1224
|
+
source: {
|
|
1225
|
+
config: {
|
|
1226
|
+
deploymentsEnabled?: boolean | null;
|
|
1227
|
+
owner?: string | null;
|
|
1228
|
+
ownerId?: string | null;
|
|
1229
|
+
pathExcludes?: string[] | null;
|
|
1230
|
+
pathIncludes?: string[] | null;
|
|
1231
|
+
prCommentsEnabled?: boolean | null;
|
|
1232
|
+
previewBranchExcludes?: string[] | null;
|
|
1233
|
+
previewBranchIncludes?: string[] | null;
|
|
1234
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1235
|
+
productionBranch?: string | null;
|
|
1236
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1237
|
+
repoId?: string | null;
|
|
1238
|
+
repoName?: string | null;
|
|
1239
|
+
};
|
|
1240
|
+
type: "github" | "gitlab";
|
|
1241
|
+
};
|
|
1242
|
+
stages: unknown[];
|
|
1243
|
+
url: string;
|
|
1244
|
+
usesFunctions?: boolean | null;
|
|
1245
|
+
} | null;
|
|
1246
|
+
/** Name of the project. */
|
|
1247
|
+
name: string;
|
|
1248
|
+
/** Name of the preview script. */
|
|
1249
|
+
previewScriptName: string;
|
|
1250
|
+
/** Production branch of the project. Used to identify production deployments. */
|
|
1251
|
+
productionBranch: string;
|
|
1252
|
+
/** Name of the production script. */
|
|
1253
|
+
productionScriptName: string;
|
|
1254
|
+
/** Whether the project uses functions. */
|
|
1255
|
+
usesFunctions: boolean | null;
|
|
1256
|
+
/** Configs for the project build process. */
|
|
1257
|
+
buildConfig?: {
|
|
1258
|
+
webAnalyticsTag: string | null;
|
|
1259
|
+
webAnalyticsToken: string | null;
|
|
1260
|
+
buildCaching?: boolean | null;
|
|
1261
|
+
buildCommand?: string | null;
|
|
1262
|
+
destinationDir?: string | null;
|
|
1263
|
+
rootDir?: string | null;
|
|
1264
|
+
} | null;
|
|
1265
|
+
/** A list of associated custom domains for the project. */
|
|
1266
|
+
domains?: string[] | null;
|
|
1267
|
+
/** Configs for the project source control. */
|
|
1268
|
+
source?: {
|
|
1269
|
+
config: {
|
|
1270
|
+
deploymentsEnabled?: boolean | null;
|
|
1271
|
+
owner?: string | null;
|
|
1272
|
+
ownerId?: string | null;
|
|
1273
|
+
pathExcludes?: string[] | null;
|
|
1274
|
+
pathIncludes?: string[] | null;
|
|
1275
|
+
prCommentsEnabled?: boolean | null;
|
|
1276
|
+
previewBranchExcludes?: string[] | null;
|
|
1277
|
+
previewBranchIncludes?: string[] | null;
|
|
1278
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1279
|
+
productionBranch?: string | null;
|
|
1280
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1281
|
+
repoId?: string | null;
|
|
1282
|
+
repoName?: string | null;
|
|
1283
|
+
};
|
|
1284
|
+
type: "github" | "gitlab";
|
|
1285
|
+
} | null;
|
|
1286
|
+
/** The Cloudflare subdomain associated with the project. */
|
|
1287
|
+
subdomain?: string | null;
|
|
1288
|
+
}
|
|
1289
|
+
export declare const PatchProjectResponse: Schema.Schema<PatchProjectResponse>;
|
|
1290
|
+
export type PatchProjectError = DefaultErrors;
|
|
1291
|
+
export declare const patchProject: API.OperationMethod<PatchProjectRequest, PatchProjectResponse, PatchProjectError, Credentials | HttpClient.HttpClient>;
|
|
1292
|
+
export interface DeleteProjectRequest {
|
|
1293
|
+
projectName: string;
|
|
1294
|
+
/** Identifier. */
|
|
1295
|
+
accountId: string;
|
|
1296
|
+
}
|
|
1297
|
+
export declare const DeleteProjectRequest: Schema.Schema<DeleteProjectRequest>;
|
|
1298
|
+
export type DeleteProjectResponse = unknown;
|
|
1299
|
+
export declare const DeleteProjectResponse: Schema.Schema<unknown>;
|
|
1300
|
+
export type DeleteProjectError = DefaultErrors;
|
|
1301
|
+
export declare const deleteProject: API.OperationMethod<DeleteProjectRequest, DeleteProjectResponse, DeleteProjectError, Credentials | HttpClient.HttpClient>;
|
|
1302
|
+
export interface GetProjectDeploymentRequest {
|
|
1303
|
+
projectName: string;
|
|
1304
|
+
deploymentId: string;
|
|
1305
|
+
/** Identifier. */
|
|
1306
|
+
accountId: string;
|
|
1307
|
+
}
|
|
1308
|
+
export declare const GetProjectDeploymentRequest: Schema.Schema<GetProjectDeploymentRequest>;
|
|
1309
|
+
export interface GetProjectDeploymentResponse {
|
|
1310
|
+
/** Id of the deployment. */
|
|
1311
|
+
id: string;
|
|
1312
|
+
/** A list of alias URLs pointing to this deployment. */
|
|
1313
|
+
aliases: string[] | null;
|
|
1314
|
+
/** Configs for the project build process. */
|
|
1315
|
+
buildConfig: {
|
|
1316
|
+
webAnalyticsTag: string | null;
|
|
1317
|
+
webAnalyticsToken: string | null;
|
|
1318
|
+
buildCaching?: boolean | null;
|
|
1319
|
+
buildCommand?: string | null;
|
|
1320
|
+
destinationDir?: string | null;
|
|
1321
|
+
rootDir?: string | null;
|
|
1322
|
+
};
|
|
1323
|
+
/** When the deployment was created. */
|
|
1324
|
+
createdOn: string;
|
|
1325
|
+
/** Info about what caused the deployment. */
|
|
1326
|
+
deploymentTrigger: {
|
|
1327
|
+
metadata: {
|
|
1328
|
+
branch: string;
|
|
1329
|
+
commitDirty: boolean;
|
|
1330
|
+
commitHash: string;
|
|
1331
|
+
commitMessage: string;
|
|
1332
|
+
};
|
|
1333
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1334
|
+
};
|
|
1335
|
+
/** Environment variables used for builds and Pages Functions. */
|
|
1336
|
+
envVars: Record<string, unknown> | null;
|
|
1337
|
+
/** Type of deploy. */
|
|
1338
|
+
environment: "preview" | "production";
|
|
1339
|
+
/** If the deployment has been skipped. */
|
|
1340
|
+
isSkipped: boolean;
|
|
1341
|
+
/** The status of the deployment. */
|
|
1342
|
+
latestStage: unknown;
|
|
1343
|
+
/** When the deployment was last modified. */
|
|
1344
|
+
modifiedOn: string;
|
|
1345
|
+
/** Id of the project. */
|
|
1346
|
+
projectId: string;
|
|
1347
|
+
/** Name of the project. */
|
|
1348
|
+
projectName: string;
|
|
1349
|
+
/** Short Id (8 character) of the deployment. */
|
|
1350
|
+
shortId: string;
|
|
1351
|
+
/** Configs for the project source control. */
|
|
1352
|
+
source: {
|
|
1353
|
+
config: {
|
|
1354
|
+
deploymentsEnabled: boolean;
|
|
1355
|
+
owner: string;
|
|
1356
|
+
ownerId: string;
|
|
1357
|
+
pathExcludes: string[];
|
|
1358
|
+
pathIncludes: string[];
|
|
1359
|
+
prCommentsEnabled: boolean;
|
|
1360
|
+
previewBranchExcludes: string[];
|
|
1361
|
+
previewBranchIncludes: string[];
|
|
1362
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1363
|
+
productionBranch: string;
|
|
1364
|
+
productionDeploymentsEnabled: boolean;
|
|
1365
|
+
repoId: string;
|
|
1366
|
+
repoName: string;
|
|
1367
|
+
};
|
|
1368
|
+
type: "github" | "gitlab";
|
|
1369
|
+
};
|
|
1370
|
+
/** List of past stages. */
|
|
1371
|
+
stages: unknown[];
|
|
1372
|
+
/** The live URL to view this deployment. */
|
|
1373
|
+
url: string;
|
|
1374
|
+
/** Whether the deployment uses functions. */
|
|
1375
|
+
usesFunctions?: boolean | null;
|
|
1376
|
+
}
|
|
1377
|
+
export declare const GetProjectDeploymentResponse: Schema.Schema<GetProjectDeploymentResponse>;
|
|
1378
|
+
export type GetProjectDeploymentError = DefaultErrors;
|
|
1379
|
+
export declare const getProjectDeployment: API.OperationMethod<GetProjectDeploymentRequest, GetProjectDeploymentResponse, GetProjectDeploymentError, Credentials | HttpClient.HttpClient>;
|
|
1380
|
+
export interface ListProjectDeploymentsRequest {
|
|
1381
|
+
projectName: string;
|
|
1382
|
+
/** Path param: Identifier. */
|
|
1383
|
+
accountId: string;
|
|
1384
|
+
/** Query param: What type of deployments to fetch. */
|
|
1385
|
+
env?: "production" | "preview";
|
|
1386
|
+
}
|
|
1387
|
+
export declare const ListProjectDeploymentsRequest: Schema.Schema<ListProjectDeploymentsRequest>;
|
|
1388
|
+
export interface ListProjectDeploymentsResponse {
|
|
1389
|
+
result: {
|
|
1390
|
+
id: string;
|
|
1391
|
+
aliases: string[] | null;
|
|
1392
|
+
buildConfig: {
|
|
1393
|
+
webAnalyticsTag: string | null;
|
|
1394
|
+
webAnalyticsToken: string | null;
|
|
1395
|
+
buildCaching?: boolean | null;
|
|
1396
|
+
buildCommand?: string | null;
|
|
1397
|
+
destinationDir?: string | null;
|
|
1398
|
+
rootDir?: string | null;
|
|
1399
|
+
};
|
|
1400
|
+
createdOn: string;
|
|
1401
|
+
deploymentTrigger: {
|
|
1402
|
+
metadata: {
|
|
1403
|
+
branch: string;
|
|
1404
|
+
commitDirty: boolean;
|
|
1405
|
+
commitHash: string;
|
|
1406
|
+
commitMessage: string;
|
|
1407
|
+
};
|
|
1408
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1409
|
+
};
|
|
1410
|
+
envVars: Record<string, unknown> | null;
|
|
1411
|
+
environment: "preview" | "production";
|
|
1412
|
+
isSkipped: boolean;
|
|
1413
|
+
latestStage: unknown;
|
|
1414
|
+
modifiedOn: string;
|
|
1415
|
+
projectId: string;
|
|
1416
|
+
projectName: string;
|
|
1417
|
+
shortId: string;
|
|
1418
|
+
source: {
|
|
1419
|
+
config: {
|
|
1420
|
+
deploymentsEnabled: boolean;
|
|
1421
|
+
owner: string;
|
|
1422
|
+
ownerId: string;
|
|
1423
|
+
pathExcludes: string[];
|
|
1424
|
+
pathIncludes: string[];
|
|
1425
|
+
prCommentsEnabled: boolean;
|
|
1426
|
+
previewBranchExcludes: string[];
|
|
1427
|
+
previewBranchIncludes: string[];
|
|
1428
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1429
|
+
productionBranch: string;
|
|
1430
|
+
productionDeploymentsEnabled: boolean;
|
|
1431
|
+
repoId: string;
|
|
1432
|
+
repoName: string;
|
|
1433
|
+
};
|
|
1434
|
+
type: "github" | "gitlab";
|
|
1435
|
+
};
|
|
1436
|
+
stages: unknown[];
|
|
1437
|
+
url: string;
|
|
1438
|
+
usesFunctions?: boolean | null;
|
|
1439
|
+
}[];
|
|
1440
|
+
resultInfo: {
|
|
1441
|
+
count?: number | null;
|
|
1442
|
+
page?: number | null;
|
|
1443
|
+
perPage?: number | null;
|
|
1444
|
+
totalCount?: number | null;
|
|
1445
|
+
};
|
|
1446
|
+
}
|
|
1447
|
+
export declare const ListProjectDeploymentsResponse: Schema.Schema<ListProjectDeploymentsResponse>;
|
|
1448
|
+
export type ListProjectDeploymentsError = DefaultErrors;
|
|
1449
|
+
export declare const listProjectDeployments: API.PaginatedOperationMethod<ListProjectDeploymentsRequest, ListProjectDeploymentsResponse, ListProjectDeploymentsError, Credentials | HttpClient.HttpClient> & {
|
|
1450
|
+
pages: (input: ListProjectDeploymentsRequest) => stream.Stream<ListProjectDeploymentsResponse, ListProjectDeploymentsError, Credentials | HttpClient.HttpClient>;
|
|
1451
|
+
items: (input: ListProjectDeploymentsRequest) => stream.Stream<{
|
|
1452
|
+
id: string;
|
|
1453
|
+
aliases: string[] | null;
|
|
1454
|
+
buildConfig: {
|
|
1455
|
+
webAnalyticsTag: string | null;
|
|
1456
|
+
webAnalyticsToken: string | null;
|
|
1457
|
+
buildCaching?: boolean | null;
|
|
1458
|
+
buildCommand?: string | null;
|
|
1459
|
+
destinationDir?: string | null;
|
|
1460
|
+
rootDir?: string | null;
|
|
1461
|
+
};
|
|
1462
|
+
createdOn: string;
|
|
1463
|
+
deploymentTrigger: {
|
|
1464
|
+
metadata: {
|
|
1465
|
+
branch: string;
|
|
1466
|
+
commitDirty: boolean;
|
|
1467
|
+
commitHash: string;
|
|
1468
|
+
commitMessage: string;
|
|
1469
|
+
};
|
|
1470
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1471
|
+
};
|
|
1472
|
+
envVars: Record<string, unknown> | null;
|
|
1473
|
+
environment: "preview" | "production";
|
|
1474
|
+
isSkipped: boolean;
|
|
1475
|
+
latestStage: unknown;
|
|
1476
|
+
modifiedOn: string;
|
|
1477
|
+
projectId: string;
|
|
1478
|
+
projectName: string;
|
|
1479
|
+
shortId: string;
|
|
1480
|
+
source: {
|
|
1481
|
+
config: {
|
|
1482
|
+
deploymentsEnabled: boolean;
|
|
1483
|
+
owner: string;
|
|
1484
|
+
ownerId: string;
|
|
1485
|
+
pathExcludes: string[];
|
|
1486
|
+
pathIncludes: string[];
|
|
1487
|
+
prCommentsEnabled: boolean;
|
|
1488
|
+
previewBranchExcludes: string[];
|
|
1489
|
+
previewBranchIncludes: string[];
|
|
1490
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1491
|
+
productionBranch: string;
|
|
1492
|
+
productionDeploymentsEnabled: boolean;
|
|
1493
|
+
repoId: string;
|
|
1494
|
+
repoName: string;
|
|
1495
|
+
};
|
|
1496
|
+
type: "github" | "gitlab";
|
|
1497
|
+
};
|
|
1498
|
+
stages: unknown[];
|
|
1499
|
+
url: string;
|
|
1500
|
+
usesFunctions?: boolean | null;
|
|
1501
|
+
}, ListProjectDeploymentsError, Credentials | HttpClient.HttpClient>;
|
|
1502
|
+
};
|
|
1503
|
+
export interface CreateProjectDeploymentRequest {
|
|
1504
|
+
projectName: string;
|
|
1505
|
+
/** Path param: Identifier. */
|
|
1506
|
+
accountId: string;
|
|
1507
|
+
/** Body param: Headers configuration file for the deployment. */
|
|
1508
|
+
headers?: File | Blob;
|
|
1509
|
+
/** Body param: Redirects configuration file for the deployment. */
|
|
1510
|
+
redirects?: File | Blob;
|
|
1511
|
+
/** Body param: Routes configuration file defining routing rules. */
|
|
1512
|
+
routesJson?: File | Blob;
|
|
1513
|
+
/** Body param: Worker bundle file in multipart/form-data format. Mutually exclusive with `_worker.js`. Cannot specify both `_worker.js` and `_worker.bundle` in the same request. Maximum size: 25 MiB. */
|
|
1514
|
+
workerBundle?: File | Blob;
|
|
1515
|
+
/** Body param: Worker JavaScript file. Mutually exclusive with `_worker.bundle`. Cannot specify both `_worker.js` and `_worker.bundle` in the same request. */
|
|
1516
|
+
workerJs?: File | Blob;
|
|
1517
|
+
/** Body param: The branch to build the new deployment from. The `HEAD` of the branch will be used. If omitted, the production branch will be used by default. */
|
|
1518
|
+
branch?: string;
|
|
1519
|
+
/** Body param: Boolean string indicating if the working directory has uncommitted changes. */
|
|
1520
|
+
commitDirty?: true | false;
|
|
1521
|
+
/** Body param: Git commit SHA associated with this deployment. */
|
|
1522
|
+
commitHash?: string;
|
|
1523
|
+
/** Body param: Git commit message associated with this deployment. */
|
|
1524
|
+
commitMessage?: string;
|
|
1525
|
+
/** Body param: Functions routing configuration file. */
|
|
1526
|
+
functionsFilepathRoutingConfigJson?: File | Blob;
|
|
1527
|
+
/** Body param: JSON string containing a manifest of files to deploy. Maps file paths to their content hashes. Required for direct upload deployments. Maximum 20,000 entries. */
|
|
1528
|
+
manifest?: string;
|
|
1529
|
+
/** Body param: The build output directory path. */
|
|
1530
|
+
pagesBuildOutputDir?: string;
|
|
1531
|
+
/** Body param: Hash of the Wrangler configuration file used for this deployment. */
|
|
1532
|
+
wranglerConfigHash?: string;
|
|
1533
|
+
}
|
|
1534
|
+
export declare const CreateProjectDeploymentRequest: Schema.Schema<CreateProjectDeploymentRequest>;
|
|
1535
|
+
export interface CreateProjectDeploymentResponse {
|
|
1536
|
+
/** Id of the deployment. */
|
|
1537
|
+
id: string;
|
|
1538
|
+
/** A list of alias URLs pointing to this deployment. */
|
|
1539
|
+
aliases: string[] | null;
|
|
1540
|
+
/** Configs for the project build process. */
|
|
1541
|
+
buildConfig: {
|
|
1542
|
+
webAnalyticsTag: string | null;
|
|
1543
|
+
webAnalyticsToken: string | null;
|
|
1544
|
+
buildCaching?: boolean | null;
|
|
1545
|
+
buildCommand?: string | null;
|
|
1546
|
+
destinationDir?: string | null;
|
|
1547
|
+
rootDir?: string | null;
|
|
1548
|
+
};
|
|
1549
|
+
/** When the deployment was created. */
|
|
1550
|
+
createdOn: string;
|
|
1551
|
+
/** Info about what caused the deployment. */
|
|
1552
|
+
deploymentTrigger: {
|
|
1553
|
+
metadata: {
|
|
1554
|
+
branch: string;
|
|
1555
|
+
commitDirty: boolean;
|
|
1556
|
+
commitHash: string;
|
|
1557
|
+
commitMessage: string;
|
|
1558
|
+
};
|
|
1559
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1560
|
+
};
|
|
1561
|
+
/** Environment variables used for builds and Pages Functions. */
|
|
1562
|
+
envVars: Record<string, unknown> | null;
|
|
1563
|
+
/** Type of deploy. */
|
|
1564
|
+
environment: "preview" | "production";
|
|
1565
|
+
/** If the deployment has been skipped. */
|
|
1566
|
+
isSkipped: boolean;
|
|
1567
|
+
/** The status of the deployment. */
|
|
1568
|
+
latestStage: unknown;
|
|
1569
|
+
/** When the deployment was last modified. */
|
|
1570
|
+
modifiedOn: string;
|
|
1571
|
+
/** Id of the project. */
|
|
1572
|
+
projectId: string;
|
|
1573
|
+
/** Name of the project. */
|
|
1574
|
+
projectName: string;
|
|
1575
|
+
/** Short Id (8 character) of the deployment. */
|
|
1576
|
+
shortId: string;
|
|
1577
|
+
/** Configs for the project source control. */
|
|
1578
|
+
source: {
|
|
1579
|
+
config: {
|
|
1580
|
+
deploymentsEnabled: boolean;
|
|
1581
|
+
owner: string;
|
|
1582
|
+
ownerId: string;
|
|
1583
|
+
pathExcludes: string[];
|
|
1584
|
+
pathIncludes: string[];
|
|
1585
|
+
prCommentsEnabled: boolean;
|
|
1586
|
+
previewBranchExcludes: string[];
|
|
1587
|
+
previewBranchIncludes: string[];
|
|
1588
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1589
|
+
productionBranch: string;
|
|
1590
|
+
productionDeploymentsEnabled: boolean;
|
|
1591
|
+
repoId: string;
|
|
1592
|
+
repoName: string;
|
|
1593
|
+
};
|
|
1594
|
+
type: "github" | "gitlab";
|
|
1595
|
+
};
|
|
1596
|
+
/** List of past stages. */
|
|
1597
|
+
stages: unknown[];
|
|
1598
|
+
/** The live URL to view this deployment. */
|
|
1599
|
+
url: string;
|
|
1600
|
+
/** Whether the deployment uses functions. */
|
|
1601
|
+
usesFunctions?: boolean | null;
|
|
1602
|
+
}
|
|
1603
|
+
export declare const CreateProjectDeploymentResponse: Schema.Schema<CreateProjectDeploymentResponse>;
|
|
1604
|
+
export type CreateProjectDeploymentError = DefaultErrors;
|
|
1605
|
+
export declare const createProjectDeployment: API.OperationMethod<CreateProjectDeploymentRequest, CreateProjectDeploymentResponse, CreateProjectDeploymentError, Credentials | HttpClient.HttpClient>;
|
|
1606
|
+
export interface DeleteProjectDeploymentRequest {
|
|
1607
|
+
projectName: string;
|
|
1608
|
+
deploymentId: string;
|
|
1609
|
+
/** Identifier. */
|
|
1610
|
+
accountId: string;
|
|
1611
|
+
}
|
|
1612
|
+
export declare const DeleteProjectDeploymentRequest: Schema.Schema<DeleteProjectDeploymentRequest>;
|
|
1613
|
+
export type DeleteProjectDeploymentResponse = unknown;
|
|
1614
|
+
export declare const DeleteProjectDeploymentResponse: Schema.Schema<unknown>;
|
|
1615
|
+
export type DeleteProjectDeploymentError = DefaultErrors;
|
|
1616
|
+
export declare const deleteProjectDeployment: API.OperationMethod<DeleteProjectDeploymentRequest, DeleteProjectDeploymentResponse, DeleteProjectDeploymentError, Credentials | HttpClient.HttpClient>;
|
|
1617
|
+
export interface RetryProjectDeploymentRequest {
|
|
1618
|
+
projectName: string;
|
|
1619
|
+
deploymentId: string;
|
|
1620
|
+
/** Identifier. */
|
|
1621
|
+
accountId: string;
|
|
1622
|
+
}
|
|
1623
|
+
export declare const RetryProjectDeploymentRequest: Schema.Schema<RetryProjectDeploymentRequest>;
|
|
1624
|
+
export interface RetryProjectDeploymentResponse {
|
|
1625
|
+
/** Id of the deployment. */
|
|
1626
|
+
id: string;
|
|
1627
|
+
/** A list of alias URLs pointing to this deployment. */
|
|
1628
|
+
aliases: string[] | null;
|
|
1629
|
+
/** Configs for the project build process. */
|
|
1630
|
+
buildConfig: {
|
|
1631
|
+
webAnalyticsTag: string | null;
|
|
1632
|
+
webAnalyticsToken: string | null;
|
|
1633
|
+
buildCaching?: boolean | null;
|
|
1634
|
+
buildCommand?: string | null;
|
|
1635
|
+
destinationDir?: string | null;
|
|
1636
|
+
rootDir?: string | null;
|
|
1637
|
+
};
|
|
1638
|
+
/** When the deployment was created. */
|
|
1639
|
+
createdOn: string;
|
|
1640
|
+
/** Info about what caused the deployment. */
|
|
1641
|
+
deploymentTrigger: {
|
|
1642
|
+
metadata: {
|
|
1643
|
+
branch: string;
|
|
1644
|
+
commitDirty: boolean;
|
|
1645
|
+
commitHash: string;
|
|
1646
|
+
commitMessage: string;
|
|
1647
|
+
};
|
|
1648
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1649
|
+
};
|
|
1650
|
+
/** Environment variables used for builds and Pages Functions. */
|
|
1651
|
+
envVars: Record<string, unknown> | null;
|
|
1652
|
+
/** Type of deploy. */
|
|
1653
|
+
environment: "preview" | "production";
|
|
1654
|
+
/** If the deployment has been skipped. */
|
|
1655
|
+
isSkipped: boolean;
|
|
1656
|
+
/** The status of the deployment. */
|
|
1657
|
+
latestStage: unknown;
|
|
1658
|
+
/** When the deployment was last modified. */
|
|
1659
|
+
modifiedOn: string;
|
|
1660
|
+
/** Id of the project. */
|
|
1661
|
+
projectId: string;
|
|
1662
|
+
/** Name of the project. */
|
|
1663
|
+
projectName: string;
|
|
1664
|
+
/** Short Id (8 character) of the deployment. */
|
|
1665
|
+
shortId: string;
|
|
1666
|
+
/** Configs for the project source control. */
|
|
1667
|
+
source: {
|
|
1668
|
+
config: {
|
|
1669
|
+
deploymentsEnabled: boolean;
|
|
1670
|
+
owner: string;
|
|
1671
|
+
ownerId: string;
|
|
1672
|
+
pathExcludes: string[];
|
|
1673
|
+
pathIncludes: string[];
|
|
1674
|
+
prCommentsEnabled: boolean;
|
|
1675
|
+
previewBranchExcludes: string[];
|
|
1676
|
+
previewBranchIncludes: string[];
|
|
1677
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1678
|
+
productionBranch: string;
|
|
1679
|
+
productionDeploymentsEnabled: boolean;
|
|
1680
|
+
repoId: string;
|
|
1681
|
+
repoName: string;
|
|
1682
|
+
};
|
|
1683
|
+
type: "github" | "gitlab";
|
|
1684
|
+
};
|
|
1685
|
+
/** List of past stages. */
|
|
1686
|
+
stages: unknown[];
|
|
1687
|
+
/** The live URL to view this deployment. */
|
|
1688
|
+
url: string;
|
|
1689
|
+
/** Whether the deployment uses functions. */
|
|
1690
|
+
usesFunctions?: boolean | null;
|
|
1691
|
+
}
|
|
1692
|
+
export declare const RetryProjectDeploymentResponse: Schema.Schema<RetryProjectDeploymentResponse>;
|
|
1693
|
+
export type RetryProjectDeploymentError = DefaultErrors;
|
|
1694
|
+
export declare const retryProjectDeployment: API.OperationMethod<RetryProjectDeploymentRequest, RetryProjectDeploymentResponse, RetryProjectDeploymentError, Credentials | HttpClient.HttpClient>;
|
|
1695
|
+
export interface RollbackProjectDeploymentRequest {
|
|
1696
|
+
projectName: string;
|
|
1697
|
+
deploymentId: string;
|
|
1698
|
+
/** Identifier. */
|
|
1699
|
+
accountId: string;
|
|
1700
|
+
}
|
|
1701
|
+
export declare const RollbackProjectDeploymentRequest: Schema.Schema<RollbackProjectDeploymentRequest>;
|
|
1702
|
+
export interface RollbackProjectDeploymentResponse {
|
|
1703
|
+
/** Id of the deployment. */
|
|
1704
|
+
id: string;
|
|
1705
|
+
/** A list of alias URLs pointing to this deployment. */
|
|
1706
|
+
aliases: string[] | null;
|
|
1707
|
+
/** Configs for the project build process. */
|
|
1708
|
+
buildConfig: {
|
|
1709
|
+
webAnalyticsTag: string | null;
|
|
1710
|
+
webAnalyticsToken: string | null;
|
|
1711
|
+
buildCaching?: boolean | null;
|
|
1712
|
+
buildCommand?: string | null;
|
|
1713
|
+
destinationDir?: string | null;
|
|
1714
|
+
rootDir?: string | null;
|
|
1715
|
+
};
|
|
1716
|
+
/** When the deployment was created. */
|
|
1717
|
+
createdOn: string;
|
|
1718
|
+
/** Info about what caused the deployment. */
|
|
1719
|
+
deploymentTrigger: {
|
|
1720
|
+
metadata: {
|
|
1721
|
+
branch: string;
|
|
1722
|
+
commitDirty: boolean;
|
|
1723
|
+
commitHash: string;
|
|
1724
|
+
commitMessage: string;
|
|
1725
|
+
};
|
|
1726
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1727
|
+
};
|
|
1728
|
+
/** Environment variables used for builds and Pages Functions. */
|
|
1729
|
+
envVars: Record<string, unknown> | null;
|
|
1730
|
+
/** Type of deploy. */
|
|
1731
|
+
environment: "preview" | "production";
|
|
1732
|
+
/** If the deployment has been skipped. */
|
|
1733
|
+
isSkipped: boolean;
|
|
1734
|
+
/** The status of the deployment. */
|
|
1735
|
+
latestStage: unknown;
|
|
1736
|
+
/** When the deployment was last modified. */
|
|
1737
|
+
modifiedOn: string;
|
|
1738
|
+
/** Id of the project. */
|
|
1739
|
+
projectId: string;
|
|
1740
|
+
/** Name of the project. */
|
|
1741
|
+
projectName: string;
|
|
1742
|
+
/** Short Id (8 character) of the deployment. */
|
|
1743
|
+
shortId: string;
|
|
1744
|
+
/** Configs for the project source control. */
|
|
1745
|
+
source: {
|
|
1746
|
+
config: {
|
|
1747
|
+
deploymentsEnabled: boolean;
|
|
1748
|
+
owner: string;
|
|
1749
|
+
ownerId: string;
|
|
1750
|
+
pathExcludes: string[];
|
|
1751
|
+
pathIncludes: string[];
|
|
1752
|
+
prCommentsEnabled: boolean;
|
|
1753
|
+
previewBranchExcludes: string[];
|
|
1754
|
+
previewBranchIncludes: string[];
|
|
1755
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1756
|
+
productionBranch: string;
|
|
1757
|
+
productionDeploymentsEnabled: boolean;
|
|
1758
|
+
repoId: string;
|
|
1759
|
+
repoName: string;
|
|
1760
|
+
};
|
|
1761
|
+
type: "github" | "gitlab";
|
|
1762
|
+
};
|
|
1763
|
+
/** List of past stages. */
|
|
1764
|
+
stages: unknown[];
|
|
1765
|
+
/** The live URL to view this deployment. */
|
|
1766
|
+
url: string;
|
|
1767
|
+
/** Whether the deployment uses functions. */
|
|
1768
|
+
usesFunctions?: boolean | null;
|
|
1769
|
+
}
|
|
1770
|
+
export declare const RollbackProjectDeploymentResponse: Schema.Schema<RollbackProjectDeploymentResponse>;
|
|
1771
|
+
export type RollbackProjectDeploymentError = DefaultErrors;
|
|
1772
|
+
export declare const rollbackProjectDeployment: API.OperationMethod<RollbackProjectDeploymentRequest, RollbackProjectDeploymentResponse, RollbackProjectDeploymentError, Credentials | HttpClient.HttpClient>;
|
|
1773
|
+
export interface GetProjectDeploymentHistoryLogRequest {
|
|
1774
|
+
projectName: string;
|
|
1775
|
+
deploymentId: string;
|
|
1776
|
+
/** Identifier. */
|
|
1777
|
+
accountId: string;
|
|
1778
|
+
}
|
|
1779
|
+
export declare const GetProjectDeploymentHistoryLogRequest: Schema.Schema<GetProjectDeploymentHistoryLogRequest>;
|
|
1780
|
+
export interface GetProjectDeploymentHistoryLogResponse {
|
|
1781
|
+
data: {
|
|
1782
|
+
line: string;
|
|
1783
|
+
ts: string;
|
|
1784
|
+
}[];
|
|
1785
|
+
includesContainerLogs: boolean;
|
|
1786
|
+
total: number;
|
|
1787
|
+
}
|
|
1788
|
+
export declare const GetProjectDeploymentHistoryLogResponse: Schema.Schema<GetProjectDeploymentHistoryLogResponse>;
|
|
1789
|
+
export type GetProjectDeploymentHistoryLogError = DefaultErrors;
|
|
1790
|
+
export declare const getProjectDeploymentHistoryLog: API.OperationMethod<GetProjectDeploymentHistoryLogRequest, GetProjectDeploymentHistoryLogResponse, GetProjectDeploymentHistoryLogError, Credentials | HttpClient.HttpClient>;
|
|
1791
|
+
export interface GetProjectDomainRequest {
|
|
1792
|
+
projectName: string;
|
|
1793
|
+
domainName: string;
|
|
1794
|
+
/** Identifier. */
|
|
1795
|
+
accountId: string;
|
|
1796
|
+
}
|
|
1797
|
+
export declare const GetProjectDomainRequest: Schema.Schema<GetProjectDomainRequest>;
|
|
1798
|
+
export interface GetProjectDomainResponse {
|
|
1799
|
+
id: string;
|
|
1800
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
1801
|
+
createdOn: string;
|
|
1802
|
+
domainId: string;
|
|
1803
|
+
/** The domain name. */
|
|
1804
|
+
name: string;
|
|
1805
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1806
|
+
validationData: {
|
|
1807
|
+
method: "http" | "txt";
|
|
1808
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
1809
|
+
errorMessage?: string | null;
|
|
1810
|
+
txtName?: string | null;
|
|
1811
|
+
txtValue?: string | null;
|
|
1812
|
+
};
|
|
1813
|
+
verificationData: {
|
|
1814
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1815
|
+
errorMessage?: string | null;
|
|
1816
|
+
};
|
|
1817
|
+
zoneTag: string;
|
|
1818
|
+
}
|
|
1819
|
+
export declare const GetProjectDomainResponse: Schema.Schema<GetProjectDomainResponse>;
|
|
1820
|
+
export type GetProjectDomainError = DefaultErrors;
|
|
1821
|
+
export declare const getProjectDomain: API.OperationMethod<GetProjectDomainRequest, GetProjectDomainResponse, GetProjectDomainError, Credentials | HttpClient.HttpClient>;
|
|
1822
|
+
export interface ListProjectDomainsRequest {
|
|
1823
|
+
projectName: string;
|
|
1824
|
+
/** Identifier. */
|
|
1825
|
+
accountId: string;
|
|
1826
|
+
}
|
|
1827
|
+
export declare const ListProjectDomainsRequest: Schema.Schema<ListProjectDomainsRequest>;
|
|
1828
|
+
export interface ListProjectDomainsResponse {
|
|
1829
|
+
result: {
|
|
1830
|
+
id: string;
|
|
1831
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
1832
|
+
createdOn: string;
|
|
1833
|
+
domainId: string;
|
|
1834
|
+
name: string;
|
|
1835
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1836
|
+
validationData: {
|
|
1837
|
+
method: "http" | "txt";
|
|
1838
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
1839
|
+
errorMessage?: string | null;
|
|
1840
|
+
txtName?: string | null;
|
|
1841
|
+
txtValue?: string | null;
|
|
1842
|
+
};
|
|
1843
|
+
verificationData: {
|
|
1844
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1845
|
+
errorMessage?: string | null;
|
|
1846
|
+
};
|
|
1847
|
+
zoneTag: string;
|
|
1848
|
+
}[];
|
|
1849
|
+
}
|
|
1850
|
+
export declare const ListProjectDomainsResponse: Schema.Schema<ListProjectDomainsResponse>;
|
|
1851
|
+
export type ListProjectDomainsError = DefaultErrors;
|
|
1852
|
+
export declare const listProjectDomains: API.PaginatedOperationMethod<ListProjectDomainsRequest, ListProjectDomainsResponse, ListProjectDomainsError, Credentials | HttpClient.HttpClient> & {
|
|
1853
|
+
pages: (input: ListProjectDomainsRequest) => stream.Stream<ListProjectDomainsResponse, ListProjectDomainsError, Credentials | HttpClient.HttpClient>;
|
|
1854
|
+
items: (input: ListProjectDomainsRequest) => stream.Stream<{
|
|
1855
|
+
id: string;
|
|
1856
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
1857
|
+
createdOn: string;
|
|
1858
|
+
domainId: string;
|
|
1859
|
+
name: string;
|
|
1860
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1861
|
+
validationData: {
|
|
1862
|
+
method: "http" | "txt";
|
|
1863
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
1864
|
+
errorMessage?: string | null;
|
|
1865
|
+
txtName?: string | null;
|
|
1866
|
+
txtValue?: string | null;
|
|
1867
|
+
};
|
|
1868
|
+
verificationData: {
|
|
1869
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1870
|
+
errorMessage?: string | null;
|
|
1871
|
+
};
|
|
1872
|
+
zoneTag: string;
|
|
1873
|
+
}, ListProjectDomainsError, Credentials | HttpClient.HttpClient>;
|
|
1874
|
+
};
|
|
1875
|
+
export interface CreateProjectDomainRequest {
|
|
1876
|
+
projectName: string;
|
|
1877
|
+
/** Path param: Identifier. */
|
|
1878
|
+
accountId: string;
|
|
1879
|
+
/** Body param: The domain name. */
|
|
1880
|
+
name: string;
|
|
1881
|
+
}
|
|
1882
|
+
export declare const CreateProjectDomainRequest: Schema.Schema<CreateProjectDomainRequest>;
|
|
1883
|
+
export interface CreateProjectDomainResponse {
|
|
1884
|
+
id: string;
|
|
1885
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
1886
|
+
createdOn: string;
|
|
1887
|
+
domainId: string;
|
|
1888
|
+
/** The domain name. */
|
|
1889
|
+
name: string;
|
|
1890
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1891
|
+
validationData: {
|
|
1892
|
+
method: "http" | "txt";
|
|
1893
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
1894
|
+
errorMessage?: string | null;
|
|
1895
|
+
txtName?: string | null;
|
|
1896
|
+
txtValue?: string | null;
|
|
1897
|
+
};
|
|
1898
|
+
verificationData: {
|
|
1899
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1900
|
+
errorMessage?: string | null;
|
|
1901
|
+
};
|
|
1902
|
+
zoneTag: string;
|
|
1903
|
+
}
|
|
1904
|
+
export declare const CreateProjectDomainResponse: Schema.Schema<CreateProjectDomainResponse>;
|
|
1905
|
+
export type CreateProjectDomainError = DefaultErrors;
|
|
1906
|
+
export declare const createProjectDomain: API.OperationMethod<CreateProjectDomainRequest, CreateProjectDomainResponse, CreateProjectDomainError, Credentials | HttpClient.HttpClient>;
|
|
1907
|
+
export interface PatchProjectDomainRequest {
|
|
1908
|
+
projectName: string;
|
|
1909
|
+
domainName: string;
|
|
1910
|
+
/** Identifier. */
|
|
1911
|
+
accountId: string;
|
|
1912
|
+
}
|
|
1913
|
+
export declare const PatchProjectDomainRequest: Schema.Schema<PatchProjectDomainRequest>;
|
|
1914
|
+
export interface PatchProjectDomainResponse {
|
|
1915
|
+
id: string;
|
|
1916
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
1917
|
+
createdOn: string;
|
|
1918
|
+
domainId: string;
|
|
1919
|
+
/** The domain name. */
|
|
1920
|
+
name: string;
|
|
1921
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1922
|
+
validationData: {
|
|
1923
|
+
method: "http" | "txt";
|
|
1924
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
1925
|
+
errorMessage?: string | null;
|
|
1926
|
+
txtName?: string | null;
|
|
1927
|
+
txtValue?: string | null;
|
|
1928
|
+
};
|
|
1929
|
+
verificationData: {
|
|
1930
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
1931
|
+
errorMessage?: string | null;
|
|
1932
|
+
};
|
|
1933
|
+
zoneTag: string;
|
|
1934
|
+
}
|
|
1935
|
+
export declare const PatchProjectDomainResponse: Schema.Schema<PatchProjectDomainResponse>;
|
|
1936
|
+
export type PatchProjectDomainError = DefaultErrors;
|
|
1937
|
+
export declare const patchProjectDomain: API.OperationMethod<PatchProjectDomainRequest, PatchProjectDomainResponse, PatchProjectDomainError, Credentials | HttpClient.HttpClient>;
|
|
1938
|
+
export interface DeleteProjectDomainRequest {
|
|
1939
|
+
projectName: string;
|
|
1940
|
+
domainName: string;
|
|
1941
|
+
/** Identifier. */
|
|
1942
|
+
accountId: string;
|
|
1943
|
+
}
|
|
1944
|
+
export declare const DeleteProjectDomainRequest: Schema.Schema<DeleteProjectDomainRequest>;
|
|
1945
|
+
export type DeleteProjectDomainResponse = unknown;
|
|
1946
|
+
export declare const DeleteProjectDomainResponse: Schema.Schema<unknown>;
|
|
1947
|
+
export type DeleteProjectDomainError = DefaultErrors;
|
|
1948
|
+
export declare const deleteProjectDomain: API.OperationMethod<DeleteProjectDomainRequest, DeleteProjectDomainResponse, DeleteProjectDomainError, Credentials | HttpClient.HttpClient>;
|
|
1949
|
+
//# sourceMappingURL=pages.d.ts.map
|