@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/src/services/pages.ts
CHANGED
|
@@ -91,7 +91,7 @@ interface BuildConfig {
|
|
|
91
91
|
/** Directory to run the command. */
|
|
92
92
|
rootDir?: string | null;
|
|
93
93
|
}
|
|
94
|
-
const BuildConfig = /*@__PURE__*/
|
|
94
|
+
const BuildConfig = /*@__PURE__*/ Schema.suspend(() =>
|
|
95
95
|
Schema.Struct({
|
|
96
96
|
webAnalyticsTag: Schema.Union([Schema.String, Schema.Null]),
|
|
97
97
|
webAnalyticsToken: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -121,7 +121,7 @@ interface Metadata {
|
|
|
121
121
|
/** Message of the deployment trigger commit. */
|
|
122
122
|
commitMessage: string;
|
|
123
123
|
}
|
|
124
|
-
const Metadata = /*@__PURE__*/
|
|
124
|
+
const Metadata = /*@__PURE__*/ Schema.suspend(() =>
|
|
125
125
|
Schema.Struct({
|
|
126
126
|
branch: Schema.String,
|
|
127
127
|
commitDirty: Schema.Boolean,
|
|
@@ -148,7 +148,7 @@ interface DeploymentTrigger {
|
|
|
148
148
|
/** What caused the deployment. */
|
|
149
149
|
type: "github:push" | "ad_hoc" | "deploy_hook" | (string & {});
|
|
150
150
|
}
|
|
151
|
-
const DeploymentTrigger = /*@__PURE__*/
|
|
151
|
+
const DeploymentTrigger = /*@__PURE__*/ Schema.suspend(() =>
|
|
152
152
|
Schema.Struct({
|
|
153
153
|
metadata: Metadata,
|
|
154
154
|
type: Schema.Union([
|
|
@@ -180,7 +180,7 @@ interface Stage {
|
|
|
180
180
|
| "canceled"
|
|
181
181
|
| (string & {});
|
|
182
182
|
}
|
|
183
|
-
const Stage = /*@__PURE__*/
|
|
183
|
+
const Stage = /*@__PURE__*/ Schema.suspend(() =>
|
|
184
184
|
Schema.Struct({
|
|
185
185
|
endedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
186
186
|
name: Schema.Union([
|
|
@@ -236,7 +236,7 @@ interface Config {
|
|
|
236
236
|
/** The name of the repository. */
|
|
237
237
|
repoName: string;
|
|
238
238
|
}
|
|
239
|
-
const Config = /*@__PURE__*/
|
|
239
|
+
const Config = /*@__PURE__*/ Schema.suspend(() =>
|
|
240
240
|
Schema.Struct({
|
|
241
241
|
deploymentsEnabled: Schema.Boolean,
|
|
242
242
|
owner: Schema.String,
|
|
@@ -292,7 +292,7 @@ interface Source {
|
|
|
292
292
|
/** The source control management provider. */
|
|
293
293
|
type: "github" | "gitlab" | (string & {});
|
|
294
294
|
}
|
|
295
|
-
const Source = /*@__PURE__*/
|
|
295
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
296
296
|
Schema.Struct({
|
|
297
297
|
config: Config,
|
|
298
298
|
type: Schema.Union([Schema.Literals(["github", "gitlab"]), Schema.String]),
|
|
@@ -401,7 +401,7 @@ interface Deployment {
|
|
|
401
401
|
/** Whether the deployment uses functions. */
|
|
402
402
|
usesFunctions?: boolean | null;
|
|
403
403
|
}
|
|
404
|
-
const Deployment = /*@__PURE__*/
|
|
404
|
+
const Deployment = /*@__PURE__*/ Schema.suspend(() =>
|
|
405
405
|
Schema.Struct({
|
|
406
406
|
id: Schema.String,
|
|
407
407
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -453,7 +453,7 @@ interface Limits {
|
|
|
453
453
|
/** CPU time limit in milliseconds. */
|
|
454
454
|
cpuMs: number;
|
|
455
455
|
}
|
|
456
|
-
const Limits = /*@__PURE__*/
|
|
456
|
+
const Limits = /*@__PURE__*/ Schema.suspend(() =>
|
|
457
457
|
Schema.Struct({
|
|
458
458
|
cpuMs: Schema.Number,
|
|
459
459
|
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
@@ -463,7 +463,7 @@ interface Placement {
|
|
|
463
463
|
/** Placement mode. */
|
|
464
464
|
mode: string;
|
|
465
465
|
}
|
|
466
|
-
const Placement = /*@__PURE__*/
|
|
466
|
+
const Placement = /*@__PURE__*/ Schema.suspend(() =>
|
|
467
467
|
Schema.Struct({
|
|
468
468
|
mode: Schema.String,
|
|
469
469
|
}),
|
|
@@ -515,7 +515,7 @@ interface Preview {
|
|
|
515
515
|
/** Hash of the Wrangler configuration used for the deployment. */
|
|
516
516
|
wranglerConfigHash?: string | null;
|
|
517
517
|
}
|
|
518
|
-
const Preview = /*@__PURE__*/
|
|
518
|
+
const Preview = /*@__PURE__*/ Schema.suspend(() =>
|
|
519
519
|
Schema.Struct({
|
|
520
520
|
alwaysUseLatestCompatibilityDate: Schema.Boolean,
|
|
521
521
|
buildImageMajorVersion: Schema.Number,
|
|
@@ -651,7 +651,7 @@ interface DeploymentConfigs {
|
|
|
651
651
|
wranglerConfigHash?: string | null;
|
|
652
652
|
} | null;
|
|
653
653
|
}
|
|
654
|
-
const DeploymentConfigs = /*@__PURE__*/
|
|
654
|
+
const DeploymentConfigs = /*@__PURE__*/ Schema.suspend(() =>
|
|
655
655
|
Schema.Struct({
|
|
656
656
|
preview: Schema.optional(Schema.Union([Preview, Schema.Null])),
|
|
657
657
|
production: Schema.optional(Schema.Union([Preview, Schema.Null])),
|
|
@@ -933,47 +933,46 @@ interface ListProjectsResponseResult {
|
|
|
933
933
|
/** The Cloudflare subdomain associated with the project. */
|
|
934
934
|
subdomain?: string | null;
|
|
935
935
|
}
|
|
936
|
-
const ListProjectsResponseResult = /*@__PURE__*/
|
|
937
|
-
(
|
|
938
|
-
Schema.
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
954
|
-
),
|
|
955
|
-
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
956
|
-
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
957
|
-
}).pipe(
|
|
958
|
-
Schema.encodeKeys({
|
|
959
|
-
id: "id",
|
|
960
|
-
canonicalDeployment: "canonical_deployment",
|
|
961
|
-
createdOn: "created_on",
|
|
962
|
-
deploymentConfigs: "deployment_configs",
|
|
963
|
-
framework: "framework",
|
|
964
|
-
frameworkVersion: "framework_version",
|
|
965
|
-
latestDeployment: "latest_deployment",
|
|
966
|
-
name: "name",
|
|
967
|
-
previewScriptName: "preview_script_name",
|
|
968
|
-
productionBranch: "production_branch",
|
|
969
|
-
productionScriptName: "production_script_name",
|
|
970
|
-
usesFunctions: "uses_functions",
|
|
971
|
-
buildConfig: "build_config",
|
|
972
|
-
domains: "domains",
|
|
973
|
-
source: "source",
|
|
974
|
-
subdomain: "subdomain",
|
|
975
|
-
}),
|
|
936
|
+
const ListProjectsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
937
|
+
Schema.Struct({
|
|
938
|
+
id: Schema.String,
|
|
939
|
+
canonicalDeployment: Schema.Union([Deployment, Schema.Null]),
|
|
940
|
+
createdOn: Schema.String,
|
|
941
|
+
deploymentConfigs: DeploymentConfigs,
|
|
942
|
+
framework: Schema.String,
|
|
943
|
+
frameworkVersion: Schema.String,
|
|
944
|
+
latestDeployment: Schema.Union([Deployment, Schema.Null]),
|
|
945
|
+
name: Schema.String,
|
|
946
|
+
previewScriptName: Schema.String,
|
|
947
|
+
productionBranch: Schema.String,
|
|
948
|
+
productionScriptName: Schema.String,
|
|
949
|
+
usesFunctions: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
950
|
+
buildConfig: Schema.optional(Schema.Union([BuildConfig, Schema.Null])),
|
|
951
|
+
domains: Schema.optional(
|
|
952
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
976
953
|
),
|
|
954
|
+
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
955
|
+
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
956
|
+
}).pipe(
|
|
957
|
+
Schema.encodeKeys({
|
|
958
|
+
id: "id",
|
|
959
|
+
canonicalDeployment: "canonical_deployment",
|
|
960
|
+
createdOn: "created_on",
|
|
961
|
+
deploymentConfigs: "deployment_configs",
|
|
962
|
+
framework: "framework",
|
|
963
|
+
frameworkVersion: "framework_version",
|
|
964
|
+
latestDeployment: "latest_deployment",
|
|
965
|
+
name: "name",
|
|
966
|
+
previewScriptName: "preview_script_name",
|
|
967
|
+
productionBranch: "production_branch",
|
|
968
|
+
productionScriptName: "production_script_name",
|
|
969
|
+
usesFunctions: "uses_functions",
|
|
970
|
+
buildConfig: "build_config",
|
|
971
|
+
domains: "domains",
|
|
972
|
+
source: "source",
|
|
973
|
+
subdomain: "subdomain",
|
|
974
|
+
}),
|
|
975
|
+
),
|
|
977
976
|
) as unknown as Schema.Codec<ListProjectsResponseResult>;
|
|
978
977
|
|
|
979
978
|
interface ListProjectsResponseResultInfo {
|
|
@@ -983,7 +982,7 @@ interface ListProjectsResponseResultInfo {
|
|
|
983
982
|
totalCount?: number | null;
|
|
984
983
|
}
|
|
985
984
|
const ListProjectsResponseResultInfo =
|
|
986
|
-
/*@__PURE__*/
|
|
985
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
987
986
|
Schema.Struct({
|
|
988
987
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
989
988
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1013,7 +1012,7 @@ interface BuildConfig2 {
|
|
|
1013
1012
|
/** The auth token for analytics. */
|
|
1014
1013
|
webAnalyticsToken?: string | null;
|
|
1015
1014
|
}
|
|
1016
|
-
const BuildConfig2 = /*@__PURE__*/
|
|
1015
|
+
const BuildConfig2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1017
1016
|
Schema.Struct({
|
|
1018
1017
|
buildCaching: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1019
1018
|
buildCommand: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1083,7 +1082,7 @@ interface Preview2 {
|
|
|
1083
1082
|
/** Hash of the Wrangler configuration used for the deployment. */
|
|
1084
1083
|
wranglerConfigHash?: string | null;
|
|
1085
1084
|
}
|
|
1086
|
-
const Preview2 = /*@__PURE__*/
|
|
1085
|
+
const Preview2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1087
1086
|
Schema.Struct({
|
|
1088
1087
|
aiBindings: Schema.optional(
|
|
1089
1088
|
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
@@ -1231,7 +1230,7 @@ interface DeploymentConfigs2 {
|
|
|
1231
1230
|
wranglerConfigHash?: string | null;
|
|
1232
1231
|
} | null;
|
|
1233
1232
|
}
|
|
1234
|
-
const DeploymentConfigs2 = /*@__PURE__*/
|
|
1233
|
+
const DeploymentConfigs2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1235
1234
|
Schema.Struct({
|
|
1236
1235
|
preview: Schema.optional(Schema.Union([Preview2, Schema.Null])),
|
|
1237
1236
|
production: Schema.optional(Schema.Union([Preview2, Schema.Null])),
|
|
@@ -1266,7 +1265,7 @@ interface Config2 {
|
|
|
1266
1265
|
/** The name of the repository. */
|
|
1267
1266
|
repoName?: string | null;
|
|
1268
1267
|
}
|
|
1269
|
-
const Config2 = /*@__PURE__*/
|
|
1268
|
+
const Config2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1270
1269
|
Schema.Struct({
|
|
1271
1270
|
deploymentsEnabled: Schema.optional(
|
|
1272
1271
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -1343,7 +1342,7 @@ interface Source2 {
|
|
|
1343
1342
|
/** The source control management provider. */
|
|
1344
1343
|
type: "github" | "gitlab" | (string & {});
|
|
1345
1344
|
}
|
|
1346
|
-
const Source2 = /*@__PURE__*/
|
|
1345
|
+
const Source2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1347
1346
|
Schema.Struct({
|
|
1348
1347
|
config: Config2,
|
|
1349
1348
|
type: Schema.Union([Schema.Literals(["github", "gitlab"]), Schema.String]),
|
|
@@ -1452,7 +1451,7 @@ interface Deployment2 {
|
|
|
1452
1451
|
/** Whether the deployment uses functions. */
|
|
1453
1452
|
usesFunctions?: boolean | null;
|
|
1454
1453
|
}
|
|
1455
|
-
const Deployment2 = /*@__PURE__*/
|
|
1454
|
+
const Deployment2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1456
1455
|
Schema.Struct({
|
|
1457
1456
|
id: Schema.String,
|
|
1458
1457
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -1552,7 +1551,7 @@ interface DeploymentConfigs3 {
|
|
|
1552
1551
|
wranglerConfigHash?: string | null;
|
|
1553
1552
|
};
|
|
1554
1553
|
}
|
|
1555
|
-
const DeploymentConfigs3 = /*@__PURE__*/
|
|
1554
|
+
const DeploymentConfigs3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1556
1555
|
Schema.Struct({
|
|
1557
1556
|
preview: Preview,
|
|
1558
1557
|
production: Preview,
|
|
@@ -1563,7 +1562,7 @@ interface Data {
|
|
|
1563
1562
|
line: string;
|
|
1564
1563
|
ts: string;
|
|
1565
1564
|
}
|
|
1566
|
-
const Data = /*@__PURE__*/
|
|
1565
|
+
const Data = /*@__PURE__*/ Schema.suspend(() =>
|
|
1567
1566
|
Schema.Struct({
|
|
1568
1567
|
line: Schema.String,
|
|
1569
1568
|
ts: Schema.String,
|
|
@@ -1583,7 +1582,7 @@ interface ValidationData {
|
|
|
1583
1582
|
txtName?: string | null;
|
|
1584
1583
|
txtValue?: string | null;
|
|
1585
1584
|
}
|
|
1586
|
-
const ValidationData = /*@__PURE__*/
|
|
1585
|
+
const ValidationData = /*@__PURE__*/ Schema.suspend(() =>
|
|
1587
1586
|
Schema.Struct({
|
|
1588
1587
|
method: Schema.optional(
|
|
1589
1588
|
Schema.Union([
|
|
@@ -1620,7 +1619,7 @@ interface VerificationData {
|
|
|
1620
1619
|
status?: "pending" | "active" | "deactivated" | "blocked" | "error" | null;
|
|
1621
1620
|
errorMessage?: string | null;
|
|
1622
1621
|
}
|
|
1623
|
-
const VerificationData = /*@__PURE__*/
|
|
1622
|
+
const VerificationData = /*@__PURE__*/ Schema.suspend(() =>
|
|
1624
1623
|
Schema.Struct({
|
|
1625
1624
|
status: Schema.optional(
|
|
1626
1625
|
Schema.Union([
|
|
@@ -1673,7 +1672,7 @@ interface ListProjectDomainsResponseResult {
|
|
|
1673
1672
|
zoneTag?: string | null;
|
|
1674
1673
|
}
|
|
1675
1674
|
const ListProjectDomainsResponseResult =
|
|
1676
|
-
/*@__PURE__*/
|
|
1675
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1677
1676
|
Schema.Struct({
|
|
1678
1677
|
id: Schema.String,
|
|
1679
1678
|
certificateAuthority: Schema.optional(
|
|
@@ -1730,7 +1729,7 @@ export interface PurgeBuildCacheProjectRequest {
|
|
|
1730
1729
|
}
|
|
1731
1730
|
|
|
1732
1731
|
export const PurgeBuildCacheProjectRequest =
|
|
1733
|
-
/*@__PURE__*/
|
|
1732
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1734
1733
|
Schema.Struct({
|
|
1735
1734
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1736
1735
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1745,7 +1744,7 @@ export const PurgeBuildCacheProjectRequest =
|
|
|
1745
1744
|
export type PurgeBuildCacheProjectResponse = unknown;
|
|
1746
1745
|
|
|
1747
1746
|
export const PurgeBuildCacheProjectResponse =
|
|
1748
|
-
/*@__PURE__*/
|
|
1747
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1749
1748
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
1750
1749
|
) as unknown as Schema.Codec<PurgeBuildCacheProjectResponse>;
|
|
1751
1750
|
|
|
@@ -1756,7 +1755,7 @@ export const purgeBuildCacheProject: API.OperationMethod<
|
|
|
1756
1755
|
PurgeBuildCacheProjectResponse,
|
|
1757
1756
|
PurgeBuildCacheProjectError,
|
|
1758
1757
|
Credentials | HttpClient.HttpClient
|
|
1759
|
-
> = /*@__PURE__*/
|
|
1758
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1760
1759
|
input: PurgeBuildCacheProjectRequest,
|
|
1761
1760
|
output: PurgeBuildCacheProjectResponse,
|
|
1762
1761
|
errors: [],
|
|
@@ -1772,17 +1771,16 @@ export interface GetProjectRequest {
|
|
|
1772
1771
|
accountId: string;
|
|
1773
1772
|
}
|
|
1774
1773
|
|
|
1775
|
-
export const GetProjectRequest = /*@__PURE__*/
|
|
1776
|
-
(
|
|
1777
|
-
Schema.
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
),
|
|
1774
|
+
export const GetProjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1775
|
+
Schema.Struct({
|
|
1776
|
+
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
1777
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1778
|
+
}).pipe(
|
|
1779
|
+
T.Http({
|
|
1780
|
+
method: "GET",
|
|
1781
|
+
path: "/accounts/{account_id}/pages/projects/{projectName}",
|
|
1782
|
+
}),
|
|
1783
|
+
),
|
|
1786
1784
|
) as unknown as Schema.Codec<GetProjectRequest>;
|
|
1787
1785
|
|
|
1788
1786
|
export interface GetProjectResponse {
|
|
@@ -2061,49 +2059,48 @@ export interface GetProjectResponse {
|
|
|
2061
2059
|
subdomain?: string | null;
|
|
2062
2060
|
}
|
|
2063
2061
|
|
|
2064
|
-
export const GetProjectResponse = /*@__PURE__*/
|
|
2065
|
-
(
|
|
2066
|
-
Schema.
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
.
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
.pipe(T.ResponsePath("result")),
|
|
2062
|
+
export const GetProjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2063
|
+
Schema.Struct({
|
|
2064
|
+
id: Schema.String,
|
|
2065
|
+
canonicalDeployment: Schema.Union([Deployment, Schema.Null]),
|
|
2066
|
+
createdOn: Schema.String,
|
|
2067
|
+
deploymentConfigs: DeploymentConfigs,
|
|
2068
|
+
framework: Schema.String,
|
|
2069
|
+
frameworkVersion: Schema.String,
|
|
2070
|
+
latestDeployment: Schema.Union([Deployment, Schema.Null]),
|
|
2071
|
+
name: Schema.String,
|
|
2072
|
+
previewScriptName: Schema.String,
|
|
2073
|
+
productionBranch: Schema.String,
|
|
2074
|
+
productionScriptName: Schema.String,
|
|
2075
|
+
usesFunctions: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2076
|
+
buildConfig: Schema.optional(Schema.Union([BuildConfig, Schema.Null])),
|
|
2077
|
+
domains: Schema.optional(
|
|
2078
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2079
|
+
),
|
|
2080
|
+
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
2081
|
+
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2082
|
+
})
|
|
2083
|
+
.pipe(
|
|
2084
|
+
Schema.encodeKeys({
|
|
2085
|
+
id: "id",
|
|
2086
|
+
canonicalDeployment: "canonical_deployment",
|
|
2087
|
+
createdOn: "created_on",
|
|
2088
|
+
deploymentConfigs: "deployment_configs",
|
|
2089
|
+
framework: "framework",
|
|
2090
|
+
frameworkVersion: "framework_version",
|
|
2091
|
+
latestDeployment: "latest_deployment",
|
|
2092
|
+
name: "name",
|
|
2093
|
+
previewScriptName: "preview_script_name",
|
|
2094
|
+
productionBranch: "production_branch",
|
|
2095
|
+
productionScriptName: "production_script_name",
|
|
2096
|
+
usesFunctions: "uses_functions",
|
|
2097
|
+
buildConfig: "build_config",
|
|
2098
|
+
domains: "domains",
|
|
2099
|
+
source: "source",
|
|
2100
|
+
subdomain: "subdomain",
|
|
2101
|
+
}),
|
|
2102
|
+
)
|
|
2103
|
+
.pipe(T.ResponsePath("result")),
|
|
2107
2104
|
) as unknown as Schema.Codec<GetProjectResponse>;
|
|
2108
2105
|
|
|
2109
2106
|
export type GetProjectError = DefaultErrors | ProjectNotFound | Forbidden;
|
|
@@ -2113,7 +2110,7 @@ export const getProject: API.OperationMethod<
|
|
|
2113
2110
|
GetProjectResponse,
|
|
2114
2111
|
GetProjectError,
|
|
2115
2112
|
Credentials | HttpClient.HttpClient
|
|
2116
|
-
> = /*@__PURE__*/
|
|
2113
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2117
2114
|
input: GetProjectRequest,
|
|
2118
2115
|
output: GetProjectResponse,
|
|
2119
2116
|
errors: [ProjectNotFound, Forbidden],
|
|
@@ -2126,15 +2123,14 @@ export interface ListProjectsRequest {
|
|
|
2126
2123
|
perPage?: number;
|
|
2127
2124
|
}
|
|
2128
2125
|
|
|
2129
|
-
export const ListProjectsRequest = /*@__PURE__*/
|
|
2130
|
-
(
|
|
2131
|
-
Schema.
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
})
|
|
2136
|
-
|
|
2137
|
-
),
|
|
2126
|
+
export const ListProjectsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2127
|
+
Schema.Struct({
|
|
2128
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2129
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2130
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
2131
|
+
}).pipe(
|
|
2132
|
+
T.Http({ method: "GET", path: "/accounts/{account_id}/pages/projects" }),
|
|
2133
|
+
),
|
|
2138
2134
|
) as unknown as Schema.Codec<ListProjectsRequest>;
|
|
2139
2135
|
|
|
2140
2136
|
export interface ListProjectsResponse {
|
|
@@ -2405,14 +2401,13 @@ export interface ListProjectsResponse {
|
|
|
2405
2401
|
} | null;
|
|
2406
2402
|
}
|
|
2407
2403
|
|
|
2408
|
-
export const ListProjectsResponse = /*@__PURE__*/
|
|
2409
|
-
(
|
|
2410
|
-
Schema.
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
2404
|
+
export const ListProjectsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2405
|
+
Schema.Struct({
|
|
2406
|
+
result: Schema.Array(ListProjectsResponseResult),
|
|
2407
|
+
resultInfo: Schema.optional(
|
|
2408
|
+
Schema.Union([ListProjectsResponseResultInfo, Schema.Null]),
|
|
2409
|
+
),
|
|
2410
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
2416
2411
|
) as unknown as Schema.Codec<ListProjectsResponse>;
|
|
2417
2412
|
|
|
2418
2413
|
export type ListProjectsError = DefaultErrors | Forbidden;
|
|
@@ -2422,7 +2417,7 @@ export const listProjects: API.PaginatedOperationMethod<
|
|
|
2422
2417
|
ListProjectsResponse,
|
|
2423
2418
|
ListProjectsError,
|
|
2424
2419
|
Credentials | HttpClient.HttpClient
|
|
2425
|
-
> = /*@__PURE__*/
|
|
2420
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2426
2421
|
input: ListProjectsRequest,
|
|
2427
2422
|
output: ListProjectsResponse,
|
|
2428
2423
|
errors: [Forbidden],
|
|
@@ -2523,25 +2518,24 @@ export interface CreateProjectRequest {
|
|
|
2523
2518
|
};
|
|
2524
2519
|
}
|
|
2525
2520
|
|
|
2526
|
-
export const CreateProjectRequest = /*@__PURE__*/
|
|
2527
|
-
(
|
|
2528
|
-
Schema.
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
),
|
|
2521
|
+
export const CreateProjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2522
|
+
Schema.Struct({
|
|
2523
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2524
|
+
name: Schema.String,
|
|
2525
|
+
productionBranch: Schema.String,
|
|
2526
|
+
buildConfig: Schema.optional(BuildConfig2),
|
|
2527
|
+
deploymentConfigs: Schema.optional(DeploymentConfigs2),
|
|
2528
|
+
source: Schema.optional(Source2),
|
|
2529
|
+
}).pipe(
|
|
2530
|
+
Schema.encodeKeys({
|
|
2531
|
+
name: "name",
|
|
2532
|
+
productionBranch: "production_branch",
|
|
2533
|
+
buildConfig: "build_config",
|
|
2534
|
+
deploymentConfigs: "deployment_configs",
|
|
2535
|
+
source: "source",
|
|
2536
|
+
}),
|
|
2537
|
+
T.Http({ method: "POST", path: "/accounts/{account_id}/pages/projects" }),
|
|
2538
|
+
),
|
|
2545
2539
|
) as unknown as Schema.Codec<CreateProjectRequest>;
|
|
2546
2540
|
|
|
2547
2541
|
export interface CreateProjectResponse {
|
|
@@ -2820,49 +2814,48 @@ export interface CreateProjectResponse {
|
|
|
2820
2814
|
subdomain?: string | null;
|
|
2821
2815
|
}
|
|
2822
2816
|
|
|
2823
|
-
export const CreateProjectResponse = /*@__PURE__*/
|
|
2824
|
-
(
|
|
2825
|
-
Schema.
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
.
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
.pipe(T.ResponsePath("result")),
|
|
2817
|
+
export const CreateProjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2818
|
+
Schema.Struct({
|
|
2819
|
+
id: Schema.String,
|
|
2820
|
+
canonicalDeployment: Schema.Union([Deployment2, Schema.Null]),
|
|
2821
|
+
createdOn: Schema.String,
|
|
2822
|
+
deploymentConfigs: DeploymentConfigs3,
|
|
2823
|
+
framework: Schema.String,
|
|
2824
|
+
frameworkVersion: Schema.String,
|
|
2825
|
+
latestDeployment: Schema.Union([Deployment2, Schema.Null]),
|
|
2826
|
+
name: Schema.String,
|
|
2827
|
+
previewScriptName: Schema.String,
|
|
2828
|
+
productionBranch: Schema.String,
|
|
2829
|
+
productionScriptName: Schema.String,
|
|
2830
|
+
usesFunctions: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2831
|
+
buildConfig: Schema.optional(Schema.Union([BuildConfig, Schema.Null])),
|
|
2832
|
+
domains: Schema.optional(
|
|
2833
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2834
|
+
),
|
|
2835
|
+
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
2836
|
+
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2837
|
+
})
|
|
2838
|
+
.pipe(
|
|
2839
|
+
Schema.encodeKeys({
|
|
2840
|
+
id: "id",
|
|
2841
|
+
canonicalDeployment: "canonical_deployment",
|
|
2842
|
+
createdOn: "created_on",
|
|
2843
|
+
deploymentConfigs: "deployment_configs",
|
|
2844
|
+
framework: "framework",
|
|
2845
|
+
frameworkVersion: "framework_version",
|
|
2846
|
+
latestDeployment: "latest_deployment",
|
|
2847
|
+
name: "name",
|
|
2848
|
+
previewScriptName: "preview_script_name",
|
|
2849
|
+
productionBranch: "production_branch",
|
|
2850
|
+
productionScriptName: "production_script_name",
|
|
2851
|
+
usesFunctions: "uses_functions",
|
|
2852
|
+
buildConfig: "build_config",
|
|
2853
|
+
domains: "domains",
|
|
2854
|
+
source: "source",
|
|
2855
|
+
subdomain: "subdomain",
|
|
2856
|
+
}),
|
|
2857
|
+
)
|
|
2858
|
+
.pipe(T.ResponsePath("result")),
|
|
2866
2859
|
) as unknown as Schema.Codec<CreateProjectResponse>;
|
|
2867
2860
|
|
|
2868
2861
|
export type CreateProjectError =
|
|
@@ -2875,7 +2868,7 @@ export const createProject: API.OperationMethod<
|
|
|
2875
2868
|
CreateProjectResponse,
|
|
2876
2869
|
CreateProjectError,
|
|
2877
2870
|
Credentials | HttpClient.HttpClient
|
|
2878
|
-
> = /*@__PURE__*/
|
|
2871
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2879
2872
|
input: CreateProjectRequest,
|
|
2880
2873
|
output: CreateProjectResponse,
|
|
2881
2874
|
errors: [ProjectAlreadyExists, Forbidden],
|
|
@@ -2970,29 +2963,28 @@ export interface PatchProjectRequest {
|
|
|
2970
2963
|
};
|
|
2971
2964
|
}
|
|
2972
2965
|
|
|
2973
|
-
export const PatchProjectRequest = /*@__PURE__*/
|
|
2974
|
-
(
|
|
2975
|
-
Schema.
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
),
|
|
2966
|
+
export const PatchProjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2967
|
+
Schema.Struct({
|
|
2968
|
+
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
2969
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2970
|
+
buildConfig: Schema.optional(BuildConfig2),
|
|
2971
|
+
deploymentConfigs: Schema.optional(DeploymentConfigs2),
|
|
2972
|
+
name: Schema.optional(Schema.String),
|
|
2973
|
+
productionBranch: Schema.optional(Schema.String),
|
|
2974
|
+
source: Schema.optional(Source2),
|
|
2975
|
+
}).pipe(
|
|
2976
|
+
Schema.encodeKeys({
|
|
2977
|
+
buildConfig: "build_config",
|
|
2978
|
+
deploymentConfigs: "deployment_configs",
|
|
2979
|
+
name: "name",
|
|
2980
|
+
productionBranch: "production_branch",
|
|
2981
|
+
source: "source",
|
|
2982
|
+
}),
|
|
2983
|
+
T.Http({
|
|
2984
|
+
method: "PATCH",
|
|
2985
|
+
path: "/accounts/{account_id}/pages/projects/{projectName}",
|
|
2986
|
+
}),
|
|
2987
|
+
),
|
|
2996
2988
|
) as unknown as Schema.Codec<PatchProjectRequest>;
|
|
2997
2989
|
|
|
2998
2990
|
export interface PatchProjectResponse {
|
|
@@ -3271,49 +3263,48 @@ export interface PatchProjectResponse {
|
|
|
3271
3263
|
subdomain?: string | null;
|
|
3272
3264
|
}
|
|
3273
3265
|
|
|
3274
|
-
export const PatchProjectResponse = /*@__PURE__*/
|
|
3275
|
-
(
|
|
3276
|
-
Schema.
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
.
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
.pipe(T.ResponsePath("result")),
|
|
3266
|
+
export const PatchProjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3267
|
+
Schema.Struct({
|
|
3268
|
+
id: Schema.String,
|
|
3269
|
+
canonicalDeployment: Schema.Union([Deployment2, Schema.Null]),
|
|
3270
|
+
createdOn: Schema.String,
|
|
3271
|
+
deploymentConfigs: DeploymentConfigs3,
|
|
3272
|
+
framework: Schema.String,
|
|
3273
|
+
frameworkVersion: Schema.String,
|
|
3274
|
+
latestDeployment: Schema.Union([Deployment2, Schema.Null]),
|
|
3275
|
+
name: Schema.String,
|
|
3276
|
+
previewScriptName: Schema.String,
|
|
3277
|
+
productionBranch: Schema.String,
|
|
3278
|
+
productionScriptName: Schema.String,
|
|
3279
|
+
usesFunctions: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3280
|
+
buildConfig: Schema.optional(Schema.Union([BuildConfig, Schema.Null])),
|
|
3281
|
+
domains: Schema.optional(
|
|
3282
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3283
|
+
),
|
|
3284
|
+
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
3285
|
+
subdomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3286
|
+
})
|
|
3287
|
+
.pipe(
|
|
3288
|
+
Schema.encodeKeys({
|
|
3289
|
+
id: "id",
|
|
3290
|
+
canonicalDeployment: "canonical_deployment",
|
|
3291
|
+
createdOn: "created_on",
|
|
3292
|
+
deploymentConfigs: "deployment_configs",
|
|
3293
|
+
framework: "framework",
|
|
3294
|
+
frameworkVersion: "framework_version",
|
|
3295
|
+
latestDeployment: "latest_deployment",
|
|
3296
|
+
name: "name",
|
|
3297
|
+
previewScriptName: "preview_script_name",
|
|
3298
|
+
productionBranch: "production_branch",
|
|
3299
|
+
productionScriptName: "production_script_name",
|
|
3300
|
+
usesFunctions: "uses_functions",
|
|
3301
|
+
buildConfig: "build_config",
|
|
3302
|
+
domains: "domains",
|
|
3303
|
+
source: "source",
|
|
3304
|
+
subdomain: "subdomain",
|
|
3305
|
+
}),
|
|
3306
|
+
)
|
|
3307
|
+
.pipe(T.ResponsePath("result")),
|
|
3317
3308
|
) as unknown as Schema.Codec<PatchProjectResponse>;
|
|
3318
3309
|
|
|
3319
3310
|
export type PatchProjectError = DefaultErrors | ProjectNotFound | Forbidden;
|
|
@@ -3323,7 +3314,7 @@ export const patchProject: API.OperationMethod<
|
|
|
3323
3314
|
PatchProjectResponse,
|
|
3324
3315
|
PatchProjectError,
|
|
3325
3316
|
Credentials | HttpClient.HttpClient
|
|
3326
|
-
> = /*@__PURE__*/
|
|
3317
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3327
3318
|
input: PatchProjectRequest,
|
|
3328
3319
|
output: PatchProjectResponse,
|
|
3329
3320
|
errors: [ProjectNotFound, Forbidden],
|
|
@@ -3335,23 +3326,22 @@ export interface DeleteProjectRequest {
|
|
|
3335
3326
|
accountId: string;
|
|
3336
3327
|
}
|
|
3337
3328
|
|
|
3338
|
-
export const DeleteProjectRequest = /*@__PURE__*/
|
|
3339
|
-
(
|
|
3340
|
-
Schema.
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
),
|
|
3329
|
+
export const DeleteProjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3330
|
+
Schema.Struct({
|
|
3331
|
+
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
3332
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3333
|
+
}).pipe(
|
|
3334
|
+
T.Http({
|
|
3335
|
+
method: "DELETE",
|
|
3336
|
+
path: "/accounts/{account_id}/pages/projects/{projectName}",
|
|
3337
|
+
}),
|
|
3338
|
+
),
|
|
3349
3339
|
) as unknown as Schema.Codec<DeleteProjectRequest>;
|
|
3350
3340
|
|
|
3351
3341
|
export type DeleteProjectResponse = unknown;
|
|
3352
3342
|
|
|
3353
|
-
export const DeleteProjectResponse = /*@__PURE__*/
|
|
3354
|
-
|
|
3343
|
+
export const DeleteProjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3344
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
3355
3345
|
) as unknown as Schema.Codec<DeleteProjectResponse>;
|
|
3356
3346
|
|
|
3357
3347
|
export type DeleteProjectError = DefaultErrors | ProjectNotFound | Forbidden;
|
|
@@ -3361,7 +3351,7 @@ export const deleteProject: API.OperationMethod<
|
|
|
3361
3351
|
DeleteProjectResponse,
|
|
3362
3352
|
DeleteProjectError,
|
|
3363
3353
|
Credentials | HttpClient.HttpClient
|
|
3364
|
-
> = /*@__PURE__*/
|
|
3354
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3365
3355
|
input: DeleteProjectRequest,
|
|
3366
3356
|
output: DeleteProjectResponse,
|
|
3367
3357
|
errors: [ProjectNotFound, Forbidden],
|
|
@@ -3379,7 +3369,7 @@ export interface GetProjectDeploymentRequest {
|
|
|
3379
3369
|
}
|
|
3380
3370
|
|
|
3381
3371
|
export const GetProjectDeploymentRequest =
|
|
3382
|
-
/*@__PURE__*/
|
|
3372
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3383
3373
|
Schema.Struct({
|
|
3384
3374
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
3385
3375
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
@@ -3496,7 +3486,7 @@ export interface GetProjectDeploymentResponse {
|
|
|
3496
3486
|
}
|
|
3497
3487
|
|
|
3498
3488
|
export const GetProjectDeploymentResponse =
|
|
3499
|
-
/*@__PURE__*/
|
|
3489
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3500
3490
|
Schema.Struct({
|
|
3501
3491
|
id: Schema.String,
|
|
3502
3492
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -3559,7 +3549,7 @@ export const getProjectDeployment: API.OperationMethod<
|
|
|
3559
3549
|
GetProjectDeploymentResponse,
|
|
3560
3550
|
GetProjectDeploymentError,
|
|
3561
3551
|
Credentials | HttpClient.HttpClient
|
|
3562
|
-
> = /*@__PURE__*/
|
|
3552
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3563
3553
|
input: GetProjectDeploymentRequest,
|
|
3564
3554
|
output: GetProjectDeploymentResponse,
|
|
3565
3555
|
errors: [DeploymentNotFound, ProjectNotFound, Forbidden],
|
|
@@ -3576,7 +3566,7 @@ export interface ListProjectDeploymentsRequest {
|
|
|
3576
3566
|
}
|
|
3577
3567
|
|
|
3578
3568
|
export const ListProjectDeploymentsRequest =
|
|
3579
|
-
/*@__PURE__*/
|
|
3569
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3580
3570
|
Schema.Struct({
|
|
3581
3571
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
3582
3572
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3691,7 +3681,7 @@ export interface ListProjectDeploymentsResponse {
|
|
|
3691
3681
|
}
|
|
3692
3682
|
|
|
3693
3683
|
export const ListProjectDeploymentsResponse =
|
|
3694
|
-
/*@__PURE__*/
|
|
3684
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3695
3685
|
Schema.Struct({
|
|
3696
3686
|
result: Schema.Array(Deployment2),
|
|
3697
3687
|
resultInfo: Schema.optional(
|
|
@@ -3707,7 +3697,7 @@ export const listProjectDeployments: API.PaginatedOperationMethod<
|
|
|
3707
3697
|
ListProjectDeploymentsResponse,
|
|
3708
3698
|
ListProjectDeploymentsError,
|
|
3709
3699
|
Credentials | HttpClient.HttpClient
|
|
3710
|
-
> = /*@__PURE__*/
|
|
3700
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3711
3701
|
input: ListProjectDeploymentsRequest,
|
|
3712
3702
|
output: ListProjectDeploymentsResponse,
|
|
3713
3703
|
errors: [],
|
|
@@ -3753,7 +3743,7 @@ export interface CreateProjectDeploymentRequest {
|
|
|
3753
3743
|
}
|
|
3754
3744
|
|
|
3755
3745
|
export const CreateProjectDeploymentRequest =
|
|
3756
|
-
/*@__PURE__*/
|
|
3746
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3757
3747
|
Schema.Struct({
|
|
3758
3748
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
3759
3749
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3903,7 +3893,7 @@ export interface CreateProjectDeploymentResponse {
|
|
|
3903
3893
|
}
|
|
3904
3894
|
|
|
3905
3895
|
export const CreateProjectDeploymentResponse =
|
|
3906
|
-
/*@__PURE__*/
|
|
3896
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3907
3897
|
Schema.Struct({
|
|
3908
3898
|
id: Schema.String,
|
|
3909
3899
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -3965,7 +3955,7 @@ export const createProjectDeployment: API.OperationMethod<
|
|
|
3965
3955
|
CreateProjectDeploymentResponse,
|
|
3966
3956
|
CreateProjectDeploymentError,
|
|
3967
3957
|
Credentials | HttpClient.HttpClient
|
|
3968
|
-
> = /*@__PURE__*/
|
|
3958
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3969
3959
|
input: CreateProjectDeploymentRequest,
|
|
3970
3960
|
output: CreateProjectDeploymentResponse,
|
|
3971
3961
|
errors: [ProjectNotFound, Forbidden],
|
|
@@ -3981,7 +3971,7 @@ export interface DeleteProjectDeploymentRequest {
|
|
|
3981
3971
|
}
|
|
3982
3972
|
|
|
3983
3973
|
export const DeleteProjectDeploymentRequest =
|
|
3984
|
-
/*@__PURE__*/
|
|
3974
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3985
3975
|
Schema.Struct({
|
|
3986
3976
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
3987
3977
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
@@ -3998,7 +3988,7 @@ export const DeleteProjectDeploymentRequest =
|
|
|
3998
3988
|
export type DeleteProjectDeploymentResponse = unknown;
|
|
3999
3989
|
|
|
4000
3990
|
export const DeleteProjectDeploymentResponse =
|
|
4001
|
-
/*@__PURE__*/
|
|
3991
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4002
3992
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
4003
3993
|
) as unknown as Schema.Codec<DeleteProjectDeploymentResponse>;
|
|
4004
3994
|
|
|
@@ -4014,7 +4004,7 @@ export const deleteProjectDeployment: API.OperationMethod<
|
|
|
4014
4004
|
DeleteProjectDeploymentResponse,
|
|
4015
4005
|
DeleteProjectDeploymentError,
|
|
4016
4006
|
Credentials | HttpClient.HttpClient
|
|
4017
|
-
> = /*@__PURE__*/
|
|
4007
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4018
4008
|
input: DeleteProjectDeploymentRequest,
|
|
4019
4009
|
output: DeleteProjectDeploymentResponse,
|
|
4020
4010
|
errors: [
|
|
@@ -4033,7 +4023,7 @@ export interface RetryProjectDeploymentRequest {
|
|
|
4033
4023
|
}
|
|
4034
4024
|
|
|
4035
4025
|
export const RetryProjectDeploymentRequest =
|
|
4036
|
-
/*@__PURE__*/
|
|
4026
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4037
4027
|
Schema.Struct({
|
|
4038
4028
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4039
4029
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
@@ -4150,7 +4140,7 @@ export interface RetryProjectDeploymentResponse {
|
|
|
4150
4140
|
}
|
|
4151
4141
|
|
|
4152
4142
|
export const RetryProjectDeploymentResponse =
|
|
4153
|
-
/*@__PURE__*/
|
|
4143
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4154
4144
|
Schema.Struct({
|
|
4155
4145
|
id: Schema.String,
|
|
4156
4146
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -4209,7 +4199,7 @@ export const retryProjectDeployment: API.OperationMethod<
|
|
|
4209
4199
|
RetryProjectDeploymentResponse,
|
|
4210
4200
|
RetryProjectDeploymentError,
|
|
4211
4201
|
Credentials | HttpClient.HttpClient
|
|
4212
|
-
> = /*@__PURE__*/
|
|
4202
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4213
4203
|
input: RetryProjectDeploymentRequest,
|
|
4214
4204
|
output: RetryProjectDeploymentResponse,
|
|
4215
4205
|
errors: [],
|
|
@@ -4223,7 +4213,7 @@ export interface RollbackProjectDeploymentRequest {
|
|
|
4223
4213
|
}
|
|
4224
4214
|
|
|
4225
4215
|
export const RollbackProjectDeploymentRequest =
|
|
4226
|
-
/*@__PURE__*/
|
|
4216
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4227
4217
|
Schema.Struct({
|
|
4228
4218
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4229
4219
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
@@ -4340,7 +4330,7 @@ export interface RollbackProjectDeploymentResponse {
|
|
|
4340
4330
|
}
|
|
4341
4331
|
|
|
4342
4332
|
export const RollbackProjectDeploymentResponse =
|
|
4343
|
-
/*@__PURE__*/
|
|
4333
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4344
4334
|
Schema.Struct({
|
|
4345
4335
|
id: Schema.String,
|
|
4346
4336
|
aliases: Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -4399,7 +4389,7 @@ export const rollbackProjectDeployment: API.OperationMethod<
|
|
|
4399
4389
|
RollbackProjectDeploymentResponse,
|
|
4400
4390
|
RollbackProjectDeploymentError,
|
|
4401
4391
|
Credentials | HttpClient.HttpClient
|
|
4402
|
-
> = /*@__PURE__*/
|
|
4392
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4403
4393
|
input: RollbackProjectDeploymentRequest,
|
|
4404
4394
|
output: RollbackProjectDeploymentResponse,
|
|
4405
4395
|
errors: [],
|
|
@@ -4417,7 +4407,7 @@ export interface GetProjectDeploymentHistoryLogRequest {
|
|
|
4417
4407
|
}
|
|
4418
4408
|
|
|
4419
4409
|
export const GetProjectDeploymentHistoryLogRequest =
|
|
4420
|
-
/*@__PURE__*/
|
|
4410
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4421
4411
|
Schema.Struct({
|
|
4422
4412
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4423
4413
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
@@ -4437,7 +4427,7 @@ export interface GetProjectDeploymentHistoryLogResponse {
|
|
|
4437
4427
|
}
|
|
4438
4428
|
|
|
4439
4429
|
export const GetProjectDeploymentHistoryLogResponse =
|
|
4440
|
-
/*@__PURE__*/
|
|
4430
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4441
4431
|
Schema.Struct({
|
|
4442
4432
|
data: Schema.Array(Data),
|
|
4443
4433
|
includesContainerLogs: Schema.Boolean,
|
|
@@ -4460,7 +4450,7 @@ export const getProjectDeploymentHistoryLog: API.OperationMethod<
|
|
|
4460
4450
|
GetProjectDeploymentHistoryLogResponse,
|
|
4461
4451
|
GetProjectDeploymentHistoryLogError,
|
|
4462
4452
|
Credentials | HttpClient.HttpClient
|
|
4463
|
-
> = /*@__PURE__*/
|
|
4453
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4464
4454
|
input: GetProjectDeploymentHistoryLogRequest,
|
|
4465
4455
|
output: GetProjectDeploymentHistoryLogResponse,
|
|
4466
4456
|
errors: [],
|
|
@@ -4478,7 +4468,7 @@ export interface GetProjectDomainRequest {
|
|
|
4478
4468
|
}
|
|
4479
4469
|
|
|
4480
4470
|
export const GetProjectDomainRequest =
|
|
4481
|
-
/*@__PURE__*/
|
|
4471
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4482
4472
|
Schema.Struct({
|
|
4483
4473
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4484
4474
|
domainName: Schema.String.pipe(T.HttpPath("domainName")),
|
|
@@ -4527,7 +4517,7 @@ export interface GetProjectDomainResponse {
|
|
|
4527
4517
|
}
|
|
4528
4518
|
|
|
4529
4519
|
export const GetProjectDomainResponse =
|
|
4530
|
-
/*@__PURE__*/
|
|
4520
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4531
4521
|
Schema.Struct({
|
|
4532
4522
|
id: Schema.String,
|
|
4533
4523
|
certificateAuthority: Schema.optional(
|
|
@@ -4586,7 +4576,7 @@ export const getProjectDomain: API.OperationMethod<
|
|
|
4586
4576
|
GetProjectDomainResponse,
|
|
4587
4577
|
GetProjectDomainError,
|
|
4588
4578
|
Credentials | HttpClient.HttpClient
|
|
4589
|
-
> = /*@__PURE__*/
|
|
4579
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4590
4580
|
input: GetProjectDomainRequest,
|
|
4591
4581
|
output: GetProjectDomainResponse,
|
|
4592
4582
|
errors: [ProjectNotFound, PagesDomainNotFound, Forbidden],
|
|
@@ -4599,7 +4589,7 @@ export interface ListProjectDomainsRequest {
|
|
|
4599
4589
|
}
|
|
4600
4590
|
|
|
4601
4591
|
export const ListProjectDomainsRequest =
|
|
4602
|
-
/*@__PURE__*/
|
|
4592
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4603
4593
|
Schema.Struct({
|
|
4604
4594
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4605
4595
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4654,7 +4644,7 @@ export interface ListProjectDomainsResponse {
|
|
|
4654
4644
|
}
|
|
4655
4645
|
|
|
4656
4646
|
export const ListProjectDomainsResponse =
|
|
4657
|
-
/*@__PURE__*/
|
|
4647
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4658
4648
|
Schema.Struct({
|
|
4659
4649
|
result: Schema.Array(ListProjectDomainsResponseResult),
|
|
4660
4650
|
}),
|
|
@@ -4670,7 +4660,7 @@ export const listProjectDomains: API.PaginatedOperationMethod<
|
|
|
4670
4660
|
ListProjectDomainsResponse,
|
|
4671
4661
|
ListProjectDomainsError,
|
|
4672
4662
|
Credentials | HttpClient.HttpClient
|
|
4673
|
-
> = /*@__PURE__*/
|
|
4663
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
4674
4664
|
input: ListProjectDomainsRequest,
|
|
4675
4665
|
output: ListProjectDomainsResponse,
|
|
4676
4666
|
errors: [ProjectNotFound, Forbidden],
|
|
@@ -4689,7 +4679,7 @@ export interface CreateProjectDomainRequest {
|
|
|
4689
4679
|
}
|
|
4690
4680
|
|
|
4691
4681
|
export const CreateProjectDomainRequest =
|
|
4692
|
-
/*@__PURE__*/
|
|
4682
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4693
4683
|
Schema.Struct({
|
|
4694
4684
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4695
4685
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4738,7 +4728,7 @@ export interface CreateProjectDomainResponse {
|
|
|
4738
4728
|
}
|
|
4739
4729
|
|
|
4740
4730
|
export const CreateProjectDomainResponse =
|
|
4741
|
-
/*@__PURE__*/
|
|
4731
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4742
4732
|
Schema.Struct({
|
|
4743
4733
|
id: Schema.String,
|
|
4744
4734
|
certificateAuthority: Schema.optional(
|
|
@@ -4797,7 +4787,7 @@ export const createProjectDomain: API.OperationMethod<
|
|
|
4797
4787
|
CreateProjectDomainResponse,
|
|
4798
4788
|
CreateProjectDomainError,
|
|
4799
4789
|
Credentials | HttpClient.HttpClient
|
|
4800
|
-
> = /*@__PURE__*/
|
|
4790
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4801
4791
|
input: CreateProjectDomainRequest,
|
|
4802
4792
|
output: CreateProjectDomainResponse,
|
|
4803
4793
|
errors: [ProjectNotFound, PagesDomainAlreadyExists, Forbidden],
|
|
@@ -4811,7 +4801,7 @@ export interface PatchProjectDomainRequest {
|
|
|
4811
4801
|
}
|
|
4812
4802
|
|
|
4813
4803
|
export const PatchProjectDomainRequest =
|
|
4814
|
-
/*@__PURE__*/
|
|
4804
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4815
4805
|
Schema.Struct({
|
|
4816
4806
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4817
4807
|
domainName: Schema.String.pipe(T.HttpPath("domainName")),
|
|
@@ -4860,7 +4850,7 @@ export interface PatchProjectDomainResponse {
|
|
|
4860
4850
|
}
|
|
4861
4851
|
|
|
4862
4852
|
export const PatchProjectDomainResponse =
|
|
4863
|
-
/*@__PURE__*/
|
|
4853
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4864
4854
|
Schema.Struct({
|
|
4865
4855
|
id: Schema.String,
|
|
4866
4856
|
certificateAuthority: Schema.optional(
|
|
@@ -4919,7 +4909,7 @@ export const patchProjectDomain: API.OperationMethod<
|
|
|
4919
4909
|
PatchProjectDomainResponse,
|
|
4920
4910
|
PatchProjectDomainError,
|
|
4921
4911
|
Credentials | HttpClient.HttpClient
|
|
4922
|
-
> = /*@__PURE__*/
|
|
4912
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4923
4913
|
input: PatchProjectDomainRequest,
|
|
4924
4914
|
output: PatchProjectDomainResponse,
|
|
4925
4915
|
errors: [ProjectNotFound, PagesDomainNotFound, Forbidden],
|
|
@@ -4933,7 +4923,7 @@ export interface DeleteProjectDomainRequest {
|
|
|
4933
4923
|
}
|
|
4934
4924
|
|
|
4935
4925
|
export const DeleteProjectDomainRequest =
|
|
4936
|
-
/*@__PURE__*/
|
|
4926
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4937
4927
|
Schema.Struct({
|
|
4938
4928
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4939
4929
|
domainName: Schema.String.pipe(T.HttpPath("domainName")),
|
|
@@ -4949,7 +4939,7 @@ export const DeleteProjectDomainRequest =
|
|
|
4949
4939
|
export type DeleteProjectDomainResponse = unknown;
|
|
4950
4940
|
|
|
4951
4941
|
export const DeleteProjectDomainResponse =
|
|
4952
|
-
/*@__PURE__*/
|
|
4942
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4953
4943
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
4954
4944
|
) as unknown as Schema.Codec<DeleteProjectDomainResponse>;
|
|
4955
4945
|
|
|
@@ -4964,7 +4954,7 @@ export const deleteProjectDomain: API.OperationMethod<
|
|
|
4964
4954
|
DeleteProjectDomainResponse,
|
|
4965
4955
|
DeleteProjectDomainError,
|
|
4966
4956
|
Credentials | HttpClient.HttpClient
|
|
4967
|
-
> = /*@__PURE__*/
|
|
4957
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4968
4958
|
input: DeleteProjectDomainRequest,
|
|
4969
4959
|
output: DeleteProjectDomainResponse,
|
|
4970
4960
|
errors: [ProjectNotFound, PagesDomainNotFound, Forbidden],
|