@distilled.cloud/cloudflare 0.2.6 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
package/src/services/pages.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service pages
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import * as stream from "effect/Stream";
|
|
8
9
|
import * as Schema from "effect/Schema";
|
|
9
10
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
11
|
import * as API from "../client/api.ts";
|
|
@@ -37,7 +38,9 @@ export const PurgeBuildCacheProjectRequest =
|
|
|
37
38
|
export type PurgeBuildCacheProjectResponse = unknown;
|
|
38
39
|
|
|
39
40
|
export const PurgeBuildCacheProjectResponse =
|
|
40
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown
|
|
41
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(
|
|
42
|
+
T.ResponsePath("result"),
|
|
43
|
+
) as unknown as Schema.Schema<PurgeBuildCacheProjectResponse>;
|
|
41
44
|
|
|
42
45
|
export type PurgeBuildCacheProjectError = DefaultErrors;
|
|
43
46
|
|
|
@@ -852,26 +855,30 @@ export const GetProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
852
855
|
]),
|
|
853
856
|
),
|
|
854
857
|
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
855
|
-
})
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
)
|
|
858
|
+
})
|
|
859
|
+
.pipe(
|
|
860
|
+
Schema.encodeKeys({
|
|
861
|
+
id: "id",
|
|
862
|
+
canonicalDeployment: "canonical_deployment",
|
|
863
|
+
createdOn: "created_on",
|
|
864
|
+
deploymentConfigs: "deployment_configs",
|
|
865
|
+
framework: "framework",
|
|
866
|
+
frameworkVersion: "framework_version",
|
|
867
|
+
latestDeployment: "latest_deployment",
|
|
868
|
+
name: "name",
|
|
869
|
+
previewScriptName: "preview_script_name",
|
|
870
|
+
productionBranch: "production_branch",
|
|
871
|
+
productionScriptName: "production_script_name",
|
|
872
|
+
usesFunctions: "uses_functions",
|
|
873
|
+
buildConfig: "build_config",
|
|
874
|
+
domains: "domains",
|
|
875
|
+
source: "source",
|
|
876
|
+
subdomain: "subdomain",
|
|
877
|
+
}),
|
|
878
|
+
)
|
|
879
|
+
.pipe(
|
|
880
|
+
T.ResponsePath("result"),
|
|
881
|
+
) as unknown as Schema.Schema<GetProjectResponse>;
|
|
875
882
|
|
|
876
883
|
export type GetProjectError = DefaultErrors;
|
|
877
884
|
|
|
@@ -897,142 +904,179 @@ export const ListProjectsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
897
904
|
T.Http({ method: "GET", path: "/accounts/{account_id}/pages/projects" }),
|
|
898
905
|
) as unknown as Schema.Schema<ListProjectsRequest>;
|
|
899
906
|
|
|
900
|
-
export
|
|
901
|
-
|
|
902
|
-
canonicalDeployment: {
|
|
907
|
+
export interface ListProjectsResponse {
|
|
908
|
+
result: {
|
|
903
909
|
id: string;
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
910
|
+
canonicalDeployment: {
|
|
911
|
+
id: string;
|
|
912
|
+
aliases: string[] | null;
|
|
913
|
+
buildConfig: {
|
|
914
|
+
webAnalyticsTag: string | null;
|
|
915
|
+
webAnalyticsToken: string | null;
|
|
916
|
+
buildCaching?: boolean | null;
|
|
917
|
+
buildCommand?: string | null;
|
|
918
|
+
destinationDir?: string | null;
|
|
919
|
+
rootDir?: string | null;
|
|
920
|
+
};
|
|
921
|
+
createdOn: string;
|
|
922
|
+
deploymentTrigger: {
|
|
923
|
+
metadata: {
|
|
924
|
+
branch: string;
|
|
925
|
+
commitDirty: boolean;
|
|
926
|
+
commitHash: string;
|
|
927
|
+
commitMessage: string;
|
|
928
|
+
};
|
|
929
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
930
|
+
};
|
|
931
|
+
envVars: Record<string, unknown> | null;
|
|
932
|
+
environment: "preview" | "production";
|
|
933
|
+
isSkipped: boolean;
|
|
934
|
+
latestStage: unknown;
|
|
935
|
+
modifiedOn: string;
|
|
936
|
+
projectId: string;
|
|
937
|
+
projectName: string;
|
|
938
|
+
shortId: string;
|
|
939
|
+
source: {
|
|
940
|
+
config: {
|
|
941
|
+
deploymentsEnabled?: boolean | null;
|
|
942
|
+
owner?: string | null;
|
|
943
|
+
ownerId?: string | null;
|
|
944
|
+
pathExcludes?: string[] | null;
|
|
945
|
+
pathIncludes?: string[] | null;
|
|
946
|
+
prCommentsEnabled?: boolean | null;
|
|
947
|
+
previewBranchExcludes?: string[] | null;
|
|
948
|
+
previewBranchIncludes?: string[] | null;
|
|
949
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
950
|
+
productionBranch?: string | null;
|
|
951
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
952
|
+
repoId?: string | null;
|
|
953
|
+
repoName?: string | null;
|
|
954
|
+
};
|
|
955
|
+
type: "github" | "gitlab";
|
|
956
|
+
};
|
|
957
|
+
stages: unknown[];
|
|
958
|
+
url: string;
|
|
959
|
+
usesFunctions?: boolean | null;
|
|
960
|
+
} | null;
|
|
913
961
|
createdOn: string;
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
962
|
+
deploymentConfigs: {
|
|
963
|
+
preview: {
|
|
964
|
+
aiBindings?: Record<string, unknown> | null;
|
|
965
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
966
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
967
|
+
browsers?: Record<string, unknown> | null;
|
|
968
|
+
buildImageMajorVersion?: number | null;
|
|
969
|
+
compatibilityDate?: string | null;
|
|
970
|
+
compatibilityFlags?: string[] | null;
|
|
971
|
+
d1Databases?: Record<string, unknown> | null;
|
|
972
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
973
|
+
envVars?: Record<string, unknown> | null;
|
|
974
|
+
failOpen?: boolean | null;
|
|
975
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
976
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
977
|
+
limits?: { cpuMs: number } | null;
|
|
978
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
979
|
+
placement?: { mode: string } | null;
|
|
980
|
+
queueProducers?: Record<string, unknown> | null;
|
|
981
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
982
|
+
services?: Record<string, unknown> | null;
|
|
983
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
984
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
985
|
+
wranglerConfigHash?: string | null;
|
|
920
986
|
};
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
repoId?: string | null;
|
|
945
|
-
repoName?: string | null;
|
|
987
|
+
production: {
|
|
988
|
+
aiBindings?: Record<string, unknown> | null;
|
|
989
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
990
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
991
|
+
browsers?: Record<string, unknown> | null;
|
|
992
|
+
buildImageMajorVersion?: number | null;
|
|
993
|
+
compatibilityDate?: string | null;
|
|
994
|
+
compatibilityFlags?: string[] | null;
|
|
995
|
+
d1Databases?: Record<string, unknown> | null;
|
|
996
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
997
|
+
envVars?: Record<string, unknown> | null;
|
|
998
|
+
failOpen?: boolean | null;
|
|
999
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1000
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
1001
|
+
limits?: { cpuMs: number } | null;
|
|
1002
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
1003
|
+
placement?: { mode: string } | null;
|
|
1004
|
+
queueProducers?: Record<string, unknown> | null;
|
|
1005
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
1006
|
+
services?: Record<string, unknown> | null;
|
|
1007
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1008
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
1009
|
+
wranglerConfigHash?: string | null;
|
|
946
1010
|
};
|
|
947
|
-
type: "github" | "gitlab";
|
|
948
|
-
};
|
|
949
|
-
stages: unknown[];
|
|
950
|
-
url: string;
|
|
951
|
-
usesFunctions?: boolean | null;
|
|
952
|
-
} | null;
|
|
953
|
-
createdOn: string;
|
|
954
|
-
deploymentConfigs: {
|
|
955
|
-
preview: {
|
|
956
|
-
aiBindings?: Record<string, unknown> | null;
|
|
957
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
958
|
-
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
959
|
-
browsers?: Record<string, unknown> | null;
|
|
960
|
-
buildImageMajorVersion?: number | null;
|
|
961
|
-
compatibilityDate?: string | null;
|
|
962
|
-
compatibilityFlags?: string[] | null;
|
|
963
|
-
d1Databases?: Record<string, unknown> | null;
|
|
964
|
-
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
965
|
-
envVars?: Record<string, unknown> | null;
|
|
966
|
-
failOpen?: boolean | null;
|
|
967
|
-
hyperdriveBindings?: Record<string, unknown> | null;
|
|
968
|
-
kvNamespaces?: Record<string, unknown> | null;
|
|
969
|
-
limits?: { cpuMs: number } | null;
|
|
970
|
-
mtlsCertificates?: Record<string, unknown> | null;
|
|
971
|
-
placement?: { mode: string } | null;
|
|
972
|
-
queueProducers?: Record<string, unknown> | null;
|
|
973
|
-
r2Buckets?: Record<string, unknown> | null;
|
|
974
|
-
services?: Record<string, unknown> | null;
|
|
975
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
976
|
-
vectorizeBindings?: Record<string, unknown> | null;
|
|
977
|
-
wranglerConfigHash?: string | null;
|
|
978
|
-
};
|
|
979
|
-
production: {
|
|
980
|
-
aiBindings?: Record<string, unknown> | null;
|
|
981
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
982
|
-
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
983
|
-
browsers?: Record<string, unknown> | null;
|
|
984
|
-
buildImageMajorVersion?: number | null;
|
|
985
|
-
compatibilityDate?: string | null;
|
|
986
|
-
compatibilityFlags?: string[] | null;
|
|
987
|
-
d1Databases?: Record<string, unknown> | null;
|
|
988
|
-
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
989
|
-
envVars?: Record<string, unknown> | null;
|
|
990
|
-
failOpen?: boolean | null;
|
|
991
|
-
hyperdriveBindings?: Record<string, unknown> | null;
|
|
992
|
-
kvNamespaces?: Record<string, unknown> | null;
|
|
993
|
-
limits?: { cpuMs: number } | null;
|
|
994
|
-
mtlsCertificates?: Record<string, unknown> | null;
|
|
995
|
-
placement?: { mode: string } | null;
|
|
996
|
-
queueProducers?: Record<string, unknown> | null;
|
|
997
|
-
r2Buckets?: Record<string, unknown> | null;
|
|
998
|
-
services?: Record<string, unknown> | null;
|
|
999
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1000
|
-
vectorizeBindings?: Record<string, unknown> | null;
|
|
1001
|
-
wranglerConfigHash?: string | null;
|
|
1002
1011
|
};
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1012
|
+
framework: string;
|
|
1013
|
+
frameworkVersion: string;
|
|
1014
|
+
latestDeployment: {
|
|
1015
|
+
id: string;
|
|
1016
|
+
aliases: string[] | null;
|
|
1017
|
+
buildConfig: {
|
|
1018
|
+
webAnalyticsTag: string | null;
|
|
1019
|
+
webAnalyticsToken: string | null;
|
|
1020
|
+
buildCaching?: boolean | null;
|
|
1021
|
+
buildCommand?: string | null;
|
|
1022
|
+
destinationDir?: string | null;
|
|
1023
|
+
rootDir?: string | null;
|
|
1024
|
+
};
|
|
1025
|
+
createdOn: string;
|
|
1026
|
+
deploymentTrigger: {
|
|
1027
|
+
metadata: {
|
|
1028
|
+
branch: string;
|
|
1029
|
+
commitDirty: boolean;
|
|
1030
|
+
commitHash: string;
|
|
1031
|
+
commitMessage: string;
|
|
1032
|
+
};
|
|
1033
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1034
|
+
};
|
|
1035
|
+
envVars: Record<string, unknown> | null;
|
|
1036
|
+
environment: "preview" | "production";
|
|
1037
|
+
isSkipped: boolean;
|
|
1038
|
+
latestStage: unknown;
|
|
1039
|
+
modifiedOn: string;
|
|
1040
|
+
projectId: string;
|
|
1041
|
+
projectName: string;
|
|
1042
|
+
shortId: string;
|
|
1043
|
+
source: {
|
|
1044
|
+
config: {
|
|
1045
|
+
deploymentsEnabled?: boolean | null;
|
|
1046
|
+
owner?: string | null;
|
|
1047
|
+
ownerId?: string | null;
|
|
1048
|
+
pathExcludes?: string[] | null;
|
|
1049
|
+
pathIncludes?: string[] | null;
|
|
1050
|
+
prCommentsEnabled?: boolean | null;
|
|
1051
|
+
previewBranchExcludes?: string[] | null;
|
|
1052
|
+
previewBranchIncludes?: string[] | null;
|
|
1053
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1054
|
+
productionBranch?: string | null;
|
|
1055
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1056
|
+
repoId?: string | null;
|
|
1057
|
+
repoName?: string | null;
|
|
1058
|
+
};
|
|
1059
|
+
type: "github" | "gitlab";
|
|
1060
|
+
};
|
|
1061
|
+
stages: unknown[];
|
|
1062
|
+
url: string;
|
|
1063
|
+
usesFunctions?: boolean | null;
|
|
1064
|
+
} | null;
|
|
1065
|
+
name: string;
|
|
1066
|
+
previewScriptName: string;
|
|
1067
|
+
productionBranch: string;
|
|
1068
|
+
productionScriptName: string;
|
|
1069
|
+
usesFunctions: boolean | null;
|
|
1070
|
+
buildConfig?: {
|
|
1010
1071
|
webAnalyticsTag: string | null;
|
|
1011
1072
|
webAnalyticsToken: string | null;
|
|
1012
1073
|
buildCaching?: boolean | null;
|
|
1013
1074
|
buildCommand?: string | null;
|
|
1014
1075
|
destinationDir?: string | null;
|
|
1015
1076
|
rootDir?: string | null;
|
|
1016
|
-
};
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
metadata: {
|
|
1020
|
-
branch: string;
|
|
1021
|
-
commitDirty: boolean;
|
|
1022
|
-
commitHash: string;
|
|
1023
|
-
commitMessage: string;
|
|
1024
|
-
};
|
|
1025
|
-
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1026
|
-
};
|
|
1027
|
-
envVars: Record<string, unknown> | null;
|
|
1028
|
-
environment: "preview" | "production";
|
|
1029
|
-
isSkipped: boolean;
|
|
1030
|
-
latestStage: unknown;
|
|
1031
|
-
modifiedOn: string;
|
|
1032
|
-
projectId: string;
|
|
1033
|
-
projectName: string;
|
|
1034
|
-
shortId: string;
|
|
1035
|
-
source: {
|
|
1077
|
+
} | null;
|
|
1078
|
+
domains?: string[] | null;
|
|
1079
|
+
source?: {
|
|
1036
1080
|
config: {
|
|
1037
1081
|
deploymentsEnabled?: boolean | null;
|
|
1038
1082
|
owner?: string | null;
|
|
@@ -1049,676 +1093,896 @@ export type ListProjectsResponse = {
|
|
|
1049
1093
|
repoName?: string | null;
|
|
1050
1094
|
};
|
|
1051
1095
|
type: "github" | "gitlab";
|
|
1052
|
-
};
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
buildConfig?: {
|
|
1063
|
-
webAnalyticsTag: string | null;
|
|
1064
|
-
webAnalyticsToken: string | null;
|
|
1065
|
-
buildCaching?: boolean | null;
|
|
1066
|
-
buildCommand?: string | null;
|
|
1067
|
-
destinationDir?: string | null;
|
|
1068
|
-
rootDir?: string | null;
|
|
1069
|
-
} | null;
|
|
1070
|
-
domains?: string[] | null;
|
|
1071
|
-
source?: {
|
|
1072
|
-
config: {
|
|
1073
|
-
deploymentsEnabled?: boolean | null;
|
|
1074
|
-
owner?: string | null;
|
|
1075
|
-
ownerId?: string | null;
|
|
1076
|
-
pathExcludes?: string[] | null;
|
|
1077
|
-
pathIncludes?: string[] | null;
|
|
1078
|
-
prCommentsEnabled?: boolean | null;
|
|
1079
|
-
previewBranchExcludes?: string[] | null;
|
|
1080
|
-
previewBranchIncludes?: string[] | null;
|
|
1081
|
-
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1082
|
-
productionBranch?: string | null;
|
|
1083
|
-
productionDeploymentsEnabled?: boolean | null;
|
|
1084
|
-
repoId?: string | null;
|
|
1085
|
-
repoName?: string | null;
|
|
1086
|
-
};
|
|
1087
|
-
type: "github" | "gitlab";
|
|
1088
|
-
} | null;
|
|
1089
|
-
subdomain?: string | null;
|
|
1090
|
-
}[];
|
|
1096
|
+
} | null;
|
|
1097
|
+
subdomain?: string | null;
|
|
1098
|
+
}[];
|
|
1099
|
+
resultInfo: {
|
|
1100
|
+
count?: number | null;
|
|
1101
|
+
page?: number | null;
|
|
1102
|
+
perPage?: number | null;
|
|
1103
|
+
totalCount?: number | null;
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1091
1106
|
|
|
1092
|
-
export const ListProjectsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1093
|
-
Schema.
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
Schema.
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
Schema.
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
Schema.
|
|
1107
|
+
export const ListProjectsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1108
|
+
result: Schema.Array(
|
|
1109
|
+
Schema.Struct({
|
|
1110
|
+
id: Schema.String,
|
|
1111
|
+
canonicalDeployment: Schema.Union([
|
|
1112
|
+
Schema.Struct({
|
|
1113
|
+
id: Schema.String,
|
|
1114
|
+
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1115
|
+
buildConfig: Schema.Struct({
|
|
1116
|
+
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
1117
|
+
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
1118
|
+
buildCaching: Schema.optional(
|
|
1119
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1120
|
+
),
|
|
1121
|
+
buildCommand: Schema.optional(
|
|
1122
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1123
|
+
),
|
|
1124
|
+
destinationDir: Schema.optional(
|
|
1125
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1126
|
+
),
|
|
1127
|
+
rootDir: Schema.optional(
|
|
1128
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1129
|
+
),
|
|
1130
|
+
}).pipe(
|
|
1131
|
+
Schema.encodeKeys({
|
|
1132
|
+
webAnalyticsTag: "web_analytics_tag",
|
|
1133
|
+
webAnalyticsToken: "web_analytics_token",
|
|
1134
|
+
buildCaching: "build_caching",
|
|
1135
|
+
buildCommand: "build_command",
|
|
1136
|
+
destinationDir: "destination_dir",
|
|
1137
|
+
rootDir: "root_dir",
|
|
1138
|
+
}),
|
|
1107
1139
|
),
|
|
1108
|
-
|
|
1109
|
-
|
|
1140
|
+
createdOn: Schema.String,
|
|
1141
|
+
deploymentTrigger: Schema.Struct({
|
|
1142
|
+
metadata: Schema.Struct({
|
|
1143
|
+
branch: Schema.String,
|
|
1144
|
+
commitDirty: Schema.Boolean,
|
|
1145
|
+
commitHash: Schema.String,
|
|
1146
|
+
commitMessage: Schema.String,
|
|
1147
|
+
}).pipe(
|
|
1148
|
+
Schema.encodeKeys({
|
|
1149
|
+
branch: "branch",
|
|
1150
|
+
commitDirty: "commit_dirty",
|
|
1151
|
+
commitHash: "commit_hash",
|
|
1152
|
+
commitMessage: "commit_message",
|
|
1153
|
+
}),
|
|
1154
|
+
),
|
|
1155
|
+
type: Schema.Literals(["github:push", "ad_hoc", "deploy_hook"]),
|
|
1156
|
+
}),
|
|
1157
|
+
envVars: Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1158
|
+
environment: Schema.Literals(["preview", "production"]),
|
|
1159
|
+
isSkipped: Schema.Boolean,
|
|
1160
|
+
latestStage: Schema.Unknown,
|
|
1161
|
+
modifiedOn: Schema.String,
|
|
1162
|
+
projectId: Schema.String,
|
|
1163
|
+
projectName: Schema.String,
|
|
1164
|
+
shortId: Schema.String,
|
|
1165
|
+
source: Schema.Struct({
|
|
1166
|
+
config: Schema.Struct({
|
|
1167
|
+
deploymentsEnabled: Schema.optional(
|
|
1168
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1169
|
+
),
|
|
1170
|
+
owner: Schema.optional(
|
|
1171
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1172
|
+
),
|
|
1173
|
+
ownerId: Schema.optional(
|
|
1174
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1175
|
+
),
|
|
1176
|
+
pathExcludes: Schema.optional(
|
|
1177
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1178
|
+
),
|
|
1179
|
+
pathIncludes: Schema.optional(
|
|
1180
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1181
|
+
),
|
|
1182
|
+
prCommentsEnabled: Schema.optional(
|
|
1183
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1184
|
+
),
|
|
1185
|
+
previewBranchExcludes: Schema.optional(
|
|
1186
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1187
|
+
),
|
|
1188
|
+
previewBranchIncludes: Schema.optional(
|
|
1189
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1190
|
+
),
|
|
1191
|
+
previewDeploymentSetting: Schema.optional(
|
|
1192
|
+
Schema.Union([
|
|
1193
|
+
Schema.Literals(["all", "none", "custom"]),
|
|
1194
|
+
Schema.Null,
|
|
1195
|
+
]),
|
|
1196
|
+
),
|
|
1197
|
+
productionBranch: Schema.optional(
|
|
1198
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1199
|
+
),
|
|
1200
|
+
productionDeploymentsEnabled: Schema.optional(
|
|
1201
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1202
|
+
),
|
|
1203
|
+
repoId: Schema.optional(
|
|
1204
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1205
|
+
),
|
|
1206
|
+
repoName: Schema.optional(
|
|
1207
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1208
|
+
),
|
|
1209
|
+
}).pipe(
|
|
1210
|
+
Schema.encodeKeys({
|
|
1211
|
+
deploymentsEnabled: "deployments_enabled",
|
|
1212
|
+
owner: "owner",
|
|
1213
|
+
ownerId: "owner_id",
|
|
1214
|
+
pathExcludes: "path_excludes",
|
|
1215
|
+
pathIncludes: "path_includes",
|
|
1216
|
+
prCommentsEnabled: "pr_comments_enabled",
|
|
1217
|
+
previewBranchExcludes: "preview_branch_excludes",
|
|
1218
|
+
previewBranchIncludes: "preview_branch_includes",
|
|
1219
|
+
previewDeploymentSetting: "preview_deployment_setting",
|
|
1220
|
+
productionBranch: "production_branch",
|
|
1221
|
+
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
1222
|
+
repoId: "repo_id",
|
|
1223
|
+
repoName: "repo_name",
|
|
1224
|
+
}),
|
|
1225
|
+
),
|
|
1226
|
+
type: Schema.Literals(["github", "gitlab"]),
|
|
1227
|
+
}),
|
|
1228
|
+
stages: Schema.Array(Schema.Unknown),
|
|
1229
|
+
url: Schema.String,
|
|
1230
|
+
usesFunctions: Schema.optional(
|
|
1231
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1110
1232
|
),
|
|
1111
|
-
rootDir: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1112
1233
|
}).pipe(
|
|
1113
1234
|
Schema.encodeKeys({
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1235
|
+
id: "id",
|
|
1236
|
+
aliases: "aliases",
|
|
1237
|
+
buildConfig: "build_config",
|
|
1238
|
+
createdOn: "created_on",
|
|
1239
|
+
deploymentTrigger: "deployment_trigger",
|
|
1240
|
+
envVars: "env_vars",
|
|
1241
|
+
environment: "environment",
|
|
1242
|
+
isSkipped: "is_skipped",
|
|
1243
|
+
latestStage: "latest_stage",
|
|
1244
|
+
modifiedOn: "modified_on",
|
|
1245
|
+
projectId: "project_id",
|
|
1246
|
+
projectName: "project_name",
|
|
1247
|
+
shortId: "short_id",
|
|
1248
|
+
source: "source",
|
|
1249
|
+
stages: "stages",
|
|
1250
|
+
url: "url",
|
|
1251
|
+
usesFunctions: "uses_functions",
|
|
1120
1252
|
}),
|
|
1121
1253
|
),
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
}).pipe(
|
|
1130
|
-
Schema.encodeKeys({
|
|
1131
|
-
branch: "branch",
|
|
1132
|
-
commitDirty: "commit_dirty",
|
|
1133
|
-
commitHash: "commit_hash",
|
|
1134
|
-
commitMessage: "commit_message",
|
|
1135
|
-
}),
|
|
1254
|
+
Schema.Null,
|
|
1255
|
+
]),
|
|
1256
|
+
createdOn: Schema.String,
|
|
1257
|
+
deploymentConfigs: Schema.Struct({
|
|
1258
|
+
preview: Schema.Struct({
|
|
1259
|
+
aiBindings: Schema.optional(
|
|
1260
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1136
1261
|
),
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
envVars: Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1140
|
-
environment: Schema.Literals(["preview", "production"]),
|
|
1141
|
-
isSkipped: Schema.Boolean,
|
|
1142
|
-
latestStage: Schema.Unknown,
|
|
1143
|
-
modifiedOn: Schema.String,
|
|
1144
|
-
projectId: Schema.String,
|
|
1145
|
-
projectName: Schema.String,
|
|
1146
|
-
shortId: Schema.String,
|
|
1147
|
-
source: Schema.Struct({
|
|
1148
|
-
config: Schema.Struct({
|
|
1149
|
-
deploymentsEnabled: Schema.optional(
|
|
1150
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1151
|
-
),
|
|
1152
|
-
owner: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1153
|
-
ownerId: Schema.optional(
|
|
1154
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1155
|
-
),
|
|
1156
|
-
pathExcludes: Schema.optional(
|
|
1157
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1158
|
-
),
|
|
1159
|
-
pathIncludes: Schema.optional(
|
|
1160
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1161
|
-
),
|
|
1162
|
-
prCommentsEnabled: Schema.optional(
|
|
1163
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1164
|
-
),
|
|
1165
|
-
previewBranchExcludes: Schema.optional(
|
|
1166
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1167
|
-
),
|
|
1168
|
-
previewBranchIncludes: Schema.optional(
|
|
1169
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1170
|
-
),
|
|
1171
|
-
previewDeploymentSetting: Schema.optional(
|
|
1172
|
-
Schema.Union([
|
|
1173
|
-
Schema.Literals(["all", "none", "custom"]),
|
|
1174
|
-
Schema.Null,
|
|
1175
|
-
]),
|
|
1176
|
-
),
|
|
1177
|
-
productionBranch: Schema.optional(
|
|
1178
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1179
|
-
),
|
|
1180
|
-
productionDeploymentsEnabled: Schema.optional(
|
|
1181
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1182
|
-
),
|
|
1183
|
-
repoId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1184
|
-
repoName: Schema.optional(
|
|
1185
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1186
|
-
),
|
|
1187
|
-
}).pipe(
|
|
1188
|
-
Schema.encodeKeys({
|
|
1189
|
-
deploymentsEnabled: "deployments_enabled",
|
|
1190
|
-
owner: "owner",
|
|
1191
|
-
ownerId: "owner_id",
|
|
1192
|
-
pathExcludes: "path_excludes",
|
|
1193
|
-
pathIncludes: "path_includes",
|
|
1194
|
-
prCommentsEnabled: "pr_comments_enabled",
|
|
1195
|
-
previewBranchExcludes: "preview_branch_excludes",
|
|
1196
|
-
previewBranchIncludes: "preview_branch_includes",
|
|
1197
|
-
previewDeploymentSetting: "preview_deployment_setting",
|
|
1198
|
-
productionBranch: "production_branch",
|
|
1199
|
-
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
1200
|
-
repoId: "repo_id",
|
|
1201
|
-
repoName: "repo_name",
|
|
1202
|
-
}),
|
|
1262
|
+
alwaysUseLatestCompatibilityDate: Schema.optional(
|
|
1263
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1203
1264
|
),
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
Schema.
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
Schema.
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
Schema.
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
Schema.
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
Schema.Union([
|
|
1304
|
-
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
1305
|
-
Schema.Null,
|
|
1306
|
-
]),
|
|
1307
|
-
),
|
|
1308
|
-
vectorizeBindings: Schema.optional(
|
|
1309
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1310
|
-
),
|
|
1311
|
-
wranglerConfigHash: Schema.optional(
|
|
1312
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1313
|
-
),
|
|
1314
|
-
}).pipe(
|
|
1315
|
-
Schema.encodeKeys({
|
|
1316
|
-
aiBindings: "ai_bindings",
|
|
1317
|
-
alwaysUseLatestCompatibilityDate:
|
|
1318
|
-
"always_use_latest_compatibility_date",
|
|
1319
|
-
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
1320
|
-
browsers: "browsers",
|
|
1321
|
-
buildImageMajorVersion: "build_image_major_version",
|
|
1322
|
-
compatibilityDate: "compatibility_date",
|
|
1323
|
-
compatibilityFlags: "compatibility_flags",
|
|
1324
|
-
d1Databases: "d1_databases",
|
|
1325
|
-
durableObjectNamespaces: "durable_object_namespaces",
|
|
1326
|
-
envVars: "env_vars",
|
|
1327
|
-
failOpen: "fail_open",
|
|
1328
|
-
hyperdriveBindings: "hyperdrive_bindings",
|
|
1329
|
-
kvNamespaces: "kv_namespaces",
|
|
1330
|
-
limits: "limits",
|
|
1331
|
-
mtlsCertificates: "mtls_certificates",
|
|
1332
|
-
placement: "placement",
|
|
1333
|
-
queueProducers: "queue_producers",
|
|
1334
|
-
r2Buckets: "r2_buckets",
|
|
1335
|
-
services: "services",
|
|
1336
|
-
usageModel: "usage_model",
|
|
1337
|
-
vectorizeBindings: "vectorize_bindings",
|
|
1338
|
-
wranglerConfigHash: "wrangler_config_hash",
|
|
1339
|
-
}),
|
|
1340
|
-
),
|
|
1341
|
-
production: Schema.Struct({
|
|
1342
|
-
aiBindings: Schema.optional(
|
|
1343
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1344
|
-
),
|
|
1345
|
-
alwaysUseLatestCompatibilityDate: Schema.optional(
|
|
1346
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1347
|
-
),
|
|
1348
|
-
analyticsEngineDatasets: Schema.optional(
|
|
1349
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1350
|
-
),
|
|
1351
|
-
browsers: Schema.optional(
|
|
1352
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1353
|
-
),
|
|
1354
|
-
buildImageMajorVersion: Schema.optional(
|
|
1355
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1356
|
-
),
|
|
1357
|
-
compatibilityDate: Schema.optional(
|
|
1358
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1359
|
-
),
|
|
1360
|
-
compatibilityFlags: Schema.optional(
|
|
1361
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1362
|
-
),
|
|
1363
|
-
d1Databases: Schema.optional(
|
|
1364
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1365
|
-
),
|
|
1366
|
-
durableObjectNamespaces: Schema.optional(
|
|
1367
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1368
|
-
),
|
|
1369
|
-
envVars: Schema.optional(
|
|
1370
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1371
|
-
),
|
|
1372
|
-
failOpen: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1373
|
-
hyperdriveBindings: Schema.optional(
|
|
1374
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1375
|
-
),
|
|
1376
|
-
kvNamespaces: Schema.optional(
|
|
1377
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1378
|
-
),
|
|
1379
|
-
limits: Schema.optional(
|
|
1380
|
-
Schema.Union([
|
|
1381
|
-
Schema.Struct({
|
|
1382
|
-
cpuMs: Schema.Number,
|
|
1383
|
-
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
1384
|
-
Schema.Null,
|
|
1385
|
-
]),
|
|
1386
|
-
),
|
|
1387
|
-
mtlsCertificates: Schema.optional(
|
|
1388
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1389
|
-
),
|
|
1390
|
-
placement: Schema.optional(
|
|
1391
|
-
Schema.Union([
|
|
1392
|
-
Schema.Struct({
|
|
1393
|
-
mode: Schema.String,
|
|
1394
|
-
}),
|
|
1395
|
-
Schema.Null,
|
|
1396
|
-
]),
|
|
1397
|
-
),
|
|
1398
|
-
queueProducers: Schema.optional(
|
|
1399
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1400
|
-
),
|
|
1401
|
-
r2Buckets: Schema.optional(
|
|
1402
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1403
|
-
),
|
|
1404
|
-
services: Schema.optional(
|
|
1405
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1406
|
-
),
|
|
1407
|
-
usageModel: Schema.optional(
|
|
1408
|
-
Schema.Union([
|
|
1409
|
-
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
1410
|
-
Schema.Null,
|
|
1411
|
-
]),
|
|
1412
|
-
),
|
|
1413
|
-
vectorizeBindings: Schema.optional(
|
|
1414
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1415
|
-
),
|
|
1416
|
-
wranglerConfigHash: Schema.optional(
|
|
1417
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1265
|
+
analyticsEngineDatasets: Schema.optional(
|
|
1266
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1267
|
+
),
|
|
1268
|
+
browsers: Schema.optional(
|
|
1269
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1270
|
+
),
|
|
1271
|
+
buildImageMajorVersion: Schema.optional(
|
|
1272
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1273
|
+
),
|
|
1274
|
+
compatibilityDate: Schema.optional(
|
|
1275
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1276
|
+
),
|
|
1277
|
+
compatibilityFlags: Schema.optional(
|
|
1278
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1279
|
+
),
|
|
1280
|
+
d1Databases: Schema.optional(
|
|
1281
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1282
|
+
),
|
|
1283
|
+
durableObjectNamespaces: Schema.optional(
|
|
1284
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1285
|
+
),
|
|
1286
|
+
envVars: Schema.optional(
|
|
1287
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1288
|
+
),
|
|
1289
|
+
failOpen: Schema.optional(
|
|
1290
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1291
|
+
),
|
|
1292
|
+
hyperdriveBindings: Schema.optional(
|
|
1293
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1294
|
+
),
|
|
1295
|
+
kvNamespaces: Schema.optional(
|
|
1296
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1297
|
+
),
|
|
1298
|
+
limits: Schema.optional(
|
|
1299
|
+
Schema.Union([
|
|
1300
|
+
Schema.Struct({
|
|
1301
|
+
cpuMs: Schema.Number,
|
|
1302
|
+
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
1303
|
+
Schema.Null,
|
|
1304
|
+
]),
|
|
1305
|
+
),
|
|
1306
|
+
mtlsCertificates: Schema.optional(
|
|
1307
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1308
|
+
),
|
|
1309
|
+
placement: Schema.optional(
|
|
1310
|
+
Schema.Union([
|
|
1311
|
+
Schema.Struct({
|
|
1312
|
+
mode: Schema.String,
|
|
1313
|
+
}),
|
|
1314
|
+
Schema.Null,
|
|
1315
|
+
]),
|
|
1316
|
+
),
|
|
1317
|
+
queueProducers: Schema.optional(
|
|
1318
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1319
|
+
),
|
|
1320
|
+
r2Buckets: Schema.optional(
|
|
1321
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1322
|
+
),
|
|
1323
|
+
services: Schema.optional(
|
|
1324
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1325
|
+
),
|
|
1326
|
+
usageModel: Schema.optional(
|
|
1327
|
+
Schema.Union([
|
|
1328
|
+
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
1329
|
+
Schema.Null,
|
|
1330
|
+
]),
|
|
1331
|
+
),
|
|
1332
|
+
vectorizeBindings: Schema.optional(
|
|
1333
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1334
|
+
),
|
|
1335
|
+
wranglerConfigHash: Schema.optional(
|
|
1336
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1337
|
+
),
|
|
1338
|
+
}).pipe(
|
|
1339
|
+
Schema.encodeKeys({
|
|
1340
|
+
aiBindings: "ai_bindings",
|
|
1341
|
+
alwaysUseLatestCompatibilityDate:
|
|
1342
|
+
"always_use_latest_compatibility_date",
|
|
1343
|
+
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
1344
|
+
browsers: "browsers",
|
|
1345
|
+
buildImageMajorVersion: "build_image_major_version",
|
|
1346
|
+
compatibilityDate: "compatibility_date",
|
|
1347
|
+
compatibilityFlags: "compatibility_flags",
|
|
1348
|
+
d1Databases: "d1_databases",
|
|
1349
|
+
durableObjectNamespaces: "durable_object_namespaces",
|
|
1350
|
+
envVars: "env_vars",
|
|
1351
|
+
failOpen: "fail_open",
|
|
1352
|
+
hyperdriveBindings: "hyperdrive_bindings",
|
|
1353
|
+
kvNamespaces: "kv_namespaces",
|
|
1354
|
+
limits: "limits",
|
|
1355
|
+
mtlsCertificates: "mtls_certificates",
|
|
1356
|
+
placement: "placement",
|
|
1357
|
+
queueProducers: "queue_producers",
|
|
1358
|
+
r2Buckets: "r2_buckets",
|
|
1359
|
+
services: "services",
|
|
1360
|
+
usageModel: "usage_model",
|
|
1361
|
+
vectorizeBindings: "vectorize_bindings",
|
|
1362
|
+
wranglerConfigHash: "wrangler_config_hash",
|
|
1363
|
+
}),
|
|
1418
1364
|
),
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
1425
|
-
browsers: "browsers",
|
|
1426
|
-
buildImageMajorVersion: "build_image_major_version",
|
|
1427
|
-
compatibilityDate: "compatibility_date",
|
|
1428
|
-
compatibilityFlags: "compatibility_flags",
|
|
1429
|
-
d1Databases: "d1_databases",
|
|
1430
|
-
durableObjectNamespaces: "durable_object_namespaces",
|
|
1431
|
-
envVars: "env_vars",
|
|
1432
|
-
failOpen: "fail_open",
|
|
1433
|
-
hyperdriveBindings: "hyperdrive_bindings",
|
|
1434
|
-
kvNamespaces: "kv_namespaces",
|
|
1435
|
-
limits: "limits",
|
|
1436
|
-
mtlsCertificates: "mtls_certificates",
|
|
1437
|
-
placement: "placement",
|
|
1438
|
-
queueProducers: "queue_producers",
|
|
1439
|
-
r2Buckets: "r2_buckets",
|
|
1440
|
-
services: "services",
|
|
1441
|
-
usageModel: "usage_model",
|
|
1442
|
-
vectorizeBindings: "vectorize_bindings",
|
|
1443
|
-
wranglerConfigHash: "wrangler_config_hash",
|
|
1444
|
-
}),
|
|
1445
|
-
),
|
|
1446
|
-
}),
|
|
1447
|
-
framework: Schema.String,
|
|
1448
|
-
frameworkVersion: Schema.String,
|
|
1449
|
-
latestDeployment: Schema.Union([
|
|
1450
|
-
Schema.Struct({
|
|
1451
|
-
id: Schema.String,
|
|
1452
|
-
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1453
|
-
buildConfig: Schema.Struct({
|
|
1454
|
-
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
1455
|
-
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
1456
|
-
buildCaching: Schema.optional(
|
|
1365
|
+
production: Schema.Struct({
|
|
1366
|
+
aiBindings: Schema.optional(
|
|
1367
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1368
|
+
),
|
|
1369
|
+
alwaysUseLatestCompatibilityDate: Schema.optional(
|
|
1457
1370
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1458
1371
|
),
|
|
1459
|
-
|
|
1372
|
+
analyticsEngineDatasets: Schema.optional(
|
|
1373
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1374
|
+
),
|
|
1375
|
+
browsers: Schema.optional(
|
|
1376
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1377
|
+
),
|
|
1378
|
+
buildImageMajorVersion: Schema.optional(
|
|
1379
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1380
|
+
),
|
|
1381
|
+
compatibilityDate: Schema.optional(
|
|
1460
1382
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1461
1383
|
),
|
|
1462
|
-
|
|
1384
|
+
compatibilityFlags: Schema.optional(
|
|
1385
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1386
|
+
),
|
|
1387
|
+
d1Databases: Schema.optional(
|
|
1388
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1389
|
+
),
|
|
1390
|
+
durableObjectNamespaces: Schema.optional(
|
|
1391
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1392
|
+
),
|
|
1393
|
+
envVars: Schema.optional(
|
|
1394
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1395
|
+
),
|
|
1396
|
+
failOpen: Schema.optional(
|
|
1397
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1398
|
+
),
|
|
1399
|
+
hyperdriveBindings: Schema.optional(
|
|
1400
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1401
|
+
),
|
|
1402
|
+
kvNamespaces: Schema.optional(
|
|
1403
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1404
|
+
),
|
|
1405
|
+
limits: Schema.optional(
|
|
1406
|
+
Schema.Union([
|
|
1407
|
+
Schema.Struct({
|
|
1408
|
+
cpuMs: Schema.Number,
|
|
1409
|
+
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
1410
|
+
Schema.Null,
|
|
1411
|
+
]),
|
|
1412
|
+
),
|
|
1413
|
+
mtlsCertificates: Schema.optional(
|
|
1414
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1415
|
+
),
|
|
1416
|
+
placement: Schema.optional(
|
|
1417
|
+
Schema.Union([
|
|
1418
|
+
Schema.Struct({
|
|
1419
|
+
mode: Schema.String,
|
|
1420
|
+
}),
|
|
1421
|
+
Schema.Null,
|
|
1422
|
+
]),
|
|
1423
|
+
),
|
|
1424
|
+
queueProducers: Schema.optional(
|
|
1425
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1426
|
+
),
|
|
1427
|
+
r2Buckets: Schema.optional(
|
|
1428
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1429
|
+
),
|
|
1430
|
+
services: Schema.optional(
|
|
1431
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1432
|
+
),
|
|
1433
|
+
usageModel: Schema.optional(
|
|
1434
|
+
Schema.Union([
|
|
1435
|
+
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
1436
|
+
Schema.Null,
|
|
1437
|
+
]),
|
|
1438
|
+
),
|
|
1439
|
+
vectorizeBindings: Schema.optional(
|
|
1440
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1441
|
+
),
|
|
1442
|
+
wranglerConfigHash: Schema.optional(
|
|
1463
1443
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1464
1444
|
),
|
|
1465
|
-
rootDir: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1466
1445
|
}).pipe(
|
|
1467
1446
|
Schema.encodeKeys({
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1447
|
+
aiBindings: "ai_bindings",
|
|
1448
|
+
alwaysUseLatestCompatibilityDate:
|
|
1449
|
+
"always_use_latest_compatibility_date",
|
|
1450
|
+
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
1451
|
+
browsers: "browsers",
|
|
1452
|
+
buildImageMajorVersion: "build_image_major_version",
|
|
1453
|
+
compatibilityDate: "compatibility_date",
|
|
1454
|
+
compatibilityFlags: "compatibility_flags",
|
|
1455
|
+
d1Databases: "d1_databases",
|
|
1456
|
+
durableObjectNamespaces: "durable_object_namespaces",
|
|
1457
|
+
envVars: "env_vars",
|
|
1458
|
+
failOpen: "fail_open",
|
|
1459
|
+
hyperdriveBindings: "hyperdrive_bindings",
|
|
1460
|
+
kvNamespaces: "kv_namespaces",
|
|
1461
|
+
limits: "limits",
|
|
1462
|
+
mtlsCertificates: "mtls_certificates",
|
|
1463
|
+
placement: "placement",
|
|
1464
|
+
queueProducers: "queue_producers",
|
|
1465
|
+
r2Buckets: "r2_buckets",
|
|
1466
|
+
services: "services",
|
|
1467
|
+
usageModel: "usage_model",
|
|
1468
|
+
vectorizeBindings: "vectorize_bindings",
|
|
1469
|
+
wranglerConfigHash: "wrangler_config_hash",
|
|
1474
1470
|
}),
|
|
1475
1471
|
),
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
Schema.
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
commitHash: "commit_hash",
|
|
1488
|
-
commitMessage: "commit_message",
|
|
1489
|
-
}),
|
|
1490
|
-
),
|
|
1491
|
-
type: Schema.Literals(["github:push", "ad_hoc", "deploy_hook"]),
|
|
1492
|
-
}),
|
|
1493
|
-
envVars: Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1494
|
-
environment: Schema.Literals(["preview", "production"]),
|
|
1495
|
-
isSkipped: Schema.Boolean,
|
|
1496
|
-
latestStage: Schema.Unknown,
|
|
1497
|
-
modifiedOn: Schema.String,
|
|
1498
|
-
projectId: Schema.String,
|
|
1499
|
-
projectName: Schema.String,
|
|
1500
|
-
shortId: Schema.String,
|
|
1501
|
-
source: Schema.Struct({
|
|
1502
|
-
config: Schema.Struct({
|
|
1503
|
-
deploymentsEnabled: Schema.optional(
|
|
1472
|
+
}),
|
|
1473
|
+
framework: Schema.String,
|
|
1474
|
+
frameworkVersion: Schema.String,
|
|
1475
|
+
latestDeployment: Schema.Union([
|
|
1476
|
+
Schema.Struct({
|
|
1477
|
+
id: Schema.String,
|
|
1478
|
+
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1479
|
+
buildConfig: Schema.Struct({
|
|
1480
|
+
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
1481
|
+
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
1482
|
+
buildCaching: Schema.optional(
|
|
1504
1483
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1505
1484
|
),
|
|
1506
|
-
|
|
1507
|
-
ownerId: Schema.optional(
|
|
1485
|
+
buildCommand: Schema.optional(
|
|
1508
1486
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1509
1487
|
),
|
|
1510
|
-
|
|
1511
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1512
|
-
),
|
|
1513
|
-
pathIncludes: Schema.optional(
|
|
1514
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1515
|
-
),
|
|
1516
|
-
prCommentsEnabled: Schema.optional(
|
|
1517
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1518
|
-
),
|
|
1519
|
-
previewBranchExcludes: Schema.optional(
|
|
1520
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1521
|
-
),
|
|
1522
|
-
previewBranchIncludes: Schema.optional(
|
|
1523
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1524
|
-
),
|
|
1525
|
-
previewDeploymentSetting: Schema.optional(
|
|
1526
|
-
Schema.Union([
|
|
1527
|
-
Schema.Literals(["all", "none", "custom"]),
|
|
1528
|
-
Schema.Null,
|
|
1529
|
-
]),
|
|
1530
|
-
),
|
|
1531
|
-
productionBranch: Schema.optional(
|
|
1488
|
+
destinationDir: Schema.optional(
|
|
1532
1489
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1533
1490
|
),
|
|
1534
|
-
|
|
1535
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1536
|
-
),
|
|
1537
|
-
repoId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1538
|
-
repoName: Schema.optional(
|
|
1491
|
+
rootDir: Schema.optional(
|
|
1539
1492
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1540
1493
|
),
|
|
1541
1494
|
}).pipe(
|
|
1542
1495
|
Schema.encodeKeys({
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
previewBranchExcludes: "preview_branch_excludes",
|
|
1550
|
-
previewBranchIncludes: "preview_branch_includes",
|
|
1551
|
-
previewDeploymentSetting: "preview_deployment_setting",
|
|
1552
|
-
productionBranch: "production_branch",
|
|
1553
|
-
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
1554
|
-
repoId: "repo_id",
|
|
1555
|
-
repoName: "repo_name",
|
|
1496
|
+
webAnalyticsTag: "web_analytics_tag",
|
|
1497
|
+
webAnalyticsToken: "web_analytics_token",
|
|
1498
|
+
buildCaching: "build_caching",
|
|
1499
|
+
buildCommand: "build_command",
|
|
1500
|
+
destinationDir: "destination_dir",
|
|
1501
|
+
rootDir: "root_dir",
|
|
1556
1502
|
}),
|
|
1557
1503
|
),
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1504
|
+
createdOn: Schema.String,
|
|
1505
|
+
deploymentTrigger: Schema.Struct({
|
|
1506
|
+
metadata: Schema.Struct({
|
|
1507
|
+
branch: Schema.String,
|
|
1508
|
+
commitDirty: Schema.Boolean,
|
|
1509
|
+
commitHash: Schema.String,
|
|
1510
|
+
commitMessage: Schema.String,
|
|
1511
|
+
}).pipe(
|
|
1512
|
+
Schema.encodeKeys({
|
|
1513
|
+
branch: "branch",
|
|
1514
|
+
commitDirty: "commit_dirty",
|
|
1515
|
+
commitHash: "commit_hash",
|
|
1516
|
+
commitMessage: "commit_message",
|
|
1517
|
+
}),
|
|
1518
|
+
),
|
|
1519
|
+
type: Schema.Literals(["github:push", "ad_hoc", "deploy_hook"]),
|
|
1520
|
+
}),
|
|
1521
|
+
envVars: Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
1522
|
+
environment: Schema.Literals(["preview", "production"]),
|
|
1523
|
+
isSkipped: Schema.Boolean,
|
|
1524
|
+
latestStage: Schema.Unknown,
|
|
1525
|
+
modifiedOn: Schema.String,
|
|
1526
|
+
projectId: Schema.String,
|
|
1527
|
+
projectName: Schema.String,
|
|
1528
|
+
shortId: Schema.String,
|
|
1529
|
+
source: Schema.Struct({
|
|
1530
|
+
config: Schema.Struct({
|
|
1531
|
+
deploymentsEnabled: Schema.optional(
|
|
1532
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1533
|
+
),
|
|
1534
|
+
owner: Schema.optional(
|
|
1535
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1536
|
+
),
|
|
1537
|
+
ownerId: Schema.optional(
|
|
1538
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1539
|
+
),
|
|
1540
|
+
pathExcludes: Schema.optional(
|
|
1541
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1542
|
+
),
|
|
1543
|
+
pathIncludes: Schema.optional(
|
|
1544
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1545
|
+
),
|
|
1546
|
+
prCommentsEnabled: Schema.optional(
|
|
1547
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1548
|
+
),
|
|
1549
|
+
previewBranchExcludes: Schema.optional(
|
|
1550
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1551
|
+
),
|
|
1552
|
+
previewBranchIncludes: Schema.optional(
|
|
1553
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1554
|
+
),
|
|
1555
|
+
previewDeploymentSetting: Schema.optional(
|
|
1556
|
+
Schema.Union([
|
|
1557
|
+
Schema.Literals(["all", "none", "custom"]),
|
|
1558
|
+
Schema.Null,
|
|
1559
|
+
]),
|
|
1560
|
+
),
|
|
1561
|
+
productionBranch: Schema.optional(
|
|
1562
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1563
|
+
),
|
|
1564
|
+
productionDeploymentsEnabled: Schema.optional(
|
|
1565
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1566
|
+
),
|
|
1567
|
+
repoId: Schema.optional(
|
|
1568
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1569
|
+
),
|
|
1570
|
+
repoName: Schema.optional(
|
|
1571
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1572
|
+
),
|
|
1573
|
+
}).pipe(
|
|
1574
|
+
Schema.encodeKeys({
|
|
1575
|
+
deploymentsEnabled: "deployments_enabled",
|
|
1576
|
+
owner: "owner",
|
|
1577
|
+
ownerId: "owner_id",
|
|
1578
|
+
pathExcludes: "path_excludes",
|
|
1579
|
+
pathIncludes: "path_includes",
|
|
1580
|
+
prCommentsEnabled: "pr_comments_enabled",
|
|
1581
|
+
previewBranchExcludes: "preview_branch_excludes",
|
|
1582
|
+
previewBranchIncludes: "preview_branch_includes",
|
|
1583
|
+
previewDeploymentSetting: "preview_deployment_setting",
|
|
1584
|
+
productionBranch: "production_branch",
|
|
1585
|
+
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
1586
|
+
repoId: "repo_id",
|
|
1587
|
+
repoName: "repo_name",
|
|
1588
|
+
}),
|
|
1589
|
+
),
|
|
1590
|
+
type: Schema.Literals(["github", "gitlab"]),
|
|
1591
|
+
}),
|
|
1592
|
+
stages: Schema.Array(Schema.Unknown),
|
|
1593
|
+
url: Schema.String,
|
|
1594
|
+
usesFunctions: Schema.optional(
|
|
1599
1595
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1600
1596
|
),
|
|
1601
|
-
buildCommand: Schema.optional(
|
|
1602
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1603
|
-
),
|
|
1604
|
-
destinationDir: Schema.optional(
|
|
1605
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1606
|
-
),
|
|
1607
|
-
rootDir: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1608
1597
|
}).pipe(
|
|
1609
1598
|
Schema.encodeKeys({
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1599
|
+
id: "id",
|
|
1600
|
+
aliases: "aliases",
|
|
1601
|
+
buildConfig: "build_config",
|
|
1602
|
+
createdOn: "created_on",
|
|
1603
|
+
deploymentTrigger: "deployment_trigger",
|
|
1604
|
+
envVars: "env_vars",
|
|
1605
|
+
environment: "environment",
|
|
1606
|
+
isSkipped: "is_skipped",
|
|
1607
|
+
latestStage: "latest_stage",
|
|
1608
|
+
modifiedOn: "modified_on",
|
|
1609
|
+
projectId: "project_id",
|
|
1610
|
+
projectName: "project_name",
|
|
1611
|
+
shortId: "short_id",
|
|
1612
|
+
source: "source",
|
|
1613
|
+
stages: "stages",
|
|
1614
|
+
url: "url",
|
|
1615
|
+
usesFunctions: "uses_functions",
|
|
1616
1616
|
}),
|
|
1617
1617
|
),
|
|
1618
1618
|
Schema.Null,
|
|
1619
1619
|
]),
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
Schema.
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
Schema.
|
|
1626
|
-
Schema.
|
|
1627
|
-
|
|
1628
|
-
|
|
1620
|
+
name: Schema.String,
|
|
1621
|
+
previewScriptName: Schema.String,
|
|
1622
|
+
productionBranch: Schema.String,
|
|
1623
|
+
productionScriptName: Schema.String,
|
|
1624
|
+
usesFunctions: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1625
|
+
buildConfig: Schema.optional(
|
|
1626
|
+
Schema.Union([
|
|
1627
|
+
Schema.Struct({
|
|
1628
|
+
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
1629
|
+
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
1630
|
+
buildCaching: Schema.optional(
|
|
1629
1631
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1630
1632
|
),
|
|
1631
|
-
|
|
1632
|
-
ownerId: Schema.optional(
|
|
1633
|
+
buildCommand: Schema.optional(
|
|
1633
1634
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1634
1635
|
),
|
|
1635
|
-
|
|
1636
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1637
|
-
),
|
|
1638
|
-
pathIncludes: Schema.optional(
|
|
1639
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1640
|
-
),
|
|
1641
|
-
prCommentsEnabled: Schema.optional(
|
|
1642
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1643
|
-
),
|
|
1644
|
-
previewBranchExcludes: Schema.optional(
|
|
1645
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1646
|
-
),
|
|
1647
|
-
previewBranchIncludes: Schema.optional(
|
|
1648
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1649
|
-
),
|
|
1650
|
-
previewDeploymentSetting: Schema.optional(
|
|
1651
|
-
Schema.Union([
|
|
1652
|
-
Schema.Literals(["all", "none", "custom"]),
|
|
1653
|
-
Schema.Null,
|
|
1654
|
-
]),
|
|
1655
|
-
),
|
|
1656
|
-
productionBranch: Schema.optional(
|
|
1636
|
+
destinationDir: Schema.optional(
|
|
1657
1637
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1658
1638
|
),
|
|
1659
|
-
|
|
1660
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1661
|
-
),
|
|
1662
|
-
repoId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1663
|
-
repoName: Schema.optional(
|
|
1639
|
+
rootDir: Schema.optional(
|
|
1664
1640
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1665
1641
|
),
|
|
1666
1642
|
}).pipe(
|
|
1667
1643
|
Schema.encodeKeys({
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
previewBranchExcludes: "preview_branch_excludes",
|
|
1675
|
-
previewBranchIncludes: "preview_branch_includes",
|
|
1676
|
-
previewDeploymentSetting: "preview_deployment_setting",
|
|
1677
|
-
productionBranch: "production_branch",
|
|
1678
|
-
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
1679
|
-
repoId: "repo_id",
|
|
1680
|
-
repoName: "repo_name",
|
|
1644
|
+
webAnalyticsTag: "web_analytics_tag",
|
|
1645
|
+
webAnalyticsToken: "web_analytics_token",
|
|
1646
|
+
buildCaching: "build_caching",
|
|
1647
|
+
buildCommand: "build_command",
|
|
1648
|
+
destinationDir: "destination_dir",
|
|
1649
|
+
rootDir: "root_dir",
|
|
1681
1650
|
}),
|
|
1682
1651
|
),
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1652
|
+
Schema.Null,
|
|
1653
|
+
]),
|
|
1654
|
+
),
|
|
1655
|
+
domains: Schema.optional(
|
|
1656
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1657
|
+
),
|
|
1658
|
+
source: Schema.optional(
|
|
1659
|
+
Schema.Union([
|
|
1660
|
+
Schema.Struct({
|
|
1661
|
+
config: Schema.Struct({
|
|
1662
|
+
deploymentsEnabled: Schema.optional(
|
|
1663
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1664
|
+
),
|
|
1665
|
+
owner: Schema.optional(
|
|
1666
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1667
|
+
),
|
|
1668
|
+
ownerId: Schema.optional(
|
|
1669
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1670
|
+
),
|
|
1671
|
+
pathExcludes: Schema.optional(
|
|
1672
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1673
|
+
),
|
|
1674
|
+
pathIncludes: Schema.optional(
|
|
1675
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1676
|
+
),
|
|
1677
|
+
prCommentsEnabled: Schema.optional(
|
|
1678
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1679
|
+
),
|
|
1680
|
+
previewBranchExcludes: Schema.optional(
|
|
1681
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1682
|
+
),
|
|
1683
|
+
previewBranchIncludes: Schema.optional(
|
|
1684
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1685
|
+
),
|
|
1686
|
+
previewDeploymentSetting: Schema.optional(
|
|
1687
|
+
Schema.Union([
|
|
1688
|
+
Schema.Literals(["all", "none", "custom"]),
|
|
1689
|
+
Schema.Null,
|
|
1690
|
+
]),
|
|
1691
|
+
),
|
|
1692
|
+
productionBranch: Schema.optional(
|
|
1693
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1694
|
+
),
|
|
1695
|
+
productionDeploymentsEnabled: Schema.optional(
|
|
1696
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1697
|
+
),
|
|
1698
|
+
repoId: Schema.optional(
|
|
1699
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1700
|
+
),
|
|
1701
|
+
repoName: Schema.optional(
|
|
1702
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1703
|
+
),
|
|
1704
|
+
}).pipe(
|
|
1705
|
+
Schema.encodeKeys({
|
|
1706
|
+
deploymentsEnabled: "deployments_enabled",
|
|
1707
|
+
owner: "owner",
|
|
1708
|
+
ownerId: "owner_id",
|
|
1709
|
+
pathExcludes: "path_excludes",
|
|
1710
|
+
pathIncludes: "path_includes",
|
|
1711
|
+
prCommentsEnabled: "pr_comments_enabled",
|
|
1712
|
+
previewBranchExcludes: "preview_branch_excludes",
|
|
1713
|
+
previewBranchIncludes: "preview_branch_includes",
|
|
1714
|
+
previewDeploymentSetting: "preview_deployment_setting",
|
|
1715
|
+
productionBranch: "production_branch",
|
|
1716
|
+
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
1717
|
+
repoId: "repo_id",
|
|
1718
|
+
repoName: "repo_name",
|
|
1719
|
+
}),
|
|
1720
|
+
),
|
|
1721
|
+
type: Schema.Literals(["github", "gitlab"]),
|
|
1722
|
+
}),
|
|
1723
|
+
Schema.Null,
|
|
1724
|
+
]),
|
|
1725
|
+
),
|
|
1726
|
+
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1727
|
+
}).pipe(
|
|
1728
|
+
Schema.encodeKeys({
|
|
1729
|
+
id: "id",
|
|
1730
|
+
canonicalDeployment: "canonical_deployment",
|
|
1731
|
+
createdOn: "created_on",
|
|
1732
|
+
deploymentConfigs: "deployment_configs",
|
|
1733
|
+
framework: "framework",
|
|
1734
|
+
frameworkVersion: "framework_version",
|
|
1735
|
+
latestDeployment: "latest_deployment",
|
|
1736
|
+
name: "name",
|
|
1737
|
+
previewScriptName: "preview_script_name",
|
|
1738
|
+
productionBranch: "production_branch",
|
|
1739
|
+
productionScriptName: "production_script_name",
|
|
1740
|
+
usesFunctions: "uses_functions",
|
|
1741
|
+
buildConfig: "build_config",
|
|
1742
|
+
domains: "domains",
|
|
1743
|
+
source: "source",
|
|
1744
|
+
subdomain: "subdomain",
|
|
1745
|
+
}),
|
|
1687
1746
|
),
|
|
1688
|
-
|
|
1747
|
+
),
|
|
1748
|
+
resultInfo: Schema.Struct({
|
|
1749
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1750
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1751
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1752
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1689
1753
|
}).pipe(
|
|
1690
1754
|
Schema.encodeKeys({
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
framework: "framework",
|
|
1696
|
-
frameworkVersion: "framework_version",
|
|
1697
|
-
latestDeployment: "latest_deployment",
|
|
1698
|
-
name: "name",
|
|
1699
|
-
previewScriptName: "preview_script_name",
|
|
1700
|
-
productionBranch: "production_branch",
|
|
1701
|
-
productionScriptName: "production_script_name",
|
|
1702
|
-
usesFunctions: "uses_functions",
|
|
1703
|
-
buildConfig: "build_config",
|
|
1704
|
-
domains: "domains",
|
|
1705
|
-
source: "source",
|
|
1706
|
-
subdomain: "subdomain",
|
|
1755
|
+
count: "count",
|
|
1756
|
+
page: "page",
|
|
1757
|
+
perPage: "per_page",
|
|
1758
|
+
totalCount: "total_count",
|
|
1707
1759
|
}),
|
|
1708
1760
|
),
|
|
1761
|
+
}).pipe(
|
|
1762
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
1709
1763
|
) as unknown as Schema.Schema<ListProjectsResponse>;
|
|
1710
1764
|
|
|
1711
1765
|
export type ListProjectsError = DefaultErrors;
|
|
1712
1766
|
|
|
1713
|
-
export const listProjects: API.
|
|
1767
|
+
export const listProjects: API.PaginatedOperationMethod<
|
|
1714
1768
|
ListProjectsRequest,
|
|
1715
1769
|
ListProjectsResponse,
|
|
1716
1770
|
ListProjectsError,
|
|
1717
1771
|
Credentials | HttpClient.HttpClient
|
|
1718
|
-
>
|
|
1772
|
+
> & {
|
|
1773
|
+
pages: (
|
|
1774
|
+
input: ListProjectsRequest,
|
|
1775
|
+
) => stream.Stream<
|
|
1776
|
+
ListProjectsResponse,
|
|
1777
|
+
ListProjectsError,
|
|
1778
|
+
Credentials | HttpClient.HttpClient
|
|
1779
|
+
>;
|
|
1780
|
+
items: (input: ListProjectsRequest) => stream.Stream<
|
|
1781
|
+
{
|
|
1782
|
+
id: string;
|
|
1783
|
+
canonicalDeployment: {
|
|
1784
|
+
id: string;
|
|
1785
|
+
aliases: string[] | null;
|
|
1786
|
+
buildConfig: {
|
|
1787
|
+
webAnalyticsTag: string | null;
|
|
1788
|
+
webAnalyticsToken: string | null;
|
|
1789
|
+
buildCaching?: boolean | null;
|
|
1790
|
+
buildCommand?: string | null;
|
|
1791
|
+
destinationDir?: string | null;
|
|
1792
|
+
rootDir?: string | null;
|
|
1793
|
+
};
|
|
1794
|
+
createdOn: string;
|
|
1795
|
+
deploymentTrigger: {
|
|
1796
|
+
metadata: {
|
|
1797
|
+
branch: string;
|
|
1798
|
+
commitDirty: boolean;
|
|
1799
|
+
commitHash: string;
|
|
1800
|
+
commitMessage: string;
|
|
1801
|
+
};
|
|
1802
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1803
|
+
};
|
|
1804
|
+
envVars: Record<string, unknown> | null;
|
|
1805
|
+
environment: "preview" | "production";
|
|
1806
|
+
isSkipped: boolean;
|
|
1807
|
+
latestStage: unknown;
|
|
1808
|
+
modifiedOn: string;
|
|
1809
|
+
projectId: string;
|
|
1810
|
+
projectName: string;
|
|
1811
|
+
shortId: string;
|
|
1812
|
+
source: {
|
|
1813
|
+
config: {
|
|
1814
|
+
deploymentsEnabled?: boolean | null;
|
|
1815
|
+
owner?: string | null;
|
|
1816
|
+
ownerId?: string | null;
|
|
1817
|
+
pathExcludes?: string[] | null;
|
|
1818
|
+
pathIncludes?: string[] | null;
|
|
1819
|
+
prCommentsEnabled?: boolean | null;
|
|
1820
|
+
previewBranchExcludes?: string[] | null;
|
|
1821
|
+
previewBranchIncludes?: string[] | null;
|
|
1822
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1823
|
+
productionBranch?: string | null;
|
|
1824
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1825
|
+
repoId?: string | null;
|
|
1826
|
+
repoName?: string | null;
|
|
1827
|
+
};
|
|
1828
|
+
type: "github" | "gitlab";
|
|
1829
|
+
};
|
|
1830
|
+
stages: unknown[];
|
|
1831
|
+
url: string;
|
|
1832
|
+
usesFunctions?: boolean | null;
|
|
1833
|
+
} | null;
|
|
1834
|
+
createdOn: string;
|
|
1835
|
+
deploymentConfigs: {
|
|
1836
|
+
preview: {
|
|
1837
|
+
aiBindings?: Record<string, unknown> | null;
|
|
1838
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
1839
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
1840
|
+
browsers?: Record<string, unknown> | null;
|
|
1841
|
+
buildImageMajorVersion?: number | null;
|
|
1842
|
+
compatibilityDate?: string | null;
|
|
1843
|
+
compatibilityFlags?: string[] | null;
|
|
1844
|
+
d1Databases?: Record<string, unknown> | null;
|
|
1845
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
1846
|
+
envVars?: Record<string, unknown> | null;
|
|
1847
|
+
failOpen?: boolean | null;
|
|
1848
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1849
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
1850
|
+
limits?: { cpuMs: number } | null;
|
|
1851
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
1852
|
+
placement?: { mode: string } | null;
|
|
1853
|
+
queueProducers?: Record<string, unknown> | null;
|
|
1854
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
1855
|
+
services?: Record<string, unknown> | null;
|
|
1856
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1857
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
1858
|
+
wranglerConfigHash?: string | null;
|
|
1859
|
+
};
|
|
1860
|
+
production: {
|
|
1861
|
+
aiBindings?: Record<string, unknown> | null;
|
|
1862
|
+
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
1863
|
+
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
1864
|
+
browsers?: Record<string, unknown> | null;
|
|
1865
|
+
buildImageMajorVersion?: number | null;
|
|
1866
|
+
compatibilityDate?: string | null;
|
|
1867
|
+
compatibilityFlags?: string[] | null;
|
|
1868
|
+
d1Databases?: Record<string, unknown> | null;
|
|
1869
|
+
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
1870
|
+
envVars?: Record<string, unknown> | null;
|
|
1871
|
+
failOpen?: boolean | null;
|
|
1872
|
+
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1873
|
+
kvNamespaces?: Record<string, unknown> | null;
|
|
1874
|
+
limits?: { cpuMs: number } | null;
|
|
1875
|
+
mtlsCertificates?: Record<string, unknown> | null;
|
|
1876
|
+
placement?: { mode: string } | null;
|
|
1877
|
+
queueProducers?: Record<string, unknown> | null;
|
|
1878
|
+
r2Buckets?: Record<string, unknown> | null;
|
|
1879
|
+
services?: Record<string, unknown> | null;
|
|
1880
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1881
|
+
vectorizeBindings?: Record<string, unknown> | null;
|
|
1882
|
+
wranglerConfigHash?: string | null;
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
framework: string;
|
|
1886
|
+
frameworkVersion: string;
|
|
1887
|
+
latestDeployment: {
|
|
1888
|
+
id: string;
|
|
1889
|
+
aliases: string[] | null;
|
|
1890
|
+
buildConfig: {
|
|
1891
|
+
webAnalyticsTag: string | null;
|
|
1892
|
+
webAnalyticsToken: string | null;
|
|
1893
|
+
buildCaching?: boolean | null;
|
|
1894
|
+
buildCommand?: string | null;
|
|
1895
|
+
destinationDir?: string | null;
|
|
1896
|
+
rootDir?: string | null;
|
|
1897
|
+
};
|
|
1898
|
+
createdOn: string;
|
|
1899
|
+
deploymentTrigger: {
|
|
1900
|
+
metadata: {
|
|
1901
|
+
branch: string;
|
|
1902
|
+
commitDirty: boolean;
|
|
1903
|
+
commitHash: string;
|
|
1904
|
+
commitMessage: string;
|
|
1905
|
+
};
|
|
1906
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
1907
|
+
};
|
|
1908
|
+
envVars: Record<string, unknown> | null;
|
|
1909
|
+
environment: "preview" | "production";
|
|
1910
|
+
isSkipped: boolean;
|
|
1911
|
+
latestStage: unknown;
|
|
1912
|
+
modifiedOn: string;
|
|
1913
|
+
projectId: string;
|
|
1914
|
+
projectName: string;
|
|
1915
|
+
shortId: string;
|
|
1916
|
+
source: {
|
|
1917
|
+
config: {
|
|
1918
|
+
deploymentsEnabled?: boolean | null;
|
|
1919
|
+
owner?: string | null;
|
|
1920
|
+
ownerId?: string | null;
|
|
1921
|
+
pathExcludes?: string[] | null;
|
|
1922
|
+
pathIncludes?: string[] | null;
|
|
1923
|
+
prCommentsEnabled?: boolean | null;
|
|
1924
|
+
previewBranchExcludes?: string[] | null;
|
|
1925
|
+
previewBranchIncludes?: string[] | null;
|
|
1926
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1927
|
+
productionBranch?: string | null;
|
|
1928
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1929
|
+
repoId?: string | null;
|
|
1930
|
+
repoName?: string | null;
|
|
1931
|
+
};
|
|
1932
|
+
type: "github" | "gitlab";
|
|
1933
|
+
};
|
|
1934
|
+
stages: unknown[];
|
|
1935
|
+
url: string;
|
|
1936
|
+
usesFunctions?: boolean | null;
|
|
1937
|
+
} | null;
|
|
1938
|
+
name: string;
|
|
1939
|
+
previewScriptName: string;
|
|
1940
|
+
productionBranch: string;
|
|
1941
|
+
productionScriptName: string;
|
|
1942
|
+
usesFunctions: boolean | null;
|
|
1943
|
+
buildConfig?: {
|
|
1944
|
+
webAnalyticsTag: string | null;
|
|
1945
|
+
webAnalyticsToken: string | null;
|
|
1946
|
+
buildCaching?: boolean | null;
|
|
1947
|
+
buildCommand?: string | null;
|
|
1948
|
+
destinationDir?: string | null;
|
|
1949
|
+
rootDir?: string | null;
|
|
1950
|
+
} | null;
|
|
1951
|
+
domains?: string[] | null;
|
|
1952
|
+
source?: {
|
|
1953
|
+
config: {
|
|
1954
|
+
deploymentsEnabled?: boolean | null;
|
|
1955
|
+
owner?: string | null;
|
|
1956
|
+
ownerId?: string | null;
|
|
1957
|
+
pathExcludes?: string[] | null;
|
|
1958
|
+
pathIncludes?: string[] | null;
|
|
1959
|
+
prCommentsEnabled?: boolean | null;
|
|
1960
|
+
previewBranchExcludes?: string[] | null;
|
|
1961
|
+
previewBranchIncludes?: string[] | null;
|
|
1962
|
+
previewDeploymentSetting?: "all" | "none" | "custom" | null;
|
|
1963
|
+
productionBranch?: string | null;
|
|
1964
|
+
productionDeploymentsEnabled?: boolean | null;
|
|
1965
|
+
repoId?: string | null;
|
|
1966
|
+
repoName?: string | null;
|
|
1967
|
+
};
|
|
1968
|
+
type: "github" | "gitlab";
|
|
1969
|
+
} | null;
|
|
1970
|
+
subdomain?: string | null;
|
|
1971
|
+
},
|
|
1972
|
+
ListProjectsError,
|
|
1973
|
+
Credentials | HttpClient.HttpClient
|
|
1974
|
+
>;
|
|
1975
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1719
1976
|
input: ListProjectsRequest,
|
|
1720
1977
|
output: ListProjectsResponse,
|
|
1721
1978
|
errors: [],
|
|
1979
|
+
pagination: {
|
|
1980
|
+
mode: "page",
|
|
1981
|
+
inputToken: "page",
|
|
1982
|
+
outputToken: "resultInfo.page",
|
|
1983
|
+
items: "result",
|
|
1984
|
+
pageSize: "perPage",
|
|
1985
|
+
} as const,
|
|
1722
1986
|
}));
|
|
1723
1987
|
|
|
1724
1988
|
export interface CreateProjectRequest {
|
|
@@ -2793,26 +3057,30 @@ export const CreateProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2793
3057
|
]),
|
|
2794
3058
|
),
|
|
2795
3059
|
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2796
|
-
})
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
)
|
|
3060
|
+
})
|
|
3061
|
+
.pipe(
|
|
3062
|
+
Schema.encodeKeys({
|
|
3063
|
+
id: "id",
|
|
3064
|
+
canonicalDeployment: "canonical_deployment",
|
|
3065
|
+
createdOn: "created_on",
|
|
3066
|
+
deploymentConfigs: "deployment_configs",
|
|
3067
|
+
framework: "framework",
|
|
3068
|
+
frameworkVersion: "framework_version",
|
|
3069
|
+
latestDeployment: "latest_deployment",
|
|
3070
|
+
name: "name",
|
|
3071
|
+
previewScriptName: "preview_script_name",
|
|
3072
|
+
productionBranch: "production_branch",
|
|
3073
|
+
productionScriptName: "production_script_name",
|
|
3074
|
+
usesFunctions: "uses_functions",
|
|
3075
|
+
buildConfig: "build_config",
|
|
3076
|
+
domains: "domains",
|
|
3077
|
+
source: "source",
|
|
3078
|
+
subdomain: "subdomain",
|
|
3079
|
+
}),
|
|
3080
|
+
)
|
|
3081
|
+
.pipe(
|
|
3082
|
+
T.ResponsePath("result"),
|
|
3083
|
+
) as unknown as Schema.Schema<CreateProjectResponse>;
|
|
2816
3084
|
|
|
2817
3085
|
export type CreateProjectError = DefaultErrors;
|
|
2818
3086
|
|
|
@@ -3904,26 +4172,30 @@ export const PatchProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3904
4172
|
]),
|
|
3905
4173
|
),
|
|
3906
4174
|
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3907
|
-
})
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
)
|
|
4175
|
+
})
|
|
4176
|
+
.pipe(
|
|
4177
|
+
Schema.encodeKeys({
|
|
4178
|
+
id: "id",
|
|
4179
|
+
canonicalDeployment: "canonical_deployment",
|
|
4180
|
+
createdOn: "created_on",
|
|
4181
|
+
deploymentConfigs: "deployment_configs",
|
|
4182
|
+
framework: "framework",
|
|
4183
|
+
frameworkVersion: "framework_version",
|
|
4184
|
+
latestDeployment: "latest_deployment",
|
|
4185
|
+
name: "name",
|
|
4186
|
+
previewScriptName: "preview_script_name",
|
|
4187
|
+
productionBranch: "production_branch",
|
|
4188
|
+
productionScriptName: "production_script_name",
|
|
4189
|
+
usesFunctions: "uses_functions",
|
|
4190
|
+
buildConfig: "build_config",
|
|
4191
|
+
domains: "domains",
|
|
4192
|
+
source: "source",
|
|
4193
|
+
subdomain: "subdomain",
|
|
4194
|
+
}),
|
|
4195
|
+
)
|
|
4196
|
+
.pipe(
|
|
4197
|
+
T.ResponsePath("result"),
|
|
4198
|
+
) as unknown as Schema.Schema<PatchProjectResponse>;
|
|
3927
4199
|
|
|
3928
4200
|
export type PatchProjectError = DefaultErrors;
|
|
3929
4201
|
|
|
@@ -3957,7 +4229,9 @@ export const DeleteProjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3957
4229
|
export type DeleteProjectResponse = unknown;
|
|
3958
4230
|
|
|
3959
4231
|
export const DeleteProjectResponse =
|
|
3960
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown
|
|
4232
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(
|
|
4233
|
+
T.ResponsePath("result"),
|
|
4234
|
+
) as unknown as Schema.Schema<DeleteProjectResponse>;
|
|
3961
4235
|
|
|
3962
4236
|
export type DeleteProjectError = DefaultErrors;
|
|
3963
4237
|
|
|
@@ -4151,27 +4425,31 @@ export const GetProjectDeploymentResponse =
|
|
|
4151
4425
|
stages: Schema.Array(Schema.Unknown),
|
|
4152
4426
|
url: Schema.String,
|
|
4153
4427
|
usesFunctions: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4154
|
-
})
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4428
|
+
})
|
|
4429
|
+
.pipe(
|
|
4430
|
+
Schema.encodeKeys({
|
|
4431
|
+
id: "id",
|
|
4432
|
+
aliases: "aliases",
|
|
4433
|
+
buildConfig: "build_config",
|
|
4434
|
+
createdOn: "created_on",
|
|
4435
|
+
deploymentTrigger: "deployment_trigger",
|
|
4436
|
+
envVars: "env_vars",
|
|
4437
|
+
environment: "environment",
|
|
4438
|
+
isSkipped: "is_skipped",
|
|
4439
|
+
latestStage: "latest_stage",
|
|
4440
|
+
modifiedOn: "modified_on",
|
|
4441
|
+
projectId: "project_id",
|
|
4442
|
+
projectName: "project_name",
|
|
4443
|
+
shortId: "short_id",
|
|
4444
|
+
source: "source",
|
|
4445
|
+
stages: "stages",
|
|
4446
|
+
url: "url",
|
|
4447
|
+
usesFunctions: "uses_functions",
|
|
4448
|
+
}),
|
|
4449
|
+
)
|
|
4450
|
+
.pipe(
|
|
4451
|
+
T.ResponsePath("result"),
|
|
4452
|
+
) as unknown as Schema.Schema<GetProjectDeploymentResponse>;
|
|
4175
4453
|
|
|
4176
4454
|
export type GetProjectDeploymentError = DefaultErrors;
|
|
4177
4455
|
|
|
@@ -4208,184 +4486,283 @@ export const ListProjectDeploymentsRequest =
|
|
|
4208
4486
|
}),
|
|
4209
4487
|
) as unknown as Schema.Schema<ListProjectDeploymentsRequest>;
|
|
4210
4488
|
|
|
4211
|
-
export
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
createdOn: string;
|
|
4223
|
-
deploymentTrigger: {
|
|
4224
|
-
metadata: {
|
|
4225
|
-
branch: string;
|
|
4226
|
-
commitDirty: boolean;
|
|
4227
|
-
commitHash: string;
|
|
4228
|
-
commitMessage: string;
|
|
4489
|
+
export interface ListProjectDeploymentsResponse {
|
|
4490
|
+
result: {
|
|
4491
|
+
id: string;
|
|
4492
|
+
aliases: string[] | null;
|
|
4493
|
+
buildConfig: {
|
|
4494
|
+
webAnalyticsTag: string | null;
|
|
4495
|
+
webAnalyticsToken: string | null;
|
|
4496
|
+
buildCaching?: boolean | null;
|
|
4497
|
+
buildCommand?: string | null;
|
|
4498
|
+
destinationDir?: string | null;
|
|
4499
|
+
rootDir?: string | null;
|
|
4229
4500
|
};
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
shortId: string;
|
|
4240
|
-
source: {
|
|
4241
|
-
config: {
|
|
4242
|
-
deploymentsEnabled: boolean;
|
|
4243
|
-
owner: string;
|
|
4244
|
-
ownerId: string;
|
|
4245
|
-
pathExcludes: string[];
|
|
4246
|
-
pathIncludes: string[];
|
|
4247
|
-
prCommentsEnabled: boolean;
|
|
4248
|
-
previewBranchExcludes: string[];
|
|
4249
|
-
previewBranchIncludes: string[];
|
|
4250
|
-
previewDeploymentSetting: "all" | "none" | "custom";
|
|
4251
|
-
productionBranch: string;
|
|
4252
|
-
productionDeploymentsEnabled: boolean;
|
|
4253
|
-
repoId: string;
|
|
4254
|
-
repoName: string;
|
|
4501
|
+
createdOn: string;
|
|
4502
|
+
deploymentTrigger: {
|
|
4503
|
+
metadata: {
|
|
4504
|
+
branch: string;
|
|
4505
|
+
commitDirty: boolean;
|
|
4506
|
+
commitHash: string;
|
|
4507
|
+
commitMessage: string;
|
|
4508
|
+
};
|
|
4509
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
4255
4510
|
};
|
|
4256
|
-
|
|
4511
|
+
envVars: Record<string, unknown> | null;
|
|
4512
|
+
environment: "preview" | "production";
|
|
4513
|
+
isSkipped: boolean;
|
|
4514
|
+
latestStage: unknown;
|
|
4515
|
+
modifiedOn: string;
|
|
4516
|
+
projectId: string;
|
|
4517
|
+
projectName: string;
|
|
4518
|
+
shortId: string;
|
|
4519
|
+
source: {
|
|
4520
|
+
config: {
|
|
4521
|
+
deploymentsEnabled: boolean;
|
|
4522
|
+
owner: string;
|
|
4523
|
+
ownerId: string;
|
|
4524
|
+
pathExcludes: string[];
|
|
4525
|
+
pathIncludes: string[];
|
|
4526
|
+
prCommentsEnabled: boolean;
|
|
4527
|
+
previewBranchExcludes: string[];
|
|
4528
|
+
previewBranchIncludes: string[];
|
|
4529
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
4530
|
+
productionBranch: string;
|
|
4531
|
+
productionDeploymentsEnabled: boolean;
|
|
4532
|
+
repoId: string;
|
|
4533
|
+
repoName: string;
|
|
4534
|
+
};
|
|
4535
|
+
type: "github" | "gitlab";
|
|
4536
|
+
};
|
|
4537
|
+
stages: unknown[];
|
|
4538
|
+
url: string;
|
|
4539
|
+
usesFunctions?: boolean | null;
|
|
4540
|
+
}[];
|
|
4541
|
+
resultInfo: {
|
|
4542
|
+
count?: number | null;
|
|
4543
|
+
page?: number | null;
|
|
4544
|
+
perPage?: number | null;
|
|
4545
|
+
totalCount?: number | null;
|
|
4257
4546
|
};
|
|
4258
|
-
|
|
4259
|
-
url: string;
|
|
4260
|
-
usesFunctions?: boolean | null;
|
|
4261
|
-
}[];
|
|
4547
|
+
}
|
|
4262
4548
|
|
|
4263
4549
|
export const ListProjectDeploymentsResponse =
|
|
4264
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
4265
|
-
Schema.
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
Schema.
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
Schema.
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
Schema.
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
Schema.encodeKeys({
|
|
4283
|
-
webAnalyticsTag: "web_analytics_tag",
|
|
4284
|
-
webAnalyticsToken: "web_analytics_token",
|
|
4285
|
-
buildCaching: "build_caching",
|
|
4286
|
-
buildCommand: "build_command",
|
|
4287
|
-
destinationDir: "destination_dir",
|
|
4288
|
-
rootDir: "root_dir",
|
|
4289
|
-
}),
|
|
4290
|
-
),
|
|
4291
|
-
createdOn: Schema.String,
|
|
4292
|
-
deploymentTrigger: Schema.Struct({
|
|
4293
|
-
metadata: Schema.Struct({
|
|
4294
|
-
branch: Schema.String,
|
|
4295
|
-
commitDirty: Schema.Boolean,
|
|
4296
|
-
commitHash: Schema.String,
|
|
4297
|
-
commitMessage: Schema.String,
|
|
4550
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4551
|
+
result: Schema.Array(
|
|
4552
|
+
Schema.Struct({
|
|
4553
|
+
id: Schema.String,
|
|
4554
|
+
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4555
|
+
buildConfig: Schema.Struct({
|
|
4556
|
+
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
4557
|
+
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
4558
|
+
buildCaching: Schema.optional(
|
|
4559
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4560
|
+
),
|
|
4561
|
+
buildCommand: Schema.optional(
|
|
4562
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4563
|
+
),
|
|
4564
|
+
destinationDir: Schema.optional(
|
|
4565
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4566
|
+
),
|
|
4567
|
+
rootDir: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4298
4568
|
}).pipe(
|
|
4299
4569
|
Schema.encodeKeys({
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4570
|
+
webAnalyticsTag: "web_analytics_tag",
|
|
4571
|
+
webAnalyticsToken: "web_analytics_token",
|
|
4572
|
+
buildCaching: "build_caching",
|
|
4573
|
+
buildCommand: "build_command",
|
|
4574
|
+
destinationDir: "destination_dir",
|
|
4575
|
+
rootDir: "root_dir",
|
|
4304
4576
|
}),
|
|
4305
4577
|
),
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
Schema.
|
|
4333
|
-
deploymentsEnabled:
|
|
4334
|
-
owner:
|
|
4335
|
-
ownerId:
|
|
4336
|
-
pathExcludes:
|
|
4337
|
-
pathIncludes:
|
|
4338
|
-
prCommentsEnabled:
|
|
4339
|
-
previewBranchExcludes:
|
|
4340
|
-
previewBranchIncludes:
|
|
4341
|
-
previewDeploymentSetting:
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4578
|
+
createdOn: Schema.String,
|
|
4579
|
+
deploymentTrigger: Schema.Struct({
|
|
4580
|
+
metadata: Schema.Struct({
|
|
4581
|
+
branch: Schema.String,
|
|
4582
|
+
commitDirty: Schema.Boolean,
|
|
4583
|
+
commitHash: Schema.String,
|
|
4584
|
+
commitMessage: Schema.String,
|
|
4585
|
+
}).pipe(
|
|
4586
|
+
Schema.encodeKeys({
|
|
4587
|
+
branch: "branch",
|
|
4588
|
+
commitDirty: "commit_dirty",
|
|
4589
|
+
commitHash: "commit_hash",
|
|
4590
|
+
commitMessage: "commit_message",
|
|
4591
|
+
}),
|
|
4592
|
+
),
|
|
4593
|
+
type: Schema.Literals(["github:push", "ad_hoc", "deploy_hook"]),
|
|
4594
|
+
}),
|
|
4595
|
+
envVars: Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
4596
|
+
environment: Schema.Literals(["preview", "production"]),
|
|
4597
|
+
isSkipped: Schema.Boolean,
|
|
4598
|
+
latestStage: Schema.Unknown,
|
|
4599
|
+
modifiedOn: Schema.String,
|
|
4600
|
+
projectId: Schema.String,
|
|
4601
|
+
projectName: Schema.String,
|
|
4602
|
+
shortId: Schema.String,
|
|
4603
|
+
source: Schema.Struct({
|
|
4604
|
+
config: Schema.Struct({
|
|
4605
|
+
deploymentsEnabled: Schema.Boolean,
|
|
4606
|
+
owner: Schema.String,
|
|
4607
|
+
ownerId: Schema.String,
|
|
4608
|
+
pathExcludes: Schema.Array(Schema.String),
|
|
4609
|
+
pathIncludes: Schema.Array(Schema.String),
|
|
4610
|
+
prCommentsEnabled: Schema.Boolean,
|
|
4611
|
+
previewBranchExcludes: Schema.Array(Schema.String),
|
|
4612
|
+
previewBranchIncludes: Schema.Array(Schema.String),
|
|
4613
|
+
previewDeploymentSetting: Schema.Literals([
|
|
4614
|
+
"all",
|
|
4615
|
+
"none",
|
|
4616
|
+
"custom",
|
|
4617
|
+
]),
|
|
4618
|
+
productionBranch: Schema.String,
|
|
4619
|
+
productionDeploymentsEnabled: Schema.Boolean,
|
|
4620
|
+
repoId: Schema.String,
|
|
4621
|
+
repoName: Schema.String,
|
|
4622
|
+
}).pipe(
|
|
4623
|
+
Schema.encodeKeys({
|
|
4624
|
+
deploymentsEnabled: "deployments_enabled",
|
|
4625
|
+
owner: "owner",
|
|
4626
|
+
ownerId: "owner_id",
|
|
4627
|
+
pathExcludes: "path_excludes",
|
|
4628
|
+
pathIncludes: "path_includes",
|
|
4629
|
+
prCommentsEnabled: "pr_comments_enabled",
|
|
4630
|
+
previewBranchExcludes: "preview_branch_excludes",
|
|
4631
|
+
previewBranchIncludes: "preview_branch_includes",
|
|
4632
|
+
previewDeploymentSetting: "preview_deployment_setting",
|
|
4633
|
+
productionBranch: "production_branch",
|
|
4634
|
+
productionDeploymentsEnabled: "production_deployments_enabled",
|
|
4635
|
+
repoId: "repo_id",
|
|
4636
|
+
repoName: "repo_name",
|
|
4637
|
+
}),
|
|
4638
|
+
),
|
|
4639
|
+
type: Schema.Literals(["github", "gitlab"]),
|
|
4640
|
+
}),
|
|
4641
|
+
stages: Schema.Array(Schema.Unknown),
|
|
4642
|
+
url: Schema.String,
|
|
4643
|
+
usesFunctions: Schema.optional(
|
|
4644
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4347
4645
|
),
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4646
|
+
}).pipe(
|
|
4647
|
+
Schema.encodeKeys({
|
|
4648
|
+
id: "id",
|
|
4649
|
+
aliases: "aliases",
|
|
4650
|
+
buildConfig: "build_config",
|
|
4651
|
+
createdOn: "created_on",
|
|
4652
|
+
deploymentTrigger: "deployment_trigger",
|
|
4653
|
+
envVars: "env_vars",
|
|
4654
|
+
environment: "environment",
|
|
4655
|
+
isSkipped: "is_skipped",
|
|
4656
|
+
latestStage: "latest_stage",
|
|
4657
|
+
modifiedOn: "modified_on",
|
|
4658
|
+
projectId: "project_id",
|
|
4659
|
+
projectName: "project_name",
|
|
4660
|
+
shortId: "short_id",
|
|
4661
|
+
source: "source",
|
|
4662
|
+
stages: "stages",
|
|
4663
|
+
url: "url",
|
|
4664
|
+
usesFunctions: "uses_functions",
|
|
4665
|
+
}),
|
|
4354
4666
|
),
|
|
4667
|
+
),
|
|
4668
|
+
resultInfo: Schema.Struct({
|
|
4669
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4670
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4671
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4672
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4355
4673
|
}).pipe(
|
|
4356
4674
|
Schema.encodeKeys({
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
deploymentTrigger: "deployment_trigger",
|
|
4362
|
-
envVars: "env_vars",
|
|
4363
|
-
environment: "environment",
|
|
4364
|
-
isSkipped: "is_skipped",
|
|
4365
|
-
latestStage: "latest_stage",
|
|
4366
|
-
modifiedOn: "modified_on",
|
|
4367
|
-
projectId: "project_id",
|
|
4368
|
-
projectName: "project_name",
|
|
4369
|
-
shortId: "short_id",
|
|
4370
|
-
source: "source",
|
|
4371
|
-
stages: "stages",
|
|
4372
|
-
url: "url",
|
|
4373
|
-
usesFunctions: "uses_functions",
|
|
4675
|
+
count: "count",
|
|
4676
|
+
page: "page",
|
|
4677
|
+
perPage: "per_page",
|
|
4678
|
+
totalCount: "total_count",
|
|
4374
4679
|
}),
|
|
4375
4680
|
),
|
|
4681
|
+
}).pipe(
|
|
4682
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
4376
4683
|
) as unknown as Schema.Schema<ListProjectDeploymentsResponse>;
|
|
4377
4684
|
|
|
4378
4685
|
export type ListProjectDeploymentsError = DefaultErrors;
|
|
4379
4686
|
|
|
4380
|
-
export const listProjectDeployments: API.
|
|
4687
|
+
export const listProjectDeployments: API.PaginatedOperationMethod<
|
|
4381
4688
|
ListProjectDeploymentsRequest,
|
|
4382
4689
|
ListProjectDeploymentsResponse,
|
|
4383
4690
|
ListProjectDeploymentsError,
|
|
4384
4691
|
Credentials | HttpClient.HttpClient
|
|
4385
|
-
>
|
|
4692
|
+
> & {
|
|
4693
|
+
pages: (
|
|
4694
|
+
input: ListProjectDeploymentsRequest,
|
|
4695
|
+
) => stream.Stream<
|
|
4696
|
+
ListProjectDeploymentsResponse,
|
|
4697
|
+
ListProjectDeploymentsError,
|
|
4698
|
+
Credentials | HttpClient.HttpClient
|
|
4699
|
+
>;
|
|
4700
|
+
items: (input: ListProjectDeploymentsRequest) => stream.Stream<
|
|
4701
|
+
{
|
|
4702
|
+
id: string;
|
|
4703
|
+
aliases: string[] | null;
|
|
4704
|
+
buildConfig: {
|
|
4705
|
+
webAnalyticsTag: string | null;
|
|
4706
|
+
webAnalyticsToken: string | null;
|
|
4707
|
+
buildCaching?: boolean | null;
|
|
4708
|
+
buildCommand?: string | null;
|
|
4709
|
+
destinationDir?: string | null;
|
|
4710
|
+
rootDir?: string | null;
|
|
4711
|
+
};
|
|
4712
|
+
createdOn: string;
|
|
4713
|
+
deploymentTrigger: {
|
|
4714
|
+
metadata: {
|
|
4715
|
+
branch: string;
|
|
4716
|
+
commitDirty: boolean;
|
|
4717
|
+
commitHash: string;
|
|
4718
|
+
commitMessage: string;
|
|
4719
|
+
};
|
|
4720
|
+
type: "github:push" | "ad_hoc" | "deploy_hook";
|
|
4721
|
+
};
|
|
4722
|
+
envVars: Record<string, unknown> | null;
|
|
4723
|
+
environment: "preview" | "production";
|
|
4724
|
+
isSkipped: boolean;
|
|
4725
|
+
latestStage: unknown;
|
|
4726
|
+
modifiedOn: string;
|
|
4727
|
+
projectId: string;
|
|
4728
|
+
projectName: string;
|
|
4729
|
+
shortId: string;
|
|
4730
|
+
source: {
|
|
4731
|
+
config: {
|
|
4732
|
+
deploymentsEnabled: boolean;
|
|
4733
|
+
owner: string;
|
|
4734
|
+
ownerId: string;
|
|
4735
|
+
pathExcludes: string[];
|
|
4736
|
+
pathIncludes: string[];
|
|
4737
|
+
prCommentsEnabled: boolean;
|
|
4738
|
+
previewBranchExcludes: string[];
|
|
4739
|
+
previewBranchIncludes: string[];
|
|
4740
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
4741
|
+
productionBranch: string;
|
|
4742
|
+
productionDeploymentsEnabled: boolean;
|
|
4743
|
+
repoId: string;
|
|
4744
|
+
repoName: string;
|
|
4745
|
+
};
|
|
4746
|
+
type: "github" | "gitlab";
|
|
4747
|
+
};
|
|
4748
|
+
stages: unknown[];
|
|
4749
|
+
url: string;
|
|
4750
|
+
usesFunctions?: boolean | null;
|
|
4751
|
+
},
|
|
4752
|
+
ListProjectDeploymentsError,
|
|
4753
|
+
Credentials | HttpClient.HttpClient
|
|
4754
|
+
>;
|
|
4755
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
4386
4756
|
input: ListProjectDeploymentsRequest,
|
|
4387
4757
|
output: ListProjectDeploymentsResponse,
|
|
4388
4758
|
errors: [],
|
|
4759
|
+
pagination: {
|
|
4760
|
+
mode: "page",
|
|
4761
|
+
inputToken: "page",
|
|
4762
|
+
outputToken: "resultInfo.page",
|
|
4763
|
+
items: "result",
|
|
4764
|
+
pageSize: "perPage",
|
|
4765
|
+
} as const,
|
|
4389
4766
|
}));
|
|
4390
4767
|
|
|
4391
4768
|
export interface CreateProjectDeploymentRequest {
|
|
@@ -4619,27 +4996,31 @@ export const CreateProjectDeploymentResponse =
|
|
|
4619
4996
|
stages: Schema.Array(Schema.Unknown),
|
|
4620
4997
|
url: Schema.String,
|
|
4621
4998
|
usesFunctions: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4622
|
-
})
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4999
|
+
})
|
|
5000
|
+
.pipe(
|
|
5001
|
+
Schema.encodeKeys({
|
|
5002
|
+
id: "id",
|
|
5003
|
+
aliases: "aliases",
|
|
5004
|
+
buildConfig: "build_config",
|
|
5005
|
+
createdOn: "created_on",
|
|
5006
|
+
deploymentTrigger: "deployment_trigger",
|
|
5007
|
+
envVars: "env_vars",
|
|
5008
|
+
environment: "environment",
|
|
5009
|
+
isSkipped: "is_skipped",
|
|
5010
|
+
latestStage: "latest_stage",
|
|
5011
|
+
modifiedOn: "modified_on",
|
|
5012
|
+
projectId: "project_id",
|
|
5013
|
+
projectName: "project_name",
|
|
5014
|
+
shortId: "short_id",
|
|
5015
|
+
source: "source",
|
|
5016
|
+
stages: "stages",
|
|
5017
|
+
url: "url",
|
|
5018
|
+
usesFunctions: "uses_functions",
|
|
5019
|
+
}),
|
|
5020
|
+
)
|
|
5021
|
+
.pipe(
|
|
5022
|
+
T.ResponsePath("result"),
|
|
5023
|
+
) as unknown as Schema.Schema<CreateProjectDeploymentResponse>;
|
|
4643
5024
|
|
|
4644
5025
|
export type CreateProjectDeploymentError = DefaultErrors;
|
|
4645
5026
|
|
|
@@ -4676,7 +5057,9 @@ export const DeleteProjectDeploymentRequest =
|
|
|
4676
5057
|
export type DeleteProjectDeploymentResponse = unknown;
|
|
4677
5058
|
|
|
4678
5059
|
export const DeleteProjectDeploymentResponse =
|
|
4679
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown
|
|
5060
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(
|
|
5061
|
+
T.ResponsePath("result"),
|
|
5062
|
+
) as unknown as Schema.Schema<DeleteProjectDeploymentResponse>;
|
|
4680
5063
|
|
|
4681
5064
|
export type DeleteProjectDeploymentError = DefaultErrors;
|
|
4682
5065
|
|
|
@@ -4866,27 +5249,31 @@ export const RetryProjectDeploymentResponse =
|
|
|
4866
5249
|
stages: Schema.Array(Schema.Unknown),
|
|
4867
5250
|
url: Schema.String,
|
|
4868
5251
|
usesFunctions: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4869
|
-
})
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
5252
|
+
})
|
|
5253
|
+
.pipe(
|
|
5254
|
+
Schema.encodeKeys({
|
|
5255
|
+
id: "id",
|
|
5256
|
+
aliases: "aliases",
|
|
5257
|
+
buildConfig: "build_config",
|
|
5258
|
+
createdOn: "created_on",
|
|
5259
|
+
deploymentTrigger: "deployment_trigger",
|
|
5260
|
+
envVars: "env_vars",
|
|
5261
|
+
environment: "environment",
|
|
5262
|
+
isSkipped: "is_skipped",
|
|
5263
|
+
latestStage: "latest_stage",
|
|
5264
|
+
modifiedOn: "modified_on",
|
|
5265
|
+
projectId: "project_id",
|
|
5266
|
+
projectName: "project_name",
|
|
5267
|
+
shortId: "short_id",
|
|
5268
|
+
source: "source",
|
|
5269
|
+
stages: "stages",
|
|
5270
|
+
url: "url",
|
|
5271
|
+
usesFunctions: "uses_functions",
|
|
5272
|
+
}),
|
|
5273
|
+
)
|
|
5274
|
+
.pipe(
|
|
5275
|
+
T.ResponsePath("result"),
|
|
5276
|
+
) as unknown as Schema.Schema<RetryProjectDeploymentResponse>;
|
|
4890
5277
|
|
|
4891
5278
|
export type RetryProjectDeploymentError = DefaultErrors;
|
|
4892
5279
|
|
|
@@ -5076,27 +5463,31 @@ export const RollbackProjectDeploymentResponse =
|
|
|
5076
5463
|
stages: Schema.Array(Schema.Unknown),
|
|
5077
5464
|
url: Schema.String,
|
|
5078
5465
|
usesFunctions: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5079
|
-
})
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5466
|
+
})
|
|
5467
|
+
.pipe(
|
|
5468
|
+
Schema.encodeKeys({
|
|
5469
|
+
id: "id",
|
|
5470
|
+
aliases: "aliases",
|
|
5471
|
+
buildConfig: "build_config",
|
|
5472
|
+
createdOn: "created_on",
|
|
5473
|
+
deploymentTrigger: "deployment_trigger",
|
|
5474
|
+
envVars: "env_vars",
|
|
5475
|
+
environment: "environment",
|
|
5476
|
+
isSkipped: "is_skipped",
|
|
5477
|
+
latestStage: "latest_stage",
|
|
5478
|
+
modifiedOn: "modified_on",
|
|
5479
|
+
projectId: "project_id",
|
|
5480
|
+
projectName: "project_name",
|
|
5481
|
+
shortId: "short_id",
|
|
5482
|
+
source: "source",
|
|
5483
|
+
stages: "stages",
|
|
5484
|
+
url: "url",
|
|
5485
|
+
usesFunctions: "uses_functions",
|
|
5486
|
+
}),
|
|
5487
|
+
)
|
|
5488
|
+
.pipe(
|
|
5489
|
+
T.ResponsePath("result"),
|
|
5490
|
+
) as unknown as Schema.Schema<RollbackProjectDeploymentResponse>;
|
|
5100
5491
|
|
|
5101
5492
|
export type RollbackProjectDeploymentError = DefaultErrors;
|
|
5102
5493
|
|
|
@@ -5150,13 +5541,17 @@ export const GetProjectDeploymentHistoryLogResponse =
|
|
|
5150
5541
|
),
|
|
5151
5542
|
includesContainerLogs: Schema.Boolean,
|
|
5152
5543
|
total: Schema.Number,
|
|
5153
|
-
})
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5544
|
+
})
|
|
5545
|
+
.pipe(
|
|
5546
|
+
Schema.encodeKeys({
|
|
5547
|
+
data: "data",
|
|
5548
|
+
includesContainerLogs: "includes_container_logs",
|
|
5549
|
+
total: "total",
|
|
5550
|
+
}),
|
|
5551
|
+
)
|
|
5552
|
+
.pipe(
|
|
5553
|
+
T.ResponsePath("result"),
|
|
5554
|
+
) as unknown as Schema.Schema<GetProjectDeploymentHistoryLogResponse>;
|
|
5160
5555
|
|
|
5161
5556
|
export type GetProjectDeploymentHistoryLogError = DefaultErrors;
|
|
5162
5557
|
|
|
@@ -5271,19 +5666,23 @@ export const GetProjectDomainResponse =
|
|
|
5271
5666
|
Schema.encodeKeys({ status: "status", errorMessage: "error_message" }),
|
|
5272
5667
|
),
|
|
5273
5668
|
zoneTag: Schema.String,
|
|
5274
|
-
})
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5669
|
+
})
|
|
5670
|
+
.pipe(
|
|
5671
|
+
Schema.encodeKeys({
|
|
5672
|
+
id: "id",
|
|
5673
|
+
certificateAuthority: "certificate_authority",
|
|
5674
|
+
createdOn: "created_on",
|
|
5675
|
+
domainId: "domain_id",
|
|
5676
|
+
name: "name",
|
|
5677
|
+
status: "status",
|
|
5678
|
+
validationData: "validation_data",
|
|
5679
|
+
verificationData: "verification_data",
|
|
5680
|
+
zoneTag: "zone_tag",
|
|
5681
|
+
}),
|
|
5682
|
+
)
|
|
5683
|
+
.pipe(
|
|
5684
|
+
T.ResponsePath("result"),
|
|
5685
|
+
) as unknown as Schema.Schema<GetProjectDomainResponse>;
|
|
5287
5686
|
|
|
5288
5687
|
export type GetProjectDomainError = DefaultErrors;
|
|
5289
5688
|
|
|
@@ -5315,113 +5714,162 @@ export const ListProjectDomainsRequest =
|
|
|
5315
5714
|
}),
|
|
5316
5715
|
) as unknown as Schema.Schema<ListProjectDomainsRequest>;
|
|
5317
5716
|
|
|
5318
|
-
export
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5717
|
+
export interface ListProjectDomainsResponse {
|
|
5718
|
+
result: {
|
|
5719
|
+
id: string;
|
|
5720
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
5721
|
+
createdOn: string;
|
|
5722
|
+
domainId: string;
|
|
5723
|
+
name: string;
|
|
5724
|
+
status:
|
|
5725
|
+
| "initializing"
|
|
5726
|
+
| "pending"
|
|
5727
|
+
| "active"
|
|
5728
|
+
| "deactivated"
|
|
5729
|
+
| "blocked"
|
|
5730
|
+
| "error";
|
|
5731
|
+
validationData: {
|
|
5732
|
+
method: "http" | "txt";
|
|
5733
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
5734
|
+
errorMessage?: string | null;
|
|
5735
|
+
txtName?: string | null;
|
|
5736
|
+
txtValue?: string | null;
|
|
5737
|
+
};
|
|
5738
|
+
verificationData: {
|
|
5739
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
5740
|
+
errorMessage?: string | null;
|
|
5741
|
+
};
|
|
5742
|
+
zoneTag: string;
|
|
5743
|
+
}[];
|
|
5744
|
+
}
|
|
5344
5745
|
|
|
5345
5746
|
export const ListProjectDomainsResponse =
|
|
5346
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
5347
|
-
Schema.
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
"initializing",
|
|
5355
|
-
"pending",
|
|
5356
|
-
"active",
|
|
5357
|
-
"deactivated",
|
|
5358
|
-
"blocked",
|
|
5359
|
-
"error",
|
|
5360
|
-
]),
|
|
5361
|
-
validationData: Schema.Struct({
|
|
5362
|
-
method: Schema.Literals(["http", "txt"]),
|
|
5747
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5748
|
+
result: Schema.Array(
|
|
5749
|
+
Schema.Struct({
|
|
5750
|
+
id: Schema.String,
|
|
5751
|
+
certificateAuthority: Schema.Literals(["google", "lets_encrypt"]),
|
|
5752
|
+
createdOn: Schema.String,
|
|
5753
|
+
domainId: Schema.String,
|
|
5754
|
+
name: Schema.String,
|
|
5363
5755
|
status: Schema.Literals([
|
|
5364
5756
|
"initializing",
|
|
5365
5757
|
"pending",
|
|
5366
5758
|
"active",
|
|
5367
5759
|
"deactivated",
|
|
5760
|
+
"blocked",
|
|
5368
5761
|
"error",
|
|
5369
5762
|
]),
|
|
5370
|
-
|
|
5371
|
-
Schema.
|
|
5763
|
+
validationData: Schema.Struct({
|
|
5764
|
+
method: Schema.Literals(["http", "txt"]),
|
|
5765
|
+
status: Schema.Literals([
|
|
5766
|
+
"initializing",
|
|
5767
|
+
"pending",
|
|
5768
|
+
"active",
|
|
5769
|
+
"deactivated",
|
|
5770
|
+
"error",
|
|
5771
|
+
]),
|
|
5772
|
+
errorMessage: Schema.optional(
|
|
5773
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
5774
|
+
),
|
|
5775
|
+
txtName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5776
|
+
txtValue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5777
|
+
}).pipe(
|
|
5778
|
+
Schema.encodeKeys({
|
|
5779
|
+
method: "method",
|
|
5780
|
+
status: "status",
|
|
5781
|
+
errorMessage: "error_message",
|
|
5782
|
+
txtName: "txt_name",
|
|
5783
|
+
txtValue: "txt_value",
|
|
5784
|
+
}),
|
|
5785
|
+
),
|
|
5786
|
+
verificationData: Schema.Struct({
|
|
5787
|
+
status: Schema.Literals([
|
|
5788
|
+
"pending",
|
|
5789
|
+
"active",
|
|
5790
|
+
"deactivated",
|
|
5791
|
+
"blocked",
|
|
5792
|
+
"error",
|
|
5793
|
+
]),
|
|
5794
|
+
errorMessage: Schema.optional(
|
|
5795
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
5796
|
+
),
|
|
5797
|
+
}).pipe(
|
|
5798
|
+
Schema.encodeKeys({
|
|
5799
|
+
status: "status",
|
|
5800
|
+
errorMessage: "error_message",
|
|
5801
|
+
}),
|
|
5372
5802
|
),
|
|
5373
|
-
|
|
5374
|
-
txtValue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5803
|
+
zoneTag: Schema.String,
|
|
5375
5804
|
}).pipe(
|
|
5376
5805
|
Schema.encodeKeys({
|
|
5377
|
-
|
|
5806
|
+
id: "id",
|
|
5807
|
+
certificateAuthority: "certificate_authority",
|
|
5808
|
+
createdOn: "created_on",
|
|
5809
|
+
domainId: "domain_id",
|
|
5810
|
+
name: "name",
|
|
5378
5811
|
status: "status",
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5812
|
+
validationData: "validation_data",
|
|
5813
|
+
verificationData: "verification_data",
|
|
5814
|
+
zoneTag: "zone_tag",
|
|
5382
5815
|
}),
|
|
5383
5816
|
),
|
|
5384
|
-
verificationData: Schema.Struct({
|
|
5385
|
-
status: Schema.Literals([
|
|
5386
|
-
"pending",
|
|
5387
|
-
"active",
|
|
5388
|
-
"deactivated",
|
|
5389
|
-
"blocked",
|
|
5390
|
-
"error",
|
|
5391
|
-
]),
|
|
5392
|
-
errorMessage: Schema.optional(
|
|
5393
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
5394
|
-
),
|
|
5395
|
-
}).pipe(
|
|
5396
|
-
Schema.encodeKeys({ status: "status", errorMessage: "error_message" }),
|
|
5397
|
-
),
|
|
5398
|
-
zoneTag: Schema.String,
|
|
5399
|
-
}).pipe(
|
|
5400
|
-
Schema.encodeKeys({
|
|
5401
|
-
id: "id",
|
|
5402
|
-
certificateAuthority: "certificate_authority",
|
|
5403
|
-
createdOn: "created_on",
|
|
5404
|
-
domainId: "domain_id",
|
|
5405
|
-
name: "name",
|
|
5406
|
-
status: "status",
|
|
5407
|
-
validationData: "validation_data",
|
|
5408
|
-
verificationData: "verification_data",
|
|
5409
|
-
zoneTag: "zone_tag",
|
|
5410
|
-
}),
|
|
5411
5817
|
),
|
|
5412
|
-
) as unknown as Schema.Schema<ListProjectDomainsResponse>;
|
|
5818
|
+
}) as unknown as Schema.Schema<ListProjectDomainsResponse>;
|
|
5413
5819
|
|
|
5414
5820
|
export type ListProjectDomainsError = DefaultErrors;
|
|
5415
5821
|
|
|
5416
|
-
export const listProjectDomains: API.
|
|
5822
|
+
export const listProjectDomains: API.PaginatedOperationMethod<
|
|
5417
5823
|
ListProjectDomainsRequest,
|
|
5418
5824
|
ListProjectDomainsResponse,
|
|
5419
5825
|
ListProjectDomainsError,
|
|
5420
5826
|
Credentials | HttpClient.HttpClient
|
|
5421
|
-
>
|
|
5827
|
+
> & {
|
|
5828
|
+
pages: (
|
|
5829
|
+
input: ListProjectDomainsRequest,
|
|
5830
|
+
) => stream.Stream<
|
|
5831
|
+
ListProjectDomainsResponse,
|
|
5832
|
+
ListProjectDomainsError,
|
|
5833
|
+
Credentials | HttpClient.HttpClient
|
|
5834
|
+
>;
|
|
5835
|
+
items: (input: ListProjectDomainsRequest) => stream.Stream<
|
|
5836
|
+
{
|
|
5837
|
+
id: string;
|
|
5838
|
+
certificateAuthority: "google" | "lets_encrypt";
|
|
5839
|
+
createdOn: string;
|
|
5840
|
+
domainId: string;
|
|
5841
|
+
name: string;
|
|
5842
|
+
status:
|
|
5843
|
+
| "initializing"
|
|
5844
|
+
| "pending"
|
|
5845
|
+
| "active"
|
|
5846
|
+
| "deactivated"
|
|
5847
|
+
| "blocked"
|
|
5848
|
+
| "error";
|
|
5849
|
+
validationData: {
|
|
5850
|
+
method: "http" | "txt";
|
|
5851
|
+
status: "initializing" | "pending" | "active" | "deactivated" | "error";
|
|
5852
|
+
errorMessage?: string | null;
|
|
5853
|
+
txtName?: string | null;
|
|
5854
|
+
txtValue?: string | null;
|
|
5855
|
+
};
|
|
5856
|
+
verificationData: {
|
|
5857
|
+
status: "pending" | "active" | "deactivated" | "blocked" | "error";
|
|
5858
|
+
errorMessage?: string | null;
|
|
5859
|
+
};
|
|
5860
|
+
zoneTag: string;
|
|
5861
|
+
},
|
|
5862
|
+
ListProjectDomainsError,
|
|
5863
|
+
Credentials | HttpClient.HttpClient
|
|
5864
|
+
>;
|
|
5865
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
5422
5866
|
input: ListProjectDomainsRequest,
|
|
5423
5867
|
output: ListProjectDomainsResponse,
|
|
5424
5868
|
errors: [],
|
|
5869
|
+
pagination: {
|
|
5870
|
+
mode: "single",
|
|
5871
|
+
items: "result",
|
|
5872
|
+
} as const,
|
|
5425
5873
|
}));
|
|
5426
5874
|
|
|
5427
5875
|
export interface CreateProjectDomainRequest {
|
|
@@ -5521,19 +5969,23 @@ export const CreateProjectDomainResponse =
|
|
|
5521
5969
|
Schema.encodeKeys({ status: "status", errorMessage: "error_message" }),
|
|
5522
5970
|
),
|
|
5523
5971
|
zoneTag: Schema.String,
|
|
5524
|
-
})
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5972
|
+
})
|
|
5973
|
+
.pipe(
|
|
5974
|
+
Schema.encodeKeys({
|
|
5975
|
+
id: "id",
|
|
5976
|
+
certificateAuthority: "certificate_authority",
|
|
5977
|
+
createdOn: "created_on",
|
|
5978
|
+
domainId: "domain_id",
|
|
5979
|
+
name: "name",
|
|
5980
|
+
status: "status",
|
|
5981
|
+
validationData: "validation_data",
|
|
5982
|
+
verificationData: "verification_data",
|
|
5983
|
+
zoneTag: "zone_tag",
|
|
5984
|
+
}),
|
|
5985
|
+
)
|
|
5986
|
+
.pipe(
|
|
5987
|
+
T.ResponsePath("result"),
|
|
5988
|
+
) as unknown as Schema.Schema<CreateProjectDomainResponse>;
|
|
5537
5989
|
|
|
5538
5990
|
export type CreateProjectDomainError = DefaultErrors;
|
|
5539
5991
|
|
|
@@ -5644,19 +6096,23 @@ export const PatchProjectDomainResponse =
|
|
|
5644
6096
|
Schema.encodeKeys({ status: "status", errorMessage: "error_message" }),
|
|
5645
6097
|
),
|
|
5646
6098
|
zoneTag: Schema.String,
|
|
5647
|
-
})
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
6099
|
+
})
|
|
6100
|
+
.pipe(
|
|
6101
|
+
Schema.encodeKeys({
|
|
6102
|
+
id: "id",
|
|
6103
|
+
certificateAuthority: "certificate_authority",
|
|
6104
|
+
createdOn: "created_on",
|
|
6105
|
+
domainId: "domain_id",
|
|
6106
|
+
name: "name",
|
|
6107
|
+
status: "status",
|
|
6108
|
+
validationData: "validation_data",
|
|
6109
|
+
verificationData: "verification_data",
|
|
6110
|
+
zoneTag: "zone_tag",
|
|
6111
|
+
}),
|
|
6112
|
+
)
|
|
6113
|
+
.pipe(
|
|
6114
|
+
T.ResponsePath("result"),
|
|
6115
|
+
) as unknown as Schema.Schema<PatchProjectDomainResponse>;
|
|
5660
6116
|
|
|
5661
6117
|
export type PatchProjectDomainError = DefaultErrors;
|
|
5662
6118
|
|
|
@@ -5693,7 +6149,9 @@ export const DeleteProjectDomainRequest =
|
|
|
5693
6149
|
export type DeleteProjectDomainResponse = unknown;
|
|
5694
6150
|
|
|
5695
6151
|
export const DeleteProjectDomainResponse =
|
|
5696
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown
|
|
6152
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(
|
|
6153
|
+
T.ResponsePath("result"),
|
|
6154
|
+
) as unknown as Schema.Schema<DeleteProjectDomainResponse>;
|
|
5697
6155
|
|
|
5698
6156
|
export type DeleteProjectDomainError = DefaultErrors;
|
|
5699
6157
|
|