@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
package/lib/services/pages.js
CHANGED
|
@@ -41,7 +41,7 @@ export class ProjectNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClas
|
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
}), [{ code: 8000007 }]) {
|
|
43
43
|
}
|
|
44
|
-
const BuildConfig = /*@__PURE__*/
|
|
44
|
+
const BuildConfig = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
45
45
|
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
46
46
|
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
47
47
|
buildCaching: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -56,7 +56,7 @@ const BuildConfig = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
56
56
|
destinationDir: "destination_dir",
|
|
57
57
|
rootDir: "root_dir",
|
|
58
58
|
})));
|
|
59
|
-
const Metadata = /*@__PURE__*/
|
|
59
|
+
const Metadata = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
60
60
|
branch: Schema.String,
|
|
61
61
|
commitDirty: Schema.Boolean,
|
|
62
62
|
commitHash: Schema.String,
|
|
@@ -67,14 +67,14 @@ const Metadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
67
67
|
commitHash: "commit_hash",
|
|
68
68
|
commitMessage: "commit_message",
|
|
69
69
|
})));
|
|
70
|
-
const DeploymentTrigger = /*@__PURE__*/
|
|
70
|
+
const DeploymentTrigger = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
71
71
|
metadata: Metadata,
|
|
72
72
|
type: Schema.Union([
|
|
73
73
|
Schema.Literals(["github:push", "ad_hoc", "deploy_hook"]),
|
|
74
74
|
Schema.String,
|
|
75
75
|
]),
|
|
76
76
|
}));
|
|
77
|
-
const Stage = /*@__PURE__*/
|
|
77
|
+
const Stage = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
78
78
|
endedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
79
79
|
name: Schema.Union([
|
|
80
80
|
Schema.Literals([
|
|
@@ -97,7 +97,7 @@ const Stage = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
97
97
|
startedOn: "started_on",
|
|
98
98
|
status: "status",
|
|
99
99
|
})));
|
|
100
|
-
const Config = /*@__PURE__*/
|
|
100
|
+
const Config = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
101
101
|
deploymentsEnabled: Schema.Boolean,
|
|
102
102
|
owner: Schema.String,
|
|
103
103
|
ownerId: Schema.String,
|
|
@@ -129,11 +129,11 @@ const Config = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
129
129
|
repoId: "repo_id",
|
|
130
130
|
repoName: "repo_name",
|
|
131
131
|
})));
|
|
132
|
-
const Source = /*@__PURE__*/
|
|
132
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
133
133
|
config: Config,
|
|
134
134
|
type: Schema.Union([Schema.Literals(["github", "gitlab"]), Schema.String]),
|
|
135
135
|
}));
|
|
136
|
-
const Deployment = /*@__PURE__*/
|
|
136
|
+
const Deployment = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
137
137
|
id: Schema.String,
|
|
138
138
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
139
139
|
buildConfig: BuildConfig,
|
|
@@ -176,13 +176,13 @@ const Deployment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
176
176
|
url: "url",
|
|
177
177
|
usesFunctions: "uses_functions",
|
|
178
178
|
})));
|
|
179
|
-
const Limits = /*@__PURE__*/
|
|
179
|
+
const Limits = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
180
180
|
cpuMs: Schema.Number,
|
|
181
181
|
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })));
|
|
182
|
-
const Placement = /*@__PURE__*/
|
|
182
|
+
const Placement = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
183
183
|
mode: Schema.String,
|
|
184
184
|
}));
|
|
185
|
-
const Preview = /*@__PURE__*/
|
|
185
|
+
const Preview = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
186
186
|
alwaysUseLatestCompatibilityDate: Schema.Boolean,
|
|
187
187
|
buildImageMajorVersion: Schema.Number,
|
|
188
188
|
compatibilityDate: Schema.String,
|
|
@@ -235,11 +235,11 @@ const Preview = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
235
235
|
vectorizeBindings: "vectorize_bindings",
|
|
236
236
|
wranglerConfigHash: "wrangler_config_hash",
|
|
237
237
|
})));
|
|
238
|
-
const DeploymentConfigs = /*@__PURE__*/
|
|
238
|
+
const DeploymentConfigs = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
239
239
|
preview: Schema.optional(Schema.Union([Preview, Schema.Null])),
|
|
240
240
|
production: Schema.optional(Schema.Union([Preview, Schema.Null])),
|
|
241
241
|
}));
|
|
242
|
-
const ListProjectsResponseResult = /*@__PURE__*/
|
|
242
|
+
const ListProjectsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
243
243
|
id: Schema.String,
|
|
244
244
|
canonicalDeployment: Schema.Union([Deployment, Schema.Null]),
|
|
245
245
|
createdOn: Schema.String,
|
|
@@ -275,7 +275,7 @@ const ListProjectsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
275
275
|
subdomain: "subdomain",
|
|
276
276
|
})));
|
|
277
277
|
const ListProjectsResponseResultInfo =
|
|
278
|
-
/*@__PURE__*/
|
|
278
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
279
279
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
280
280
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
281
281
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -286,7 +286,7 @@ const ListProjectsResponseResultInfo =
|
|
|
286
286
|
perPage: "per_page",
|
|
287
287
|
totalCount: "total_count",
|
|
288
288
|
})));
|
|
289
|
-
const BuildConfig2 = /*@__PURE__*/
|
|
289
|
+
const BuildConfig2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
290
290
|
buildCaching: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
291
291
|
buildCommand: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
292
292
|
destinationDir: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -301,7 +301,7 @@ const BuildConfig2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
301
301
|
webAnalyticsTag: "web_analytics_tag",
|
|
302
302
|
webAnalyticsToken: "web_analytics_token",
|
|
303
303
|
})));
|
|
304
|
-
const Preview2 = /*@__PURE__*/
|
|
304
|
+
const Preview2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
305
305
|
aiBindings: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
306
306
|
alwaysUseLatestCompatibilityDate: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
307
307
|
analyticsEngineDatasets: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
@@ -354,11 +354,11 @@ const Preview2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
354
354
|
vectorizeBindings: "vectorize_bindings",
|
|
355
355
|
wranglerConfigHash: "wrangler_config_hash",
|
|
356
356
|
})));
|
|
357
|
-
const DeploymentConfigs2 = /*@__PURE__*/
|
|
357
|
+
const DeploymentConfigs2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
358
358
|
preview: Schema.optional(Schema.Union([Preview2, Schema.Null])),
|
|
359
359
|
production: Schema.optional(Schema.Union([Preview2, Schema.Null])),
|
|
360
360
|
}));
|
|
361
|
-
const Config2 = /*@__PURE__*/
|
|
361
|
+
const Config2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
362
362
|
deploymentsEnabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
363
363
|
owner: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
364
364
|
ownerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -393,11 +393,11 @@ const Config2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
393
393
|
repoId: "repo_id",
|
|
394
394
|
repoName: "repo_name",
|
|
395
395
|
})));
|
|
396
|
-
const Source2 = /*@__PURE__*/
|
|
396
|
+
const Source2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
397
397
|
config: Config2,
|
|
398
398
|
type: Schema.Union([Schema.Literals(["github", "gitlab"]), Schema.String]),
|
|
399
399
|
}));
|
|
400
|
-
const Deployment2 = /*@__PURE__*/
|
|
400
|
+
const Deployment2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
401
401
|
id: Schema.String,
|
|
402
402
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
403
403
|
buildConfig: BuildConfig,
|
|
@@ -440,15 +440,15 @@ const Deployment2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
440
440
|
url: "url",
|
|
441
441
|
usesFunctions: "uses_functions",
|
|
442
442
|
})));
|
|
443
|
-
const DeploymentConfigs3 = /*@__PURE__*/
|
|
443
|
+
const DeploymentConfigs3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
444
444
|
preview: Preview,
|
|
445
445
|
production: Preview,
|
|
446
446
|
}));
|
|
447
|
-
const Data = /*@__PURE__*/
|
|
447
|
+
const Data = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
448
448
|
line: Schema.String,
|
|
449
449
|
ts: Schema.String,
|
|
450
450
|
}));
|
|
451
|
-
const ValidationData = /*@__PURE__*/
|
|
451
|
+
const ValidationData = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
452
452
|
method: Schema.optional(Schema.Union([
|
|
453
453
|
Schema.Literal("http"),
|
|
454
454
|
Schema.Literal("txt"),
|
|
@@ -472,7 +472,7 @@ const ValidationData = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
472
472
|
txtName: "txt_name",
|
|
473
473
|
txtValue: "txt_value",
|
|
474
474
|
})));
|
|
475
|
-
const VerificationData = /*@__PURE__*/
|
|
475
|
+
const VerificationData = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
476
476
|
status: Schema.optional(Schema.Union([
|
|
477
477
|
Schema.Literal("pending"),
|
|
478
478
|
Schema.Literal("active"),
|
|
@@ -484,7 +484,7 @@ const VerificationData = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
484
484
|
errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
485
485
|
}).pipe(Schema.encodeKeys({ status: "status", errorMessage: "error_message" })));
|
|
486
486
|
const ListProjectDomainsResponseResult =
|
|
487
|
-
/*@__PURE__*/
|
|
487
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
488
488
|
id: Schema.String,
|
|
489
489
|
certificateAuthority: Schema.optional(Schema.Union([
|
|
490
490
|
Schema.Literal("google"),
|
|
@@ -520,7 +520,7 @@ const ListProjectDomainsResponseResult =
|
|
|
520
520
|
zoneTag: "zone_tag",
|
|
521
521
|
})));
|
|
522
522
|
export const PurgeBuildCacheProjectRequest =
|
|
523
|
-
/*@__PURE__*/
|
|
523
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
524
524
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
525
525
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
526
526
|
}).pipe(T.Http({
|
|
@@ -528,20 +528,20 @@ export const PurgeBuildCacheProjectRequest =
|
|
|
528
528
|
path: "/accounts/{account_id}/pages/projects/{projectName}/purge_build_cache",
|
|
529
529
|
})));
|
|
530
530
|
export const PurgeBuildCacheProjectResponse =
|
|
531
|
-
/*@__PURE__*/
|
|
532
|
-
export const purgeBuildCacheProject = /*@__PURE__*/
|
|
531
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
532
|
+
export const purgeBuildCacheProject = /*@__PURE__*/ API.make(() => ({
|
|
533
533
|
input: PurgeBuildCacheProjectRequest,
|
|
534
534
|
output: PurgeBuildCacheProjectResponse,
|
|
535
535
|
errors: [],
|
|
536
536
|
}));
|
|
537
|
-
export const GetProjectRequest = /*@__PURE__*/
|
|
537
|
+
export const GetProjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
538
538
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
539
539
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
540
540
|
}).pipe(T.Http({
|
|
541
541
|
method: "GET",
|
|
542
542
|
path: "/accounts/{account_id}/pages/projects/{projectName}",
|
|
543
543
|
})));
|
|
544
|
-
export const GetProjectResponse = /*@__PURE__*/
|
|
544
|
+
export const GetProjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
545
545
|
id: Schema.String,
|
|
546
546
|
canonicalDeployment: Schema.Union([Deployment, Schema.Null]),
|
|
547
547
|
createdOn: Schema.String,
|
|
@@ -578,21 +578,21 @@ export const GetProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
578
578
|
subdomain: "subdomain",
|
|
579
579
|
}))
|
|
580
580
|
.pipe(T.ResponsePath("result")));
|
|
581
|
-
export const getProject = /*@__PURE__*/
|
|
581
|
+
export const getProject = /*@__PURE__*/ API.make(() => ({
|
|
582
582
|
input: GetProjectRequest,
|
|
583
583
|
output: GetProjectResponse,
|
|
584
584
|
errors: [ProjectNotFound, Forbidden],
|
|
585
585
|
}));
|
|
586
|
-
export const ListProjectsRequest = /*@__PURE__*/
|
|
586
|
+
export const ListProjectsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
587
587
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
588
588
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
589
589
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
590
590
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/pages/projects" })));
|
|
591
|
-
export const ListProjectsResponse = /*@__PURE__*/
|
|
591
|
+
export const ListProjectsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
592
592
|
result: Schema.Array(ListProjectsResponseResult),
|
|
593
593
|
resultInfo: Schema.optional(Schema.Union([ListProjectsResponseResultInfo, Schema.Null])),
|
|
594
594
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
595
|
-
export const listProjects = /*@__PURE__*/
|
|
595
|
+
export const listProjects = /*@__PURE__*/ API.makePaginated(() => ({
|
|
596
596
|
input: ListProjectsRequest,
|
|
597
597
|
output: ListProjectsResponse,
|
|
598
598
|
errors: [Forbidden],
|
|
@@ -604,7 +604,7 @@ export const listProjects = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
604
604
|
pageSize: "perPage",
|
|
605
605
|
},
|
|
606
606
|
}));
|
|
607
|
-
export const CreateProjectRequest = /*@__PURE__*/
|
|
607
|
+
export const CreateProjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
608
608
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
609
609
|
name: Schema.String,
|
|
610
610
|
productionBranch: Schema.String,
|
|
@@ -618,7 +618,7 @@ export const CreateProjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
618
618
|
deploymentConfigs: "deployment_configs",
|
|
619
619
|
source: "source",
|
|
620
620
|
}), T.Http({ method: "POST", path: "/accounts/{account_id}/pages/projects" })));
|
|
621
|
-
export const CreateProjectResponse = /*@__PURE__*/
|
|
621
|
+
export const CreateProjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
622
622
|
id: Schema.String,
|
|
623
623
|
canonicalDeployment: Schema.Union([Deployment2, Schema.Null]),
|
|
624
624
|
createdOn: Schema.String,
|
|
@@ -655,12 +655,12 @@ export const CreateProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
655
655
|
subdomain: "subdomain",
|
|
656
656
|
}))
|
|
657
657
|
.pipe(T.ResponsePath("result")));
|
|
658
|
-
export const createProject = /*@__PURE__*/
|
|
658
|
+
export const createProject = /*@__PURE__*/ API.make(() => ({
|
|
659
659
|
input: CreateProjectRequest,
|
|
660
660
|
output: CreateProjectResponse,
|
|
661
661
|
errors: [ProjectAlreadyExists, Forbidden],
|
|
662
662
|
}));
|
|
663
|
-
export const PatchProjectRequest = /*@__PURE__*/
|
|
663
|
+
export const PatchProjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
664
664
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
665
665
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
666
666
|
buildConfig: Schema.optional(BuildConfig2),
|
|
@@ -678,7 +678,7 @@ export const PatchProjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
678
678
|
method: "PATCH",
|
|
679
679
|
path: "/accounts/{account_id}/pages/projects/{projectName}",
|
|
680
680
|
})));
|
|
681
|
-
export const PatchProjectResponse = /*@__PURE__*/
|
|
681
|
+
export const PatchProjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
682
682
|
id: Schema.String,
|
|
683
683
|
canonicalDeployment: Schema.Union([Deployment2, Schema.Null]),
|
|
684
684
|
createdOn: Schema.String,
|
|
@@ -715,26 +715,26 @@ export const PatchProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
715
715
|
subdomain: "subdomain",
|
|
716
716
|
}))
|
|
717
717
|
.pipe(T.ResponsePath("result")));
|
|
718
|
-
export const patchProject = /*@__PURE__*/
|
|
718
|
+
export const patchProject = /*@__PURE__*/ API.make(() => ({
|
|
719
719
|
input: PatchProjectRequest,
|
|
720
720
|
output: PatchProjectResponse,
|
|
721
721
|
errors: [ProjectNotFound, Forbidden],
|
|
722
722
|
}));
|
|
723
|
-
export const DeleteProjectRequest = /*@__PURE__*/
|
|
723
|
+
export const DeleteProjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
724
724
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
725
725
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
726
726
|
}).pipe(T.Http({
|
|
727
727
|
method: "DELETE",
|
|
728
728
|
path: "/accounts/{account_id}/pages/projects/{projectName}",
|
|
729
729
|
})));
|
|
730
|
-
export const DeleteProjectResponse = /*@__PURE__*/
|
|
731
|
-
export const deleteProject = /*@__PURE__*/
|
|
730
|
+
export const DeleteProjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
731
|
+
export const deleteProject = /*@__PURE__*/ API.make(() => ({
|
|
732
732
|
input: DeleteProjectRequest,
|
|
733
733
|
output: DeleteProjectResponse,
|
|
734
734
|
errors: [ProjectNotFound, Forbidden],
|
|
735
735
|
}));
|
|
736
736
|
export const GetProjectDeploymentRequest =
|
|
737
|
-
/*@__PURE__*/
|
|
737
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
738
738
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
739
739
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
740
740
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -743,7 +743,7 @@ export const GetProjectDeploymentRequest =
|
|
|
743
743
|
path: "/accounts/{account_id}/pages/projects/{projectName}/deployments/{deploymentId}",
|
|
744
744
|
})));
|
|
745
745
|
export const GetProjectDeploymentResponse =
|
|
746
|
-
/*@__PURE__*/
|
|
746
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
747
747
|
id: Schema.String,
|
|
748
748
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
749
749
|
buildConfig: BuildConfig,
|
|
@@ -788,13 +788,13 @@ export const GetProjectDeploymentResponse =
|
|
|
788
788
|
usesFunctions: "uses_functions",
|
|
789
789
|
}))
|
|
790
790
|
.pipe(T.ResponsePath("result")));
|
|
791
|
-
export const getProjectDeployment = /*@__PURE__*/
|
|
791
|
+
export const getProjectDeployment = /*@__PURE__*/ API.make(() => ({
|
|
792
792
|
input: GetProjectDeploymentRequest,
|
|
793
793
|
output: GetProjectDeploymentResponse,
|
|
794
794
|
errors: [DeploymentNotFound, ProjectNotFound, Forbidden],
|
|
795
795
|
}));
|
|
796
796
|
export const ListProjectDeploymentsRequest =
|
|
797
|
-
/*@__PURE__*/
|
|
797
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
798
798
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
799
799
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
800
800
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -808,11 +808,11 @@ export const ListProjectDeploymentsRequest =
|
|
|
808
808
|
path: "/accounts/{account_id}/pages/projects/{projectName}/deployments",
|
|
809
809
|
})));
|
|
810
810
|
export const ListProjectDeploymentsResponse =
|
|
811
|
-
/*@__PURE__*/
|
|
811
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
812
812
|
result: Schema.Array(Deployment2),
|
|
813
813
|
resultInfo: Schema.optional(Schema.Union([ListProjectsResponseResultInfo, Schema.Null])),
|
|
814
814
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
815
|
-
export const listProjectDeployments = /*@__PURE__*/
|
|
815
|
+
export const listProjectDeployments = /*@__PURE__*/ API.makePaginated(() => ({
|
|
816
816
|
input: ListProjectDeploymentsRequest,
|
|
817
817
|
output: ListProjectDeploymentsResponse,
|
|
818
818
|
errors: [],
|
|
@@ -825,7 +825,7 @@ export const listProjectDeployments = /*@__PURE__*/ /*#__PURE__*/ API.makePagina
|
|
|
825
825
|
},
|
|
826
826
|
}));
|
|
827
827
|
export const CreateProjectDeploymentRequest =
|
|
828
|
-
/*@__PURE__*/
|
|
828
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
829
829
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
830
830
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
831
831
|
headers: Schema.optional(UploadableSchema.pipe(T.HttpFormDataFile())),
|
|
@@ -861,7 +861,7 @@ export const CreateProjectDeploymentRequest =
|
|
|
861
861
|
contentType: "multipart",
|
|
862
862
|
})));
|
|
863
863
|
export const CreateProjectDeploymentResponse =
|
|
864
|
-
/*@__PURE__*/
|
|
864
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
865
865
|
id: Schema.String,
|
|
866
866
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
867
867
|
buildConfig: BuildConfig,
|
|
@@ -906,13 +906,13 @@ export const CreateProjectDeploymentResponse =
|
|
|
906
906
|
usesFunctions: "uses_functions",
|
|
907
907
|
}))
|
|
908
908
|
.pipe(T.ResponsePath("result")));
|
|
909
|
-
export const createProjectDeployment = /*@__PURE__*/
|
|
909
|
+
export const createProjectDeployment = /*@__PURE__*/ API.make(() => ({
|
|
910
910
|
input: CreateProjectDeploymentRequest,
|
|
911
911
|
output: CreateProjectDeploymentResponse,
|
|
912
912
|
errors: [ProjectNotFound, Forbidden],
|
|
913
913
|
}));
|
|
914
914
|
export const DeleteProjectDeploymentRequest =
|
|
915
|
-
/*@__PURE__*/
|
|
915
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
916
916
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
917
917
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
918
918
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -922,8 +922,8 @@ export const DeleteProjectDeploymentRequest =
|
|
|
922
922
|
path: "/accounts/{account_id}/pages/projects/{projectName}/deployments/{deploymentId}",
|
|
923
923
|
})));
|
|
924
924
|
export const DeleteProjectDeploymentResponse =
|
|
925
|
-
/*@__PURE__*/
|
|
926
|
-
export const deleteProjectDeployment = /*@__PURE__*/
|
|
925
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
926
|
+
export const deleteProjectDeployment = /*@__PURE__*/ API.make(() => ({
|
|
927
927
|
input: DeleteProjectDeploymentRequest,
|
|
928
928
|
output: DeleteProjectDeploymentResponse,
|
|
929
929
|
errors: [
|
|
@@ -934,7 +934,7 @@ export const deleteProjectDeployment = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
934
934
|
],
|
|
935
935
|
}));
|
|
936
936
|
export const RetryProjectDeploymentRequest =
|
|
937
|
-
/*@__PURE__*/
|
|
937
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
938
938
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
939
939
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
940
940
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -943,7 +943,7 @@ export const RetryProjectDeploymentRequest =
|
|
|
943
943
|
path: "/accounts/{account_id}/pages/projects/{projectName}/deployments/{deploymentId}/retry",
|
|
944
944
|
})));
|
|
945
945
|
export const RetryProjectDeploymentResponse =
|
|
946
|
-
/*@__PURE__*/
|
|
946
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
947
947
|
id: Schema.String,
|
|
948
948
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
949
949
|
buildConfig: BuildConfig,
|
|
@@ -988,13 +988,13 @@ export const RetryProjectDeploymentResponse =
|
|
|
988
988
|
usesFunctions: "uses_functions",
|
|
989
989
|
}))
|
|
990
990
|
.pipe(T.ResponsePath("result")));
|
|
991
|
-
export const retryProjectDeployment = /*@__PURE__*/
|
|
991
|
+
export const retryProjectDeployment = /*@__PURE__*/ API.make(() => ({
|
|
992
992
|
input: RetryProjectDeploymentRequest,
|
|
993
993
|
output: RetryProjectDeploymentResponse,
|
|
994
994
|
errors: [],
|
|
995
995
|
}));
|
|
996
996
|
export const RollbackProjectDeploymentRequest =
|
|
997
|
-
/*@__PURE__*/
|
|
997
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
998
998
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
999
999
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
1000
1000
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1003,7 +1003,7 @@ export const RollbackProjectDeploymentRequest =
|
|
|
1003
1003
|
path: "/accounts/{account_id}/pages/projects/{projectName}/deployments/{deploymentId}/rollback",
|
|
1004
1004
|
})));
|
|
1005
1005
|
export const RollbackProjectDeploymentResponse =
|
|
1006
|
-
/*@__PURE__*/
|
|
1006
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1007
1007
|
id: Schema.String,
|
|
1008
1008
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1009
1009
|
buildConfig: BuildConfig,
|
|
@@ -1048,13 +1048,13 @@ export const RollbackProjectDeploymentResponse =
|
|
|
1048
1048
|
usesFunctions: "uses_functions",
|
|
1049
1049
|
}))
|
|
1050
1050
|
.pipe(T.ResponsePath("result")));
|
|
1051
|
-
export const rollbackProjectDeployment = /*@__PURE__*/
|
|
1051
|
+
export const rollbackProjectDeployment = /*@__PURE__*/ API.make(() => ({
|
|
1052
1052
|
input: RollbackProjectDeploymentRequest,
|
|
1053
1053
|
output: RollbackProjectDeploymentResponse,
|
|
1054
1054
|
errors: [],
|
|
1055
1055
|
}));
|
|
1056
1056
|
export const GetProjectDeploymentHistoryLogRequest =
|
|
1057
|
-
/*@__PURE__*/
|
|
1057
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1058
1058
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1059
1059
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
1060
1060
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1063,7 +1063,7 @@ export const GetProjectDeploymentHistoryLogRequest =
|
|
|
1063
1063
|
path: "/accounts/{account_id}/pages/projects/{projectName}/deployments/{deploymentId}/history/logs",
|
|
1064
1064
|
})));
|
|
1065
1065
|
export const GetProjectDeploymentHistoryLogResponse =
|
|
1066
|
-
/*@__PURE__*/
|
|
1066
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1067
1067
|
data: Schema.Array(Data),
|
|
1068
1068
|
includesContainerLogs: Schema.Boolean,
|
|
1069
1069
|
total: Schema.Number,
|
|
@@ -1074,13 +1074,13 @@ export const GetProjectDeploymentHistoryLogResponse =
|
|
|
1074
1074
|
total: "total",
|
|
1075
1075
|
}))
|
|
1076
1076
|
.pipe(T.ResponsePath("result")));
|
|
1077
|
-
export const getProjectDeploymentHistoryLog = /*@__PURE__*/
|
|
1077
|
+
export const getProjectDeploymentHistoryLog = /*@__PURE__*/ API.make(() => ({
|
|
1078
1078
|
input: GetProjectDeploymentHistoryLogRequest,
|
|
1079
1079
|
output: GetProjectDeploymentHistoryLogResponse,
|
|
1080
1080
|
errors: [],
|
|
1081
1081
|
}));
|
|
1082
1082
|
export const GetProjectDomainRequest =
|
|
1083
|
-
/*@__PURE__*/
|
|
1083
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1084
1084
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1085
1085
|
domainName: Schema.String.pipe(T.HttpPath("domainName")),
|
|
1086
1086
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1089,7 +1089,7 @@ export const GetProjectDomainRequest =
|
|
|
1089
1089
|
path: "/accounts/{account_id}/pages/projects/{projectName}/domains/{domainName}",
|
|
1090
1090
|
})));
|
|
1091
1091
|
export const GetProjectDomainResponse =
|
|
1092
|
-
/*@__PURE__*/
|
|
1092
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1093
1093
|
id: Schema.String,
|
|
1094
1094
|
certificateAuthority: Schema.optional(Schema.Union([
|
|
1095
1095
|
Schema.Literal("google"),
|
|
@@ -1126,13 +1126,13 @@ export const GetProjectDomainResponse =
|
|
|
1126
1126
|
zoneTag: "zone_tag",
|
|
1127
1127
|
}))
|
|
1128
1128
|
.pipe(T.ResponsePath("result")));
|
|
1129
|
-
export const getProjectDomain = /*@__PURE__*/
|
|
1129
|
+
export const getProjectDomain = /*@__PURE__*/ API.make(() => ({
|
|
1130
1130
|
input: GetProjectDomainRequest,
|
|
1131
1131
|
output: GetProjectDomainResponse,
|
|
1132
1132
|
errors: [ProjectNotFound, PagesDomainNotFound, Forbidden],
|
|
1133
1133
|
}));
|
|
1134
1134
|
export const ListProjectDomainsRequest =
|
|
1135
|
-
/*@__PURE__*/
|
|
1135
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1136
1136
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1137
1137
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1138
1138
|
}).pipe(T.Http({
|
|
@@ -1140,10 +1140,10 @@ export const ListProjectDomainsRequest =
|
|
|
1140
1140
|
path: "/accounts/{account_id}/pages/projects/{projectName}/domains",
|
|
1141
1141
|
})));
|
|
1142
1142
|
export const ListProjectDomainsResponse =
|
|
1143
|
-
/*@__PURE__*/
|
|
1143
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1144
1144
|
result: Schema.Array(ListProjectDomainsResponseResult),
|
|
1145
1145
|
}));
|
|
1146
|
-
export const listProjectDomains = /*@__PURE__*/
|
|
1146
|
+
export const listProjectDomains = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1147
1147
|
input: ListProjectDomainsRequest,
|
|
1148
1148
|
output: ListProjectDomainsResponse,
|
|
1149
1149
|
errors: [ProjectNotFound, Forbidden],
|
|
@@ -1153,7 +1153,7 @@ export const listProjectDomains = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
|
1153
1153
|
},
|
|
1154
1154
|
}));
|
|
1155
1155
|
export const CreateProjectDomainRequest =
|
|
1156
|
-
/*@__PURE__*/
|
|
1156
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1157
1157
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1158
1158
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1159
1159
|
name: Schema.String,
|
|
@@ -1162,7 +1162,7 @@ export const CreateProjectDomainRequest =
|
|
|
1162
1162
|
path: "/accounts/{account_id}/pages/projects/{projectName}/domains",
|
|
1163
1163
|
})));
|
|
1164
1164
|
export const CreateProjectDomainResponse =
|
|
1165
|
-
/*@__PURE__*/
|
|
1165
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1166
1166
|
id: Schema.String,
|
|
1167
1167
|
certificateAuthority: Schema.optional(Schema.Union([
|
|
1168
1168
|
Schema.Literal("google"),
|
|
@@ -1199,13 +1199,13 @@ export const CreateProjectDomainResponse =
|
|
|
1199
1199
|
zoneTag: "zone_tag",
|
|
1200
1200
|
}))
|
|
1201
1201
|
.pipe(T.ResponsePath("result")));
|
|
1202
|
-
export const createProjectDomain = /*@__PURE__*/
|
|
1202
|
+
export const createProjectDomain = /*@__PURE__*/ API.make(() => ({
|
|
1203
1203
|
input: CreateProjectDomainRequest,
|
|
1204
1204
|
output: CreateProjectDomainResponse,
|
|
1205
1205
|
errors: [ProjectNotFound, PagesDomainAlreadyExists, Forbidden],
|
|
1206
1206
|
}));
|
|
1207
1207
|
export const PatchProjectDomainRequest =
|
|
1208
|
-
/*@__PURE__*/
|
|
1208
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1209
1209
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1210
1210
|
domainName: Schema.String.pipe(T.HttpPath("domainName")),
|
|
1211
1211
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1214,7 +1214,7 @@ export const PatchProjectDomainRequest =
|
|
|
1214
1214
|
path: "/accounts/{account_id}/pages/projects/{projectName}/domains/{domainName}",
|
|
1215
1215
|
})));
|
|
1216
1216
|
export const PatchProjectDomainResponse =
|
|
1217
|
-
/*@__PURE__*/
|
|
1217
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1218
1218
|
id: Schema.String,
|
|
1219
1219
|
certificateAuthority: Schema.optional(Schema.Union([
|
|
1220
1220
|
Schema.Literal("google"),
|
|
@@ -1251,13 +1251,13 @@ export const PatchProjectDomainResponse =
|
|
|
1251
1251
|
zoneTag: "zone_tag",
|
|
1252
1252
|
}))
|
|
1253
1253
|
.pipe(T.ResponsePath("result")));
|
|
1254
|
-
export const patchProjectDomain = /*@__PURE__*/
|
|
1254
|
+
export const patchProjectDomain = /*@__PURE__*/ API.make(() => ({
|
|
1255
1255
|
input: PatchProjectDomainRequest,
|
|
1256
1256
|
output: PatchProjectDomainResponse,
|
|
1257
1257
|
errors: [ProjectNotFound, PagesDomainNotFound, Forbidden],
|
|
1258
1258
|
}));
|
|
1259
1259
|
export const DeleteProjectDomainRequest =
|
|
1260
|
-
/*@__PURE__*/
|
|
1260
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1261
1261
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1262
1262
|
domainName: Schema.String.pipe(T.HttpPath("domainName")),
|
|
1263
1263
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1266,8 +1266,8 @@ export const DeleteProjectDomainRequest =
|
|
|
1266
1266
|
path: "/accounts/{account_id}/pages/projects/{projectName}/domains/{domainName}",
|
|
1267
1267
|
})));
|
|
1268
1268
|
export const DeleteProjectDomainResponse =
|
|
1269
|
-
/*@__PURE__*/
|
|
1270
|
-
export const deleteProjectDomain = /*@__PURE__*/
|
|
1269
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1270
|
+
export const deleteProjectDomain = /*@__PURE__*/ API.make(() => ({
|
|
1271
1271
|
input: DeleteProjectDomainRequest,
|
|
1272
1272
|
output: DeleteProjectDomainResponse,
|
|
1273
1273
|
errors: [ProjectNotFound, PagesDomainNotFound, Forbidden],
|