@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/package.json +3 -2
- 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
|
@@ -32,7 +32,7 @@ export class TcpFlowProtectionFilterNotFound extends T.applyErrorMatchers(Schema
|
|
|
32
32
|
export class TcpFlowProtectionRuleNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()("TcpFlowProtectionRuleNotFound", { code: Schema.Number, message: Schema.String }), [{ status: 404 }]) {
|
|
33
33
|
}
|
|
34
34
|
const ListAdvancedTcpProtectionAllowlistsResponseResult =
|
|
35
|
-
/*@__PURE__*/
|
|
35
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
36
36
|
id: Schema.String,
|
|
37
37
|
comment: Schema.String,
|
|
38
38
|
createdOn: Schema.String,
|
|
@@ -48,7 +48,7 @@ const ListAdvancedTcpProtectionAllowlistsResponseResult =
|
|
|
48
48
|
prefix: "prefix",
|
|
49
49
|
})));
|
|
50
50
|
const ListAdvancedTcpProtectionAllowlistsResponseResultInfo =
|
|
51
|
-
/*@__PURE__*/
|
|
51
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
52
52
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
53
53
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54
54
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -59,10 +59,10 @@ const ListAdvancedTcpProtectionAllowlistsResponseResultInfo =
|
|
|
59
59
|
perPage: "per_page",
|
|
60
60
|
totalCount: "total_count",
|
|
61
61
|
})));
|
|
62
|
-
const Source = /*@__PURE__*/
|
|
62
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
63
63
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
64
64
|
}));
|
|
65
|
-
const Error2 = /*@__PURE__*/
|
|
65
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
66
66
|
code: Schema.Number,
|
|
67
67
|
message: Schema.String,
|
|
68
68
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -74,7 +74,7 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
74
74
|
source: "source",
|
|
75
75
|
})));
|
|
76
76
|
const ListAdvancedTcpProtectionPrefixesResponseResult =
|
|
77
|
-
/*@__PURE__*/
|
|
77
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
78
78
|
id: Schema.String,
|
|
79
79
|
comment: Schema.String,
|
|
80
80
|
createdOn: Schema.String,
|
|
@@ -89,13 +89,13 @@ const ListAdvancedTcpProtectionPrefixesResponseResult =
|
|
|
89
89
|
modifiedOn: "modified_on",
|
|
90
90
|
prefix: "prefix",
|
|
91
91
|
})));
|
|
92
|
-
const Body = /*@__PURE__*/
|
|
92
|
+
const Body = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
93
93
|
comment: Schema.String,
|
|
94
94
|
excluded: Schema.Boolean,
|
|
95
95
|
prefix: Schema.String,
|
|
96
96
|
}));
|
|
97
97
|
const ListAdvancedTcpProtectionSynProtectionFiltersResponseResult =
|
|
98
|
-
/*@__PURE__*/
|
|
98
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
99
99
|
id: Schema.String,
|
|
100
100
|
createdOn: Schema.String,
|
|
101
101
|
expression: Schema.String,
|
|
@@ -109,7 +109,7 @@ const ListAdvancedTcpProtectionSynProtectionFiltersResponseResult =
|
|
|
109
109
|
modifiedOn: "modified_on",
|
|
110
110
|
})));
|
|
111
111
|
const ListAdvancedTcpProtectionSynProtectionRulesResponseResult =
|
|
112
|
-
/*@__PURE__*/
|
|
112
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
113
113
|
id: Schema.String,
|
|
114
114
|
burstSensitivity: Schema.String,
|
|
115
115
|
createdOn: Schema.String,
|
|
@@ -131,7 +131,7 @@ const ListAdvancedTcpProtectionSynProtectionRulesResponseResult =
|
|
|
131
131
|
scope: "scope",
|
|
132
132
|
})));
|
|
133
133
|
const ListAdvancedTcpProtectionTcpFlowProtectionRulesResponseResult =
|
|
134
|
-
/*@__PURE__*/
|
|
134
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
135
135
|
id: Schema.String,
|
|
136
136
|
burstSensitivity: Schema.String,
|
|
137
137
|
createdOn: Schema.String,
|
|
@@ -151,7 +151,7 @@ const ListAdvancedTcpProtectionTcpFlowProtectionRulesResponseResult =
|
|
|
151
151
|
scope: "scope",
|
|
152
152
|
})));
|
|
153
153
|
export const ListAdvancedTcpProtectionAllowlistsRequest =
|
|
154
|
-
/*@__PURE__*/
|
|
154
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
155
155
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
156
156
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
157
157
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -162,14 +162,14 @@ export const ListAdvancedTcpProtectionAllowlistsRequest =
|
|
|
162
162
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist",
|
|
163
163
|
})));
|
|
164
164
|
export const ListAdvancedTcpProtectionAllowlistsResponse =
|
|
165
|
-
/*@__PURE__*/
|
|
165
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
166
166
|
result: Schema.Array(ListAdvancedTcpProtectionAllowlistsResponseResult),
|
|
167
167
|
resultInfo: Schema.optional(Schema.Union([
|
|
168
168
|
ListAdvancedTcpProtectionAllowlistsResponseResultInfo,
|
|
169
169
|
Schema.Null,
|
|
170
170
|
])),
|
|
171
171
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
172
|
-
export const listAdvancedTcpProtectionAllowlists = /*@__PURE__*/
|
|
172
|
+
export const listAdvancedTcpProtectionAllowlists = /*@__PURE__*/ API.makePaginated(() => ({
|
|
173
173
|
input: ListAdvancedTcpProtectionAllowlistsRequest,
|
|
174
174
|
output: ListAdvancedTcpProtectionAllowlistsResponse,
|
|
175
175
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
@@ -182,7 +182,7 @@ export const listAdvancedTcpProtectionAllowlists = /*@__PURE__*/ /*#__PURE__*/ A
|
|
|
182
182
|
},
|
|
183
183
|
}));
|
|
184
184
|
export const CreateAdvancedTcpProtectionAllowlistRequest =
|
|
185
|
-
/*@__PURE__*/
|
|
185
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
186
186
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
187
187
|
comment: Schema.String,
|
|
188
188
|
enabled: Schema.Boolean,
|
|
@@ -192,7 +192,7 @@ export const CreateAdvancedTcpProtectionAllowlistRequest =
|
|
|
192
192
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist",
|
|
193
193
|
})));
|
|
194
194
|
export const CreateAdvancedTcpProtectionAllowlistResponse =
|
|
195
|
-
/*@__PURE__*/
|
|
195
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
196
196
|
id: Schema.String,
|
|
197
197
|
comment: Schema.String,
|
|
198
198
|
createdOn: Schema.String,
|
|
@@ -209,31 +209,31 @@ export const CreateAdvancedTcpProtectionAllowlistResponse =
|
|
|
209
209
|
prefix: "prefix",
|
|
210
210
|
}))
|
|
211
211
|
.pipe(T.ResponsePath("result")));
|
|
212
|
-
export const createAdvancedTcpProtectionAllowlist = /*@__PURE__*/
|
|
212
|
+
export const createAdvancedTcpProtectionAllowlist = /*@__PURE__*/ API.make(() => ({
|
|
213
213
|
input: CreateAdvancedTcpProtectionAllowlistRequest,
|
|
214
214
|
output: CreateAdvancedTcpProtectionAllowlistResponse,
|
|
215
215
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
216
216
|
}));
|
|
217
217
|
export const BulkDeleteAdvancedTcpProtectionAllowlistsRequest =
|
|
218
|
-
/*@__PURE__*/
|
|
218
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
219
219
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
220
220
|
}).pipe(T.Http({
|
|
221
221
|
method: "DELETE",
|
|
222
222
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist",
|
|
223
223
|
})));
|
|
224
224
|
export const BulkDeleteAdvancedTcpProtectionAllowlistsResponse =
|
|
225
|
-
/*@__PURE__*/
|
|
225
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
226
226
|
errors: Schema.Array(Error2),
|
|
227
227
|
messages: Schema.Array(Error2),
|
|
228
228
|
success: Schema.Literal(true),
|
|
229
229
|
}));
|
|
230
|
-
export const bulkDeleteAdvancedTcpProtectionAllowlists = /*@__PURE__*/
|
|
230
|
+
export const bulkDeleteAdvancedTcpProtectionAllowlists = /*@__PURE__*/ API.make(() => ({
|
|
231
231
|
input: BulkDeleteAdvancedTcpProtectionAllowlistsRequest,
|
|
232
232
|
output: BulkDeleteAdvancedTcpProtectionAllowlistsResponse,
|
|
233
233
|
errors: [],
|
|
234
234
|
}));
|
|
235
235
|
export const GetAdvancedTcpProtectionAllowlistItemRequest =
|
|
236
|
-
/*@__PURE__*/
|
|
236
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
237
237
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
238
238
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
239
239
|
}).pipe(T.Http({
|
|
@@ -241,7 +241,7 @@ export const GetAdvancedTcpProtectionAllowlistItemRequest =
|
|
|
241
241
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefixId}",
|
|
242
242
|
})));
|
|
243
243
|
export const GetAdvancedTcpProtectionAllowlistItemResponse =
|
|
244
|
-
/*@__PURE__*/
|
|
244
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
245
245
|
id: Schema.String,
|
|
246
246
|
comment: Schema.String,
|
|
247
247
|
createdOn: Schema.String,
|
|
@@ -258,13 +258,13 @@ export const GetAdvancedTcpProtectionAllowlistItemResponse =
|
|
|
258
258
|
prefix: "prefix",
|
|
259
259
|
}))
|
|
260
260
|
.pipe(T.ResponsePath("result")));
|
|
261
|
-
export const getAdvancedTcpProtectionAllowlistItem = /*@__PURE__*/
|
|
261
|
+
export const getAdvancedTcpProtectionAllowlistItem = /*@__PURE__*/ API.make(() => ({
|
|
262
262
|
input: GetAdvancedTcpProtectionAllowlistItemRequest,
|
|
263
263
|
output: GetAdvancedTcpProtectionAllowlistItemResponse,
|
|
264
264
|
errors: [AllowlistEntryNotFound, AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
265
265
|
}));
|
|
266
266
|
export const PatchAdvancedTcpProtectionAllowlistItemRequest =
|
|
267
|
-
/*@__PURE__*/
|
|
267
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
268
268
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
269
269
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
270
270
|
comment: Schema.optional(Schema.String),
|
|
@@ -274,7 +274,7 @@ export const PatchAdvancedTcpProtectionAllowlistItemRequest =
|
|
|
274
274
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefixId}",
|
|
275
275
|
})));
|
|
276
276
|
export const PatchAdvancedTcpProtectionAllowlistItemResponse =
|
|
277
|
-
/*@__PURE__*/
|
|
277
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
278
278
|
id: Schema.String,
|
|
279
279
|
comment: Schema.String,
|
|
280
280
|
createdOn: Schema.String,
|
|
@@ -291,13 +291,13 @@ export const PatchAdvancedTcpProtectionAllowlistItemResponse =
|
|
|
291
291
|
prefix: "prefix",
|
|
292
292
|
}))
|
|
293
293
|
.pipe(T.ResponsePath("result")));
|
|
294
|
-
export const patchAdvancedTcpProtectionAllowlistItem = /*@__PURE__*/
|
|
294
|
+
export const patchAdvancedTcpProtectionAllowlistItem = /*@__PURE__*/ API.make(() => ({
|
|
295
295
|
input: PatchAdvancedTcpProtectionAllowlistItemRequest,
|
|
296
296
|
output: PatchAdvancedTcpProtectionAllowlistItemResponse,
|
|
297
297
|
errors: [AllowlistEntryNotFound, AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
298
298
|
}));
|
|
299
299
|
export const DeleteAdvancedTcpProtectionAllowlistItemRequest =
|
|
300
|
-
/*@__PURE__*/
|
|
300
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
301
301
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
302
302
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
303
303
|
}).pipe(T.Http({
|
|
@@ -305,18 +305,18 @@ export const DeleteAdvancedTcpProtectionAllowlistItemRequest =
|
|
|
305
305
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefixId}",
|
|
306
306
|
})));
|
|
307
307
|
export const DeleteAdvancedTcpProtectionAllowlistItemResponse =
|
|
308
|
-
/*@__PURE__*/
|
|
308
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
309
309
|
errors: Schema.Array(Error2),
|
|
310
310
|
messages: Schema.Array(Error2),
|
|
311
311
|
success: Schema.Literal(true),
|
|
312
312
|
}));
|
|
313
|
-
export const deleteAdvancedTcpProtectionAllowlistItem = /*@__PURE__*/
|
|
313
|
+
export const deleteAdvancedTcpProtectionAllowlistItem = /*@__PURE__*/ API.make(() => ({
|
|
314
314
|
input: DeleteAdvancedTcpProtectionAllowlistItemRequest,
|
|
315
315
|
output: DeleteAdvancedTcpProtectionAllowlistItemResponse,
|
|
316
316
|
errors: [AllowlistEntryNotFound, AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
317
317
|
}));
|
|
318
318
|
export const ListAdvancedTcpProtectionPrefixesRequest =
|
|
319
|
-
/*@__PURE__*/
|
|
319
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
320
320
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
321
321
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
322
322
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -327,14 +327,14 @@ export const ListAdvancedTcpProtectionPrefixesRequest =
|
|
|
327
327
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes",
|
|
328
328
|
})));
|
|
329
329
|
export const ListAdvancedTcpProtectionPrefixesResponse =
|
|
330
|
-
/*@__PURE__*/
|
|
330
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
331
331
|
result: Schema.Array(ListAdvancedTcpProtectionPrefixesResponseResult),
|
|
332
332
|
resultInfo: Schema.optional(Schema.Union([
|
|
333
333
|
ListAdvancedTcpProtectionAllowlistsResponseResultInfo,
|
|
334
334
|
Schema.Null,
|
|
335
335
|
])),
|
|
336
336
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
337
|
-
export const listAdvancedTcpProtectionPrefixes = /*@__PURE__*/
|
|
337
|
+
export const listAdvancedTcpProtectionPrefixes = /*@__PURE__*/ API.makePaginated(() => ({
|
|
338
338
|
input: ListAdvancedTcpProtectionPrefixesRequest,
|
|
339
339
|
output: ListAdvancedTcpProtectionPrefixesResponse,
|
|
340
340
|
errors: [],
|
|
@@ -347,7 +347,7 @@ export const listAdvancedTcpProtectionPrefixes = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
347
347
|
},
|
|
348
348
|
}));
|
|
349
349
|
export const CreateAdvancedTcpProtectionPrefixRequest =
|
|
350
|
-
/*@__PURE__*/
|
|
350
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
351
351
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
352
352
|
comment: Schema.String,
|
|
353
353
|
excluded: Schema.Boolean,
|
|
@@ -357,7 +357,7 @@ export const CreateAdvancedTcpProtectionPrefixRequest =
|
|
|
357
357
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes",
|
|
358
358
|
})));
|
|
359
359
|
export const CreateAdvancedTcpProtectionPrefixResponse =
|
|
360
|
-
/*@__PURE__*/
|
|
360
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
361
361
|
id: Schema.String,
|
|
362
362
|
comment: Schema.String,
|
|
363
363
|
createdOn: Schema.String,
|
|
@@ -374,13 +374,13 @@ export const CreateAdvancedTcpProtectionPrefixResponse =
|
|
|
374
374
|
prefix: "prefix",
|
|
375
375
|
}))
|
|
376
376
|
.pipe(T.ResponsePath("result")));
|
|
377
|
-
export const createAdvancedTcpProtectionPrefix = /*@__PURE__*/
|
|
377
|
+
export const createAdvancedTcpProtectionPrefix = /*@__PURE__*/ API.make(() => ({
|
|
378
378
|
input: CreateAdvancedTcpProtectionPrefixRequest,
|
|
379
379
|
output: CreateAdvancedTcpProtectionPrefixResponse,
|
|
380
380
|
errors: [],
|
|
381
381
|
}));
|
|
382
382
|
export const BulkCreateAdvancedTcpProtectionPrefixesRequest =
|
|
383
|
-
/*@__PURE__*/
|
|
383
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
384
384
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
385
385
|
body: Schema.Array(Body).pipe(T.HttpBody()),
|
|
386
386
|
}).pipe(T.Http({
|
|
@@ -388,10 +388,10 @@ export const BulkCreateAdvancedTcpProtectionPrefixesRequest =
|
|
|
388
388
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk",
|
|
389
389
|
})));
|
|
390
390
|
export const BulkCreateAdvancedTcpProtectionPrefixesResponse =
|
|
391
|
-
/*@__PURE__*/
|
|
391
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
392
392
|
result: Schema.Array(ListAdvancedTcpProtectionPrefixesResponseResult),
|
|
393
393
|
}));
|
|
394
|
-
export const bulkCreateAdvancedTcpProtectionPrefixes = /*@__PURE__*/
|
|
394
|
+
export const bulkCreateAdvancedTcpProtectionPrefixes = /*@__PURE__*/ API.makePaginated(() => ({
|
|
395
395
|
input: BulkCreateAdvancedTcpProtectionPrefixesRequest,
|
|
396
396
|
output: BulkCreateAdvancedTcpProtectionPrefixesResponse,
|
|
397
397
|
errors: [],
|
|
@@ -401,25 +401,25 @@ export const bulkCreateAdvancedTcpProtectionPrefixes = /*@__PURE__*/ /*#__PURE__
|
|
|
401
401
|
},
|
|
402
402
|
}));
|
|
403
403
|
export const BulkDeleteAdvancedTcpProtectionPrefixesRequest =
|
|
404
|
-
/*@__PURE__*/
|
|
404
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
405
405
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
406
406
|
}).pipe(T.Http({
|
|
407
407
|
method: "DELETE",
|
|
408
408
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes",
|
|
409
409
|
})));
|
|
410
410
|
export const BulkDeleteAdvancedTcpProtectionPrefixesResponse =
|
|
411
|
-
/*@__PURE__*/
|
|
411
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
412
412
|
errors: Schema.Array(Error2),
|
|
413
413
|
messages: Schema.Array(Error2),
|
|
414
414
|
success: Schema.Literal(true),
|
|
415
415
|
}));
|
|
416
|
-
export const bulkDeleteAdvancedTcpProtectionPrefixes = /*@__PURE__*/
|
|
416
|
+
export const bulkDeleteAdvancedTcpProtectionPrefixes = /*@__PURE__*/ API.make(() => ({
|
|
417
417
|
input: BulkDeleteAdvancedTcpProtectionPrefixesRequest,
|
|
418
418
|
output: BulkDeleteAdvancedTcpProtectionPrefixesResponse,
|
|
419
419
|
errors: [],
|
|
420
420
|
}));
|
|
421
421
|
export const GetAdvancedTcpProtectionPrefixItemRequest =
|
|
422
|
-
/*@__PURE__*/
|
|
422
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
423
423
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
424
424
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
425
425
|
}).pipe(T.Http({
|
|
@@ -427,7 +427,7 @@ export const GetAdvancedTcpProtectionPrefixItemRequest =
|
|
|
427
427
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefixId}",
|
|
428
428
|
})));
|
|
429
429
|
export const GetAdvancedTcpProtectionPrefixItemResponse =
|
|
430
|
-
/*@__PURE__*/
|
|
430
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
431
431
|
id: Schema.String,
|
|
432
432
|
comment: Schema.String,
|
|
433
433
|
createdOn: Schema.String,
|
|
@@ -444,13 +444,13 @@ export const GetAdvancedTcpProtectionPrefixItemResponse =
|
|
|
444
444
|
prefix: "prefix",
|
|
445
445
|
}))
|
|
446
446
|
.pipe(T.ResponsePath("result")));
|
|
447
|
-
export const getAdvancedTcpProtectionPrefixItem = /*@__PURE__*/
|
|
447
|
+
export const getAdvancedTcpProtectionPrefixItem = /*@__PURE__*/ API.make(() => ({
|
|
448
448
|
input: GetAdvancedTcpProtectionPrefixItemRequest,
|
|
449
449
|
output: GetAdvancedTcpProtectionPrefixItemResponse,
|
|
450
450
|
errors: [],
|
|
451
451
|
}));
|
|
452
452
|
export const PatchAdvancedTcpProtectionPrefixItemRequest =
|
|
453
|
-
/*@__PURE__*/
|
|
453
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
454
454
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
455
455
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
456
456
|
comment: Schema.optional(Schema.String),
|
|
@@ -460,7 +460,7 @@ export const PatchAdvancedTcpProtectionPrefixItemRequest =
|
|
|
460
460
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefixId}",
|
|
461
461
|
})));
|
|
462
462
|
export const PatchAdvancedTcpProtectionPrefixItemResponse =
|
|
463
|
-
/*@__PURE__*/
|
|
463
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
464
464
|
id: Schema.String,
|
|
465
465
|
comment: Schema.String,
|
|
466
466
|
createdOn: Schema.String,
|
|
@@ -477,13 +477,13 @@ export const PatchAdvancedTcpProtectionPrefixItemResponse =
|
|
|
477
477
|
prefix: "prefix",
|
|
478
478
|
}))
|
|
479
479
|
.pipe(T.ResponsePath("result")));
|
|
480
|
-
export const patchAdvancedTcpProtectionPrefixItem = /*@__PURE__*/
|
|
480
|
+
export const patchAdvancedTcpProtectionPrefixItem = /*@__PURE__*/ API.make(() => ({
|
|
481
481
|
input: PatchAdvancedTcpProtectionPrefixItemRequest,
|
|
482
482
|
output: PatchAdvancedTcpProtectionPrefixItemResponse,
|
|
483
483
|
errors: [],
|
|
484
484
|
}));
|
|
485
485
|
export const DeleteAdvancedTcpProtectionPrefixItemRequest =
|
|
486
|
-
/*@__PURE__*/
|
|
486
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
487
487
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
488
488
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
489
489
|
}).pipe(T.Http({
|
|
@@ -491,34 +491,34 @@ export const DeleteAdvancedTcpProtectionPrefixItemRequest =
|
|
|
491
491
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefixId}",
|
|
492
492
|
})));
|
|
493
493
|
export const DeleteAdvancedTcpProtectionPrefixItemResponse =
|
|
494
|
-
/*@__PURE__*/
|
|
494
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
495
495
|
errors: Schema.Array(Error2),
|
|
496
496
|
messages: Schema.Array(Error2),
|
|
497
497
|
success: Schema.Literal(true),
|
|
498
498
|
}));
|
|
499
|
-
export const deleteAdvancedTcpProtectionPrefixItem = /*@__PURE__*/
|
|
499
|
+
export const deleteAdvancedTcpProtectionPrefixItem = /*@__PURE__*/ API.make(() => ({
|
|
500
500
|
input: DeleteAdvancedTcpProtectionPrefixItemRequest,
|
|
501
501
|
output: DeleteAdvancedTcpProtectionPrefixItemResponse,
|
|
502
502
|
errors: [],
|
|
503
503
|
}));
|
|
504
504
|
export const GetAdvancedTcpProtectionStatusRequest =
|
|
505
|
-
/*@__PURE__*/
|
|
505
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
506
506
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
507
507
|
}).pipe(T.Http({
|
|
508
508
|
method: "GET",
|
|
509
509
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status",
|
|
510
510
|
})));
|
|
511
511
|
export const GetAdvancedTcpProtectionStatusResponse =
|
|
512
|
-
/*@__PURE__*/
|
|
512
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
513
513
|
enabled: Schema.Boolean,
|
|
514
514
|
}).pipe(T.ResponsePath("result")));
|
|
515
|
-
export const getAdvancedTcpProtectionStatus = /*@__PURE__*/
|
|
515
|
+
export const getAdvancedTcpProtectionStatus = /*@__PURE__*/ API.make(() => ({
|
|
516
516
|
input: GetAdvancedTcpProtectionStatusRequest,
|
|
517
517
|
output: GetAdvancedTcpProtectionStatusResponse,
|
|
518
518
|
errors: [],
|
|
519
519
|
}));
|
|
520
520
|
export const PatchAdvancedTcpProtectionStatusRequest =
|
|
521
|
-
/*@__PURE__*/
|
|
521
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
522
522
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
523
523
|
enabled: Schema.Boolean,
|
|
524
524
|
}).pipe(T.Http({
|
|
@@ -526,16 +526,16 @@ export const PatchAdvancedTcpProtectionStatusRequest =
|
|
|
526
526
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status",
|
|
527
527
|
})));
|
|
528
528
|
export const PatchAdvancedTcpProtectionStatusResponse =
|
|
529
|
-
/*@__PURE__*/
|
|
529
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
530
530
|
enabled: Schema.Boolean,
|
|
531
531
|
}).pipe(T.ResponsePath("result")));
|
|
532
|
-
export const patchAdvancedTcpProtectionStatus = /*@__PURE__*/
|
|
532
|
+
export const patchAdvancedTcpProtectionStatus = /*@__PURE__*/ API.make(() => ({
|
|
533
533
|
input: PatchAdvancedTcpProtectionStatusRequest,
|
|
534
534
|
output: PatchAdvancedTcpProtectionStatusResponse,
|
|
535
535
|
errors: [],
|
|
536
536
|
}));
|
|
537
537
|
export const ListAdvancedTcpProtectionSynProtectionFiltersRequest =
|
|
538
|
-
/*@__PURE__*/
|
|
538
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
539
539
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
540
540
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
541
541
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -547,14 +547,14 @@ export const ListAdvancedTcpProtectionSynProtectionFiltersRequest =
|
|
|
547
547
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters",
|
|
548
548
|
})));
|
|
549
549
|
export const ListAdvancedTcpProtectionSynProtectionFiltersResponse =
|
|
550
|
-
/*@__PURE__*/
|
|
550
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
551
551
|
result: Schema.Array(ListAdvancedTcpProtectionSynProtectionFiltersResponseResult),
|
|
552
552
|
resultInfo: Schema.optional(Schema.Union([
|
|
553
553
|
ListAdvancedTcpProtectionAllowlistsResponseResultInfo,
|
|
554
554
|
Schema.Null,
|
|
555
555
|
])),
|
|
556
556
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
557
|
-
export const listAdvancedTcpProtectionSynProtectionFilters = /*@__PURE__*/
|
|
557
|
+
export const listAdvancedTcpProtectionSynProtectionFilters = /*@__PURE__*/ API.makePaginated(() => ({
|
|
558
558
|
input: ListAdvancedTcpProtectionSynProtectionFiltersRequest,
|
|
559
559
|
output: ListAdvancedTcpProtectionSynProtectionFiltersResponse,
|
|
560
560
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
@@ -567,7 +567,7 @@ export const listAdvancedTcpProtectionSynProtectionFilters = /*@__PURE__*/ /*#__
|
|
|
567
567
|
},
|
|
568
568
|
}));
|
|
569
569
|
export const CreateAdvancedTcpProtectionSynProtectionFilterRequest =
|
|
570
|
-
/*@__PURE__*/
|
|
570
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
571
571
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
572
572
|
expression: Schema.String,
|
|
573
573
|
mode: Schema.String,
|
|
@@ -576,7 +576,7 @@ export const CreateAdvancedTcpProtectionSynProtectionFilterRequest =
|
|
|
576
576
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters",
|
|
577
577
|
})));
|
|
578
578
|
export const CreateAdvancedTcpProtectionSynProtectionFilterResponse =
|
|
579
|
-
/*@__PURE__*/
|
|
579
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
580
580
|
id: Schema.String,
|
|
581
581
|
createdOn: Schema.String,
|
|
582
582
|
expression: Schema.String,
|
|
@@ -591,31 +591,31 @@ export const CreateAdvancedTcpProtectionSynProtectionFilterResponse =
|
|
|
591
591
|
modifiedOn: "modified_on",
|
|
592
592
|
}))
|
|
593
593
|
.pipe(T.ResponsePath("result")));
|
|
594
|
-
export const createAdvancedTcpProtectionSynProtectionFilter = /*@__PURE__*/
|
|
594
|
+
export const createAdvancedTcpProtectionSynProtectionFilter = /*@__PURE__*/ API.make(() => ({
|
|
595
595
|
input: CreateAdvancedTcpProtectionSynProtectionFilterRequest,
|
|
596
596
|
output: CreateAdvancedTcpProtectionSynProtectionFilterResponse,
|
|
597
597
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
598
598
|
}));
|
|
599
599
|
export const BulkDeleteAdvancedTcpProtectionSynProtectionFiltersRequest =
|
|
600
|
-
/*@__PURE__*/
|
|
600
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
601
601
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
602
602
|
}).pipe(T.Http({
|
|
603
603
|
method: "DELETE",
|
|
604
604
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters",
|
|
605
605
|
})));
|
|
606
606
|
export const BulkDeleteAdvancedTcpProtectionSynProtectionFiltersResponse =
|
|
607
|
-
/*@__PURE__*/
|
|
607
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
608
608
|
errors: Schema.Array(Error2),
|
|
609
609
|
messages: Schema.Array(Error2),
|
|
610
610
|
success: Schema.Literal(true),
|
|
611
611
|
}));
|
|
612
|
-
export const bulkDeleteAdvancedTcpProtectionSynProtectionFilters = /*@__PURE__*/
|
|
612
|
+
export const bulkDeleteAdvancedTcpProtectionSynProtectionFilters = /*@__PURE__*/ API.make(() => ({
|
|
613
613
|
input: BulkDeleteAdvancedTcpProtectionSynProtectionFiltersRequest,
|
|
614
614
|
output: BulkDeleteAdvancedTcpProtectionSynProtectionFiltersResponse,
|
|
615
615
|
errors: [],
|
|
616
616
|
}));
|
|
617
617
|
export const GetAdvancedTcpProtectionSynProtectionFilterItemRequest =
|
|
618
|
-
/*@__PURE__*/
|
|
618
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
619
619
|
filterId: Schema.String.pipe(T.HttpPath("filterId")),
|
|
620
620
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
621
621
|
}).pipe(T.Http({
|
|
@@ -623,7 +623,7 @@ export const GetAdvancedTcpProtectionSynProtectionFilterItemRequest =
|
|
|
623
623
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filterId}",
|
|
624
624
|
})));
|
|
625
625
|
export const GetAdvancedTcpProtectionSynProtectionFilterItemResponse =
|
|
626
|
-
/*@__PURE__*/
|
|
626
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
627
627
|
id: Schema.String,
|
|
628
628
|
createdOn: Schema.String,
|
|
629
629
|
expression: Schema.String,
|
|
@@ -638,7 +638,7 @@ export const GetAdvancedTcpProtectionSynProtectionFilterItemResponse =
|
|
|
638
638
|
modifiedOn: "modified_on",
|
|
639
639
|
}))
|
|
640
640
|
.pipe(T.ResponsePath("result")));
|
|
641
|
-
export const getAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/
|
|
641
|
+
export const getAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/ API.make(() => ({
|
|
642
642
|
input: GetAdvancedTcpProtectionSynProtectionFilterItemRequest,
|
|
643
643
|
output: GetAdvancedTcpProtectionSynProtectionFilterItemResponse,
|
|
644
644
|
errors: [
|
|
@@ -648,7 +648,7 @@ export const getAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/ /*#
|
|
|
648
648
|
],
|
|
649
649
|
}));
|
|
650
650
|
export const PatchAdvancedTcpProtectionSynProtectionFilterItemRequest =
|
|
651
|
-
/*@__PURE__*/
|
|
651
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
652
652
|
filterId: Schema.String.pipe(T.HttpPath("filterId")),
|
|
653
653
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
654
654
|
expression: Schema.optional(Schema.String),
|
|
@@ -658,7 +658,7 @@ export const PatchAdvancedTcpProtectionSynProtectionFilterItemRequest =
|
|
|
658
658
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filterId}",
|
|
659
659
|
})));
|
|
660
660
|
export const PatchAdvancedTcpProtectionSynProtectionFilterItemResponse =
|
|
661
|
-
/*@__PURE__*/
|
|
661
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
662
662
|
id: Schema.String,
|
|
663
663
|
createdOn: Schema.String,
|
|
664
664
|
expression: Schema.String,
|
|
@@ -673,7 +673,7 @@ export const PatchAdvancedTcpProtectionSynProtectionFilterItemResponse =
|
|
|
673
673
|
modifiedOn: "modified_on",
|
|
674
674
|
}))
|
|
675
675
|
.pipe(T.ResponsePath("result")));
|
|
676
|
-
export const patchAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/
|
|
676
|
+
export const patchAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/ API.make(() => ({
|
|
677
677
|
input: PatchAdvancedTcpProtectionSynProtectionFilterItemRequest,
|
|
678
678
|
output: PatchAdvancedTcpProtectionSynProtectionFilterItemResponse,
|
|
679
679
|
errors: [
|
|
@@ -683,7 +683,7 @@ export const patchAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/ /
|
|
|
683
683
|
],
|
|
684
684
|
}));
|
|
685
685
|
export const DeleteAdvancedTcpProtectionSynProtectionFilterItemRequest =
|
|
686
|
-
/*@__PURE__*/
|
|
686
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
687
687
|
filterId: Schema.String.pipe(T.HttpPath("filterId")),
|
|
688
688
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
689
689
|
}).pipe(T.Http({
|
|
@@ -691,12 +691,12 @@ export const DeleteAdvancedTcpProtectionSynProtectionFilterItemRequest =
|
|
|
691
691
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filterId}",
|
|
692
692
|
})));
|
|
693
693
|
export const DeleteAdvancedTcpProtectionSynProtectionFilterItemResponse =
|
|
694
|
-
/*@__PURE__*/
|
|
694
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
695
695
|
errors: Schema.Array(Error2),
|
|
696
696
|
messages: Schema.Array(Error2),
|
|
697
697
|
success: Schema.Literal(true),
|
|
698
698
|
}));
|
|
699
|
-
export const deleteAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/
|
|
699
|
+
export const deleteAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/ API.make(() => ({
|
|
700
700
|
input: DeleteAdvancedTcpProtectionSynProtectionFilterItemRequest,
|
|
701
701
|
output: DeleteAdvancedTcpProtectionSynProtectionFilterItemResponse,
|
|
702
702
|
errors: [
|
|
@@ -706,7 +706,7 @@ export const deleteAdvancedTcpProtectionSynProtectionFilterItem = /*@__PURE__*/
|
|
|
706
706
|
],
|
|
707
707
|
}));
|
|
708
708
|
export const ListAdvancedTcpProtectionSynProtectionRulesRequest =
|
|
709
|
-
/*@__PURE__*/
|
|
709
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
710
710
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
711
711
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
712
712
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -717,14 +717,14 @@ export const ListAdvancedTcpProtectionSynProtectionRulesRequest =
|
|
|
717
717
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules",
|
|
718
718
|
})));
|
|
719
719
|
export const ListAdvancedTcpProtectionSynProtectionRulesResponse =
|
|
720
|
-
/*@__PURE__*/
|
|
720
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
721
721
|
result: Schema.Array(ListAdvancedTcpProtectionSynProtectionRulesResponseResult),
|
|
722
722
|
resultInfo: Schema.optional(Schema.Union([
|
|
723
723
|
ListAdvancedTcpProtectionAllowlistsResponseResultInfo,
|
|
724
724
|
Schema.Null,
|
|
725
725
|
])),
|
|
726
726
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
727
|
-
export const listAdvancedTcpProtectionSynProtectionRules = /*@__PURE__*/
|
|
727
|
+
export const listAdvancedTcpProtectionSynProtectionRules = /*@__PURE__*/ API.makePaginated(() => ({
|
|
728
728
|
input: ListAdvancedTcpProtectionSynProtectionRulesRequest,
|
|
729
729
|
output: ListAdvancedTcpProtectionSynProtectionRulesResponse,
|
|
730
730
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
@@ -737,7 +737,7 @@ export const listAdvancedTcpProtectionSynProtectionRules = /*@__PURE__*/ /*#__PU
|
|
|
737
737
|
},
|
|
738
738
|
}));
|
|
739
739
|
export const CreateAdvancedTcpProtectionSynProtectionRuleRequest =
|
|
740
|
-
/*@__PURE__*/
|
|
740
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
741
741
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
742
742
|
burstSensitivity: Schema.String,
|
|
743
743
|
mode: Schema.String,
|
|
@@ -757,7 +757,7 @@ export const CreateAdvancedTcpProtectionSynProtectionRuleRequest =
|
|
|
757
757
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules",
|
|
758
758
|
})));
|
|
759
759
|
export const CreateAdvancedTcpProtectionSynProtectionRuleResponse =
|
|
760
|
-
/*@__PURE__*/
|
|
760
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
761
761
|
id: Schema.String,
|
|
762
762
|
burstSensitivity: Schema.String,
|
|
763
763
|
createdOn: Schema.String,
|
|
@@ -780,31 +780,31 @@ export const CreateAdvancedTcpProtectionSynProtectionRuleResponse =
|
|
|
780
780
|
scope: "scope",
|
|
781
781
|
}))
|
|
782
782
|
.pipe(T.ResponsePath("result")));
|
|
783
|
-
export const createAdvancedTcpProtectionSynProtectionRule = /*@__PURE__*/
|
|
783
|
+
export const createAdvancedTcpProtectionSynProtectionRule = /*@__PURE__*/ API.make(() => ({
|
|
784
784
|
input: CreateAdvancedTcpProtectionSynProtectionRuleRequest,
|
|
785
785
|
output: CreateAdvancedTcpProtectionSynProtectionRuleResponse,
|
|
786
786
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
787
787
|
}));
|
|
788
788
|
export const BulkDeleteAdvancedTcpProtectionSynProtectionRulesRequest =
|
|
789
|
-
/*@__PURE__*/
|
|
789
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
790
790
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
791
791
|
}).pipe(T.Http({
|
|
792
792
|
method: "DELETE",
|
|
793
793
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules",
|
|
794
794
|
})));
|
|
795
795
|
export const BulkDeleteAdvancedTcpProtectionSynProtectionRulesResponse =
|
|
796
|
-
/*@__PURE__*/
|
|
796
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
797
797
|
errors: Schema.Array(Error2),
|
|
798
798
|
messages: Schema.Array(Error2),
|
|
799
799
|
success: Schema.Literal(true),
|
|
800
800
|
}));
|
|
801
|
-
export const bulkDeleteAdvancedTcpProtectionSynProtectionRules = /*@__PURE__*/
|
|
801
|
+
export const bulkDeleteAdvancedTcpProtectionSynProtectionRules = /*@__PURE__*/ API.make(() => ({
|
|
802
802
|
input: BulkDeleteAdvancedTcpProtectionSynProtectionRulesRequest,
|
|
803
803
|
output: BulkDeleteAdvancedTcpProtectionSynProtectionRulesResponse,
|
|
804
804
|
errors: [],
|
|
805
805
|
}));
|
|
806
806
|
export const GetAdvancedTcpProtectionSynProtectionRuleItemRequest =
|
|
807
|
-
/*@__PURE__*/
|
|
807
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
808
808
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
809
809
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
810
810
|
}).pipe(T.Http({
|
|
@@ -812,7 +812,7 @@ export const GetAdvancedTcpProtectionSynProtectionRuleItemRequest =
|
|
|
812
812
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{ruleId}",
|
|
813
813
|
})));
|
|
814
814
|
export const GetAdvancedTcpProtectionSynProtectionRuleItemResponse =
|
|
815
|
-
/*@__PURE__*/
|
|
815
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
816
816
|
id: Schema.String,
|
|
817
817
|
burstSensitivity: Schema.String,
|
|
818
818
|
createdOn: Schema.String,
|
|
@@ -835,7 +835,7 @@ export const GetAdvancedTcpProtectionSynProtectionRuleItemResponse =
|
|
|
835
835
|
scope: "scope",
|
|
836
836
|
}))
|
|
837
837
|
.pipe(T.ResponsePath("result")));
|
|
838
|
-
export const getAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/
|
|
838
|
+
export const getAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/ API.make(() => ({
|
|
839
839
|
input: GetAdvancedTcpProtectionSynProtectionRuleItemRequest,
|
|
840
840
|
output: GetAdvancedTcpProtectionSynProtectionRuleItemResponse,
|
|
841
841
|
errors: [
|
|
@@ -845,7 +845,7 @@ export const getAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/ /*#__
|
|
|
845
845
|
],
|
|
846
846
|
}));
|
|
847
847
|
export const PatchAdvancedTcpProtectionSynProtectionRuleItemRequest =
|
|
848
|
-
/*@__PURE__*/
|
|
848
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
849
849
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
850
850
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
851
851
|
burstSensitivity: Schema.optional(Schema.String),
|
|
@@ -862,7 +862,7 @@ export const PatchAdvancedTcpProtectionSynProtectionRuleItemRequest =
|
|
|
862
862
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{ruleId}",
|
|
863
863
|
})));
|
|
864
864
|
export const PatchAdvancedTcpProtectionSynProtectionRuleItemResponse =
|
|
865
|
-
/*@__PURE__*/
|
|
865
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
866
866
|
id: Schema.String,
|
|
867
867
|
burstSensitivity: Schema.String,
|
|
868
868
|
createdOn: Schema.String,
|
|
@@ -885,7 +885,7 @@ export const PatchAdvancedTcpProtectionSynProtectionRuleItemResponse =
|
|
|
885
885
|
scope: "scope",
|
|
886
886
|
}))
|
|
887
887
|
.pipe(T.ResponsePath("result")));
|
|
888
|
-
export const patchAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/
|
|
888
|
+
export const patchAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/ API.make(() => ({
|
|
889
889
|
input: PatchAdvancedTcpProtectionSynProtectionRuleItemRequest,
|
|
890
890
|
output: PatchAdvancedTcpProtectionSynProtectionRuleItemResponse,
|
|
891
891
|
errors: [
|
|
@@ -895,7 +895,7 @@ export const patchAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/ /*#
|
|
|
895
895
|
],
|
|
896
896
|
}));
|
|
897
897
|
export const DeleteAdvancedTcpProtectionSynProtectionRuleItemRequest =
|
|
898
|
-
/*@__PURE__*/
|
|
898
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
899
899
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
900
900
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
901
901
|
}).pipe(T.Http({
|
|
@@ -903,12 +903,12 @@ export const DeleteAdvancedTcpProtectionSynProtectionRuleItemRequest =
|
|
|
903
903
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{ruleId}",
|
|
904
904
|
})));
|
|
905
905
|
export const DeleteAdvancedTcpProtectionSynProtectionRuleItemResponse =
|
|
906
|
-
/*@__PURE__*/
|
|
906
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
907
907
|
errors: Schema.Array(Error2),
|
|
908
908
|
messages: Schema.Array(Error2),
|
|
909
909
|
success: Schema.Literal(true),
|
|
910
910
|
}));
|
|
911
|
-
export const deleteAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/
|
|
911
|
+
export const deleteAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/ API.make(() => ({
|
|
912
912
|
input: DeleteAdvancedTcpProtectionSynProtectionRuleItemRequest,
|
|
913
913
|
output: DeleteAdvancedTcpProtectionSynProtectionRuleItemResponse,
|
|
914
914
|
errors: [
|
|
@@ -918,7 +918,7 @@ export const deleteAdvancedTcpProtectionSynProtectionRuleItem = /*@__PURE__*/ /*
|
|
|
918
918
|
],
|
|
919
919
|
}));
|
|
920
920
|
export const ListAdvancedTcpProtectionTcpFlowProtectionFiltersRequest =
|
|
921
|
-
/*@__PURE__*/
|
|
921
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
922
922
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
923
923
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
924
924
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -930,14 +930,14 @@ export const ListAdvancedTcpProtectionTcpFlowProtectionFiltersRequest =
|
|
|
930
930
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters",
|
|
931
931
|
})));
|
|
932
932
|
export const ListAdvancedTcpProtectionTcpFlowProtectionFiltersResponse =
|
|
933
|
-
/*@__PURE__*/
|
|
933
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
934
934
|
result: Schema.Array(ListAdvancedTcpProtectionSynProtectionFiltersResponseResult),
|
|
935
935
|
resultInfo: Schema.optional(Schema.Union([
|
|
936
936
|
ListAdvancedTcpProtectionAllowlistsResponseResultInfo,
|
|
937
937
|
Schema.Null,
|
|
938
938
|
])),
|
|
939
939
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
940
|
-
export const listAdvancedTcpProtectionTcpFlowProtectionFilters = /*@__PURE__*/
|
|
940
|
+
export const listAdvancedTcpProtectionTcpFlowProtectionFilters = /*@__PURE__*/ API.makePaginated(() => ({
|
|
941
941
|
input: ListAdvancedTcpProtectionTcpFlowProtectionFiltersRequest,
|
|
942
942
|
output: ListAdvancedTcpProtectionTcpFlowProtectionFiltersResponse,
|
|
943
943
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
@@ -950,7 +950,7 @@ export const listAdvancedTcpProtectionTcpFlowProtectionFilters = /*@__PURE__*/ /
|
|
|
950
950
|
},
|
|
951
951
|
}));
|
|
952
952
|
export const CreateAdvancedTcpProtectionTcpFlowProtectionFilterRequest =
|
|
953
|
-
/*@__PURE__*/
|
|
953
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
954
954
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
955
955
|
expression: Schema.String,
|
|
956
956
|
mode: Schema.String,
|
|
@@ -959,7 +959,7 @@ export const CreateAdvancedTcpProtectionTcpFlowProtectionFilterRequest =
|
|
|
959
959
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters",
|
|
960
960
|
})));
|
|
961
961
|
export const CreateAdvancedTcpProtectionTcpFlowProtectionFilterResponse =
|
|
962
|
-
/*@__PURE__*/
|
|
962
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
963
963
|
id: Schema.String,
|
|
964
964
|
createdOn: Schema.String,
|
|
965
965
|
expression: Schema.String,
|
|
@@ -974,31 +974,31 @@ export const CreateAdvancedTcpProtectionTcpFlowProtectionFilterResponse =
|
|
|
974
974
|
modifiedOn: "modified_on",
|
|
975
975
|
}))
|
|
976
976
|
.pipe(T.ResponsePath("result")));
|
|
977
|
-
export const createAdvancedTcpProtectionTcpFlowProtectionFilter = /*@__PURE__*/
|
|
977
|
+
export const createAdvancedTcpProtectionTcpFlowProtectionFilter = /*@__PURE__*/ API.make(() => ({
|
|
978
978
|
input: CreateAdvancedTcpProtectionTcpFlowProtectionFilterRequest,
|
|
979
979
|
output: CreateAdvancedTcpProtectionTcpFlowProtectionFilterResponse,
|
|
980
980
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
981
981
|
}));
|
|
982
982
|
export const BulkDeleteAdvancedTcpProtectionTcpFlowProtectionFiltersRequest =
|
|
983
|
-
/*@__PURE__*/
|
|
983
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
984
984
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
985
985
|
}).pipe(T.Http({
|
|
986
986
|
method: "DELETE",
|
|
987
987
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters",
|
|
988
988
|
})));
|
|
989
989
|
export const BulkDeleteAdvancedTcpProtectionTcpFlowProtectionFiltersResponse =
|
|
990
|
-
/*@__PURE__*/
|
|
990
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
991
991
|
errors: Schema.Array(Error2),
|
|
992
992
|
messages: Schema.Array(Error2),
|
|
993
993
|
success: Schema.Literal(true),
|
|
994
994
|
}));
|
|
995
|
-
export const bulkDeleteAdvancedTcpProtectionTcpFlowProtectionFilters = /*@__PURE__*/
|
|
995
|
+
export const bulkDeleteAdvancedTcpProtectionTcpFlowProtectionFilters = /*@__PURE__*/ API.make(() => ({
|
|
996
996
|
input: BulkDeleteAdvancedTcpProtectionTcpFlowProtectionFiltersRequest,
|
|
997
997
|
output: BulkDeleteAdvancedTcpProtectionTcpFlowProtectionFiltersResponse,
|
|
998
998
|
errors: [],
|
|
999
999
|
}));
|
|
1000
1000
|
export const GetAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest =
|
|
1001
|
-
/*@__PURE__*/
|
|
1001
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1002
1002
|
filterId: Schema.String.pipe(T.HttpPath("filterId")),
|
|
1003
1003
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1004
1004
|
}).pipe(T.Http({
|
|
@@ -1006,7 +1006,7 @@ export const GetAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest =
|
|
|
1006
1006
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filterId}",
|
|
1007
1007
|
})));
|
|
1008
1008
|
export const GetAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse =
|
|
1009
|
-
/*@__PURE__*/
|
|
1009
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1010
1010
|
id: Schema.String,
|
|
1011
1011
|
createdOn: Schema.String,
|
|
1012
1012
|
expression: Schema.String,
|
|
@@ -1021,7 +1021,7 @@ export const GetAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse =
|
|
|
1021
1021
|
modifiedOn: "modified_on",
|
|
1022
1022
|
}))
|
|
1023
1023
|
.pipe(T.ResponsePath("result")));
|
|
1024
|
-
export const getAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/
|
|
1024
|
+
export const getAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/ API.make(() => ({
|
|
1025
1025
|
input: GetAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest,
|
|
1026
1026
|
output: GetAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse,
|
|
1027
1027
|
errors: [
|
|
@@ -1031,7 +1031,7 @@ export const getAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/
|
|
|
1031
1031
|
],
|
|
1032
1032
|
}));
|
|
1033
1033
|
export const PatchAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest =
|
|
1034
|
-
/*@__PURE__*/
|
|
1034
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1035
1035
|
filterId: Schema.String.pipe(T.HttpPath("filterId")),
|
|
1036
1036
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1037
1037
|
expression: Schema.optional(Schema.String),
|
|
@@ -1041,7 +1041,7 @@ export const PatchAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest =
|
|
|
1041
1041
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filterId}",
|
|
1042
1042
|
})));
|
|
1043
1043
|
export const PatchAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse =
|
|
1044
|
-
/*@__PURE__*/
|
|
1044
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1045
1045
|
id: Schema.String,
|
|
1046
1046
|
createdOn: Schema.String,
|
|
1047
1047
|
expression: Schema.String,
|
|
@@ -1056,7 +1056,7 @@ export const PatchAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse =
|
|
|
1056
1056
|
modifiedOn: "modified_on",
|
|
1057
1057
|
}))
|
|
1058
1058
|
.pipe(T.ResponsePath("result")));
|
|
1059
|
-
export const patchAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/
|
|
1059
|
+
export const patchAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/ API.make(() => ({
|
|
1060
1060
|
input: PatchAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest,
|
|
1061
1061
|
output: PatchAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse,
|
|
1062
1062
|
errors: [
|
|
@@ -1066,7 +1066,7 @@ export const patchAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__
|
|
|
1066
1066
|
],
|
|
1067
1067
|
}));
|
|
1068
1068
|
export const DeleteAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest =
|
|
1069
|
-
/*@__PURE__*/
|
|
1069
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1070
1070
|
filterId: Schema.String.pipe(T.HttpPath("filterId")),
|
|
1071
1071
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1072
1072
|
}).pipe(T.Http({
|
|
@@ -1074,12 +1074,12 @@ export const DeleteAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest =
|
|
|
1074
1074
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filterId}",
|
|
1075
1075
|
})));
|
|
1076
1076
|
export const DeleteAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse =
|
|
1077
|
-
/*@__PURE__*/
|
|
1077
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1078
1078
|
errors: Schema.Array(Error2),
|
|
1079
1079
|
messages: Schema.Array(Error2),
|
|
1080
1080
|
success: Schema.Literal(true),
|
|
1081
1081
|
}));
|
|
1082
|
-
export const deleteAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/
|
|
1082
|
+
export const deleteAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE__*/ API.make(() => ({
|
|
1083
1083
|
input: DeleteAdvancedTcpProtectionTcpFlowProtectionFilterItemRequest,
|
|
1084
1084
|
output: DeleteAdvancedTcpProtectionTcpFlowProtectionFilterItemResponse,
|
|
1085
1085
|
errors: [
|
|
@@ -1089,7 +1089,7 @@ export const deleteAdvancedTcpProtectionTcpFlowProtectionFilterItem = /*@__PURE_
|
|
|
1089
1089
|
],
|
|
1090
1090
|
}));
|
|
1091
1091
|
export const ListAdvancedTcpProtectionTcpFlowProtectionRulesRequest =
|
|
1092
|
-
/*@__PURE__*/
|
|
1092
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1093
1093
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1094
1094
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1095
1095
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1100,14 +1100,14 @@ export const ListAdvancedTcpProtectionTcpFlowProtectionRulesRequest =
|
|
|
1100
1100
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules",
|
|
1101
1101
|
})));
|
|
1102
1102
|
export const ListAdvancedTcpProtectionTcpFlowProtectionRulesResponse =
|
|
1103
|
-
/*@__PURE__*/
|
|
1103
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1104
1104
|
result: Schema.Array(ListAdvancedTcpProtectionTcpFlowProtectionRulesResponseResult),
|
|
1105
1105
|
resultInfo: Schema.optional(Schema.Union([
|
|
1106
1106
|
ListAdvancedTcpProtectionAllowlistsResponseResultInfo,
|
|
1107
1107
|
Schema.Null,
|
|
1108
1108
|
])),
|
|
1109
1109
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1110
|
-
export const listAdvancedTcpProtectionTcpFlowProtectionRules = /*@__PURE__*/
|
|
1110
|
+
export const listAdvancedTcpProtectionTcpFlowProtectionRules = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1111
1111
|
input: ListAdvancedTcpProtectionTcpFlowProtectionRulesRequest,
|
|
1112
1112
|
output: ListAdvancedTcpProtectionTcpFlowProtectionRulesResponse,
|
|
1113
1113
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
@@ -1120,7 +1120,7 @@ export const listAdvancedTcpProtectionTcpFlowProtectionRules = /*@__PURE__*/ /*#
|
|
|
1120
1120
|
},
|
|
1121
1121
|
}));
|
|
1122
1122
|
export const CreateAdvancedTcpProtectionTcpFlowProtectionRuleRequest =
|
|
1123
|
-
/*@__PURE__*/
|
|
1123
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1124
1124
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1125
1125
|
burstSensitivity: Schema.String,
|
|
1126
1126
|
mode: Schema.String,
|
|
@@ -1138,7 +1138,7 @@ export const CreateAdvancedTcpProtectionTcpFlowProtectionRuleRequest =
|
|
|
1138
1138
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules",
|
|
1139
1139
|
})));
|
|
1140
1140
|
export const CreateAdvancedTcpProtectionTcpFlowProtectionRuleResponse =
|
|
1141
|
-
/*@__PURE__*/
|
|
1141
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1142
1142
|
id: Schema.String,
|
|
1143
1143
|
burstSensitivity: Schema.String,
|
|
1144
1144
|
createdOn: Schema.String,
|
|
@@ -1159,31 +1159,31 @@ export const CreateAdvancedTcpProtectionTcpFlowProtectionRuleResponse =
|
|
|
1159
1159
|
scope: "scope",
|
|
1160
1160
|
}))
|
|
1161
1161
|
.pipe(T.ResponsePath("result")));
|
|
1162
|
-
export const createAdvancedTcpProtectionTcpFlowProtectionRule = /*@__PURE__*/
|
|
1162
|
+
export const createAdvancedTcpProtectionTcpFlowProtectionRule = /*@__PURE__*/ API.make(() => ({
|
|
1163
1163
|
input: CreateAdvancedTcpProtectionTcpFlowProtectionRuleRequest,
|
|
1164
1164
|
output: CreateAdvancedTcpProtectionTcpFlowProtectionRuleResponse,
|
|
1165
1165
|
errors: [AdvancedTcpProtectionNotEntitled, Forbidden],
|
|
1166
1166
|
}));
|
|
1167
1167
|
export const BulkDeleteAdvancedTcpProtectionTcpFlowProtectionRulesRequest =
|
|
1168
|
-
/*@__PURE__*/
|
|
1168
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1169
1169
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1170
1170
|
}).pipe(T.Http({
|
|
1171
1171
|
method: "DELETE",
|
|
1172
1172
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules",
|
|
1173
1173
|
})));
|
|
1174
1174
|
export const BulkDeleteAdvancedTcpProtectionTcpFlowProtectionRulesResponse =
|
|
1175
|
-
/*@__PURE__*/
|
|
1175
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1176
1176
|
errors: Schema.Array(Error2),
|
|
1177
1177
|
messages: Schema.Array(Error2),
|
|
1178
1178
|
success: Schema.Literal(true),
|
|
1179
1179
|
}));
|
|
1180
|
-
export const bulkDeleteAdvancedTcpProtectionTcpFlowProtectionRules = /*@__PURE__*/
|
|
1180
|
+
export const bulkDeleteAdvancedTcpProtectionTcpFlowProtectionRules = /*@__PURE__*/ API.make(() => ({
|
|
1181
1181
|
input: BulkDeleteAdvancedTcpProtectionTcpFlowProtectionRulesRequest,
|
|
1182
1182
|
output: BulkDeleteAdvancedTcpProtectionTcpFlowProtectionRulesResponse,
|
|
1183
1183
|
errors: [],
|
|
1184
1184
|
}));
|
|
1185
1185
|
export const GetAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest =
|
|
1186
|
-
/*@__PURE__*/
|
|
1186
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1187
1187
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
1188
1188
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1189
1189
|
}).pipe(T.Http({
|
|
@@ -1191,7 +1191,7 @@ export const GetAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest =
|
|
|
1191
1191
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{ruleId}",
|
|
1192
1192
|
})));
|
|
1193
1193
|
export const GetAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse =
|
|
1194
|
-
/*@__PURE__*/
|
|
1194
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1195
1195
|
id: Schema.String,
|
|
1196
1196
|
burstSensitivity: Schema.String,
|
|
1197
1197
|
createdOn: Schema.String,
|
|
@@ -1212,7 +1212,7 @@ export const GetAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse =
|
|
|
1212
1212
|
scope: "scope",
|
|
1213
1213
|
}))
|
|
1214
1214
|
.pipe(T.ResponsePath("result")));
|
|
1215
|
-
export const getAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/
|
|
1215
|
+
export const getAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/ API.make(() => ({
|
|
1216
1216
|
input: GetAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest,
|
|
1217
1217
|
output: GetAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse,
|
|
1218
1218
|
errors: [
|
|
@@ -1222,7 +1222,7 @@ export const getAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/ /
|
|
|
1222
1222
|
],
|
|
1223
1223
|
}));
|
|
1224
1224
|
export const PatchAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest =
|
|
1225
|
-
/*@__PURE__*/
|
|
1225
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1226
1226
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
1227
1227
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1228
1228
|
burstSensitivity: Schema.optional(Schema.String),
|
|
@@ -1237,7 +1237,7 @@ export const PatchAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest =
|
|
|
1237
1237
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{ruleId}",
|
|
1238
1238
|
})));
|
|
1239
1239
|
export const PatchAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse =
|
|
1240
|
-
/*@__PURE__*/
|
|
1240
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1241
1241
|
id: Schema.String,
|
|
1242
1242
|
burstSensitivity: Schema.String,
|
|
1243
1243
|
createdOn: Schema.String,
|
|
@@ -1258,7 +1258,7 @@ export const PatchAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse =
|
|
|
1258
1258
|
scope: "scope",
|
|
1259
1259
|
}))
|
|
1260
1260
|
.pipe(T.ResponsePath("result")));
|
|
1261
|
-
export const patchAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/
|
|
1261
|
+
export const patchAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/ API.make(() => ({
|
|
1262
1262
|
input: PatchAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest,
|
|
1263
1263
|
output: PatchAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse,
|
|
1264
1264
|
errors: [
|
|
@@ -1268,7 +1268,7 @@ export const patchAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/
|
|
|
1268
1268
|
],
|
|
1269
1269
|
}));
|
|
1270
1270
|
export const DeleteAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest =
|
|
1271
|
-
/*@__PURE__*/
|
|
1271
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1272
1272
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
1273
1273
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1274
1274
|
}).pipe(T.Http({
|
|
@@ -1276,12 +1276,12 @@ export const DeleteAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest =
|
|
|
1276
1276
|
path: "/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{ruleId}",
|
|
1277
1277
|
})));
|
|
1278
1278
|
export const DeleteAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse =
|
|
1279
|
-
/*@__PURE__*/
|
|
1279
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1280
1280
|
errors: Schema.Array(Error2),
|
|
1281
1281
|
messages: Schema.Array(Error2),
|
|
1282
1282
|
success: Schema.Literal(true),
|
|
1283
1283
|
}));
|
|
1284
|
-
export const deleteAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/
|
|
1284
|
+
export const deleteAdvancedTcpProtectionTcpFlowProtectionRuleItem = /*@__PURE__*/ API.make(() => ({
|
|
1285
1285
|
input: DeleteAdvancedTcpProtectionTcpFlowProtectionRuleItemRequest,
|
|
1286
1286
|
output: DeleteAdvancedTcpProtectionTcpFlowProtectionRuleItemResponse,
|
|
1287
1287
|
errors: [
|