@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
|
@@ -55,7 +55,7 @@ export class ZonePurged extends T.applyErrorMatchers(Schema.TaggedErrorClass()("
|
|
|
55
55
|
}), [{ code: 10410 }]) {
|
|
56
56
|
}
|
|
57
57
|
const ApishieldAuthIDCharacteristic =
|
|
58
|
-
/*@__PURE__*/
|
|
58
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
59
59
|
name: Schema.String,
|
|
60
60
|
type: Schema.Union([
|
|
61
61
|
Schema.Literals(["header", "cookie"]),
|
|
@@ -63,11 +63,11 @@ const ApishieldAuthIDCharacteristic =
|
|
|
63
63
|
]),
|
|
64
64
|
}));
|
|
65
65
|
const ApishieldAuthIDCharacteristicJWTClaim =
|
|
66
|
-
/*@__PURE__*/
|
|
66
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
67
67
|
name: Schema.String,
|
|
68
68
|
type: Schema.Literal("jwt"),
|
|
69
69
|
}));
|
|
70
|
-
const TrafficStats = /*@__PURE__*/
|
|
70
|
+
const TrafficStats = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
71
71
|
lastUpdated: Schema.String,
|
|
72
72
|
periodSeconds: Schema.Number,
|
|
73
73
|
requests: Schema.Number,
|
|
@@ -76,10 +76,10 @@ const TrafficStats = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
76
76
|
periodSeconds: "period_seconds",
|
|
77
77
|
requests: "requests",
|
|
78
78
|
})));
|
|
79
|
-
const Features = /*@__PURE__*/
|
|
79
|
+
const Features = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
80
80
|
trafficStats: Schema.optional(Schema.Union([TrafficStats, Schema.Null])),
|
|
81
81
|
}).pipe(Schema.encodeKeys({ trafficStats: "traffic_stats" })));
|
|
82
|
-
const DiscoveryOperation = /*@__PURE__*/
|
|
82
|
+
const DiscoveryOperation = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
83
83
|
id: Schema.String,
|
|
84
84
|
endpoint: Schema.String,
|
|
85
85
|
host: Schema.String,
|
|
@@ -118,7 +118,7 @@ const DiscoveryOperation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
118
118
|
features: "features",
|
|
119
119
|
})));
|
|
120
120
|
const ListDiscoveryOperationsResponseResultInfo =
|
|
121
|
-
/*@__PURE__*/
|
|
121
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
122
122
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
123
123
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
124
124
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -129,16 +129,13 @@ const ListDiscoveryOperationsResponseResultInfo =
|
|
|
129
129
|
perPage: "per_page",
|
|
130
130
|
totalCount: "total_count",
|
|
131
131
|
})));
|
|
132
|
-
const ListLabelsResponseResult = /*@__PURE__*/
|
|
132
|
+
const ListLabelsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
133
133
|
createdAt: Schema.String,
|
|
134
134
|
description: Schema.String,
|
|
135
135
|
lastUpdated: Schema.String,
|
|
136
136
|
metadata: Schema.Unknown,
|
|
137
137
|
name: Schema.String,
|
|
138
|
-
source: Schema.Union([
|
|
139
|
-
Schema.Literals(["user", "managed"]),
|
|
140
|
-
Schema.String,
|
|
141
|
-
]),
|
|
138
|
+
source: Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
|
|
142
139
|
mappedResources: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
143
140
|
}).pipe(Schema.encodeKeys({
|
|
144
141
|
createdAt: "created_at",
|
|
@@ -149,19 +146,19 @@ const ListLabelsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
149
146
|
source: "source",
|
|
150
147
|
mappedResources: "mapped_resources",
|
|
151
148
|
})));
|
|
152
|
-
const Include = /*@__PURE__*/
|
|
149
|
+
const Include = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
153
150
|
operationIds: Schema.Array(Schema.String),
|
|
154
151
|
}).pipe(Schema.encodeKeys({ operationIds: "operation_ids" })));
|
|
155
|
-
const Selector = /*@__PURE__*/
|
|
152
|
+
const Selector = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
156
153
|
include: Include,
|
|
157
154
|
}));
|
|
158
|
-
const Body = /*@__PURE__*/
|
|
155
|
+
const Body = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
159
156
|
name: Schema.String,
|
|
160
157
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
161
158
|
metadata: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
162
159
|
}));
|
|
163
160
|
const BulkCreateLabelUsersResponseResult =
|
|
164
|
-
/*@__PURE__*/
|
|
161
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
165
162
|
createdAt: Schema.String,
|
|
166
163
|
description: Schema.String,
|
|
167
164
|
lastUpdated: Schema.String,
|
|
@@ -179,7 +176,7 @@ const BulkCreateLabelUsersResponseResult =
|
|
|
179
176
|
name: "name",
|
|
180
177
|
source: "source",
|
|
181
178
|
})));
|
|
182
|
-
const Thresholds = /*@__PURE__*/
|
|
179
|
+
const Thresholds = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
183
180
|
authIdTokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
184
181
|
dataPoints: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
185
182
|
lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -201,14 +198,14 @@ const Thresholds = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
201
198
|
suggestedThreshold: "suggested_threshold",
|
|
202
199
|
})));
|
|
203
200
|
const ApishieldOperationFeatureThresholds =
|
|
204
|
-
/*@__PURE__*/
|
|
201
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
205
202
|
thresholds: Schema.optional(Schema.Union([Thresholds, Schema.Null])),
|
|
206
203
|
}));
|
|
207
|
-
const ParameterSchemas = /*@__PURE__*/
|
|
204
|
+
const ParameterSchemas = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
208
205
|
parameters: Schema.optional(Schema.Union([Schema.Array(Schema.Unknown), Schema.Null])),
|
|
209
206
|
responses: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
210
207
|
}));
|
|
211
|
-
const ParameterSchemas2 = /*@__PURE__*/
|
|
208
|
+
const ParameterSchemas2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
212
209
|
lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
213
210
|
parameterSchemas: Schema.optional(Schema.Union([ParameterSchemas, Schema.Null])),
|
|
214
211
|
}).pipe(Schema.encodeKeys({
|
|
@@ -216,34 +213,34 @@ const ParameterSchemas2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schem
|
|
|
216
213
|
parameterSchemas: "parameter_schemas",
|
|
217
214
|
})));
|
|
218
215
|
const ApishieldOperationFeatureParameterSchemas =
|
|
219
|
-
/*@__PURE__*/
|
|
216
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
220
217
|
parameterSchemas: ParameterSchemas2,
|
|
221
218
|
}).pipe(Schema.encodeKeys({ parameterSchemas: "parameter_schemas" })));
|
|
222
|
-
const Apirouting = /*@__PURE__*/
|
|
219
|
+
const Apirouting = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
223
220
|
lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
224
221
|
route: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
225
222
|
}).pipe(Schema.encodeKeys({ lastUpdated: "last_updated", route: "route" })));
|
|
226
223
|
const ApishieldOperationFeatureAPIRouting =
|
|
227
|
-
/*@__PURE__*/
|
|
224
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
228
225
|
apiRouting: Schema.optional(Schema.Union([Apirouting, Schema.Null])),
|
|
229
226
|
}).pipe(Schema.encodeKeys({ apiRouting: "api_routing" })));
|
|
230
|
-
const P90 = /*@__PURE__*/
|
|
227
|
+
const P90 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
231
228
|
lower: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
232
229
|
upper: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
233
230
|
}));
|
|
234
|
-
const ConfidenceIntervals = /*@__PURE__*/
|
|
231
|
+
const ConfidenceIntervals = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
235
232
|
p90: Schema.optional(Schema.Union([P90, Schema.Null])),
|
|
236
233
|
p95: Schema.optional(Schema.Union([P90, Schema.Null])),
|
|
237
234
|
p99: Schema.optional(Schema.Union([P90, Schema.Null])),
|
|
238
235
|
}));
|
|
239
|
-
const SuggestedThreshold = /*@__PURE__*/
|
|
236
|
+
const SuggestedThreshold = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
240
237
|
confidenceIntervals: Schema.optional(Schema.Union([ConfidenceIntervals, Schema.Null])),
|
|
241
238
|
mean: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
242
239
|
}).pipe(Schema.encodeKeys({
|
|
243
240
|
confidenceIntervals: "confidence_intervals",
|
|
244
241
|
mean: "mean",
|
|
245
242
|
})));
|
|
246
|
-
const ConfidenceIntervals2 = /*@__PURE__*/
|
|
243
|
+
const ConfidenceIntervals2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
247
244
|
lastUpdated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
248
245
|
suggestedThreshold: Schema.optional(Schema.Union([SuggestedThreshold, Schema.Null])),
|
|
249
246
|
}).pipe(Schema.encodeKeys({
|
|
@@ -251,10 +248,10 @@ const ConfidenceIntervals2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
|
|
|
251
248
|
suggestedThreshold: "suggested_threshold",
|
|
252
249
|
})));
|
|
253
250
|
const ApishieldOperationFeatureConfidenceIntervals =
|
|
254
|
-
/*@__PURE__*/
|
|
251
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
255
252
|
confidenceIntervals: Schema.optional(Schema.Union([ConfidenceIntervals2, Schema.Null])),
|
|
256
253
|
}).pipe(Schema.encodeKeys({ confidenceIntervals: "confidence_intervals" })));
|
|
257
|
-
const ActiveSchema = /*@__PURE__*/
|
|
254
|
+
const ActiveSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
258
255
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
259
256
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
260
257
|
isLearned: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -265,7 +262,7 @@ const ActiveSchema = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
265
262
|
isLearned: "is_learned",
|
|
266
263
|
name: "name",
|
|
267
264
|
})));
|
|
268
|
-
const SchemaInfo = /*@__PURE__*/
|
|
265
|
+
const SchemaInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
269
266
|
activeSchema: Schema.optional(Schema.Union([ActiveSchema, Schema.Null])),
|
|
270
267
|
learnedAvailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
271
268
|
mitigationAction: Schema.optional(Schema.Union([
|
|
@@ -280,21 +277,21 @@ const SchemaInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
280
277
|
mitigationAction: "mitigation_action",
|
|
281
278
|
})));
|
|
282
279
|
const ApishieldOperationFeatureSchemaInfo =
|
|
283
|
-
/*@__PURE__*/
|
|
280
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
284
281
|
schemaInfo: Schema.optional(Schema.Union([SchemaInfo, Schema.Null])),
|
|
285
282
|
}).pipe(Schema.encodeKeys({ schemaInfo: "schema_info" })));
|
|
286
|
-
const Learned = /*@__PURE__*/
|
|
283
|
+
const Learned = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
287
284
|
parameters: Schema.optional(Schema.Union([
|
|
288
285
|
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
289
286
|
Schema.Null,
|
|
290
287
|
])),
|
|
291
288
|
requestBody: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
292
289
|
}));
|
|
293
|
-
const Schemas = /*@__PURE__*/
|
|
290
|
+
const Schemas = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
294
291
|
learned: Schema.optional(Schema.Union([Learned, Schema.Null])),
|
|
295
292
|
uploaded: Schema.optional(Schema.Union([Learned, Schema.Null])),
|
|
296
293
|
}));
|
|
297
|
-
const ListOperationsResponseResult = /*@__PURE__*/
|
|
294
|
+
const ListOperationsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
298
295
|
endpoint: Schema.String,
|
|
299
296
|
host: Schema.String,
|
|
300
297
|
lastUpdated: Schema.String,
|
|
@@ -331,10 +328,10 @@ const ListOperationsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
331
328
|
operationId: "operation_id",
|
|
332
329
|
features: "features",
|
|
333
330
|
})));
|
|
334
|
-
const Source = /*@__PURE__*/
|
|
331
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
335
332
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
336
333
|
}));
|
|
337
|
-
const MessageItem = /*@__PURE__*/
|
|
334
|
+
const MessageItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
338
335
|
code: Schema.Number,
|
|
339
336
|
message: Schema.String,
|
|
340
337
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -345,7 +342,7 @@ const MessageItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
345
342
|
documentationUrl: "documentation_url",
|
|
346
343
|
source: "source",
|
|
347
344
|
})));
|
|
348
|
-
const Body2 = /*@__PURE__*/
|
|
345
|
+
const Body2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
349
346
|
endpoint: Schema.String,
|
|
350
347
|
host: Schema.String,
|
|
351
348
|
method: Schema.Union([
|
|
@@ -363,11 +360,11 @@ const Body2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
363
360
|
Schema.String,
|
|
364
361
|
]),
|
|
365
362
|
}));
|
|
366
|
-
const Managed = /*@__PURE__*/
|
|
363
|
+
const Managed = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
367
364
|
labels: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
368
365
|
}));
|
|
369
366
|
const BulkCreateOperationLabelsResponseResult =
|
|
370
|
-
/*@__PURE__*/
|
|
367
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
371
368
|
endpoint: Schema.String,
|
|
372
369
|
host: Schema.String,
|
|
373
370
|
lastUpdated: Schema.String,
|
|
@@ -398,11 +395,11 @@ const BulkCreateOperationLabelsResponseResult =
|
|
|
398
395
|
operationId: "operation_id",
|
|
399
396
|
labels: "labels",
|
|
400
397
|
})));
|
|
401
|
-
const Managed2 = /*@__PURE__*/
|
|
398
|
+
const Managed2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
402
399
|
labels: Schema.Array(Schema.String),
|
|
403
400
|
}));
|
|
404
401
|
const ListUserSchemasResponseResult =
|
|
405
|
-
/*@__PURE__*/
|
|
402
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
406
403
|
createdAt: Schema.String,
|
|
407
404
|
kind: Schema.Literal("openapi_v3"),
|
|
408
405
|
name: Schema.String,
|
|
@@ -417,16 +414,16 @@ const ListUserSchemasResponseResult =
|
|
|
417
414
|
source: "source",
|
|
418
415
|
validationEnabled: "validation_enabled",
|
|
419
416
|
})));
|
|
420
|
-
const Warning = /*@__PURE__*/
|
|
417
|
+
const Warning = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
421
418
|
code: Schema.Number,
|
|
422
419
|
locations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
423
420
|
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
424
421
|
}));
|
|
425
|
-
const UploadDetails = /*@__PURE__*/
|
|
422
|
+
const UploadDetails = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
426
423
|
warnings: Schema.optional(Schema.Union([Schema.Array(Warning), Schema.Null])),
|
|
427
424
|
}));
|
|
428
425
|
const ListUserSchemaHostsResponseResult =
|
|
429
|
-
/*@__PURE__*/
|
|
426
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
430
427
|
createdAt: Schema.String,
|
|
431
428
|
hosts: Schema.Array(Schema.String),
|
|
432
429
|
name: Schema.String,
|
|
@@ -438,7 +435,7 @@ const ListUserSchemaHostsResponseResult =
|
|
|
438
435
|
schemaId: "schema_id",
|
|
439
436
|
})));
|
|
440
437
|
export const GetConfigurationRequest =
|
|
441
|
-
/*@__PURE__*/
|
|
438
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
442
439
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
443
440
|
normalize: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("normalize")),
|
|
444
441
|
}).pipe(T.Http({
|
|
@@ -446,7 +443,7 @@ export const GetConfigurationRequest =
|
|
|
446
443
|
path: "/zones/{zone_id}/api_gateway/configuration",
|
|
447
444
|
})));
|
|
448
445
|
export const GetConfigurationResponse =
|
|
449
|
-
/*@__PURE__*/
|
|
446
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
450
447
|
authIdCharacteristics: Schema.Array(Schema.Union([
|
|
451
448
|
ApishieldAuthIDCharacteristic,
|
|
452
449
|
ApishieldAuthIDCharacteristicJWTClaim,
|
|
@@ -454,13 +451,13 @@ export const GetConfigurationResponse =
|
|
|
454
451
|
})
|
|
455
452
|
.pipe(Schema.encodeKeys({ authIdCharacteristics: "auth_id_characteristics" }))
|
|
456
453
|
.pipe(T.ResponsePath("result")));
|
|
457
|
-
export const getConfiguration = /*@__PURE__*/
|
|
454
|
+
export const getConfiguration = /*@__PURE__*/ API.make(() => ({
|
|
458
455
|
input: GetConfigurationRequest,
|
|
459
456
|
output: GetConfigurationResponse,
|
|
460
457
|
errors: [InvalidObjectIdentifier, NotEntitled, Forbidden],
|
|
461
458
|
}));
|
|
462
459
|
export const PutConfigurationRequest =
|
|
463
|
-
/*@__PURE__*/
|
|
460
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
464
461
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
465
462
|
normalize: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("normalize")),
|
|
466
463
|
authIdCharacteristics: Schema.Array(Schema.Union([
|
|
@@ -472,7 +469,7 @@ export const PutConfigurationRequest =
|
|
|
472
469
|
path: "/zones/{zone_id}/api_gateway/configuration",
|
|
473
470
|
})));
|
|
474
471
|
export const PutConfigurationResponse =
|
|
475
|
-
/*@__PURE__*/
|
|
472
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
476
473
|
authIdCharacteristics: Schema.Array(Schema.Union([
|
|
477
474
|
ApishieldAuthIDCharacteristic,
|
|
478
475
|
ApishieldAuthIDCharacteristicJWTClaim,
|
|
@@ -480,25 +477,25 @@ export const PutConfigurationResponse =
|
|
|
480
477
|
})
|
|
481
478
|
.pipe(Schema.encodeKeys({ authIdCharacteristics: "auth_id_characteristics" }))
|
|
482
479
|
.pipe(T.ResponsePath("result")));
|
|
483
|
-
export const putConfiguration = /*@__PURE__*/
|
|
480
|
+
export const putConfiguration = /*@__PURE__*/ API.make(() => ({
|
|
484
481
|
input: PutConfigurationRequest,
|
|
485
482
|
output: PutConfigurationResponse,
|
|
486
483
|
errors: [InvalidObjectIdentifier, NotEntitled, Forbidden],
|
|
487
484
|
}));
|
|
488
|
-
export const GetDiscoveryRequest = /*@__PURE__*/
|
|
485
|
+
export const GetDiscoveryRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
489
486
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
490
487
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/discovery" })));
|
|
491
|
-
export const GetDiscoveryResponse = /*@__PURE__*/
|
|
488
|
+
export const GetDiscoveryResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
492
489
|
schemas: Schema.Array(Schema.Unknown),
|
|
493
490
|
timestamp: Schema.String,
|
|
494
491
|
}).pipe(T.ResponsePath("result")));
|
|
495
|
-
export const getDiscovery = /*@__PURE__*/
|
|
492
|
+
export const getDiscovery = /*@__PURE__*/ API.make(() => ({
|
|
496
493
|
input: GetDiscoveryRequest,
|
|
497
494
|
output: GetDiscoveryResponse,
|
|
498
495
|
errors: [InvalidObjectIdentifier, NotEntitled],
|
|
499
496
|
}));
|
|
500
497
|
export const ListDiscoveryOperationsRequest =
|
|
501
|
-
/*@__PURE__*/
|
|
498
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
502
499
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
503
500
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
504
501
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -530,11 +527,11 @@ export const ListDiscoveryOperationsRequest =
|
|
|
530
527
|
path: "/zones/{zone_id}/api_gateway/discovery/operations",
|
|
531
528
|
})));
|
|
532
529
|
export const ListDiscoveryOperationsResponse =
|
|
533
|
-
/*@__PURE__*/
|
|
530
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
534
531
|
result: Schema.Array(DiscoveryOperation),
|
|
535
532
|
resultInfo: Schema.optional(Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null])),
|
|
536
533
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
537
|
-
export const listDiscoveryOperations = /*@__PURE__*/
|
|
534
|
+
export const listDiscoveryOperations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
538
535
|
input: ListDiscoveryOperationsRequest,
|
|
539
536
|
output: ListDiscoveryOperationsResponse,
|
|
540
537
|
errors: [],
|
|
@@ -547,7 +544,7 @@ export const listDiscoveryOperations = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
|
|
|
547
544
|
},
|
|
548
545
|
}));
|
|
549
546
|
export const BulkPatchDiscoveryOperationsRequest =
|
|
550
|
-
/*@__PURE__*/
|
|
547
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
551
548
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
552
549
|
body: Schema.Record(Schema.String, Schema.Unknown).pipe(T.HttpBody()),
|
|
553
550
|
}).pipe(T.Http({
|
|
@@ -555,14 +552,14 @@ export const BulkPatchDiscoveryOperationsRequest =
|
|
|
555
552
|
path: "/zones/{zone_id}/api_gateway/discovery/operations",
|
|
556
553
|
})));
|
|
557
554
|
export const BulkPatchDiscoveryOperationsResponse =
|
|
558
|
-
/*@__PURE__*/
|
|
559
|
-
export const bulkPatchDiscoveryOperations = /*@__PURE__*/
|
|
555
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
|
|
556
|
+
export const bulkPatchDiscoveryOperations = /*@__PURE__*/ API.make(() => ({
|
|
560
557
|
input: BulkPatchDiscoveryOperationsRequest,
|
|
561
558
|
output: BulkPatchDiscoveryOperationsResponse,
|
|
562
559
|
errors: [InvalidObjectIdentifier, NotEntitled],
|
|
563
560
|
}));
|
|
564
561
|
export const CreateExpressionTemplateFallthroughRequest =
|
|
565
|
-
/*@__PURE__*/
|
|
562
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
566
563
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
567
564
|
hosts: Schema.Array(Schema.String),
|
|
568
565
|
}).pipe(T.Http({
|
|
@@ -570,16 +567,16 @@ export const CreateExpressionTemplateFallthroughRequest =
|
|
|
570
567
|
path: "/zones/{zone_id}/api_gateway/expression-template/fallthrough",
|
|
571
568
|
})));
|
|
572
569
|
export const CreateExpressionTemplateFallthroughResponse =
|
|
573
|
-
/*@__PURE__*/
|
|
570
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
574
571
|
expression: Schema.String,
|
|
575
572
|
title: Schema.String,
|
|
576
573
|
}).pipe(T.ResponsePath("result")));
|
|
577
|
-
export const createExpressionTemplateFallthrough = /*@__PURE__*/
|
|
574
|
+
export const createExpressionTemplateFallthrough = /*@__PURE__*/ API.make(() => ({
|
|
578
575
|
input: CreateExpressionTemplateFallthroughRequest,
|
|
579
576
|
output: CreateExpressionTemplateFallthroughResponse,
|
|
580
577
|
errors: [InvalidObjectIdentifier],
|
|
581
578
|
}));
|
|
582
|
-
export const ListLabelsRequest = /*@__PURE__*/
|
|
579
|
+
export const ListLabelsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
583
580
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
584
581
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
585
582
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -598,11 +595,11 @@ export const ListLabelsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
598
595
|
source: Schema.optional(Schema.Union([Schema.Literals(["user", "managed"]), Schema.String])).pipe(T.HttpQuery("source")),
|
|
599
596
|
withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("with_mapped_resource_counts")),
|
|
600
597
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/labels" })));
|
|
601
|
-
export const ListLabelsResponse = /*@__PURE__*/
|
|
598
|
+
export const ListLabelsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
602
599
|
result: Schema.Array(ListLabelsResponseResult),
|
|
603
600
|
resultInfo: Schema.optional(Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null])),
|
|
604
601
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
605
|
-
export const listLabels = /*@__PURE__*/
|
|
602
|
+
export const listLabels = /*@__PURE__*/ API.makePaginated(() => ({
|
|
606
603
|
input: ListLabelsRequest,
|
|
607
604
|
output: ListLabelsResponse,
|
|
608
605
|
errors: [ZonePurged, Forbidden, NotFound],
|
|
@@ -615,7 +612,7 @@ export const listLabels = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
615
612
|
},
|
|
616
613
|
}));
|
|
617
614
|
export const GetLabelManagedRequest =
|
|
618
|
-
/*@__PURE__*/
|
|
615
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
619
616
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
620
617
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
621
618
|
withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("with_mapped_resource_counts")),
|
|
@@ -624,7 +621,7 @@ export const GetLabelManagedRequest =
|
|
|
624
621
|
path: "/zones/{zone_id}/api_gateway/labels/managed/{name}",
|
|
625
622
|
})));
|
|
626
623
|
export const GetLabelManagedResponse =
|
|
627
|
-
/*@__PURE__*/
|
|
624
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
628
625
|
createdAt: Schema.String,
|
|
629
626
|
description: Schema.String,
|
|
630
627
|
lastUpdated: Schema.String,
|
|
@@ -646,13 +643,13 @@ export const GetLabelManagedResponse =
|
|
|
646
643
|
mappedResources: "mapped_resources",
|
|
647
644
|
}))
|
|
648
645
|
.pipe(T.ResponsePath("result")));
|
|
649
|
-
export const getLabelManaged = /*@__PURE__*/
|
|
646
|
+
export const getLabelManaged = /*@__PURE__*/ API.make(() => ({
|
|
650
647
|
input: GetLabelManagedRequest,
|
|
651
648
|
output: GetLabelManagedResponse,
|
|
652
649
|
errors: [],
|
|
653
650
|
}));
|
|
654
651
|
export const PutLabelManagedResourceOperationRequest =
|
|
655
|
-
/*@__PURE__*/
|
|
652
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
656
653
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
657
654
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
658
655
|
selector: Selector,
|
|
@@ -661,7 +658,7 @@ export const PutLabelManagedResourceOperationRequest =
|
|
|
661
658
|
path: "/zones/{zone_id}/api_gateway/labels/managed/{name}/resources/operation",
|
|
662
659
|
})));
|
|
663
660
|
export const PutLabelManagedResourceOperationResponse =
|
|
664
|
-
/*@__PURE__*/
|
|
661
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
665
662
|
createdAt: Schema.String,
|
|
666
663
|
description: Schema.String,
|
|
667
664
|
lastUpdated: Schema.String,
|
|
@@ -683,12 +680,12 @@ export const PutLabelManagedResourceOperationResponse =
|
|
|
683
680
|
mappedResources: "mapped_resources",
|
|
684
681
|
}))
|
|
685
682
|
.pipe(T.ResponsePath("result")));
|
|
686
|
-
export const putLabelManagedResourceOperation = /*@__PURE__*/
|
|
683
|
+
export const putLabelManagedResourceOperation = /*@__PURE__*/ API.make(() => ({
|
|
687
684
|
input: PutLabelManagedResourceOperationRequest,
|
|
688
685
|
output: PutLabelManagedResourceOperationResponse,
|
|
689
686
|
errors: [],
|
|
690
687
|
}));
|
|
691
|
-
export const GetLabelUserRequest = /*@__PURE__*/
|
|
688
|
+
export const GetLabelUserRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
692
689
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
693
690
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
694
691
|
withMappedResourceCounts: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("with_mapped_resource_counts")),
|
|
@@ -696,16 +693,13 @@ export const GetLabelUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
696
693
|
method: "GET",
|
|
697
694
|
path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
|
|
698
695
|
})));
|
|
699
|
-
export const GetLabelUserResponse = /*@__PURE__*/
|
|
696
|
+
export const GetLabelUserResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
700
697
|
createdAt: Schema.String,
|
|
701
698
|
description: Schema.String,
|
|
702
699
|
lastUpdated: Schema.String,
|
|
703
700
|
metadata: Schema.Unknown,
|
|
704
701
|
name: Schema.String,
|
|
705
|
-
source: Schema.Union([
|
|
706
|
-
Schema.Literals(["user", "managed"]),
|
|
707
|
-
Schema.String,
|
|
708
|
-
]),
|
|
702
|
+
source: Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
|
|
709
703
|
mappedResources: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
710
704
|
})
|
|
711
705
|
.pipe(Schema.encodeKeys({
|
|
@@ -718,12 +712,12 @@ export const GetLabelUserResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
718
712
|
mappedResources: "mapped_resources",
|
|
719
713
|
}))
|
|
720
714
|
.pipe(T.ResponsePath("result")));
|
|
721
|
-
export const getLabelUser = /*@__PURE__*/
|
|
715
|
+
export const getLabelUser = /*@__PURE__*/ API.make(() => ({
|
|
722
716
|
input: GetLabelUserRequest,
|
|
723
717
|
output: GetLabelUserResponse,
|
|
724
718
|
errors: [LabelNotFound, Forbidden],
|
|
725
719
|
}));
|
|
726
|
-
export const PutLabelUserRequest = /*@__PURE__*/
|
|
720
|
+
export const PutLabelUserRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
727
721
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
728
722
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
729
723
|
description: Schema.optional(Schema.String),
|
|
@@ -732,16 +726,13 @@ export const PutLabelUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
732
726
|
method: "PUT",
|
|
733
727
|
path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
|
|
734
728
|
})));
|
|
735
|
-
export const PutLabelUserResponse = /*@__PURE__*/
|
|
729
|
+
export const PutLabelUserResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
736
730
|
createdAt: Schema.String,
|
|
737
731
|
description: Schema.String,
|
|
738
732
|
lastUpdated: Schema.String,
|
|
739
733
|
metadata: Schema.Unknown,
|
|
740
734
|
name: Schema.String,
|
|
741
|
-
source: Schema.Union([
|
|
742
|
-
Schema.Literals(["user", "managed"]),
|
|
743
|
-
Schema.String,
|
|
744
|
-
]),
|
|
735
|
+
source: Schema.Union([Schema.Literals(["user", "managed"]), Schema.String]),
|
|
745
736
|
})
|
|
746
737
|
.pipe(Schema.encodeKeys({
|
|
747
738
|
createdAt: "created_at",
|
|
@@ -752,12 +743,12 @@ export const PutLabelUserResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
752
743
|
source: "source",
|
|
753
744
|
}))
|
|
754
745
|
.pipe(T.ResponsePath("result")));
|
|
755
|
-
export const putLabelUser = /*@__PURE__*/
|
|
746
|
+
export const putLabelUser = /*@__PURE__*/ API.make(() => ({
|
|
756
747
|
input: PutLabelUserRequest,
|
|
757
748
|
output: PutLabelUserResponse,
|
|
758
749
|
errors: [LabelNotFound],
|
|
759
750
|
}));
|
|
760
|
-
export const PatchLabelUserRequest = /*@__PURE__*/
|
|
751
|
+
export const PatchLabelUserRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
761
752
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
762
753
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
763
754
|
description: Schema.optional(Schema.String),
|
|
@@ -767,7 +758,7 @@ export const PatchLabelUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
767
758
|
path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
|
|
768
759
|
})));
|
|
769
760
|
export const PatchLabelUserResponse =
|
|
770
|
-
/*@__PURE__*/
|
|
761
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
771
762
|
createdAt: Schema.String,
|
|
772
763
|
description: Schema.String,
|
|
773
764
|
lastUpdated: Schema.String,
|
|
@@ -787,13 +778,13 @@ export const PatchLabelUserResponse =
|
|
|
787
778
|
source: "source",
|
|
788
779
|
}))
|
|
789
780
|
.pipe(T.ResponsePath("result")));
|
|
790
|
-
export const patchLabelUser = /*@__PURE__*/
|
|
781
|
+
export const patchLabelUser = /*@__PURE__*/ API.make(() => ({
|
|
791
782
|
input: PatchLabelUserRequest,
|
|
792
783
|
output: PatchLabelUserResponse,
|
|
793
784
|
errors: [LabelNotFound],
|
|
794
785
|
}));
|
|
795
786
|
export const DeleteLabelUserRequest =
|
|
796
|
-
/*@__PURE__*/
|
|
787
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
797
788
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
798
789
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
799
790
|
}).pipe(T.Http({
|
|
@@ -801,7 +792,7 @@ export const DeleteLabelUserRequest =
|
|
|
801
792
|
path: "/zones/{zone_id}/api_gateway/labels/user/{name}",
|
|
802
793
|
})));
|
|
803
794
|
export const DeleteLabelUserResponse =
|
|
804
|
-
/*@__PURE__*/
|
|
795
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
805
796
|
createdAt: Schema.String,
|
|
806
797
|
description: Schema.String,
|
|
807
798
|
lastUpdated: Schema.String,
|
|
@@ -821,13 +812,13 @@ export const DeleteLabelUserResponse =
|
|
|
821
812
|
source: "source",
|
|
822
813
|
}))
|
|
823
814
|
.pipe(T.ResponsePath("result")));
|
|
824
|
-
export const deleteLabelUser = /*@__PURE__*/
|
|
815
|
+
export const deleteLabelUser = /*@__PURE__*/ API.make(() => ({
|
|
825
816
|
input: DeleteLabelUserRequest,
|
|
826
817
|
output: DeleteLabelUserResponse,
|
|
827
818
|
errors: [LabelNotFound, Forbidden],
|
|
828
819
|
}));
|
|
829
820
|
export const BulkCreateLabelUsersRequest =
|
|
830
|
-
/*@__PURE__*/
|
|
821
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
831
822
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
832
823
|
body: Schema.Array(Body).pipe(T.HttpBody()),
|
|
833
824
|
}).pipe(T.Http({
|
|
@@ -835,10 +826,10 @@ export const BulkCreateLabelUsersRequest =
|
|
|
835
826
|
path: "/zones/{zone_id}/api_gateway/labels/user",
|
|
836
827
|
})));
|
|
837
828
|
export const BulkCreateLabelUsersResponse =
|
|
838
|
-
/*@__PURE__*/
|
|
829
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
839
830
|
result: Schema.Array(BulkCreateLabelUsersResponseResult),
|
|
840
831
|
}));
|
|
841
|
-
export const bulkCreateLabelUsers = /*@__PURE__*/
|
|
832
|
+
export const bulkCreateLabelUsers = /*@__PURE__*/ API.makePaginated(() => ({
|
|
842
833
|
input: BulkCreateLabelUsersRequest,
|
|
843
834
|
output: BulkCreateLabelUsersResponse,
|
|
844
835
|
errors: [LabelAlreadyExists, Forbidden],
|
|
@@ -848,17 +839,17 @@ export const bulkCreateLabelUsers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
848
839
|
},
|
|
849
840
|
}));
|
|
850
841
|
export const BulkDeleteLabelUsersRequest =
|
|
851
|
-
/*@__PURE__*/
|
|
842
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
852
843
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
853
844
|
}).pipe(T.Http({
|
|
854
845
|
method: "DELETE",
|
|
855
846
|
path: "/zones/{zone_id}/api_gateway/labels/user",
|
|
856
847
|
})));
|
|
857
848
|
export const BulkDeleteLabelUsersResponse =
|
|
858
|
-
/*@__PURE__*/
|
|
849
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
859
850
|
result: Schema.Array(BulkCreateLabelUsersResponseResult),
|
|
860
851
|
}));
|
|
861
|
-
export const bulkDeleteLabelUsers = /*@__PURE__*/
|
|
852
|
+
export const bulkDeleteLabelUsers = /*@__PURE__*/ API.makePaginated(() => ({
|
|
862
853
|
input: BulkDeleteLabelUsersRequest,
|
|
863
854
|
output: BulkDeleteLabelUsersResponse,
|
|
864
855
|
errors: [],
|
|
@@ -868,7 +859,7 @@ export const bulkDeleteLabelUsers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
868
859
|
},
|
|
869
860
|
}));
|
|
870
861
|
export const PutLabelUserResourceOperationRequest =
|
|
871
|
-
/*@__PURE__*/
|
|
862
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
872
863
|
name: Schema.String.pipe(T.HttpPath("name")),
|
|
873
864
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
874
865
|
selector: Selector,
|
|
@@ -877,7 +868,7 @@ export const PutLabelUserResourceOperationRequest =
|
|
|
877
868
|
path: "/zones/{zone_id}/api_gateway/labels/user/{name}/resources/operation",
|
|
878
869
|
})));
|
|
879
870
|
export const PutLabelUserResourceOperationResponse =
|
|
880
|
-
/*@__PURE__*/
|
|
871
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
881
872
|
createdAt: Schema.String,
|
|
882
873
|
description: Schema.String,
|
|
883
874
|
lastUpdated: Schema.String,
|
|
@@ -899,12 +890,12 @@ export const PutLabelUserResourceOperationResponse =
|
|
|
899
890
|
mappedResources: "mapped_resources",
|
|
900
891
|
}))
|
|
901
892
|
.pipe(T.ResponsePath("result")));
|
|
902
|
-
export const putLabelUserResourceOperation = /*@__PURE__*/
|
|
893
|
+
export const putLabelUserResourceOperation = /*@__PURE__*/ API.make(() => ({
|
|
903
894
|
input: PutLabelUserResourceOperationRequest,
|
|
904
895
|
output: PutLabelUserResourceOperationResponse,
|
|
905
896
|
errors: [],
|
|
906
897
|
}));
|
|
907
|
-
export const GetOperationRequest = /*@__PURE__*/
|
|
898
|
+
export const GetOperationRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
908
899
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
909
900
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
910
901
|
feature: Schema.optional(Schema.Array(Schema.Union([
|
|
@@ -916,7 +907,7 @@ export const GetOperationRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
916
907
|
method: "GET",
|
|
917
908
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}",
|
|
918
909
|
})));
|
|
919
|
-
export const GetOperationResponse = /*@__PURE__*/
|
|
910
|
+
export const GetOperationResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
920
911
|
endpoint: Schema.String,
|
|
921
912
|
host: Schema.String,
|
|
922
913
|
lastUpdated: Schema.String,
|
|
@@ -957,12 +948,12 @@ export const GetOperationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
957
948
|
schemas: "schemas",
|
|
958
949
|
}))
|
|
959
950
|
.pipe(T.ResponsePath("result")));
|
|
960
|
-
export const getOperation = /*@__PURE__*/
|
|
951
|
+
export const getOperation = /*@__PURE__*/ API.make(() => ({
|
|
961
952
|
input: GetOperationRequest,
|
|
962
953
|
output: GetOperationResponse,
|
|
963
954
|
errors: [InvalidObjectIdentifier, OperationNotFound, Forbidden],
|
|
964
955
|
}));
|
|
965
|
-
export const ListOperationsRequest = /*@__PURE__*/
|
|
956
|
+
export const ListOperationsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
966
957
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
967
958
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
968
959
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -983,11 +974,11 @@ export const ListOperationsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
983
974
|
path: "/zones/{zone_id}/api_gateway/operations",
|
|
984
975
|
})));
|
|
985
976
|
export const ListOperationsResponse =
|
|
986
|
-
/*@__PURE__*/
|
|
977
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
987
978
|
result: Schema.Array(ListOperationsResponseResult),
|
|
988
979
|
resultInfo: Schema.optional(Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null])),
|
|
989
980
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
990
|
-
export const listOperations = /*@__PURE__*/
|
|
981
|
+
export const listOperations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
991
982
|
input: ListOperationsRequest,
|
|
992
983
|
output: ListOperationsResponse,
|
|
993
984
|
errors: [Forbidden],
|
|
@@ -1000,7 +991,7 @@ export const listOperations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
|
|
|
1000
991
|
},
|
|
1001
992
|
}));
|
|
1002
993
|
export const CreateOperationRequest =
|
|
1003
|
-
/*@__PURE__*/
|
|
994
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1004
995
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1005
996
|
endpoint: Schema.String,
|
|
1006
997
|
host: Schema.String,
|
|
@@ -1023,7 +1014,7 @@ export const CreateOperationRequest =
|
|
|
1023
1014
|
path: "/zones/{zone_id}/api_gateway/operations/item",
|
|
1024
1015
|
})));
|
|
1025
1016
|
export const CreateOperationResponse =
|
|
1026
|
-
/*@__PURE__*/
|
|
1017
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1027
1018
|
endpoint: Schema.String,
|
|
1028
1019
|
host: Schema.String,
|
|
1029
1020
|
lastUpdated: Schema.String,
|
|
@@ -1064,13 +1055,13 @@ export const CreateOperationResponse =
|
|
|
1064
1055
|
schemas: "schemas",
|
|
1065
1056
|
}))
|
|
1066
1057
|
.pipe(T.ResponsePath("result")));
|
|
1067
|
-
export const createOperation = /*@__PURE__*/
|
|
1058
|
+
export const createOperation = /*@__PURE__*/ API.make(() => ({
|
|
1068
1059
|
input: CreateOperationRequest,
|
|
1069
1060
|
output: CreateOperationResponse,
|
|
1070
1061
|
errors: [InvalidObjectIdentifier, Forbidden],
|
|
1071
1062
|
}));
|
|
1072
1063
|
export const DeleteOperationRequest =
|
|
1073
|
-
/*@__PURE__*/
|
|
1064
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1074
1065
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
1075
1066
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1076
1067
|
}).pipe(T.Http({
|
|
@@ -1078,18 +1069,18 @@ export const DeleteOperationRequest =
|
|
|
1078
1069
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}",
|
|
1079
1070
|
})));
|
|
1080
1071
|
export const DeleteOperationResponse =
|
|
1081
|
-
/*@__PURE__*/
|
|
1072
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1082
1073
|
errors: Schema.Array(MessageItem),
|
|
1083
1074
|
messages: Schema.Array(MessageItem),
|
|
1084
1075
|
success: Schema.Literal(true),
|
|
1085
1076
|
}));
|
|
1086
|
-
export const deleteOperation = /*@__PURE__*/
|
|
1077
|
+
export const deleteOperation = /*@__PURE__*/ API.make(() => ({
|
|
1087
1078
|
input: DeleteOperationRequest,
|
|
1088
1079
|
output: DeleteOperationResponse,
|
|
1089
1080
|
errors: [InvalidObjectIdentifier, OperationNotFound, Forbidden],
|
|
1090
1081
|
}));
|
|
1091
1082
|
export const BulkCreateOperationsRequest =
|
|
1092
|
-
/*@__PURE__*/
|
|
1083
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1093
1084
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1094
1085
|
body: Schema.Array(Body2).pipe(T.HttpBody()),
|
|
1095
1086
|
}).pipe(T.Http({
|
|
@@ -1097,10 +1088,10 @@ export const BulkCreateOperationsRequest =
|
|
|
1097
1088
|
path: "/zones/{zone_id}/api_gateway/operations",
|
|
1098
1089
|
})));
|
|
1099
1090
|
export const BulkCreateOperationsResponse =
|
|
1100
|
-
/*@__PURE__*/
|
|
1091
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1101
1092
|
result: Schema.Array(ListOperationsResponseResult),
|
|
1102
1093
|
}));
|
|
1103
|
-
export const bulkCreateOperations = /*@__PURE__*/
|
|
1094
|
+
export const bulkCreateOperations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1104
1095
|
input: BulkCreateOperationsRequest,
|
|
1105
1096
|
output: BulkCreateOperationsResponse,
|
|
1106
1097
|
errors: [],
|
|
@@ -1110,25 +1101,25 @@ export const bulkCreateOperations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
1110
1101
|
},
|
|
1111
1102
|
}));
|
|
1112
1103
|
export const BulkDeleteOperationsRequest =
|
|
1113
|
-
/*@__PURE__*/
|
|
1104
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1114
1105
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1115
1106
|
}).pipe(T.Http({
|
|
1116
1107
|
method: "DELETE",
|
|
1117
1108
|
path: "/zones/{zone_id}/api_gateway/operations",
|
|
1118
1109
|
})));
|
|
1119
1110
|
export const BulkDeleteOperationsResponse =
|
|
1120
|
-
/*@__PURE__*/
|
|
1111
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1121
1112
|
errors: Schema.Array(MessageItem),
|
|
1122
1113
|
messages: Schema.Array(MessageItem),
|
|
1123
1114
|
success: Schema.Literal(true),
|
|
1124
1115
|
}));
|
|
1125
|
-
export const bulkDeleteOperations = /*@__PURE__*/
|
|
1116
|
+
export const bulkDeleteOperations = /*@__PURE__*/ API.make(() => ({
|
|
1126
1117
|
input: BulkDeleteOperationsRequest,
|
|
1127
1118
|
output: BulkDeleteOperationsResponse,
|
|
1128
1119
|
errors: [InvalidObjectIdentifier],
|
|
1129
1120
|
}));
|
|
1130
1121
|
export const CreateOperationLabelRequest =
|
|
1131
|
-
/*@__PURE__*/
|
|
1122
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1132
1123
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
1133
1124
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1134
1125
|
managed: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -1138,7 +1129,7 @@ export const CreateOperationLabelRequest =
|
|
|
1138
1129
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}/labels",
|
|
1139
1130
|
})));
|
|
1140
1131
|
export const CreateOperationLabelResponse =
|
|
1141
|
-
/*@__PURE__*/
|
|
1132
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1142
1133
|
endpoint: Schema.String,
|
|
1143
1134
|
host: Schema.String,
|
|
1144
1135
|
lastUpdated: Schema.String,
|
|
@@ -1171,13 +1162,13 @@ export const CreateOperationLabelResponse =
|
|
|
1171
1162
|
labels: "labels",
|
|
1172
1163
|
}))
|
|
1173
1164
|
.pipe(T.ResponsePath("result")));
|
|
1174
|
-
export const createOperationLabel = /*@__PURE__*/
|
|
1165
|
+
export const createOperationLabel = /*@__PURE__*/ API.make(() => ({
|
|
1175
1166
|
input: CreateOperationLabelRequest,
|
|
1176
1167
|
output: CreateOperationLabelResponse,
|
|
1177
1168
|
errors: [],
|
|
1178
1169
|
}));
|
|
1179
1170
|
export const UpdateOperationLabelRequest =
|
|
1180
|
-
/*@__PURE__*/
|
|
1171
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1181
1172
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
1182
1173
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1183
1174
|
managed: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -1187,7 +1178,7 @@ export const UpdateOperationLabelRequest =
|
|
|
1187
1178
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}/labels",
|
|
1188
1179
|
})));
|
|
1189
1180
|
export const UpdateOperationLabelResponse =
|
|
1190
|
-
/*@__PURE__*/
|
|
1181
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1191
1182
|
endpoint: Schema.String,
|
|
1192
1183
|
host: Schema.String,
|
|
1193
1184
|
lastUpdated: Schema.String,
|
|
@@ -1220,13 +1211,13 @@ export const UpdateOperationLabelResponse =
|
|
|
1220
1211
|
labels: "labels",
|
|
1221
1212
|
}))
|
|
1222
1213
|
.pipe(T.ResponsePath("result")));
|
|
1223
|
-
export const updateOperationLabel = /*@__PURE__*/
|
|
1214
|
+
export const updateOperationLabel = /*@__PURE__*/ API.make(() => ({
|
|
1224
1215
|
input: UpdateOperationLabelRequest,
|
|
1225
1216
|
output: UpdateOperationLabelResponse,
|
|
1226
1217
|
errors: [],
|
|
1227
1218
|
}));
|
|
1228
1219
|
export const DeleteOperationLabelRequest =
|
|
1229
|
-
/*@__PURE__*/
|
|
1220
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1230
1221
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
1231
1222
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1232
1223
|
}).pipe(T.Http({
|
|
@@ -1234,7 +1225,7 @@ export const DeleteOperationLabelRequest =
|
|
|
1234
1225
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}/labels",
|
|
1235
1226
|
})));
|
|
1236
1227
|
export const DeleteOperationLabelResponse =
|
|
1237
|
-
/*@__PURE__*/
|
|
1228
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1238
1229
|
endpoint: Schema.String,
|
|
1239
1230
|
host: Schema.String,
|
|
1240
1231
|
lastUpdated: Schema.String,
|
|
@@ -1267,13 +1258,13 @@ export const DeleteOperationLabelResponse =
|
|
|
1267
1258
|
labels: "labels",
|
|
1268
1259
|
}))
|
|
1269
1260
|
.pipe(T.ResponsePath("result")));
|
|
1270
|
-
export const deleteOperationLabel = /*@__PURE__*/
|
|
1261
|
+
export const deleteOperationLabel = /*@__PURE__*/ API.make(() => ({
|
|
1271
1262
|
input: DeleteOperationLabelRequest,
|
|
1272
1263
|
output: DeleteOperationLabelResponse,
|
|
1273
1264
|
errors: [],
|
|
1274
1265
|
}));
|
|
1275
1266
|
export const BulkCreateOperationLabelsRequest =
|
|
1276
|
-
/*@__PURE__*/
|
|
1267
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1277
1268
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1278
1269
|
selector: Selector,
|
|
1279
1270
|
managed: Schema.optional(Managed),
|
|
@@ -1283,10 +1274,10 @@ export const BulkCreateOperationLabelsRequest =
|
|
|
1283
1274
|
path: "/zones/{zone_id}/api_gateway/operations/labels",
|
|
1284
1275
|
})));
|
|
1285
1276
|
export const BulkCreateOperationLabelsResponse =
|
|
1286
|
-
/*@__PURE__*/
|
|
1277
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1287
1278
|
result: Schema.Array(BulkCreateOperationLabelsResponseResult),
|
|
1288
1279
|
}));
|
|
1289
|
-
export const bulkCreateOperationLabels = /*@__PURE__*/
|
|
1280
|
+
export const bulkCreateOperationLabels = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1290
1281
|
input: BulkCreateOperationLabelsRequest,
|
|
1291
1282
|
output: BulkCreateOperationLabelsResponse,
|
|
1292
1283
|
errors: [],
|
|
@@ -1296,7 +1287,7 @@ export const bulkCreateOperationLabels = /*@__PURE__*/ /*#__PURE__*/ API.makePag
|
|
|
1296
1287
|
},
|
|
1297
1288
|
}));
|
|
1298
1289
|
export const BulkUpdateOperationLabelsRequest =
|
|
1299
|
-
/*@__PURE__*/
|
|
1290
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1300
1291
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1301
1292
|
managed: Managed2,
|
|
1302
1293
|
selector: Selector,
|
|
@@ -1306,10 +1297,10 @@ export const BulkUpdateOperationLabelsRequest =
|
|
|
1306
1297
|
path: "/zones/{zone_id}/api_gateway/operations/labels",
|
|
1307
1298
|
})));
|
|
1308
1299
|
export const BulkUpdateOperationLabelsResponse =
|
|
1309
|
-
/*@__PURE__*/
|
|
1300
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1310
1301
|
result: Schema.Array(BulkCreateOperationLabelsResponseResult),
|
|
1311
1302
|
}));
|
|
1312
|
-
export const bulkUpdateOperationLabels = /*@__PURE__*/
|
|
1303
|
+
export const bulkUpdateOperationLabels = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1313
1304
|
input: BulkUpdateOperationLabelsRequest,
|
|
1314
1305
|
output: BulkUpdateOperationLabelsResponse,
|
|
1315
1306
|
errors: [],
|
|
@@ -1319,17 +1310,17 @@ export const bulkUpdateOperationLabels = /*@__PURE__*/ /*#__PURE__*/ API.makePag
|
|
|
1319
1310
|
},
|
|
1320
1311
|
}));
|
|
1321
1312
|
export const BulkDeleteOperationLabelsRequest =
|
|
1322
|
-
/*@__PURE__*/
|
|
1313
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1323
1314
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1324
1315
|
}).pipe(T.Http({
|
|
1325
1316
|
method: "DELETE",
|
|
1326
1317
|
path: "/zones/{zone_id}/api_gateway/operations/labels",
|
|
1327
1318
|
})));
|
|
1328
1319
|
export const BulkDeleteOperationLabelsResponse =
|
|
1329
|
-
/*@__PURE__*/
|
|
1320
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1330
1321
|
result: Schema.Array(BulkCreateOperationLabelsResponseResult),
|
|
1331
1322
|
}));
|
|
1332
|
-
export const bulkDeleteOperationLabels = /*@__PURE__*/
|
|
1323
|
+
export const bulkDeleteOperationLabels = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1333
1324
|
input: BulkDeleteOperationLabelsRequest,
|
|
1334
1325
|
output: BulkDeleteOperationLabelsResponse,
|
|
1335
1326
|
errors: [],
|
|
@@ -1339,7 +1330,7 @@ export const bulkDeleteOperationLabels = /*@__PURE__*/ /*#__PURE__*/ API.makePag
|
|
|
1339
1330
|
},
|
|
1340
1331
|
}));
|
|
1341
1332
|
export const GetOperationSchemaValidationRequest =
|
|
1342
|
-
/*@__PURE__*/
|
|
1333
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1343
1334
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
1344
1335
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1345
1336
|
}).pipe(T.Http({
|
|
@@ -1347,7 +1338,7 @@ export const GetOperationSchemaValidationRequest =
|
|
|
1347
1338
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}/schema_validation",
|
|
1348
1339
|
})));
|
|
1349
1340
|
export const GetOperationSchemaValidationResponse =
|
|
1350
|
-
/*@__PURE__*/
|
|
1341
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1351
1342
|
mitigationAction: Schema.optional(Schema.Union([
|
|
1352
1343
|
Schema.Literal("log"),
|
|
1353
1344
|
Schema.Literal("block"),
|
|
@@ -1359,13 +1350,13 @@ export const GetOperationSchemaValidationResponse =
|
|
|
1359
1350
|
mitigationAction: "mitigation_action",
|
|
1360
1351
|
operationId: "operation_id",
|
|
1361
1352
|
})));
|
|
1362
|
-
export const getOperationSchemaValidation = /*@__PURE__*/
|
|
1353
|
+
export const getOperationSchemaValidation = /*@__PURE__*/ API.make(() => ({
|
|
1363
1354
|
input: GetOperationSchemaValidationRequest,
|
|
1364
1355
|
output: GetOperationSchemaValidationResponse,
|
|
1365
1356
|
errors: [InvalidObjectIdentifier, OperationNotFound],
|
|
1366
1357
|
}));
|
|
1367
1358
|
export const PutOperationSchemaValidationRequest =
|
|
1368
|
-
/*@__PURE__*/
|
|
1359
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1369
1360
|
operationId: Schema.String.pipe(T.HttpPath("operationId")),
|
|
1370
1361
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1371
1362
|
mitigationAction: Schema.optional(Schema.Union([
|
|
@@ -1379,7 +1370,7 @@ export const PutOperationSchemaValidationRequest =
|
|
|
1379
1370
|
path: "/zones/{zone_id}/api_gateway/operations/{operationId}/schema_validation",
|
|
1380
1371
|
})));
|
|
1381
1372
|
export const PutOperationSchemaValidationResponse =
|
|
1382
|
-
/*@__PURE__*/
|
|
1373
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1383
1374
|
mitigationAction: Schema.optional(Schema.Union([
|
|
1384
1375
|
Schema.Literal("log"),
|
|
1385
1376
|
Schema.Literal("block"),
|
|
@@ -1391,13 +1382,13 @@ export const PutOperationSchemaValidationResponse =
|
|
|
1391
1382
|
mitigationAction: "mitigation_action",
|
|
1392
1383
|
operationId: "operation_id",
|
|
1393
1384
|
})));
|
|
1394
|
-
export const putOperationSchemaValidation = /*@__PURE__*/
|
|
1385
|
+
export const putOperationSchemaValidation = /*@__PURE__*/ API.make(() => ({
|
|
1395
1386
|
input: PutOperationSchemaValidationRequest,
|
|
1396
1387
|
output: PutOperationSchemaValidationResponse,
|
|
1397
1388
|
errors: [InvalidObjectIdentifier, OperationNotFound],
|
|
1398
1389
|
}));
|
|
1399
1390
|
export const PatchOperationSchemaValidationRequest =
|
|
1400
|
-
/*@__PURE__*/
|
|
1391
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1401
1392
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1402
1393
|
settingsMultipleRequest: Schema.Record(Schema.String, Schema.Unknown),
|
|
1403
1394
|
}).pipe(Schema.encodeKeys({
|
|
@@ -1407,13 +1398,13 @@ export const PatchOperationSchemaValidationRequest =
|
|
|
1407
1398
|
path: "/zones/{zone_id}/api_gateway/operations/schema_validation",
|
|
1408
1399
|
})));
|
|
1409
1400
|
export const PatchOperationSchemaValidationResponse =
|
|
1410
|
-
/*@__PURE__*/
|
|
1411
|
-
export const patchOperationSchemaValidation = /*@__PURE__*/
|
|
1401
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
|
|
1402
|
+
export const patchOperationSchemaValidation = /*@__PURE__*/ API.make(() => ({
|
|
1412
1403
|
input: PatchOperationSchemaValidationRequest,
|
|
1413
1404
|
output: PatchOperationSchemaValidationResponse,
|
|
1414
1405
|
errors: [InvalidObjectIdentifier],
|
|
1415
1406
|
}));
|
|
1416
|
-
export const ListSchemasRequest = /*@__PURE__*/
|
|
1407
|
+
export const ListSchemasRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1417
1408
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1418
1409
|
feature: Schema.optional(Schema.Array(Schema.Union([
|
|
1419
1410
|
Schema.Literals(["thresholds", "parameter_schemas", "schema_info"]),
|
|
@@ -1421,24 +1412,24 @@ export const ListSchemasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1421
1412
|
]))).pipe(T.HttpQuery("feature")),
|
|
1422
1413
|
host: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("host")),
|
|
1423
1414
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/schemas" })));
|
|
1424
|
-
export const ListSchemasResponse = /*@__PURE__*/
|
|
1415
|
+
export const ListSchemasResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1425
1416
|
schemas: Schema.optional(Schema.Union([Schema.Array(Schema.Unknown), Schema.Null])),
|
|
1426
1417
|
timestamp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1427
1418
|
}).pipe(T.ResponsePath("result")));
|
|
1428
|
-
export const listSchemas = /*@__PURE__*/
|
|
1419
|
+
export const listSchemas = /*@__PURE__*/ API.make(() => ({
|
|
1429
1420
|
input: ListSchemasRequest,
|
|
1430
1421
|
output: ListSchemasResponse,
|
|
1431
1422
|
errors: [InvalidObjectIdentifier],
|
|
1432
1423
|
}));
|
|
1433
1424
|
export const GetSettingSchemaValidationRequest =
|
|
1434
|
-
/*@__PURE__*/
|
|
1425
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1435
1426
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1436
1427
|
}).pipe(T.Http({
|
|
1437
1428
|
method: "GET",
|
|
1438
1429
|
path: "/zones/{zone_id}/api_gateway/settings/schema_validation",
|
|
1439
1430
|
})));
|
|
1440
1431
|
export const GetSettingSchemaValidationResponse =
|
|
1441
|
-
/*@__PURE__*/
|
|
1432
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1442
1433
|
validationDefaultMitigationAction: Schema.optional(Schema.Union([
|
|
1443
1434
|
Schema.Union([
|
|
1444
1435
|
Schema.Literals(["none", "log", "block"]),
|
|
@@ -1451,13 +1442,13 @@ export const GetSettingSchemaValidationResponse =
|
|
|
1451
1442
|
validationDefaultMitigationAction: "validation_default_mitigation_action",
|
|
1452
1443
|
validationOverrideMitigationAction: "validation_override_mitigation_action",
|
|
1453
1444
|
})));
|
|
1454
|
-
export const getSettingSchemaValidation = /*@__PURE__*/
|
|
1445
|
+
export const getSettingSchemaValidation = /*@__PURE__*/ API.make(() => ({
|
|
1455
1446
|
input: GetSettingSchemaValidationRequest,
|
|
1456
1447
|
output: GetSettingSchemaValidationResponse,
|
|
1457
1448
|
errors: [InvalidObjectIdentifier],
|
|
1458
1449
|
}));
|
|
1459
1450
|
export const PutSettingSchemaValidationRequest =
|
|
1460
|
-
/*@__PURE__*/
|
|
1451
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1461
1452
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1462
1453
|
validationDefaultMitigationAction: Schema.Union([
|
|
1463
1454
|
Schema.Literals(["none", "log", "block"]),
|
|
@@ -1476,7 +1467,7 @@ export const PutSettingSchemaValidationRequest =
|
|
|
1476
1467
|
path: "/zones/{zone_id}/api_gateway/settings/schema_validation",
|
|
1477
1468
|
})));
|
|
1478
1469
|
export const PutSettingSchemaValidationResponse =
|
|
1479
|
-
/*@__PURE__*/
|
|
1470
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1480
1471
|
validationDefaultMitigationAction: Schema.optional(Schema.Union([
|
|
1481
1472
|
Schema.Union([
|
|
1482
1473
|
Schema.Literals(["none", "log", "block"]),
|
|
@@ -1489,13 +1480,13 @@ export const PutSettingSchemaValidationResponse =
|
|
|
1489
1480
|
validationDefaultMitigationAction: "validation_default_mitigation_action",
|
|
1490
1481
|
validationOverrideMitigationAction: "validation_override_mitigation_action",
|
|
1491
1482
|
})));
|
|
1492
|
-
export const putSettingSchemaValidation = /*@__PURE__*/
|
|
1483
|
+
export const putSettingSchemaValidation = /*@__PURE__*/ API.make(() => ({
|
|
1493
1484
|
input: PutSettingSchemaValidationRequest,
|
|
1494
1485
|
output: PutSettingSchemaValidationResponse,
|
|
1495
1486
|
errors: [InvalidObjectIdentifier],
|
|
1496
1487
|
}));
|
|
1497
1488
|
export const PatchSettingSchemaValidationRequest =
|
|
1498
|
-
/*@__PURE__*/
|
|
1489
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1499
1490
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1500
1491
|
validationDefaultMitigationAction: Schema.optional(Schema.Union([
|
|
1501
1492
|
Schema.Literal("none"),
|
|
@@ -1516,7 +1507,7 @@ export const PatchSettingSchemaValidationRequest =
|
|
|
1516
1507
|
path: "/zones/{zone_id}/api_gateway/settings/schema_validation",
|
|
1517
1508
|
})));
|
|
1518
1509
|
export const PatchSettingSchemaValidationResponse =
|
|
1519
|
-
/*@__PURE__*/
|
|
1510
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1520
1511
|
validationDefaultMitigationAction: Schema.optional(Schema.Union([
|
|
1521
1512
|
Schema.Union([
|
|
1522
1513
|
Schema.Literals(["none", "log", "block"]),
|
|
@@ -1529,12 +1520,12 @@ export const PatchSettingSchemaValidationResponse =
|
|
|
1529
1520
|
validationDefaultMitigationAction: "validation_default_mitigation_action",
|
|
1530
1521
|
validationOverrideMitigationAction: "validation_override_mitigation_action",
|
|
1531
1522
|
})));
|
|
1532
|
-
export const patchSettingSchemaValidation = /*@__PURE__*/
|
|
1523
|
+
export const patchSettingSchemaValidation = /*@__PURE__*/ API.make(() => ({
|
|
1533
1524
|
input: PatchSettingSchemaValidationRequest,
|
|
1534
1525
|
output: PatchSettingSchemaValidationResponse,
|
|
1535
1526
|
errors: [InvalidObjectIdentifier],
|
|
1536
1527
|
}));
|
|
1537
|
-
export const GetUserSchemaRequest = /*@__PURE__*/
|
|
1528
|
+
export const GetUserSchemaRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1538
1529
|
schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
|
|
1539
1530
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1540
1531
|
omitSource: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("omit_source")),
|
|
@@ -1542,7 +1533,7 @@ export const GetUserSchemaRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1542
1533
|
method: "GET",
|
|
1543
1534
|
path: "/zones/{zone_id}/api_gateway/user_schemas/{schemaId}",
|
|
1544
1535
|
})));
|
|
1545
|
-
export const GetUserSchemaResponse = /*@__PURE__*/
|
|
1536
|
+
export const GetUserSchemaResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1546
1537
|
createdAt: Schema.String,
|
|
1547
1538
|
kind: Schema.Literal("openapi_v3"),
|
|
1548
1539
|
name: Schema.String,
|
|
@@ -1559,13 +1550,13 @@ export const GetUserSchemaResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1559
1550
|
validationEnabled: "validation_enabled",
|
|
1560
1551
|
}))
|
|
1561
1552
|
.pipe(T.ResponsePath("result")));
|
|
1562
|
-
export const getUserSchema = /*@__PURE__*/
|
|
1553
|
+
export const getUserSchema = /*@__PURE__*/ API.make(() => ({
|
|
1563
1554
|
input: GetUserSchemaRequest,
|
|
1564
1555
|
output: GetUserSchemaResponse,
|
|
1565
1556
|
errors: [InvalidObjectIdentifier, SchemaNotFound, Forbidden],
|
|
1566
1557
|
}));
|
|
1567
1558
|
export const ListUserSchemasRequest =
|
|
1568
|
-
/*@__PURE__*/
|
|
1559
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1569
1560
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1570
1561
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1571
1562
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1576,11 +1567,11 @@ export const ListUserSchemasRequest =
|
|
|
1576
1567
|
path: "/zones/{zone_id}/api_gateway/user_schemas",
|
|
1577
1568
|
})));
|
|
1578
1569
|
export const ListUserSchemasResponse =
|
|
1579
|
-
/*@__PURE__*/
|
|
1570
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1580
1571
|
result: Schema.Array(ListUserSchemasResponseResult),
|
|
1581
1572
|
resultInfo: Schema.optional(Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null])),
|
|
1582
1573
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1583
|
-
export const listUserSchemas = /*@__PURE__*/
|
|
1574
|
+
export const listUserSchemas = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1584
1575
|
input: ListUserSchemasRequest,
|
|
1585
1576
|
output: ListUserSchemasResponse,
|
|
1586
1577
|
errors: [ZonePurged, Forbidden],
|
|
@@ -1593,7 +1584,7 @@ export const listUserSchemas = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
1593
1584
|
},
|
|
1594
1585
|
}));
|
|
1595
1586
|
export const CreateUserSchemaRequest =
|
|
1596
|
-
/*@__PURE__*/
|
|
1587
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1597
1588
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1598
1589
|
file: UploadableSchema.pipe(T.HttpFormDataFile()),
|
|
1599
1590
|
kind: Schema.Literal("openapi_v3"),
|
|
@@ -1610,7 +1601,7 @@ export const CreateUserSchemaRequest =
|
|
|
1610
1601
|
contentType: "multipart",
|
|
1611
1602
|
})));
|
|
1612
1603
|
export const CreateUserSchemaResponse =
|
|
1613
|
-
/*@__PURE__*/
|
|
1604
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1614
1605
|
schema: ListUserSchemasResponseResult,
|
|
1615
1606
|
uploadDetails: Schema.optional(Schema.Union([UploadDetails, Schema.Null])),
|
|
1616
1607
|
})
|
|
@@ -1619,13 +1610,13 @@ export const CreateUserSchemaResponse =
|
|
|
1619
1610
|
uploadDetails: "upload_details",
|
|
1620
1611
|
}))
|
|
1621
1612
|
.pipe(T.ResponsePath("result")));
|
|
1622
|
-
export const createUserSchema = /*@__PURE__*/
|
|
1613
|
+
export const createUserSchema = /*@__PURE__*/ API.make(() => ({
|
|
1623
1614
|
input: CreateUserSchemaRequest,
|
|
1624
1615
|
output: CreateUserSchemaResponse,
|
|
1625
1616
|
errors: [InvalidObjectIdentifier, Forbidden],
|
|
1626
1617
|
}));
|
|
1627
1618
|
export const PatchUserSchemaRequest =
|
|
1628
|
-
/*@__PURE__*/
|
|
1619
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1629
1620
|
schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
|
|
1630
1621
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1631
1622
|
validationEnabled: Schema.optional(Schema.Literal(true)),
|
|
@@ -1634,7 +1625,7 @@ export const PatchUserSchemaRequest =
|
|
|
1634
1625
|
path: "/zones/{zone_id}/api_gateway/user_schemas/{schemaId}",
|
|
1635
1626
|
})));
|
|
1636
1627
|
export const PatchUserSchemaResponse =
|
|
1637
|
-
/*@__PURE__*/
|
|
1628
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1638
1629
|
createdAt: Schema.String,
|
|
1639
1630
|
kind: Schema.Literal("openapi_v3"),
|
|
1640
1631
|
name: Schema.String,
|
|
@@ -1651,13 +1642,13 @@ export const PatchUserSchemaResponse =
|
|
|
1651
1642
|
validationEnabled: "validation_enabled",
|
|
1652
1643
|
}))
|
|
1653
1644
|
.pipe(T.ResponsePath("result")));
|
|
1654
|
-
export const patchUserSchema = /*@__PURE__*/
|
|
1645
|
+
export const patchUserSchema = /*@__PURE__*/ API.make(() => ({
|
|
1655
1646
|
input: PatchUserSchemaRequest,
|
|
1656
1647
|
output: PatchUserSchemaResponse,
|
|
1657
1648
|
errors: [InvalidObjectIdentifier, SchemaNotFound, Forbidden],
|
|
1658
1649
|
}));
|
|
1659
1650
|
export const DeleteUserSchemaRequest =
|
|
1660
|
-
/*@__PURE__*/
|
|
1651
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1661
1652
|
schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
|
|
1662
1653
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1663
1654
|
}).pipe(T.Http({
|
|
@@ -1665,18 +1656,18 @@ export const DeleteUserSchemaRequest =
|
|
|
1665
1656
|
path: "/zones/{zone_id}/api_gateway/user_schemas/{schemaId}",
|
|
1666
1657
|
})));
|
|
1667
1658
|
export const DeleteUserSchemaResponse =
|
|
1668
|
-
/*@__PURE__*/
|
|
1659
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1669
1660
|
errors: Schema.Array(MessageItem),
|
|
1670
1661
|
messages: Schema.Array(MessageItem),
|
|
1671
1662
|
success: Schema.Literal(true),
|
|
1672
1663
|
}));
|
|
1673
|
-
export const deleteUserSchema = /*@__PURE__*/
|
|
1664
|
+
export const deleteUserSchema = /*@__PURE__*/ API.make(() => ({
|
|
1674
1665
|
input: DeleteUserSchemaRequest,
|
|
1675
1666
|
output: DeleteUserSchemaResponse,
|
|
1676
1667
|
errors: [InvalidObjectIdentifier, SchemaNotFound, Forbidden],
|
|
1677
1668
|
}));
|
|
1678
1669
|
export const ListUserSchemaHostsRequest =
|
|
1679
|
-
/*@__PURE__*/
|
|
1670
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1680
1671
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1681
1672
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1682
1673
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1685,11 +1676,11 @@ export const ListUserSchemaHostsRequest =
|
|
|
1685
1676
|
path: "/zones/{zone_id}/api_gateway/user_schemas/hosts",
|
|
1686
1677
|
})));
|
|
1687
1678
|
export const ListUserSchemaHostsResponse =
|
|
1688
|
-
/*@__PURE__*/
|
|
1679
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1689
1680
|
result: Schema.Array(ListUserSchemaHostsResponseResult),
|
|
1690
1681
|
resultInfo: Schema.optional(Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null])),
|
|
1691
1682
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1692
|
-
export const listUserSchemaHosts = /*@__PURE__*/
|
|
1683
|
+
export const listUserSchemaHosts = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1693
1684
|
input: ListUserSchemaHostsRequest,
|
|
1694
1685
|
output: ListUserSchemaHostsResponse,
|
|
1695
1686
|
errors: [],
|
|
@@ -1702,7 +1693,7 @@ export const listUserSchemaHosts = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
|
|
|
1702
1693
|
},
|
|
1703
1694
|
}));
|
|
1704
1695
|
export const ListUserSchemaOperationsRequest =
|
|
1705
|
-
/*@__PURE__*/
|
|
1696
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1706
1697
|
schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
|
|
1707
1698
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1708
1699
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -1720,11 +1711,11 @@ export const ListUserSchemaOperationsRequest =
|
|
|
1720
1711
|
path: "/zones/{zone_id}/api_gateway/user_schemas/{schemaId}/operations",
|
|
1721
1712
|
})));
|
|
1722
1713
|
export const ListUserSchemaOperationsResponse =
|
|
1723
|
-
/*@__PURE__*/
|
|
1714
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1724
1715
|
result: Schema.Array(Schema.Union([ListOperationsResponseResult, Body2])),
|
|
1725
1716
|
resultInfo: Schema.optional(Schema.Union([ListDiscoveryOperationsResponseResultInfo, Schema.Null])),
|
|
1726
1717
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1727
|
-
export const listUserSchemaOperations = /*@__PURE__*/
|
|
1718
|
+
export const listUserSchemaOperations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1728
1719
|
input: ListUserSchemaOperationsRequest,
|
|
1729
1720
|
output: ListUserSchemaOperationsResponse,
|
|
1730
1721
|
errors: [],
|