@distilled.cloud/cloudflare 0.2.6 → 0.3.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service api-gateway
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import * as stream from "effect/Stream";
|
|
8
9
|
import * as Schema from "effect/Schema";
|
|
9
10
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
11
|
import * as API from "../client/api.ts";
|
|
@@ -84,9 +85,13 @@ export const GetConfigurationResponse =
|
|
|
84
85
|
}),
|
|
85
86
|
]),
|
|
86
87
|
),
|
|
87
|
-
})
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
})
|
|
89
|
+
.pipe(
|
|
90
|
+
Schema.encodeKeys({ authIdCharacteristics: "auth_id_characteristics" }),
|
|
91
|
+
)
|
|
92
|
+
.pipe(
|
|
93
|
+
T.ResponsePath("result"),
|
|
94
|
+
) as unknown as Schema.Schema<GetConfigurationResponse>;
|
|
90
95
|
|
|
91
96
|
export type GetConfigurationError =
|
|
92
97
|
| DefaultErrors
|
|
@@ -161,9 +166,13 @@ export const PutConfigurationResponse =
|
|
|
161
166
|
}),
|
|
162
167
|
]),
|
|
163
168
|
),
|
|
164
|
-
})
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
})
|
|
170
|
+
.pipe(
|
|
171
|
+
Schema.encodeKeys({ authIdCharacteristics: "auth_id_characteristics" }),
|
|
172
|
+
)
|
|
173
|
+
.pipe(
|
|
174
|
+
T.ResponsePath("result"),
|
|
175
|
+
) as unknown as Schema.Schema<PutConfigurationResponse>;
|
|
167
176
|
|
|
168
177
|
export type PutConfigurationError =
|
|
169
178
|
| DefaultErrors
|
|
@@ -204,7 +213,9 @@ export interface GetDiscoveryResponse {
|
|
|
204
213
|
export const GetDiscoveryResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
205
214
|
schemas: Schema.Array(Schema.Unknown),
|
|
206
215
|
timestamp: Schema.String,
|
|
207
|
-
})
|
|
216
|
+
}).pipe(
|
|
217
|
+
T.ResponsePath("result"),
|
|
218
|
+
) as unknown as Schema.Schema<GetDiscoveryResponse>;
|
|
208
219
|
|
|
209
220
|
export type GetDiscoveryError =
|
|
210
221
|
| DefaultErrors
|
|
@@ -339,7 +350,9 @@ export const PatchDiscoveryOperationResponse =
|
|
|
339
350
|
Schema.Null,
|
|
340
351
|
]),
|
|
341
352
|
),
|
|
342
|
-
})
|
|
353
|
+
}).pipe(
|
|
354
|
+
T.ResponsePath("result"),
|
|
355
|
+
) as unknown as Schema.Schema<PatchDiscoveryOperationResponse>;
|
|
343
356
|
|
|
344
357
|
export type PatchDiscoveryOperationError =
|
|
345
358
|
| DefaultErrors
|
|
@@ -378,8 +391,8 @@ export const BulkPatchDiscoveryOperationsRequest =
|
|
|
378
391
|
export type BulkPatchDiscoveryOperationsResponse = Record<string, unknown>;
|
|
379
392
|
|
|
380
393
|
export const BulkPatchDiscoveryOperationsResponse =
|
|
381
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
382
|
-
|
|
394
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
395
|
+
T.ResponsePath("result"),
|
|
383
396
|
) as unknown as Schema.Schema<BulkPatchDiscoveryOperationsResponse>;
|
|
384
397
|
|
|
385
398
|
export type BulkPatchDiscoveryOperationsError =
|
|
@@ -431,7 +444,9 @@ export const CreateExpressionTemplateFallthroughResponse =
|
|
|
431
444
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
432
445
|
expression: Schema.String,
|
|
433
446
|
title: Schema.String,
|
|
434
|
-
})
|
|
447
|
+
}).pipe(
|
|
448
|
+
T.ResponsePath("result"),
|
|
449
|
+
) as unknown as Schema.Schema<CreateExpressionTemplateFallthroughResponse>;
|
|
435
450
|
|
|
436
451
|
export type CreateExpressionTemplateFallthroughError =
|
|
437
452
|
| DefaultErrors
|
|
@@ -797,16 +812,20 @@ export const GetOperationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
797
812
|
Schema.Null,
|
|
798
813
|
]),
|
|
799
814
|
),
|
|
800
|
-
})
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
)
|
|
815
|
+
})
|
|
816
|
+
.pipe(
|
|
817
|
+
Schema.encodeKeys({
|
|
818
|
+
endpoint: "endpoint",
|
|
819
|
+
host: "host",
|
|
820
|
+
lastUpdated: "last_updated",
|
|
821
|
+
method: "method",
|
|
822
|
+
operationId: "operation_id",
|
|
823
|
+
features: "features",
|
|
824
|
+
}),
|
|
825
|
+
)
|
|
826
|
+
.pipe(
|
|
827
|
+
T.ResponsePath("result"),
|
|
828
|
+
) as unknown as Schema.Schema<GetOperationResponse>;
|
|
810
829
|
|
|
811
830
|
export type GetOperationError =
|
|
812
831
|
| DefaultErrors
|
|
@@ -863,366 +882,490 @@ export const ListOperationsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
863
882
|
T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/operations" }),
|
|
864
883
|
) as unknown as Schema.Schema<ListOperationsRequest>;
|
|
865
884
|
|
|
866
|
-
export
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
}
|
|
895
|
-
| {
|
|
896
|
-
parameterSchemas: {
|
|
897
|
-
lastUpdated?: string | null;
|
|
898
|
-
parameterSchemas?: {
|
|
899
|
-
parameters?: unknown[] | null;
|
|
900
|
-
responses?: null;
|
|
885
|
+
export interface ListOperationsResponse {
|
|
886
|
+
result: {
|
|
887
|
+
endpoint: string;
|
|
888
|
+
host: string;
|
|
889
|
+
lastUpdated: string;
|
|
890
|
+
method:
|
|
891
|
+
| "GET"
|
|
892
|
+
| "POST"
|
|
893
|
+
| "HEAD"
|
|
894
|
+
| "OPTIONS"
|
|
895
|
+
| "PUT"
|
|
896
|
+
| "DELETE"
|
|
897
|
+
| "CONNECT"
|
|
898
|
+
| "PATCH"
|
|
899
|
+
| "TRACE";
|
|
900
|
+
operationId: string;
|
|
901
|
+
features?:
|
|
902
|
+
| {
|
|
903
|
+
thresholds?: {
|
|
904
|
+
authIdTokens?: number | null;
|
|
905
|
+
dataPoints?: number | null;
|
|
906
|
+
lastUpdated?: string | null;
|
|
907
|
+
p50?: number | null;
|
|
908
|
+
p90?: number | null;
|
|
909
|
+
p99?: number | null;
|
|
910
|
+
periodSeconds?: number | null;
|
|
911
|
+
requests?: number | null;
|
|
912
|
+
suggestedThreshold?: number | null;
|
|
901
913
|
} | null;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
}
|
|
910
|
-
| {
|
|
911
|
-
confidenceIntervals?: {
|
|
912
|
-
lastUpdated?: string | null;
|
|
913
|
-
suggestedThreshold?: {
|
|
914
|
-
confidenceIntervals?: {
|
|
915
|
-
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
916
|
-
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
917
|
-
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
914
|
+
}
|
|
915
|
+
| {
|
|
916
|
+
parameterSchemas: {
|
|
917
|
+
lastUpdated?: string | null;
|
|
918
|
+
parameterSchemas?: {
|
|
919
|
+
parameters?: unknown[] | null;
|
|
920
|
+
responses?: null;
|
|
918
921
|
} | null;
|
|
919
|
-
|
|
922
|
+
};
|
|
923
|
+
}
|
|
924
|
+
| {
|
|
925
|
+
apiRouting?: {
|
|
926
|
+
lastUpdated?: string | null;
|
|
927
|
+
route?: string | null;
|
|
920
928
|
} | null;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
929
|
+
}
|
|
930
|
+
| {
|
|
931
|
+
confidenceIntervals?: {
|
|
932
|
+
lastUpdated?: string | null;
|
|
933
|
+
suggestedThreshold?: {
|
|
934
|
+
confidenceIntervals?: {
|
|
935
|
+
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
936
|
+
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
937
|
+
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
938
|
+
} | null;
|
|
939
|
+
mean?: number | null;
|
|
940
|
+
} | null;
|
|
930
941
|
} | null;
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
942
|
+
}
|
|
943
|
+
| {
|
|
944
|
+
schemaInfo?: {
|
|
945
|
+
activeSchema?: {
|
|
946
|
+
id?: string | null;
|
|
947
|
+
createdAt?: string | null;
|
|
948
|
+
isLearned?: boolean | null;
|
|
949
|
+
name?: string | null;
|
|
950
|
+
} | null;
|
|
951
|
+
learnedAvailable?: boolean | null;
|
|
952
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
953
|
+
} | null;
|
|
954
|
+
}
|
|
955
|
+
| null;
|
|
956
|
+
}[];
|
|
957
|
+
resultInfo: {
|
|
958
|
+
count?: number | null;
|
|
959
|
+
page?: number | null;
|
|
960
|
+
perPage?: number | null;
|
|
961
|
+
totalCount?: number | null;
|
|
962
|
+
};
|
|
963
|
+
}
|
|
937
964
|
|
|
938
|
-
export const ListOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
Schema.
|
|
958
|
-
Schema.
|
|
959
|
-
|
|
960
|
-
Schema.
|
|
961
|
-
Schema.
|
|
962
|
-
|
|
963
|
-
Schema.
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
965
|
+
export const ListOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
966
|
+
{
|
|
967
|
+
result: Schema.Array(
|
|
968
|
+
Schema.Struct({
|
|
969
|
+
endpoint: Schema.String,
|
|
970
|
+
host: Schema.String,
|
|
971
|
+
lastUpdated: Schema.String,
|
|
972
|
+
method: Schema.Literals([
|
|
973
|
+
"GET",
|
|
974
|
+
"POST",
|
|
975
|
+
"HEAD",
|
|
976
|
+
"OPTIONS",
|
|
977
|
+
"PUT",
|
|
978
|
+
"DELETE",
|
|
979
|
+
"CONNECT",
|
|
980
|
+
"PATCH",
|
|
981
|
+
"TRACE",
|
|
982
|
+
]),
|
|
983
|
+
operationId: Schema.String,
|
|
984
|
+
features: Schema.optional(
|
|
985
|
+
Schema.Union([
|
|
986
|
+
Schema.Union([
|
|
987
|
+
Schema.Struct({
|
|
988
|
+
thresholds: Schema.optional(
|
|
989
|
+
Schema.Union([
|
|
990
|
+
Schema.Struct({
|
|
991
|
+
authIdTokens: Schema.optional(
|
|
992
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
993
|
+
),
|
|
994
|
+
dataPoints: Schema.optional(
|
|
995
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
996
|
+
),
|
|
997
|
+
lastUpdated: Schema.optional(
|
|
998
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
999
|
+
),
|
|
1000
|
+
p50: Schema.optional(
|
|
1001
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1002
|
+
),
|
|
1003
|
+
p90: Schema.optional(
|
|
1004
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1005
|
+
),
|
|
1006
|
+
p99: Schema.optional(
|
|
1007
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1008
|
+
),
|
|
1009
|
+
periodSeconds: Schema.optional(
|
|
1010
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1011
|
+
),
|
|
1012
|
+
requests: Schema.optional(
|
|
1013
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1014
|
+
),
|
|
1015
|
+
suggestedThreshold: Schema.optional(
|
|
1016
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1017
|
+
),
|
|
1018
|
+
}).pipe(
|
|
1019
|
+
Schema.encodeKeys({
|
|
1020
|
+
authIdTokens: "auth_id_tokens",
|
|
1021
|
+
dataPoints: "data_points",
|
|
1022
|
+
lastUpdated: "last_updated",
|
|
1023
|
+
p50: "p50",
|
|
1024
|
+
p90: "p90",
|
|
1025
|
+
p99: "p99",
|
|
1026
|
+
periodSeconds: "period_seconds",
|
|
1027
|
+
requests: "requests",
|
|
1028
|
+
suggestedThreshold: "suggested_threshold",
|
|
1029
|
+
}),
|
|
1030
|
+
),
|
|
1031
|
+
Schema.Null,
|
|
1032
|
+
]),
|
|
1033
|
+
),
|
|
1034
|
+
}),
|
|
1035
|
+
Schema.Struct({
|
|
1036
|
+
parameterSchemas: Schema.Struct({
|
|
968
1037
|
lastUpdated: Schema.optional(
|
|
969
1038
|
Schema.Union([Schema.String, Schema.Null]),
|
|
970
1039
|
),
|
|
971
|
-
|
|
972
|
-
Schema.Union([
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
985
|
-
),
|
|
986
|
-
suggestedThreshold: Schema.optional(
|
|
987
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1040
|
+
parameterSchemas: Schema.optional(
|
|
1041
|
+
Schema.Union([
|
|
1042
|
+
Schema.Struct({
|
|
1043
|
+
parameters: Schema.optional(
|
|
1044
|
+
Schema.Union([
|
|
1045
|
+
Schema.Array(Schema.Unknown),
|
|
1046
|
+
Schema.Null,
|
|
1047
|
+
]),
|
|
1048
|
+
),
|
|
1049
|
+
responses: Schema.optional(Schema.Null),
|
|
1050
|
+
}),
|
|
1051
|
+
Schema.Null,
|
|
1052
|
+
]),
|
|
988
1053
|
),
|
|
989
1054
|
}).pipe(
|
|
990
1055
|
Schema.encodeKeys({
|
|
991
|
-
authIdTokens: "auth_id_tokens",
|
|
992
|
-
dataPoints: "data_points",
|
|
993
1056
|
lastUpdated: "last_updated",
|
|
994
|
-
|
|
995
|
-
p90: "p90",
|
|
996
|
-
p99: "p99",
|
|
997
|
-
periodSeconds: "period_seconds",
|
|
998
|
-
requests: "requests",
|
|
999
|
-
suggestedThreshold: "suggested_threshold",
|
|
1057
|
+
parameterSchemas: "parameter_schemas",
|
|
1000
1058
|
}),
|
|
1001
1059
|
),
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
),
|
|
1005
|
-
}),
|
|
1006
|
-
Schema.Struct({
|
|
1007
|
-
parameterSchemas: Schema.Struct({
|
|
1008
|
-
lastUpdated: Schema.optional(
|
|
1009
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1060
|
+
}).pipe(
|
|
1061
|
+
Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
|
|
1010
1062
|
),
|
|
1011
|
-
|
|
1012
|
-
Schema.
|
|
1013
|
-
Schema.
|
|
1014
|
-
|
|
1015
|
-
Schema.
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
Schema.Struct({
|
|
1030
|
-
apiRouting: Schema.optional(
|
|
1031
|
-
Schema.Union([
|
|
1032
|
-
Schema.Struct({
|
|
1033
|
-
lastUpdated: Schema.optional(
|
|
1034
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1035
|
-
),
|
|
1036
|
-
route: Schema.optional(
|
|
1037
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1038
|
-
),
|
|
1039
|
-
}).pipe(
|
|
1040
|
-
Schema.encodeKeys({
|
|
1041
|
-
lastUpdated: "last_updated",
|
|
1042
|
-
route: "route",
|
|
1043
|
-
}),
|
|
1063
|
+
Schema.Struct({
|
|
1064
|
+
apiRouting: Schema.optional(
|
|
1065
|
+
Schema.Union([
|
|
1066
|
+
Schema.Struct({
|
|
1067
|
+
lastUpdated: Schema.optional(
|
|
1068
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1069
|
+
),
|
|
1070
|
+
route: Schema.optional(
|
|
1071
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1072
|
+
),
|
|
1073
|
+
}).pipe(
|
|
1074
|
+
Schema.encodeKeys({
|
|
1075
|
+
lastUpdated: "last_updated",
|
|
1076
|
+
route: "route",
|
|
1077
|
+
}),
|
|
1078
|
+
),
|
|
1079
|
+
Schema.Null,
|
|
1080
|
+
]),
|
|
1044
1081
|
),
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
Schema.
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
),
|
|
1077
|
-
|
|
1078
|
-
Schema.
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
Schema.
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
),
|
|
1096
|
-
|
|
1097
|
-
Schema.
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
Schema.
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
),
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
),
|
|
1082
|
+
}).pipe(Schema.encodeKeys({ apiRouting: "api_routing" })),
|
|
1083
|
+
Schema.Struct({
|
|
1084
|
+
confidenceIntervals: Schema.optional(
|
|
1085
|
+
Schema.Union([
|
|
1086
|
+
Schema.Struct({
|
|
1087
|
+
lastUpdated: Schema.optional(
|
|
1088
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1089
|
+
),
|
|
1090
|
+
suggestedThreshold: Schema.optional(
|
|
1091
|
+
Schema.Union([
|
|
1092
|
+
Schema.Struct({
|
|
1093
|
+
confidenceIntervals: Schema.optional(
|
|
1094
|
+
Schema.Union([
|
|
1095
|
+
Schema.Struct({
|
|
1096
|
+
p90: Schema.optional(
|
|
1097
|
+
Schema.Union([
|
|
1098
|
+
Schema.Struct({
|
|
1099
|
+
lower: Schema.optional(
|
|
1100
|
+
Schema.Union([
|
|
1101
|
+
Schema.Number,
|
|
1102
|
+
Schema.Null,
|
|
1103
|
+
]),
|
|
1104
|
+
),
|
|
1105
|
+
upper: Schema.optional(
|
|
1106
|
+
Schema.Union([
|
|
1107
|
+
Schema.Number,
|
|
1108
|
+
Schema.Null,
|
|
1109
|
+
]),
|
|
1110
|
+
),
|
|
1111
|
+
}),
|
|
1112
|
+
Schema.Null,
|
|
1113
|
+
]),
|
|
1114
|
+
),
|
|
1115
|
+
p95: Schema.optional(
|
|
1116
|
+
Schema.Union([
|
|
1117
|
+
Schema.Struct({
|
|
1118
|
+
lower: Schema.optional(
|
|
1119
|
+
Schema.Union([
|
|
1120
|
+
Schema.Number,
|
|
1121
|
+
Schema.Null,
|
|
1122
|
+
]),
|
|
1123
|
+
),
|
|
1124
|
+
upper: Schema.optional(
|
|
1125
|
+
Schema.Union([
|
|
1126
|
+
Schema.Number,
|
|
1127
|
+
Schema.Null,
|
|
1128
|
+
]),
|
|
1129
|
+
),
|
|
1130
|
+
}),
|
|
1131
|
+
Schema.Null,
|
|
1132
|
+
]),
|
|
1133
|
+
),
|
|
1134
|
+
p99: Schema.optional(
|
|
1135
|
+
Schema.Union([
|
|
1136
|
+
Schema.Struct({
|
|
1137
|
+
lower: Schema.optional(
|
|
1138
|
+
Schema.Union([
|
|
1139
|
+
Schema.Number,
|
|
1140
|
+
Schema.Null,
|
|
1141
|
+
]),
|
|
1142
|
+
),
|
|
1143
|
+
upper: Schema.optional(
|
|
1144
|
+
Schema.Union([
|
|
1145
|
+
Schema.Number,
|
|
1146
|
+
Schema.Null,
|
|
1147
|
+
]),
|
|
1148
|
+
),
|
|
1149
|
+
}),
|
|
1150
|
+
Schema.Null,
|
|
1151
|
+
]),
|
|
1152
|
+
),
|
|
1153
|
+
}),
|
|
1154
|
+
Schema.Null,
|
|
1155
|
+
]),
|
|
1156
|
+
),
|
|
1157
|
+
mean: Schema.optional(
|
|
1158
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1159
|
+
),
|
|
1160
|
+
}).pipe(
|
|
1161
|
+
Schema.encodeKeys({
|
|
1162
|
+
confidenceIntervals: "confidence_intervals",
|
|
1163
|
+
mean: "mean",
|
|
1119
1164
|
}),
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
),
|
|
1123
|
-
mean: Schema.optional(
|
|
1124
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1125
|
-
),
|
|
1126
|
-
}).pipe(
|
|
1127
|
-
Schema.encodeKeys({
|
|
1128
|
-
confidenceIntervals: "confidence_intervals",
|
|
1129
|
-
mean: "mean",
|
|
1130
|
-
}),
|
|
1165
|
+
),
|
|
1166
|
+
Schema.Null,
|
|
1167
|
+
]),
|
|
1131
1168
|
),
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1169
|
+
}).pipe(
|
|
1170
|
+
Schema.encodeKeys({
|
|
1171
|
+
lastUpdated: "last_updated",
|
|
1172
|
+
suggestedThreshold: "suggested_threshold",
|
|
1173
|
+
}),
|
|
1174
|
+
),
|
|
1175
|
+
Schema.Null,
|
|
1176
|
+
]),
|
|
1140
1177
|
),
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1178
|
+
}).pipe(
|
|
1179
|
+
Schema.encodeKeys({
|
|
1180
|
+
confidenceIntervals: "confidence_intervals",
|
|
1181
|
+
}),
|
|
1182
|
+
),
|
|
1183
|
+
Schema.Struct({
|
|
1184
|
+
schemaInfo: Schema.optional(
|
|
1185
|
+
Schema.Union([
|
|
1186
|
+
Schema.Struct({
|
|
1187
|
+
activeSchema: Schema.optional(
|
|
1188
|
+
Schema.Union([
|
|
1189
|
+
Schema.Struct({
|
|
1190
|
+
id: Schema.optional(
|
|
1191
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1192
|
+
),
|
|
1193
|
+
createdAt: Schema.optional(
|
|
1194
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1195
|
+
),
|
|
1196
|
+
isLearned: Schema.optional(
|
|
1197
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1198
|
+
),
|
|
1199
|
+
name: Schema.optional(
|
|
1200
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1201
|
+
),
|
|
1202
|
+
}).pipe(
|
|
1203
|
+
Schema.encodeKeys({
|
|
1204
|
+
id: "id",
|
|
1205
|
+
createdAt: "created_at",
|
|
1206
|
+
isLearned: "is_learned",
|
|
1207
|
+
name: "name",
|
|
1208
|
+
}),
|
|
1209
|
+
),
|
|
1210
|
+
Schema.Null,
|
|
1211
|
+
]),
|
|
1173
1212
|
),
|
|
1174
|
-
Schema.
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1213
|
+
learnedAvailable: Schema.optional(
|
|
1214
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1215
|
+
),
|
|
1216
|
+
mitigationAction: Schema.optional(
|
|
1217
|
+
Schema.Union([
|
|
1218
|
+
Schema.Literal("none"),
|
|
1219
|
+
Schema.Literal("log"),
|
|
1220
|
+
Schema.Literal("block"),
|
|
1221
|
+
Schema.Null,
|
|
1222
|
+
]),
|
|
1223
|
+
),
|
|
1224
|
+
}).pipe(
|
|
1225
|
+
Schema.encodeKeys({
|
|
1226
|
+
activeSchema: "active_schema",
|
|
1227
|
+
learnedAvailable: "learned_available",
|
|
1228
|
+
mitigationAction: "mitigation_action",
|
|
1229
|
+
}),
|
|
1230
|
+
),
|
|
1231
|
+
Schema.Null,
|
|
1232
|
+
]),
|
|
1194
1233
|
),
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1234
|
+
}).pipe(Schema.encodeKeys({ schemaInfo: "schema_info" })),
|
|
1235
|
+
]),
|
|
1236
|
+
Schema.Null,
|
|
1237
|
+
]),
|
|
1238
|
+
),
|
|
1239
|
+
}).pipe(
|
|
1240
|
+
Schema.encodeKeys({
|
|
1241
|
+
endpoint: "endpoint",
|
|
1242
|
+
host: "host",
|
|
1243
|
+
lastUpdated: "last_updated",
|
|
1244
|
+
method: "method",
|
|
1245
|
+
operationId: "operation_id",
|
|
1246
|
+
features: "features",
|
|
1247
|
+
}),
|
|
1248
|
+
),
|
|
1202
1249
|
),
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1250
|
+
resultInfo: Schema.Struct({
|
|
1251
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1252
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1253
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1254
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1255
|
+
}).pipe(
|
|
1256
|
+
Schema.encodeKeys({
|
|
1257
|
+
count: "count",
|
|
1258
|
+
page: "page",
|
|
1259
|
+
perPage: "per_page",
|
|
1260
|
+
totalCount: "total_count",
|
|
1261
|
+
}),
|
|
1262
|
+
),
|
|
1263
|
+
},
|
|
1264
|
+
).pipe(
|
|
1265
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
1213
1266
|
) as unknown as Schema.Schema<ListOperationsResponse>;
|
|
1214
1267
|
|
|
1215
1268
|
export type ListOperationsError = DefaultErrors;
|
|
1216
1269
|
|
|
1217
|
-
export const listOperations: API.
|
|
1270
|
+
export const listOperations: API.PaginatedOperationMethod<
|
|
1218
1271
|
ListOperationsRequest,
|
|
1219
1272
|
ListOperationsResponse,
|
|
1220
1273
|
ListOperationsError,
|
|
1221
1274
|
Credentials | HttpClient.HttpClient
|
|
1222
|
-
>
|
|
1275
|
+
> & {
|
|
1276
|
+
pages: (
|
|
1277
|
+
input: ListOperationsRequest,
|
|
1278
|
+
) => stream.Stream<
|
|
1279
|
+
ListOperationsResponse,
|
|
1280
|
+
ListOperationsError,
|
|
1281
|
+
Credentials | HttpClient.HttpClient
|
|
1282
|
+
>;
|
|
1283
|
+
items: (input: ListOperationsRequest) => stream.Stream<
|
|
1284
|
+
{
|
|
1285
|
+
endpoint: string;
|
|
1286
|
+
host: string;
|
|
1287
|
+
lastUpdated: string;
|
|
1288
|
+
method:
|
|
1289
|
+
| "GET"
|
|
1290
|
+
| "POST"
|
|
1291
|
+
| "HEAD"
|
|
1292
|
+
| "OPTIONS"
|
|
1293
|
+
| "PUT"
|
|
1294
|
+
| "DELETE"
|
|
1295
|
+
| "CONNECT"
|
|
1296
|
+
| "PATCH"
|
|
1297
|
+
| "TRACE";
|
|
1298
|
+
operationId: string;
|
|
1299
|
+
features?:
|
|
1300
|
+
| {
|
|
1301
|
+
thresholds?: {
|
|
1302
|
+
authIdTokens?: number | null;
|
|
1303
|
+
dataPoints?: number | null;
|
|
1304
|
+
lastUpdated?: string | null;
|
|
1305
|
+
p50?: number | null;
|
|
1306
|
+
p90?: number | null;
|
|
1307
|
+
p99?: number | null;
|
|
1308
|
+
periodSeconds?: number | null;
|
|
1309
|
+
requests?: number | null;
|
|
1310
|
+
suggestedThreshold?: number | null;
|
|
1311
|
+
} | null;
|
|
1312
|
+
}
|
|
1313
|
+
| {
|
|
1314
|
+
parameterSchemas: {
|
|
1315
|
+
lastUpdated?: string | null;
|
|
1316
|
+
parameterSchemas?: {
|
|
1317
|
+
parameters?: unknown[] | null;
|
|
1318
|
+
responses?: null;
|
|
1319
|
+
} | null;
|
|
1320
|
+
};
|
|
1321
|
+
}
|
|
1322
|
+
| {
|
|
1323
|
+
apiRouting?: {
|
|
1324
|
+
lastUpdated?: string | null;
|
|
1325
|
+
route?: string | null;
|
|
1326
|
+
} | null;
|
|
1327
|
+
}
|
|
1328
|
+
| {
|
|
1329
|
+
confidenceIntervals?: {
|
|
1330
|
+
lastUpdated?: string | null;
|
|
1331
|
+
suggestedThreshold?: {
|
|
1332
|
+
confidenceIntervals?: {
|
|
1333
|
+
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
1334
|
+
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
1335
|
+
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
1336
|
+
} | null;
|
|
1337
|
+
mean?: number | null;
|
|
1338
|
+
} | null;
|
|
1339
|
+
} | null;
|
|
1340
|
+
}
|
|
1341
|
+
| {
|
|
1342
|
+
schemaInfo?: {
|
|
1343
|
+
activeSchema?: {
|
|
1344
|
+
id?: string | null;
|
|
1345
|
+
createdAt?: string | null;
|
|
1346
|
+
isLearned?: boolean | null;
|
|
1347
|
+
name?: string | null;
|
|
1348
|
+
} | null;
|
|
1349
|
+
learnedAvailable?: boolean | null;
|
|
1350
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
1351
|
+
} | null;
|
|
1352
|
+
}
|
|
1353
|
+
| null;
|
|
1354
|
+
},
|
|
1355
|
+
ListOperationsError,
|
|
1356
|
+
Credentials | HttpClient.HttpClient
|
|
1357
|
+
>;
|
|
1358
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1223
1359
|
input: ListOperationsRequest,
|
|
1224
1360
|
output: ListOperationsResponse,
|
|
1225
1361
|
errors: [],
|
|
1362
|
+
pagination: {
|
|
1363
|
+
mode: "page",
|
|
1364
|
+
inputToken: "page",
|
|
1365
|
+
outputToken: "resultInfo.page",
|
|
1366
|
+
items: "result",
|
|
1367
|
+
pageSize: "perPage",
|
|
1368
|
+
} as const,
|
|
1226
1369
|
}));
|
|
1227
1370
|
|
|
1228
1371
|
export interface CreateOperationRequest {
|
|
@@ -1610,16 +1753,20 @@ export const CreateOperationResponse =
|
|
|
1610
1753
|
Schema.Null,
|
|
1611
1754
|
]),
|
|
1612
1755
|
),
|
|
1613
|
-
})
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1756
|
+
})
|
|
1757
|
+
.pipe(
|
|
1758
|
+
Schema.encodeKeys({
|
|
1759
|
+
endpoint: "endpoint",
|
|
1760
|
+
host: "host",
|
|
1761
|
+
lastUpdated: "last_updated",
|
|
1762
|
+
method: "method",
|
|
1763
|
+
operationId: "operation_id",
|
|
1764
|
+
features: "features",
|
|
1765
|
+
}),
|
|
1766
|
+
)
|
|
1767
|
+
.pipe(
|
|
1768
|
+
T.ResponsePath("result"),
|
|
1769
|
+
) as unknown as Schema.Schema<CreateOperationResponse>;
|
|
1623
1770
|
|
|
1624
1771
|
export type CreateOperationError = DefaultErrors | InvalidObjectIdentifier;
|
|
1625
1772
|
|
|
@@ -1726,374 +1873,465 @@ export const BulkCreateOperationsRequest =
|
|
|
1726
1873
|
T.Http({ method: "POST", path: "/zones/{zone_id}/api_gateway/operations" }),
|
|
1727
1874
|
) as unknown as Schema.Schema<BulkCreateOperationsRequest>;
|
|
1728
1875
|
|
|
1729
|
-
export
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
}
|
|
1758
|
-
| {
|
|
1759
|
-
parameterSchemas: {
|
|
1760
|
-
lastUpdated?: string | null;
|
|
1761
|
-
parameterSchemas?: {
|
|
1762
|
-
parameters?: unknown[] | null;
|
|
1763
|
-
responses?: null;
|
|
1876
|
+
export interface BulkCreateOperationsResponse {
|
|
1877
|
+
result: {
|
|
1878
|
+
endpoint: string;
|
|
1879
|
+
host: string;
|
|
1880
|
+
lastUpdated: string;
|
|
1881
|
+
method:
|
|
1882
|
+
| "GET"
|
|
1883
|
+
| "POST"
|
|
1884
|
+
| "HEAD"
|
|
1885
|
+
| "OPTIONS"
|
|
1886
|
+
| "PUT"
|
|
1887
|
+
| "DELETE"
|
|
1888
|
+
| "CONNECT"
|
|
1889
|
+
| "PATCH"
|
|
1890
|
+
| "TRACE";
|
|
1891
|
+
operationId: string;
|
|
1892
|
+
features?:
|
|
1893
|
+
| {
|
|
1894
|
+
thresholds?: {
|
|
1895
|
+
authIdTokens?: number | null;
|
|
1896
|
+
dataPoints?: number | null;
|
|
1897
|
+
lastUpdated?: string | null;
|
|
1898
|
+
p50?: number | null;
|
|
1899
|
+
p90?: number | null;
|
|
1900
|
+
p99?: number | null;
|
|
1901
|
+
periodSeconds?: number | null;
|
|
1902
|
+
requests?: number | null;
|
|
1903
|
+
suggestedThreshold?: number | null;
|
|
1764
1904
|
} | null;
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
}
|
|
1773
|
-
| {
|
|
1774
|
-
confidenceIntervals?: {
|
|
1775
|
-
lastUpdated?: string | null;
|
|
1776
|
-
suggestedThreshold?: {
|
|
1777
|
-
confidenceIntervals?: {
|
|
1778
|
-
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
1779
|
-
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
1780
|
-
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
1905
|
+
}
|
|
1906
|
+
| {
|
|
1907
|
+
parameterSchemas: {
|
|
1908
|
+
lastUpdated?: string | null;
|
|
1909
|
+
parameterSchemas?: {
|
|
1910
|
+
parameters?: unknown[] | null;
|
|
1911
|
+
responses?: null;
|
|
1781
1912
|
} | null;
|
|
1782
|
-
|
|
1913
|
+
};
|
|
1914
|
+
}
|
|
1915
|
+
| {
|
|
1916
|
+
apiRouting?: {
|
|
1917
|
+
lastUpdated?: string | null;
|
|
1918
|
+
route?: string | null;
|
|
1783
1919
|
} | null;
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1920
|
+
}
|
|
1921
|
+
| {
|
|
1922
|
+
confidenceIntervals?: {
|
|
1923
|
+
lastUpdated?: string | null;
|
|
1924
|
+
suggestedThreshold?: {
|
|
1925
|
+
confidenceIntervals?: {
|
|
1926
|
+
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
1927
|
+
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
1928
|
+
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
1929
|
+
} | null;
|
|
1930
|
+
mean?: number | null;
|
|
1931
|
+
} | null;
|
|
1793
1932
|
} | null;
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
p50: Schema.optional(
|
|
1836
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1837
|
-
),
|
|
1838
|
-
p90: Schema.optional(
|
|
1839
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1840
|
-
),
|
|
1841
|
-
p99: Schema.optional(
|
|
1842
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1843
|
-
),
|
|
1844
|
-
periodSeconds: Schema.optional(
|
|
1845
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1846
|
-
),
|
|
1847
|
-
requests: Schema.optional(
|
|
1848
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1849
|
-
),
|
|
1850
|
-
suggestedThreshold: Schema.optional(
|
|
1851
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1852
|
-
),
|
|
1853
|
-
}).pipe(
|
|
1854
|
-
Schema.encodeKeys({
|
|
1855
|
-
authIdTokens: "auth_id_tokens",
|
|
1856
|
-
dataPoints: "data_points",
|
|
1857
|
-
lastUpdated: "last_updated",
|
|
1858
|
-
p50: "p50",
|
|
1859
|
-
p90: "p90",
|
|
1860
|
-
p99: "p99",
|
|
1861
|
-
periodSeconds: "period_seconds",
|
|
1862
|
-
requests: "requests",
|
|
1863
|
-
suggestedThreshold: "suggested_threshold",
|
|
1864
|
-
}),
|
|
1865
|
-
),
|
|
1866
|
-
Schema.Null,
|
|
1867
|
-
]),
|
|
1868
|
-
),
|
|
1869
|
-
}),
|
|
1870
|
-
Schema.Struct({
|
|
1871
|
-
parameterSchemas: Schema.Struct({
|
|
1872
|
-
lastUpdated: Schema.optional(
|
|
1873
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1874
|
-
),
|
|
1875
|
-
parameterSchemas: Schema.optional(
|
|
1933
|
+
}
|
|
1934
|
+
| {
|
|
1935
|
+
schemaInfo?: {
|
|
1936
|
+
activeSchema?: {
|
|
1937
|
+
id?: string | null;
|
|
1938
|
+
createdAt?: string | null;
|
|
1939
|
+
isLearned?: boolean | null;
|
|
1940
|
+
name?: string | null;
|
|
1941
|
+
} | null;
|
|
1942
|
+
learnedAvailable?: boolean | null;
|
|
1943
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
1944
|
+
} | null;
|
|
1945
|
+
}
|
|
1946
|
+
| null;
|
|
1947
|
+
}[];
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
export const BulkCreateOperationsResponse =
|
|
1951
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1952
|
+
result: Schema.Array(
|
|
1953
|
+
Schema.Struct({
|
|
1954
|
+
endpoint: Schema.String,
|
|
1955
|
+
host: Schema.String,
|
|
1956
|
+
lastUpdated: Schema.String,
|
|
1957
|
+
method: Schema.Literals([
|
|
1958
|
+
"GET",
|
|
1959
|
+
"POST",
|
|
1960
|
+
"HEAD",
|
|
1961
|
+
"OPTIONS",
|
|
1962
|
+
"PUT",
|
|
1963
|
+
"DELETE",
|
|
1964
|
+
"CONNECT",
|
|
1965
|
+
"PATCH",
|
|
1966
|
+
"TRACE",
|
|
1967
|
+
]),
|
|
1968
|
+
operationId: Schema.String,
|
|
1969
|
+
features: Schema.optional(
|
|
1970
|
+
Schema.Union([
|
|
1971
|
+
Schema.Union([
|
|
1972
|
+
Schema.Struct({
|
|
1973
|
+
thresholds: Schema.optional(
|
|
1876
1974
|
Schema.Union([
|
|
1877
1975
|
Schema.Struct({
|
|
1878
|
-
|
|
1879
|
-
Schema.Union([
|
|
1880
|
-
Schema.Array(Schema.Unknown),
|
|
1881
|
-
Schema.Null,
|
|
1882
|
-
]),
|
|
1976
|
+
authIdTokens: Schema.optional(
|
|
1977
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1883
1978
|
),
|
|
1884
|
-
|
|
1885
|
-
|
|
1979
|
+
dataPoints: Schema.optional(
|
|
1980
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1981
|
+
),
|
|
1982
|
+
lastUpdated: Schema.optional(
|
|
1983
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1984
|
+
),
|
|
1985
|
+
p50: Schema.optional(
|
|
1986
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1987
|
+
),
|
|
1988
|
+
p90: Schema.optional(
|
|
1989
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1990
|
+
),
|
|
1991
|
+
p99: Schema.optional(
|
|
1992
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1993
|
+
),
|
|
1994
|
+
periodSeconds: Schema.optional(
|
|
1995
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1996
|
+
),
|
|
1997
|
+
requests: Schema.optional(
|
|
1998
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1999
|
+
),
|
|
2000
|
+
suggestedThreshold: Schema.optional(
|
|
2001
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2002
|
+
),
|
|
2003
|
+
}).pipe(
|
|
2004
|
+
Schema.encodeKeys({
|
|
2005
|
+
authIdTokens: "auth_id_tokens",
|
|
2006
|
+
dataPoints: "data_points",
|
|
2007
|
+
lastUpdated: "last_updated",
|
|
2008
|
+
p50: "p50",
|
|
2009
|
+
p90: "p90",
|
|
2010
|
+
p99: "p99",
|
|
2011
|
+
periodSeconds: "period_seconds",
|
|
2012
|
+
requests: "requests",
|
|
2013
|
+
suggestedThreshold: "suggested_threshold",
|
|
2014
|
+
}),
|
|
2015
|
+
),
|
|
1886
2016
|
Schema.Null,
|
|
1887
2017
|
]),
|
|
1888
2018
|
),
|
|
1889
|
-
})
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
),
|
|
1895
|
-
}).pipe(
|
|
1896
|
-
Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
|
|
1897
|
-
),
|
|
1898
|
-
Schema.Struct({
|
|
1899
|
-
apiRouting: Schema.optional(
|
|
1900
|
-
Schema.Union([
|
|
1901
|
-
Schema.Struct({
|
|
1902
|
-
lastUpdated: Schema.optional(
|
|
1903
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1904
|
-
),
|
|
1905
|
-
route: Schema.optional(
|
|
1906
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1907
|
-
),
|
|
1908
|
-
}).pipe(
|
|
1909
|
-
Schema.encodeKeys({
|
|
1910
|
-
lastUpdated: "last_updated",
|
|
1911
|
-
route: "route",
|
|
1912
|
-
}),
|
|
2019
|
+
}),
|
|
2020
|
+
Schema.Struct({
|
|
2021
|
+
parameterSchemas: Schema.Struct({
|
|
2022
|
+
lastUpdated: Schema.optional(
|
|
2023
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1913
2024
|
),
|
|
1914
|
-
Schema.
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
lastUpdated: Schema.optional(
|
|
1923
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1924
|
-
),
|
|
1925
|
-
suggestedThreshold: Schema.optional(
|
|
1926
|
-
Schema.Union([
|
|
1927
|
-
Schema.Struct({
|
|
1928
|
-
confidenceIntervals: Schema.optional(
|
|
1929
|
-
Schema.Union([
|
|
1930
|
-
Schema.Struct({
|
|
1931
|
-
p90: Schema.optional(
|
|
1932
|
-
Schema.Union([
|
|
1933
|
-
Schema.Struct({
|
|
1934
|
-
lower: Schema.optional(
|
|
1935
|
-
Schema.Union([
|
|
1936
|
-
Schema.Number,
|
|
1937
|
-
Schema.Null,
|
|
1938
|
-
]),
|
|
1939
|
-
),
|
|
1940
|
-
upper: Schema.optional(
|
|
1941
|
-
Schema.Union([
|
|
1942
|
-
Schema.Number,
|
|
1943
|
-
Schema.Null,
|
|
1944
|
-
]),
|
|
1945
|
-
),
|
|
1946
|
-
}),
|
|
1947
|
-
Schema.Null,
|
|
1948
|
-
]),
|
|
1949
|
-
),
|
|
1950
|
-
p95: Schema.optional(
|
|
1951
|
-
Schema.Union([
|
|
1952
|
-
Schema.Struct({
|
|
1953
|
-
lower: Schema.optional(
|
|
1954
|
-
Schema.Union([
|
|
1955
|
-
Schema.Number,
|
|
1956
|
-
Schema.Null,
|
|
1957
|
-
]),
|
|
1958
|
-
),
|
|
1959
|
-
upper: Schema.optional(
|
|
1960
|
-
Schema.Union([
|
|
1961
|
-
Schema.Number,
|
|
1962
|
-
Schema.Null,
|
|
1963
|
-
]),
|
|
1964
|
-
),
|
|
1965
|
-
}),
|
|
1966
|
-
Schema.Null,
|
|
1967
|
-
]),
|
|
1968
|
-
),
|
|
1969
|
-
p99: Schema.optional(
|
|
1970
|
-
Schema.Union([
|
|
1971
|
-
Schema.Struct({
|
|
1972
|
-
lower: Schema.optional(
|
|
1973
|
-
Schema.Union([
|
|
1974
|
-
Schema.Number,
|
|
1975
|
-
Schema.Null,
|
|
1976
|
-
]),
|
|
1977
|
-
),
|
|
1978
|
-
upper: Schema.optional(
|
|
1979
|
-
Schema.Union([
|
|
1980
|
-
Schema.Number,
|
|
1981
|
-
Schema.Null,
|
|
1982
|
-
]),
|
|
1983
|
-
),
|
|
1984
|
-
}),
|
|
1985
|
-
Schema.Null,
|
|
1986
|
-
]),
|
|
1987
|
-
),
|
|
1988
|
-
}),
|
|
1989
|
-
Schema.Null,
|
|
1990
|
-
]),
|
|
1991
|
-
),
|
|
1992
|
-
mean: Schema.optional(
|
|
1993
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1994
|
-
),
|
|
1995
|
-
}).pipe(
|
|
1996
|
-
Schema.encodeKeys({
|
|
1997
|
-
confidenceIntervals: "confidence_intervals",
|
|
1998
|
-
mean: "mean",
|
|
1999
|
-
}),
|
|
2025
|
+
parameterSchemas: Schema.optional(
|
|
2026
|
+
Schema.Union([
|
|
2027
|
+
Schema.Struct({
|
|
2028
|
+
parameters: Schema.optional(
|
|
2029
|
+
Schema.Union([
|
|
2030
|
+
Schema.Array(Schema.Unknown),
|
|
2031
|
+
Schema.Null,
|
|
2032
|
+
]),
|
|
2000
2033
|
),
|
|
2001
|
-
Schema.Null,
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
Schema.encodeKeys({
|
|
2006
|
-
lastUpdated: "last_updated",
|
|
2007
|
-
suggestedThreshold: "suggested_threshold",
|
|
2008
|
-
}),
|
|
2034
|
+
responses: Schema.optional(Schema.Null),
|
|
2035
|
+
}),
|
|
2036
|
+
Schema.Null,
|
|
2037
|
+
]),
|
|
2009
2038
|
),
|
|
2010
|
-
|
|
2011
|
-
|
|
2039
|
+
}).pipe(
|
|
2040
|
+
Schema.encodeKeys({
|
|
2041
|
+
lastUpdated: "last_updated",
|
|
2042
|
+
parameterSchemas: "parameter_schemas",
|
|
2043
|
+
}),
|
|
2044
|
+
),
|
|
2045
|
+
}).pipe(
|
|
2046
|
+
Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
|
|
2012
2047
|
),
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
createdAt: Schema.optional(
|
|
2029
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2030
|
-
),
|
|
2031
|
-
isLearned: Schema.optional(
|
|
2032
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2033
|
-
),
|
|
2034
|
-
name: Schema.optional(
|
|
2035
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2036
|
-
),
|
|
2037
|
-
}).pipe(
|
|
2038
|
-
Schema.encodeKeys({
|
|
2039
|
-
id: "id",
|
|
2040
|
-
createdAt: "created_at",
|
|
2041
|
-
isLearned: "is_learned",
|
|
2042
|
-
name: "name",
|
|
2043
|
-
}),
|
|
2044
|
-
),
|
|
2045
|
-
Schema.Null,
|
|
2046
|
-
]),
|
|
2047
|
-
),
|
|
2048
|
-
learnedAvailable: Schema.optional(
|
|
2049
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2048
|
+
Schema.Struct({
|
|
2049
|
+
apiRouting: Schema.optional(
|
|
2050
|
+
Schema.Union([
|
|
2051
|
+
Schema.Struct({
|
|
2052
|
+
lastUpdated: Schema.optional(
|
|
2053
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2054
|
+
),
|
|
2055
|
+
route: Schema.optional(
|
|
2056
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2057
|
+
),
|
|
2058
|
+
}).pipe(
|
|
2059
|
+
Schema.encodeKeys({
|
|
2060
|
+
lastUpdated: "last_updated",
|
|
2061
|
+
route: "route",
|
|
2062
|
+
}),
|
|
2050
2063
|
),
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2064
|
+
Schema.Null,
|
|
2065
|
+
]),
|
|
2066
|
+
),
|
|
2067
|
+
}).pipe(Schema.encodeKeys({ apiRouting: "api_routing" })),
|
|
2068
|
+
Schema.Struct({
|
|
2069
|
+
confidenceIntervals: Schema.optional(
|
|
2070
|
+
Schema.Union([
|
|
2071
|
+
Schema.Struct({
|
|
2072
|
+
lastUpdated: Schema.optional(
|
|
2073
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2074
|
+
),
|
|
2075
|
+
suggestedThreshold: Schema.optional(
|
|
2076
|
+
Schema.Union([
|
|
2077
|
+
Schema.Struct({
|
|
2078
|
+
confidenceIntervals: Schema.optional(
|
|
2079
|
+
Schema.Union([
|
|
2080
|
+
Schema.Struct({
|
|
2081
|
+
p90: Schema.optional(
|
|
2082
|
+
Schema.Union([
|
|
2083
|
+
Schema.Struct({
|
|
2084
|
+
lower: Schema.optional(
|
|
2085
|
+
Schema.Union([
|
|
2086
|
+
Schema.Number,
|
|
2087
|
+
Schema.Null,
|
|
2088
|
+
]),
|
|
2089
|
+
),
|
|
2090
|
+
upper: Schema.optional(
|
|
2091
|
+
Schema.Union([
|
|
2092
|
+
Schema.Number,
|
|
2093
|
+
Schema.Null,
|
|
2094
|
+
]),
|
|
2095
|
+
),
|
|
2096
|
+
}),
|
|
2097
|
+
Schema.Null,
|
|
2098
|
+
]),
|
|
2099
|
+
),
|
|
2100
|
+
p95: Schema.optional(
|
|
2101
|
+
Schema.Union([
|
|
2102
|
+
Schema.Struct({
|
|
2103
|
+
lower: Schema.optional(
|
|
2104
|
+
Schema.Union([
|
|
2105
|
+
Schema.Number,
|
|
2106
|
+
Schema.Null,
|
|
2107
|
+
]),
|
|
2108
|
+
),
|
|
2109
|
+
upper: Schema.optional(
|
|
2110
|
+
Schema.Union([
|
|
2111
|
+
Schema.Number,
|
|
2112
|
+
Schema.Null,
|
|
2113
|
+
]),
|
|
2114
|
+
),
|
|
2115
|
+
}),
|
|
2116
|
+
Schema.Null,
|
|
2117
|
+
]),
|
|
2118
|
+
),
|
|
2119
|
+
p99: Schema.optional(
|
|
2120
|
+
Schema.Union([
|
|
2121
|
+
Schema.Struct({
|
|
2122
|
+
lower: Schema.optional(
|
|
2123
|
+
Schema.Union([
|
|
2124
|
+
Schema.Number,
|
|
2125
|
+
Schema.Null,
|
|
2126
|
+
]),
|
|
2127
|
+
),
|
|
2128
|
+
upper: Schema.optional(
|
|
2129
|
+
Schema.Union([
|
|
2130
|
+
Schema.Number,
|
|
2131
|
+
Schema.Null,
|
|
2132
|
+
]),
|
|
2133
|
+
),
|
|
2134
|
+
}),
|
|
2135
|
+
Schema.Null,
|
|
2136
|
+
]),
|
|
2137
|
+
),
|
|
2138
|
+
}),
|
|
2139
|
+
Schema.Null,
|
|
2140
|
+
]),
|
|
2141
|
+
),
|
|
2142
|
+
mean: Schema.optional(
|
|
2143
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2144
|
+
),
|
|
2145
|
+
}).pipe(
|
|
2146
|
+
Schema.encodeKeys({
|
|
2147
|
+
confidenceIntervals: "confidence_intervals",
|
|
2148
|
+
mean: "mean",
|
|
2149
|
+
}),
|
|
2150
|
+
),
|
|
2151
|
+
Schema.Null,
|
|
2152
|
+
]),
|
|
2153
|
+
),
|
|
2154
|
+
}).pipe(
|
|
2155
|
+
Schema.encodeKeys({
|
|
2156
|
+
lastUpdated: "last_updated",
|
|
2157
|
+
suggestedThreshold: "suggested_threshold",
|
|
2158
|
+
}),
|
|
2058
2159
|
),
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
Schema.Null,
|
|
2067
|
-
]),
|
|
2160
|
+
Schema.Null,
|
|
2161
|
+
]),
|
|
2162
|
+
),
|
|
2163
|
+
}).pipe(
|
|
2164
|
+
Schema.encodeKeys({
|
|
2165
|
+
confidenceIntervals: "confidence_intervals",
|
|
2166
|
+
}),
|
|
2068
2167
|
),
|
|
2069
|
-
|
|
2168
|
+
Schema.Struct({
|
|
2169
|
+
schemaInfo: Schema.optional(
|
|
2170
|
+
Schema.Union([
|
|
2171
|
+
Schema.Struct({
|
|
2172
|
+
activeSchema: Schema.optional(
|
|
2173
|
+
Schema.Union([
|
|
2174
|
+
Schema.Struct({
|
|
2175
|
+
id: Schema.optional(
|
|
2176
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2177
|
+
),
|
|
2178
|
+
createdAt: Schema.optional(
|
|
2179
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2180
|
+
),
|
|
2181
|
+
isLearned: Schema.optional(
|
|
2182
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2183
|
+
),
|
|
2184
|
+
name: Schema.optional(
|
|
2185
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2186
|
+
),
|
|
2187
|
+
}).pipe(
|
|
2188
|
+
Schema.encodeKeys({
|
|
2189
|
+
id: "id",
|
|
2190
|
+
createdAt: "created_at",
|
|
2191
|
+
isLearned: "is_learned",
|
|
2192
|
+
name: "name",
|
|
2193
|
+
}),
|
|
2194
|
+
),
|
|
2195
|
+
Schema.Null,
|
|
2196
|
+
]),
|
|
2197
|
+
),
|
|
2198
|
+
learnedAvailable: Schema.optional(
|
|
2199
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2200
|
+
),
|
|
2201
|
+
mitigationAction: Schema.optional(
|
|
2202
|
+
Schema.Union([
|
|
2203
|
+
Schema.Literal("none"),
|
|
2204
|
+
Schema.Literal("log"),
|
|
2205
|
+
Schema.Literal("block"),
|
|
2206
|
+
Schema.Null,
|
|
2207
|
+
]),
|
|
2208
|
+
),
|
|
2209
|
+
}).pipe(
|
|
2210
|
+
Schema.encodeKeys({
|
|
2211
|
+
activeSchema: "active_schema",
|
|
2212
|
+
learnedAvailable: "learned_available",
|
|
2213
|
+
mitigationAction: "mitigation_action",
|
|
2214
|
+
}),
|
|
2215
|
+
),
|
|
2216
|
+
Schema.Null,
|
|
2217
|
+
]),
|
|
2218
|
+
),
|
|
2219
|
+
}).pipe(Schema.encodeKeys({ schemaInfo: "schema_info" })),
|
|
2220
|
+
]),
|
|
2221
|
+
Schema.Null,
|
|
2070
2222
|
]),
|
|
2071
|
-
|
|
2072
|
-
|
|
2223
|
+
),
|
|
2224
|
+
}).pipe(
|
|
2225
|
+
Schema.encodeKeys({
|
|
2226
|
+
endpoint: "endpoint",
|
|
2227
|
+
host: "host",
|
|
2228
|
+
lastUpdated: "last_updated",
|
|
2229
|
+
method: "method",
|
|
2230
|
+
operationId: "operation_id",
|
|
2231
|
+
features: "features",
|
|
2232
|
+
}),
|
|
2073
2233
|
),
|
|
2074
|
-
}).pipe(
|
|
2075
|
-
Schema.encodeKeys({
|
|
2076
|
-
endpoint: "endpoint",
|
|
2077
|
-
host: "host",
|
|
2078
|
-
lastUpdated: "last_updated",
|
|
2079
|
-
method: "method",
|
|
2080
|
-
operationId: "operation_id",
|
|
2081
|
-
features: "features",
|
|
2082
|
-
}),
|
|
2083
2234
|
),
|
|
2084
|
-
) as unknown as Schema.Schema<BulkCreateOperationsResponse>;
|
|
2235
|
+
}) as unknown as Schema.Schema<BulkCreateOperationsResponse>;
|
|
2085
2236
|
|
|
2086
2237
|
export type BulkCreateOperationsError = DefaultErrors;
|
|
2087
2238
|
|
|
2088
|
-
export const bulkCreateOperations: API.
|
|
2239
|
+
export const bulkCreateOperations: API.PaginatedOperationMethod<
|
|
2089
2240
|
BulkCreateOperationsRequest,
|
|
2090
2241
|
BulkCreateOperationsResponse,
|
|
2091
2242
|
BulkCreateOperationsError,
|
|
2092
2243
|
Credentials | HttpClient.HttpClient
|
|
2093
|
-
>
|
|
2244
|
+
> & {
|
|
2245
|
+
pages: (
|
|
2246
|
+
input: BulkCreateOperationsRequest,
|
|
2247
|
+
) => stream.Stream<
|
|
2248
|
+
BulkCreateOperationsResponse,
|
|
2249
|
+
BulkCreateOperationsError,
|
|
2250
|
+
Credentials | HttpClient.HttpClient
|
|
2251
|
+
>;
|
|
2252
|
+
items: (input: BulkCreateOperationsRequest) => stream.Stream<
|
|
2253
|
+
{
|
|
2254
|
+
endpoint: string;
|
|
2255
|
+
host: string;
|
|
2256
|
+
lastUpdated: string;
|
|
2257
|
+
method:
|
|
2258
|
+
| "GET"
|
|
2259
|
+
| "POST"
|
|
2260
|
+
| "HEAD"
|
|
2261
|
+
| "OPTIONS"
|
|
2262
|
+
| "PUT"
|
|
2263
|
+
| "DELETE"
|
|
2264
|
+
| "CONNECT"
|
|
2265
|
+
| "PATCH"
|
|
2266
|
+
| "TRACE";
|
|
2267
|
+
operationId: string;
|
|
2268
|
+
features?:
|
|
2269
|
+
| {
|
|
2270
|
+
thresholds?: {
|
|
2271
|
+
authIdTokens?: number | null;
|
|
2272
|
+
dataPoints?: number | null;
|
|
2273
|
+
lastUpdated?: string | null;
|
|
2274
|
+
p50?: number | null;
|
|
2275
|
+
p90?: number | null;
|
|
2276
|
+
p99?: number | null;
|
|
2277
|
+
periodSeconds?: number | null;
|
|
2278
|
+
requests?: number | null;
|
|
2279
|
+
suggestedThreshold?: number | null;
|
|
2280
|
+
} | null;
|
|
2281
|
+
}
|
|
2282
|
+
| {
|
|
2283
|
+
parameterSchemas: {
|
|
2284
|
+
lastUpdated?: string | null;
|
|
2285
|
+
parameterSchemas?: {
|
|
2286
|
+
parameters?: unknown[] | null;
|
|
2287
|
+
responses?: null;
|
|
2288
|
+
} | null;
|
|
2289
|
+
};
|
|
2290
|
+
}
|
|
2291
|
+
| {
|
|
2292
|
+
apiRouting?: {
|
|
2293
|
+
lastUpdated?: string | null;
|
|
2294
|
+
route?: string | null;
|
|
2295
|
+
} | null;
|
|
2296
|
+
}
|
|
2297
|
+
| {
|
|
2298
|
+
confidenceIntervals?: {
|
|
2299
|
+
lastUpdated?: string | null;
|
|
2300
|
+
suggestedThreshold?: {
|
|
2301
|
+
confidenceIntervals?: {
|
|
2302
|
+
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
2303
|
+
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
2304
|
+
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
2305
|
+
} | null;
|
|
2306
|
+
mean?: number | null;
|
|
2307
|
+
} | null;
|
|
2308
|
+
} | null;
|
|
2309
|
+
}
|
|
2310
|
+
| {
|
|
2311
|
+
schemaInfo?: {
|
|
2312
|
+
activeSchema?: {
|
|
2313
|
+
id?: string | null;
|
|
2314
|
+
createdAt?: string | null;
|
|
2315
|
+
isLearned?: boolean | null;
|
|
2316
|
+
name?: string | null;
|
|
2317
|
+
} | null;
|
|
2318
|
+
learnedAvailable?: boolean | null;
|
|
2319
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
2320
|
+
} | null;
|
|
2321
|
+
}
|
|
2322
|
+
| null;
|
|
2323
|
+
},
|
|
2324
|
+
BulkCreateOperationsError,
|
|
2325
|
+
Credentials | HttpClient.HttpClient
|
|
2326
|
+
>;
|
|
2327
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2094
2328
|
input: BulkCreateOperationsRequest,
|
|
2095
2329
|
output: BulkCreateOperationsResponse,
|
|
2096
2330
|
errors: [],
|
|
2331
|
+
pagination: {
|
|
2332
|
+
mode: "single",
|
|
2333
|
+
items: "result",
|
|
2334
|
+
} as const,
|
|
2097
2335
|
}));
|
|
2098
2336
|
|
|
2099
2337
|
export interface BulkDeleteOperationsRequest {
|
|
@@ -2291,8 +2529,8 @@ export const PatchOperationSchemaValidationRequest =
|
|
|
2291
2529
|
export type PatchOperationSchemaValidationResponse = Record<string, unknown>;
|
|
2292
2530
|
|
|
2293
2531
|
export const PatchOperationSchemaValidationResponse =
|
|
2294
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
2295
|
-
|
|
2532
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
2533
|
+
T.ResponsePath("result"),
|
|
2296
2534
|
) as unknown as Schema.Schema<PatchOperationSchemaValidationResponse>;
|
|
2297
2535
|
|
|
2298
2536
|
export type PatchOperationSchemaValidationError =
|
|
@@ -2345,7 +2583,9 @@ export const ListSchemasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2345
2583
|
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
2346
2584
|
),
|
|
2347
2585
|
timestamp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2348
|
-
})
|
|
2586
|
+
}).pipe(
|
|
2587
|
+
T.ResponsePath("result"),
|
|
2588
|
+
) as unknown as Schema.Schema<ListSchemasResponse>;
|
|
2349
2589
|
|
|
2350
2590
|
export type ListSchemasError = DefaultErrors | InvalidObjectIdentifier;
|
|
2351
2591
|
|
|
@@ -2560,16 +2800,20 @@ export const GetUserSchemaResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2560
2800
|
validationEnabled: Schema.optional(
|
|
2561
2801
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2562
2802
|
),
|
|
2563
|
-
})
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
)
|
|
2803
|
+
})
|
|
2804
|
+
.pipe(
|
|
2805
|
+
Schema.encodeKeys({
|
|
2806
|
+
createdAt: "created_at",
|
|
2807
|
+
kind: "kind",
|
|
2808
|
+
name: "name",
|
|
2809
|
+
schemaId: "schema_id",
|
|
2810
|
+
source: "source",
|
|
2811
|
+
validationEnabled: "validation_enabled",
|
|
2812
|
+
}),
|
|
2813
|
+
)
|
|
2814
|
+
.pipe(
|
|
2815
|
+
T.ResponsePath("result"),
|
|
2816
|
+
) as unknown as Schema.Schema<GetUserSchemaResponse>;
|
|
2573
2817
|
|
|
2574
2818
|
export type GetUserSchemaError =
|
|
2575
2819
|
| DefaultErrors
|
|
@@ -2610,48 +2854,101 @@ export const ListUserSchemasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2610
2854
|
T.Http({ method: "GET", path: "/zones/{zone_id}/api_gateway/user_schemas" }),
|
|
2611
2855
|
) as unknown as Schema.Schema<ListUserSchemasRequest>;
|
|
2612
2856
|
|
|
2613
|
-
export
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2857
|
+
export interface ListUserSchemasResponse {
|
|
2858
|
+
result: {
|
|
2859
|
+
createdAt: string;
|
|
2860
|
+
kind: "openapi_v3";
|
|
2861
|
+
name: string;
|
|
2862
|
+
schemaId: string;
|
|
2863
|
+
source?: string | null;
|
|
2864
|
+
validationEnabled?: boolean | null;
|
|
2865
|
+
}[];
|
|
2866
|
+
resultInfo: {
|
|
2867
|
+
count?: number | null;
|
|
2868
|
+
page?: number | null;
|
|
2869
|
+
perPage?: number | null;
|
|
2870
|
+
totalCount?: number | null;
|
|
2871
|
+
};
|
|
2872
|
+
}
|
|
2621
2873
|
|
|
2622
|
-
export const ListUserSchemasResponse =
|
|
2623
|
-
Schema.Struct({
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2874
|
+
export const ListUserSchemasResponse =
|
|
2875
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2876
|
+
result: Schema.Array(
|
|
2877
|
+
Schema.Struct({
|
|
2878
|
+
createdAt: Schema.String,
|
|
2879
|
+
kind: Schema.Literal("openapi_v3"),
|
|
2880
|
+
name: Schema.String,
|
|
2881
|
+
schemaId: Schema.String,
|
|
2882
|
+
source: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2883
|
+
validationEnabled: Schema.optional(
|
|
2884
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2885
|
+
),
|
|
2886
|
+
}).pipe(
|
|
2887
|
+
Schema.encodeKeys({
|
|
2888
|
+
createdAt: "created_at",
|
|
2889
|
+
kind: "kind",
|
|
2890
|
+
name: "name",
|
|
2891
|
+
schemaId: "schema_id",
|
|
2892
|
+
source: "source",
|
|
2893
|
+
validationEnabled: "validation_enabled",
|
|
2894
|
+
}),
|
|
2895
|
+
),
|
|
2896
|
+
),
|
|
2897
|
+
resultInfo: Schema.Struct({
|
|
2898
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2899
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2900
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2901
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2902
|
+
}).pipe(
|
|
2903
|
+
Schema.encodeKeys({
|
|
2904
|
+
count: "count",
|
|
2905
|
+
page: "page",
|
|
2906
|
+
perPage: "per_page",
|
|
2907
|
+
totalCount: "total_count",
|
|
2908
|
+
}),
|
|
2631
2909
|
),
|
|
2632
2910
|
}).pipe(
|
|
2633
|
-
Schema.encodeKeys({
|
|
2634
|
-
|
|
2635
|
-
kind: "kind",
|
|
2636
|
-
name: "name",
|
|
2637
|
-
schemaId: "schema_id",
|
|
2638
|
-
source: "source",
|
|
2639
|
-
validationEnabled: "validation_enabled",
|
|
2640
|
-
}),
|
|
2641
|
-
),
|
|
2642
|
-
) as unknown as Schema.Schema<ListUserSchemasResponse>;
|
|
2911
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
2912
|
+
) as unknown as Schema.Schema<ListUserSchemasResponse>;
|
|
2643
2913
|
|
|
2644
2914
|
export type ListUserSchemasError = DefaultErrors;
|
|
2645
2915
|
|
|
2646
|
-
export const listUserSchemas: API.
|
|
2916
|
+
export const listUserSchemas: API.PaginatedOperationMethod<
|
|
2647
2917
|
ListUserSchemasRequest,
|
|
2648
2918
|
ListUserSchemasResponse,
|
|
2649
2919
|
ListUserSchemasError,
|
|
2650
2920
|
Credentials | HttpClient.HttpClient
|
|
2651
|
-
>
|
|
2921
|
+
> & {
|
|
2922
|
+
pages: (
|
|
2923
|
+
input: ListUserSchemasRequest,
|
|
2924
|
+
) => stream.Stream<
|
|
2925
|
+
ListUserSchemasResponse,
|
|
2926
|
+
ListUserSchemasError,
|
|
2927
|
+
Credentials | HttpClient.HttpClient
|
|
2928
|
+
>;
|
|
2929
|
+
items: (input: ListUserSchemasRequest) => stream.Stream<
|
|
2930
|
+
{
|
|
2931
|
+
createdAt: string;
|
|
2932
|
+
kind: "openapi_v3";
|
|
2933
|
+
name: string;
|
|
2934
|
+
schemaId: string;
|
|
2935
|
+
source?: string | null;
|
|
2936
|
+
validationEnabled?: boolean | null;
|
|
2937
|
+
},
|
|
2938
|
+
ListUserSchemasError,
|
|
2939
|
+
Credentials | HttpClient.HttpClient
|
|
2940
|
+
>;
|
|
2941
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2652
2942
|
input: ListUserSchemasRequest,
|
|
2653
2943
|
output: ListUserSchemasResponse,
|
|
2654
2944
|
errors: [],
|
|
2945
|
+
pagination: {
|
|
2946
|
+
mode: "page",
|
|
2947
|
+
inputToken: "page",
|
|
2948
|
+
outputToken: "resultInfo.page",
|
|
2949
|
+
items: "result",
|
|
2950
|
+
pageSize: "perPage",
|
|
2951
|
+
} as const,
|
|
2655
2952
|
}));
|
|
2656
2953
|
|
|
2657
2954
|
export interface CreateUserSchemaRequest {
|
|
@@ -2748,9 +3045,13 @@ export const CreateUserSchemaResponse =
|
|
|
2748
3045
|
Schema.Null,
|
|
2749
3046
|
]),
|
|
2750
3047
|
),
|
|
2751
|
-
})
|
|
2752
|
-
|
|
2753
|
-
|
|
3048
|
+
})
|
|
3049
|
+
.pipe(
|
|
3050
|
+
Schema.encodeKeys({ schema: "schema", uploadDetails: "upload_details" }),
|
|
3051
|
+
)
|
|
3052
|
+
.pipe(
|
|
3053
|
+
T.ResponsePath("result"),
|
|
3054
|
+
) as unknown as Schema.Schema<CreateUserSchemaResponse>;
|
|
2754
3055
|
|
|
2755
3056
|
export type CreateUserSchemaError = DefaultErrors | InvalidObjectIdentifier;
|
|
2756
3057
|
|
|
@@ -2811,16 +3112,20 @@ export const PatchUserSchemaResponse =
|
|
|
2811
3112
|
validationEnabled: Schema.optional(
|
|
2812
3113
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2813
3114
|
),
|
|
2814
|
-
})
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
3115
|
+
})
|
|
3116
|
+
.pipe(
|
|
3117
|
+
Schema.encodeKeys({
|
|
3118
|
+
createdAt: "created_at",
|
|
3119
|
+
kind: "kind",
|
|
3120
|
+
name: "name",
|
|
3121
|
+
schemaId: "schema_id",
|
|
3122
|
+
source: "source",
|
|
3123
|
+
validationEnabled: "validation_enabled",
|
|
3124
|
+
}),
|
|
3125
|
+
)
|
|
3126
|
+
.pipe(
|
|
3127
|
+
T.ResponsePath("result"),
|
|
3128
|
+
) as unknown as Schema.Schema<PatchUserSchemaResponse>;
|
|
2824
3129
|
|
|
2825
3130
|
export type PatchUserSchemaError =
|
|
2826
3131
|
| DefaultErrors
|
|
@@ -2904,41 +3209,88 @@ export const ListUserSchemaHostsRequest =
|
|
|
2904
3209
|
}),
|
|
2905
3210
|
) as unknown as Schema.Schema<ListUserSchemaHostsRequest>;
|
|
2906
3211
|
|
|
2907
|
-
export
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
3212
|
+
export interface ListUserSchemaHostsResponse {
|
|
3213
|
+
result: {
|
|
3214
|
+
createdAt: string;
|
|
3215
|
+
hosts: string[];
|
|
3216
|
+
name: string;
|
|
3217
|
+
schemaId: string;
|
|
3218
|
+
}[];
|
|
3219
|
+
resultInfo: {
|
|
3220
|
+
count?: number | null;
|
|
3221
|
+
page?: number | null;
|
|
3222
|
+
perPage?: number | null;
|
|
3223
|
+
totalCount?: number | null;
|
|
3224
|
+
};
|
|
3225
|
+
}
|
|
2913
3226
|
|
|
2914
3227
|
export const ListUserSchemaHostsResponse =
|
|
2915
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2916
|
-
Schema.
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
3228
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3229
|
+
result: Schema.Array(
|
|
3230
|
+
Schema.Struct({
|
|
3231
|
+
createdAt: Schema.String,
|
|
3232
|
+
hosts: Schema.Array(Schema.String),
|
|
3233
|
+
name: Schema.String,
|
|
3234
|
+
schemaId: Schema.String,
|
|
3235
|
+
}).pipe(
|
|
3236
|
+
Schema.encodeKeys({
|
|
3237
|
+
createdAt: "created_at",
|
|
3238
|
+
hosts: "hosts",
|
|
3239
|
+
name: "name",
|
|
3240
|
+
schemaId: "schema_id",
|
|
3241
|
+
}),
|
|
3242
|
+
),
|
|
3243
|
+
),
|
|
3244
|
+
resultInfo: Schema.Struct({
|
|
3245
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3246
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3247
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3248
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2921
3249
|
}).pipe(
|
|
2922
3250
|
Schema.encodeKeys({
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
3251
|
+
count: "count",
|
|
3252
|
+
page: "page",
|
|
3253
|
+
perPage: "per_page",
|
|
3254
|
+
totalCount: "total_count",
|
|
2927
3255
|
}),
|
|
2928
3256
|
),
|
|
3257
|
+
}).pipe(
|
|
3258
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
2929
3259
|
) as unknown as Schema.Schema<ListUserSchemaHostsResponse>;
|
|
2930
3260
|
|
|
2931
3261
|
export type ListUserSchemaHostsError = DefaultErrors;
|
|
2932
3262
|
|
|
2933
|
-
export const listUserSchemaHosts: API.
|
|
3263
|
+
export const listUserSchemaHosts: API.PaginatedOperationMethod<
|
|
2934
3264
|
ListUserSchemaHostsRequest,
|
|
2935
3265
|
ListUserSchemaHostsResponse,
|
|
2936
3266
|
ListUserSchemaHostsError,
|
|
2937
3267
|
Credentials | HttpClient.HttpClient
|
|
2938
|
-
>
|
|
3268
|
+
> & {
|
|
3269
|
+
pages: (
|
|
3270
|
+
input: ListUserSchemaHostsRequest,
|
|
3271
|
+
) => stream.Stream<
|
|
3272
|
+
ListUserSchemaHostsResponse,
|
|
3273
|
+
ListUserSchemaHostsError,
|
|
3274
|
+
Credentials | HttpClient.HttpClient
|
|
3275
|
+
>;
|
|
3276
|
+
items: (
|
|
3277
|
+
input: ListUserSchemaHostsRequest,
|
|
3278
|
+
) => stream.Stream<
|
|
3279
|
+
{ createdAt: string; hosts: string[]; name: string; schemaId: string },
|
|
3280
|
+
ListUserSchemaHostsError,
|
|
3281
|
+
Credentials | HttpClient.HttpClient
|
|
3282
|
+
>;
|
|
3283
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
2939
3284
|
input: ListUserSchemaHostsRequest,
|
|
2940
3285
|
output: ListUserSchemaHostsResponse,
|
|
2941
3286
|
errors: [],
|
|
3287
|
+
pagination: {
|
|
3288
|
+
mode: "page",
|
|
3289
|
+
inputToken: "page",
|
|
3290
|
+
outputToken: "resultInfo.page",
|
|
3291
|
+
items: "result",
|
|
3292
|
+
pageSize: "perPage",
|
|
3293
|
+
} as const,
|
|
2942
3294
|
}));
|
|
2943
3295
|
|
|
2944
3296
|
// =============================================================================
|
|
@@ -2987,405 +3339,552 @@ export const ListUserSchemaOperationsRequest =
|
|
|
2987
3339
|
}),
|
|
2988
3340
|
) as unknown as Schema.Schema<ListUserSchemaOperationsRequest>;
|
|
2989
3341
|
|
|
2990
|
-
export
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
}
|
|
3020
|
-
| {
|
|
3021
|
-
parameterSchemas: {
|
|
3022
|
-
lastUpdated?: string | null;
|
|
3023
|
-
parameterSchemas?: {
|
|
3024
|
-
parameters?: unknown[] | null;
|
|
3025
|
-
responses?: null;
|
|
3342
|
+
export interface ListUserSchemaOperationsResponse {
|
|
3343
|
+
result: (
|
|
3344
|
+
| {
|
|
3345
|
+
endpoint: string;
|
|
3346
|
+
host: string;
|
|
3347
|
+
lastUpdated: string;
|
|
3348
|
+
method:
|
|
3349
|
+
| "GET"
|
|
3350
|
+
| "POST"
|
|
3351
|
+
| "HEAD"
|
|
3352
|
+
| "OPTIONS"
|
|
3353
|
+
| "PUT"
|
|
3354
|
+
| "DELETE"
|
|
3355
|
+
| "CONNECT"
|
|
3356
|
+
| "PATCH"
|
|
3357
|
+
| "TRACE";
|
|
3358
|
+
operationId: string;
|
|
3359
|
+
features?:
|
|
3360
|
+
| {
|
|
3361
|
+
thresholds?: {
|
|
3362
|
+
authIdTokens?: number | null;
|
|
3363
|
+
dataPoints?: number | null;
|
|
3364
|
+
lastUpdated?: string | null;
|
|
3365
|
+
p50?: number | null;
|
|
3366
|
+
p90?: number | null;
|
|
3367
|
+
p99?: number | null;
|
|
3368
|
+
periodSeconds?: number | null;
|
|
3369
|
+
requests?: number | null;
|
|
3370
|
+
suggestedThreshold?: number | null;
|
|
3026
3371
|
} | null;
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
}
|
|
3035
|
-
| {
|
|
3036
|
-
confidenceIntervals?: {
|
|
3037
|
-
lastUpdated?: string | null;
|
|
3038
|
-
suggestedThreshold?: {
|
|
3039
|
-
confidenceIntervals?: {
|
|
3040
|
-
p90?: { lower?: number | null; upper?: number | null } | null;
|
|
3041
|
-
p95?: { lower?: number | null; upper?: number | null } | null;
|
|
3042
|
-
p99?: { lower?: number | null; upper?: number | null } | null;
|
|
3372
|
+
}
|
|
3373
|
+
| {
|
|
3374
|
+
parameterSchemas: {
|
|
3375
|
+
lastUpdated?: string | null;
|
|
3376
|
+
parameterSchemas?: {
|
|
3377
|
+
parameters?: unknown[] | null;
|
|
3378
|
+
responses?: null;
|
|
3043
3379
|
} | null;
|
|
3044
|
-
|
|
3380
|
+
};
|
|
3381
|
+
}
|
|
3382
|
+
| {
|
|
3383
|
+
apiRouting?: {
|
|
3384
|
+
lastUpdated?: string | null;
|
|
3385
|
+
route?: string | null;
|
|
3045
3386
|
} | null;
|
|
3046
|
-
}
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3387
|
+
}
|
|
3388
|
+
| {
|
|
3389
|
+
confidenceIntervals?: {
|
|
3390
|
+
lastUpdated?: string | null;
|
|
3391
|
+
suggestedThreshold?: {
|
|
3392
|
+
confidenceIntervals?: {
|
|
3393
|
+
p90?: {
|
|
3394
|
+
lower?: number | null;
|
|
3395
|
+
upper?: number | null;
|
|
3396
|
+
} | null;
|
|
3397
|
+
p95?: {
|
|
3398
|
+
lower?: number | null;
|
|
3399
|
+
upper?: number | null;
|
|
3400
|
+
} | null;
|
|
3401
|
+
p99?: {
|
|
3402
|
+
lower?: number | null;
|
|
3403
|
+
upper?: number | null;
|
|
3404
|
+
} | null;
|
|
3405
|
+
} | null;
|
|
3406
|
+
mean?: number | null;
|
|
3407
|
+
} | null;
|
|
3055
3408
|
} | null;
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3409
|
+
}
|
|
3410
|
+
| {
|
|
3411
|
+
schemaInfo?: {
|
|
3412
|
+
activeSchema?: {
|
|
3413
|
+
id?: string | null;
|
|
3414
|
+
createdAt?: string | null;
|
|
3415
|
+
isLearned?: boolean | null;
|
|
3416
|
+
name?: string | null;
|
|
3417
|
+
} | null;
|
|
3418
|
+
learnedAvailable?: boolean | null;
|
|
3419
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
3420
|
+
} | null;
|
|
3421
|
+
}
|
|
3422
|
+
| null;
|
|
3423
|
+
}
|
|
3424
|
+
| {
|
|
3425
|
+
endpoint: string;
|
|
3426
|
+
host: string;
|
|
3427
|
+
method:
|
|
3428
|
+
| "GET"
|
|
3429
|
+
| "POST"
|
|
3430
|
+
| "HEAD"
|
|
3431
|
+
| "OPTIONS"
|
|
3432
|
+
| "PUT"
|
|
3433
|
+
| "DELETE"
|
|
3434
|
+
| "CONNECT"
|
|
3435
|
+
| "PATCH"
|
|
3436
|
+
| "TRACE";
|
|
3437
|
+
}
|
|
3438
|
+
)[];
|
|
3439
|
+
resultInfo: {
|
|
3440
|
+
count?: number | null;
|
|
3441
|
+
page?: number | null;
|
|
3442
|
+
perPage?: number | null;
|
|
3443
|
+
totalCount?: number | null;
|
|
3444
|
+
};
|
|
3445
|
+
}
|
|
3077
3446
|
|
|
3078
3447
|
export const ListUserSchemaOperationsResponse =
|
|
3079
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
3080
|
-
Schema.
|
|
3081
|
-
Schema.
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
Schema.
|
|
3448
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3449
|
+
result: Schema.Array(
|
|
3450
|
+
Schema.Union([
|
|
3451
|
+
Schema.Struct({
|
|
3452
|
+
endpoint: Schema.String,
|
|
3453
|
+
host: Schema.String,
|
|
3454
|
+
lastUpdated: Schema.String,
|
|
3455
|
+
method: Schema.Literals([
|
|
3456
|
+
"GET",
|
|
3457
|
+
"POST",
|
|
3458
|
+
"HEAD",
|
|
3459
|
+
"OPTIONS",
|
|
3460
|
+
"PUT",
|
|
3461
|
+
"DELETE",
|
|
3462
|
+
"CONNECT",
|
|
3463
|
+
"PATCH",
|
|
3464
|
+
"TRACE",
|
|
3465
|
+
]),
|
|
3466
|
+
operationId: Schema.String,
|
|
3467
|
+
features: Schema.optional(
|
|
3099
3468
|
Schema.Union([
|
|
3100
|
-
Schema.
|
|
3101
|
-
|
|
3102
|
-
Schema.
|
|
3103
|
-
Schema.
|
|
3104
|
-
|
|
3105
|
-
Schema.
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
Schema.
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
Schema.
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
Schema.
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
Schema.
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
Schema.
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
Schema.
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
Schema.
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
Schema.
|
|
3469
|
+
Schema.Union([
|
|
3470
|
+
Schema.Struct({
|
|
3471
|
+
thresholds: Schema.optional(
|
|
3472
|
+
Schema.Union([
|
|
3473
|
+
Schema.Struct({
|
|
3474
|
+
authIdTokens: Schema.optional(
|
|
3475
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3476
|
+
),
|
|
3477
|
+
dataPoints: Schema.optional(
|
|
3478
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3479
|
+
),
|
|
3480
|
+
lastUpdated: Schema.optional(
|
|
3481
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3482
|
+
),
|
|
3483
|
+
p50: Schema.optional(
|
|
3484
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3485
|
+
),
|
|
3486
|
+
p90: Schema.optional(
|
|
3487
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3488
|
+
),
|
|
3489
|
+
p99: Schema.optional(
|
|
3490
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3491
|
+
),
|
|
3492
|
+
periodSeconds: Schema.optional(
|
|
3493
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3494
|
+
),
|
|
3495
|
+
requests: Schema.optional(
|
|
3496
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3497
|
+
),
|
|
3498
|
+
suggestedThreshold: Schema.optional(
|
|
3499
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3500
|
+
),
|
|
3501
|
+
}).pipe(
|
|
3502
|
+
Schema.encodeKeys({
|
|
3503
|
+
authIdTokens: "auth_id_tokens",
|
|
3504
|
+
dataPoints: "data_points",
|
|
3505
|
+
lastUpdated: "last_updated",
|
|
3506
|
+
p50: "p50",
|
|
3507
|
+
p90: "p90",
|
|
3508
|
+
p99: "p99",
|
|
3509
|
+
periodSeconds: "period_seconds",
|
|
3510
|
+
requests: "requests",
|
|
3511
|
+
suggestedThreshold: "suggested_threshold",
|
|
3512
|
+
}),
|
|
3130
3513
|
),
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
periodSeconds: "period_seconds",
|
|
3140
|
-
requests: "requests",
|
|
3141
|
-
suggestedThreshold: "suggested_threshold",
|
|
3142
|
-
}),
|
|
3514
|
+
Schema.Null,
|
|
3515
|
+
]),
|
|
3516
|
+
),
|
|
3517
|
+
}),
|
|
3518
|
+
Schema.Struct({
|
|
3519
|
+
parameterSchemas: Schema.Struct({
|
|
3520
|
+
lastUpdated: Schema.optional(
|
|
3521
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3143
3522
|
),
|
|
3144
|
-
Schema.
|
|
3145
|
-
|
|
3523
|
+
parameterSchemas: Schema.optional(
|
|
3524
|
+
Schema.Union([
|
|
3525
|
+
Schema.Struct({
|
|
3526
|
+
parameters: Schema.optional(
|
|
3527
|
+
Schema.Union([
|
|
3528
|
+
Schema.Array(Schema.Unknown),
|
|
3529
|
+
Schema.Null,
|
|
3530
|
+
]),
|
|
3531
|
+
),
|
|
3532
|
+
responses: Schema.optional(Schema.Null),
|
|
3533
|
+
}),
|
|
3534
|
+
Schema.Null,
|
|
3535
|
+
]),
|
|
3536
|
+
),
|
|
3537
|
+
}).pipe(
|
|
3538
|
+
Schema.encodeKeys({
|
|
3539
|
+
lastUpdated: "last_updated",
|
|
3540
|
+
parameterSchemas: "parameter_schemas",
|
|
3541
|
+
}),
|
|
3542
|
+
),
|
|
3543
|
+
}).pipe(
|
|
3544
|
+
Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
|
|
3146
3545
|
),
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3546
|
+
Schema.Struct({
|
|
3547
|
+
apiRouting: Schema.optional(
|
|
3548
|
+
Schema.Union([
|
|
3549
|
+
Schema.Struct({
|
|
3550
|
+
lastUpdated: Schema.optional(
|
|
3551
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3552
|
+
),
|
|
3553
|
+
route: Schema.optional(
|
|
3554
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3555
|
+
),
|
|
3556
|
+
}).pipe(
|
|
3557
|
+
Schema.encodeKeys({
|
|
3558
|
+
lastUpdated: "last_updated",
|
|
3559
|
+
route: "route",
|
|
3560
|
+
}),
|
|
3561
|
+
),
|
|
3562
|
+
Schema.Null,
|
|
3563
|
+
]),
|
|
3152
3564
|
),
|
|
3153
|
-
|
|
3565
|
+
}).pipe(Schema.encodeKeys({ apiRouting: "api_routing" })),
|
|
3566
|
+
Schema.Struct({
|
|
3567
|
+
confidenceIntervals: Schema.optional(
|
|
3154
3568
|
Schema.Union([
|
|
3155
3569
|
Schema.Struct({
|
|
3156
|
-
|
|
3570
|
+
lastUpdated: Schema.optional(
|
|
3571
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3572
|
+
),
|
|
3573
|
+
suggestedThreshold: Schema.optional(
|
|
3157
3574
|
Schema.Union([
|
|
3158
|
-
Schema.
|
|
3575
|
+
Schema.Struct({
|
|
3576
|
+
confidenceIntervals: Schema.optional(
|
|
3577
|
+
Schema.Union([
|
|
3578
|
+
Schema.Struct({
|
|
3579
|
+
p90: Schema.optional(
|
|
3580
|
+
Schema.Union([
|
|
3581
|
+
Schema.Struct({
|
|
3582
|
+
lower: Schema.optional(
|
|
3583
|
+
Schema.Union([
|
|
3584
|
+
Schema.Number,
|
|
3585
|
+
Schema.Null,
|
|
3586
|
+
]),
|
|
3587
|
+
),
|
|
3588
|
+
upper: Schema.optional(
|
|
3589
|
+
Schema.Union([
|
|
3590
|
+
Schema.Number,
|
|
3591
|
+
Schema.Null,
|
|
3592
|
+
]),
|
|
3593
|
+
),
|
|
3594
|
+
}),
|
|
3595
|
+
Schema.Null,
|
|
3596
|
+
]),
|
|
3597
|
+
),
|
|
3598
|
+
p95: Schema.optional(
|
|
3599
|
+
Schema.Union([
|
|
3600
|
+
Schema.Struct({
|
|
3601
|
+
lower: Schema.optional(
|
|
3602
|
+
Schema.Union([
|
|
3603
|
+
Schema.Number,
|
|
3604
|
+
Schema.Null,
|
|
3605
|
+
]),
|
|
3606
|
+
),
|
|
3607
|
+
upper: Schema.optional(
|
|
3608
|
+
Schema.Union([
|
|
3609
|
+
Schema.Number,
|
|
3610
|
+
Schema.Null,
|
|
3611
|
+
]),
|
|
3612
|
+
),
|
|
3613
|
+
}),
|
|
3614
|
+
Schema.Null,
|
|
3615
|
+
]),
|
|
3616
|
+
),
|
|
3617
|
+
p99: Schema.optional(
|
|
3618
|
+
Schema.Union([
|
|
3619
|
+
Schema.Struct({
|
|
3620
|
+
lower: Schema.optional(
|
|
3621
|
+
Schema.Union([
|
|
3622
|
+
Schema.Number,
|
|
3623
|
+
Schema.Null,
|
|
3624
|
+
]),
|
|
3625
|
+
),
|
|
3626
|
+
upper: Schema.optional(
|
|
3627
|
+
Schema.Union([
|
|
3628
|
+
Schema.Number,
|
|
3629
|
+
Schema.Null,
|
|
3630
|
+
]),
|
|
3631
|
+
),
|
|
3632
|
+
}),
|
|
3633
|
+
Schema.Null,
|
|
3634
|
+
]),
|
|
3635
|
+
),
|
|
3636
|
+
}),
|
|
3637
|
+
Schema.Null,
|
|
3638
|
+
]),
|
|
3639
|
+
),
|
|
3640
|
+
mean: Schema.optional(
|
|
3641
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3642
|
+
),
|
|
3643
|
+
}).pipe(
|
|
3644
|
+
Schema.encodeKeys({
|
|
3645
|
+
confidenceIntervals: "confidence_intervals",
|
|
3646
|
+
mean: "mean",
|
|
3647
|
+
}),
|
|
3648
|
+
),
|
|
3159
3649
|
Schema.Null,
|
|
3160
3650
|
]),
|
|
3161
3651
|
),
|
|
3162
|
-
|
|
3163
|
-
|
|
3652
|
+
}).pipe(
|
|
3653
|
+
Schema.encodeKeys({
|
|
3654
|
+
lastUpdated: "last_updated",
|
|
3655
|
+
suggestedThreshold: "suggested_threshold",
|
|
3656
|
+
}),
|
|
3657
|
+
),
|
|
3164
3658
|
Schema.Null,
|
|
3165
3659
|
]),
|
|
3166
3660
|
),
|
|
3167
3661
|
}).pipe(
|
|
3168
3662
|
Schema.encodeKeys({
|
|
3169
|
-
|
|
3170
|
-
parameterSchemas: "parameter_schemas",
|
|
3663
|
+
confidenceIntervals: "confidence_intervals",
|
|
3171
3664
|
}),
|
|
3172
3665
|
),
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
Schema.Struct({
|
|
3200
|
-
lastUpdated: Schema.optional(
|
|
3201
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3202
|
-
),
|
|
3203
|
-
suggestedThreshold: Schema.optional(
|
|
3204
|
-
Schema.Union([
|
|
3205
|
-
Schema.Struct({
|
|
3206
|
-
confidenceIntervals: Schema.optional(
|
|
3207
|
-
Schema.Union([
|
|
3208
|
-
Schema.Struct({
|
|
3209
|
-
p90: Schema.optional(
|
|
3210
|
-
Schema.Union([
|
|
3211
|
-
Schema.Struct({
|
|
3212
|
-
lower: Schema.optional(
|
|
3213
|
-
Schema.Union([
|
|
3214
|
-
Schema.Number,
|
|
3215
|
-
Schema.Null,
|
|
3216
|
-
]),
|
|
3217
|
-
),
|
|
3218
|
-
upper: Schema.optional(
|
|
3219
|
-
Schema.Union([
|
|
3220
|
-
Schema.Number,
|
|
3221
|
-
Schema.Null,
|
|
3222
|
-
]),
|
|
3223
|
-
),
|
|
3224
|
-
}),
|
|
3225
|
-
Schema.Null,
|
|
3226
|
-
]),
|
|
3227
|
-
),
|
|
3228
|
-
p95: Schema.optional(
|
|
3229
|
-
Schema.Union([
|
|
3230
|
-
Schema.Struct({
|
|
3231
|
-
lower: Schema.optional(
|
|
3232
|
-
Schema.Union([
|
|
3233
|
-
Schema.Number,
|
|
3234
|
-
Schema.Null,
|
|
3235
|
-
]),
|
|
3236
|
-
),
|
|
3237
|
-
upper: Schema.optional(
|
|
3238
|
-
Schema.Union([
|
|
3239
|
-
Schema.Number,
|
|
3240
|
-
Schema.Null,
|
|
3241
|
-
]),
|
|
3242
|
-
),
|
|
3243
|
-
}),
|
|
3244
|
-
Schema.Null,
|
|
3245
|
-
]),
|
|
3246
|
-
),
|
|
3247
|
-
p99: Schema.optional(
|
|
3248
|
-
Schema.Union([
|
|
3249
|
-
Schema.Struct({
|
|
3250
|
-
lower: Schema.optional(
|
|
3251
|
-
Schema.Union([
|
|
3252
|
-
Schema.Number,
|
|
3253
|
-
Schema.Null,
|
|
3254
|
-
]),
|
|
3255
|
-
),
|
|
3256
|
-
upper: Schema.optional(
|
|
3257
|
-
Schema.Union([
|
|
3258
|
-
Schema.Number,
|
|
3259
|
-
Schema.Null,
|
|
3260
|
-
]),
|
|
3261
|
-
),
|
|
3262
|
-
}),
|
|
3263
|
-
Schema.Null,
|
|
3264
|
-
]),
|
|
3265
|
-
),
|
|
3266
|
-
}),
|
|
3267
|
-
Schema.Null,
|
|
3268
|
-
]),
|
|
3269
|
-
),
|
|
3270
|
-
mean: Schema.optional(
|
|
3271
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
3272
|
-
),
|
|
3273
|
-
}).pipe(
|
|
3274
|
-
Schema.encodeKeys({
|
|
3275
|
-
confidenceIntervals: "confidence_intervals",
|
|
3276
|
-
mean: "mean",
|
|
3277
|
-
}),
|
|
3278
|
-
),
|
|
3279
|
-
Schema.Null,
|
|
3280
|
-
]),
|
|
3281
|
-
),
|
|
3282
|
-
}).pipe(
|
|
3283
|
-
Schema.encodeKeys({
|
|
3284
|
-
lastUpdated: "last_updated",
|
|
3285
|
-
suggestedThreshold: "suggested_threshold",
|
|
3286
|
-
}),
|
|
3287
|
-
),
|
|
3288
|
-
Schema.Null,
|
|
3289
|
-
]),
|
|
3290
|
-
),
|
|
3291
|
-
}).pipe(
|
|
3292
|
-
Schema.encodeKeys({
|
|
3293
|
-
confidenceIntervals: "confidence_intervals",
|
|
3294
|
-
}),
|
|
3295
|
-
),
|
|
3296
|
-
Schema.Struct({
|
|
3297
|
-
schemaInfo: Schema.optional(
|
|
3298
|
-
Schema.Union([
|
|
3299
|
-
Schema.Struct({
|
|
3300
|
-
activeSchema: Schema.optional(
|
|
3301
|
-
Schema.Union([
|
|
3302
|
-
Schema.Struct({
|
|
3303
|
-
id: Schema.optional(
|
|
3304
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3305
|
-
),
|
|
3306
|
-
createdAt: Schema.optional(
|
|
3307
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3308
|
-
),
|
|
3309
|
-
isLearned: Schema.optional(
|
|
3310
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3311
|
-
),
|
|
3312
|
-
name: Schema.optional(
|
|
3313
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3666
|
+
Schema.Struct({
|
|
3667
|
+
schemaInfo: Schema.optional(
|
|
3668
|
+
Schema.Union([
|
|
3669
|
+
Schema.Struct({
|
|
3670
|
+
activeSchema: Schema.optional(
|
|
3671
|
+
Schema.Union([
|
|
3672
|
+
Schema.Struct({
|
|
3673
|
+
id: Schema.optional(
|
|
3674
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3675
|
+
),
|
|
3676
|
+
createdAt: Schema.optional(
|
|
3677
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3678
|
+
),
|
|
3679
|
+
isLearned: Schema.optional(
|
|
3680
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3681
|
+
),
|
|
3682
|
+
name: Schema.optional(
|
|
3683
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3684
|
+
),
|
|
3685
|
+
}).pipe(
|
|
3686
|
+
Schema.encodeKeys({
|
|
3687
|
+
id: "id",
|
|
3688
|
+
createdAt: "created_at",
|
|
3689
|
+
isLearned: "is_learned",
|
|
3690
|
+
name: "name",
|
|
3691
|
+
}),
|
|
3314
3692
|
),
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
Schema.
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
]),
|
|
3693
|
+
Schema.Null,
|
|
3694
|
+
]),
|
|
3695
|
+
),
|
|
3696
|
+
learnedAvailable: Schema.optional(
|
|
3697
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3698
|
+
),
|
|
3699
|
+
mitigationAction: Schema.optional(
|
|
3700
|
+
Schema.Union([
|
|
3701
|
+
Schema.Literal("none"),
|
|
3702
|
+
Schema.Literal("log"),
|
|
3703
|
+
Schema.Literal("block"),
|
|
3704
|
+
Schema.Null,
|
|
3705
|
+
]),
|
|
3706
|
+
),
|
|
3707
|
+
}).pipe(
|
|
3708
|
+
Schema.encodeKeys({
|
|
3709
|
+
activeSchema: "active_schema",
|
|
3710
|
+
learnedAvailable: "learned_available",
|
|
3711
|
+
mitigationAction: "mitigation_action",
|
|
3712
|
+
}),
|
|
3336
3713
|
),
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
),
|
|
3344
|
-
Schema.Null,
|
|
3345
|
-
]),
|
|
3346
|
-
),
|
|
3347
|
-
}).pipe(Schema.encodeKeys({ schemaInfo: "schema_info" })),
|
|
3714
|
+
Schema.Null,
|
|
3715
|
+
]),
|
|
3716
|
+
),
|
|
3717
|
+
}).pipe(Schema.encodeKeys({ schemaInfo: "schema_info" })),
|
|
3718
|
+
]),
|
|
3719
|
+
Schema.Null,
|
|
3348
3720
|
]),
|
|
3349
|
-
|
|
3350
|
-
|
|
3721
|
+
),
|
|
3722
|
+
}).pipe(
|
|
3723
|
+
Schema.encodeKeys({
|
|
3724
|
+
endpoint: "endpoint",
|
|
3725
|
+
host: "host",
|
|
3726
|
+
lastUpdated: "last_updated",
|
|
3727
|
+
method: "method",
|
|
3728
|
+
operationId: "operation_id",
|
|
3729
|
+
features: "features",
|
|
3730
|
+
}),
|
|
3351
3731
|
),
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3732
|
+
Schema.Struct({
|
|
3733
|
+
endpoint: Schema.String,
|
|
3734
|
+
host: Schema.String,
|
|
3735
|
+
method: Schema.Literals([
|
|
3736
|
+
"GET",
|
|
3737
|
+
"POST",
|
|
3738
|
+
"HEAD",
|
|
3739
|
+
"OPTIONS",
|
|
3740
|
+
"PUT",
|
|
3741
|
+
"DELETE",
|
|
3742
|
+
"CONNECT",
|
|
3743
|
+
"PATCH",
|
|
3744
|
+
"TRACE",
|
|
3745
|
+
]),
|
|
3360
3746
|
}),
|
|
3361
|
-
),
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
"TRACE",
|
|
3375
|
-
]),
|
|
3747
|
+
]),
|
|
3748
|
+
),
|
|
3749
|
+
resultInfo: Schema.Struct({
|
|
3750
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3751
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3752
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3753
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3754
|
+
}).pipe(
|
|
3755
|
+
Schema.encodeKeys({
|
|
3756
|
+
count: "count",
|
|
3757
|
+
page: "page",
|
|
3758
|
+
perPage: "per_page",
|
|
3759
|
+
totalCount: "total_count",
|
|
3376
3760
|
}),
|
|
3377
|
-
|
|
3761
|
+
),
|
|
3762
|
+
}).pipe(
|
|
3763
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
3378
3764
|
) as unknown as Schema.Schema<ListUserSchemaOperationsResponse>;
|
|
3379
3765
|
|
|
3380
3766
|
export type ListUserSchemaOperationsError = DefaultErrors;
|
|
3381
3767
|
|
|
3382
|
-
export const listUserSchemaOperations: API.
|
|
3768
|
+
export const listUserSchemaOperations: API.PaginatedOperationMethod<
|
|
3383
3769
|
ListUserSchemaOperationsRequest,
|
|
3384
3770
|
ListUserSchemaOperationsResponse,
|
|
3385
3771
|
ListUserSchemaOperationsError,
|
|
3386
3772
|
Credentials | HttpClient.HttpClient
|
|
3387
|
-
>
|
|
3773
|
+
> & {
|
|
3774
|
+
pages: (
|
|
3775
|
+
input: ListUserSchemaOperationsRequest,
|
|
3776
|
+
) => stream.Stream<
|
|
3777
|
+
ListUserSchemaOperationsResponse,
|
|
3778
|
+
ListUserSchemaOperationsError,
|
|
3779
|
+
Credentials | HttpClient.HttpClient
|
|
3780
|
+
>;
|
|
3781
|
+
items: (input: ListUserSchemaOperationsRequest) => stream.Stream<
|
|
3782
|
+
| {
|
|
3783
|
+
endpoint: string;
|
|
3784
|
+
host: string;
|
|
3785
|
+
lastUpdated: string;
|
|
3786
|
+
method:
|
|
3787
|
+
| "GET"
|
|
3788
|
+
| "POST"
|
|
3789
|
+
| "HEAD"
|
|
3790
|
+
| "OPTIONS"
|
|
3791
|
+
| "PUT"
|
|
3792
|
+
| "DELETE"
|
|
3793
|
+
| "CONNECT"
|
|
3794
|
+
| "PATCH"
|
|
3795
|
+
| "TRACE";
|
|
3796
|
+
operationId: string;
|
|
3797
|
+
features?:
|
|
3798
|
+
| {
|
|
3799
|
+
thresholds?: {
|
|
3800
|
+
authIdTokens?: number | null;
|
|
3801
|
+
dataPoints?: number | null;
|
|
3802
|
+
lastUpdated?: string | null;
|
|
3803
|
+
p50?: number | null;
|
|
3804
|
+
p90?: number | null;
|
|
3805
|
+
p99?: number | null;
|
|
3806
|
+
periodSeconds?: number | null;
|
|
3807
|
+
requests?: number | null;
|
|
3808
|
+
suggestedThreshold?: number | null;
|
|
3809
|
+
} | null;
|
|
3810
|
+
}
|
|
3811
|
+
| {
|
|
3812
|
+
parameterSchemas: {
|
|
3813
|
+
lastUpdated?: string | null;
|
|
3814
|
+
parameterSchemas?: {
|
|
3815
|
+
parameters?: unknown[] | null;
|
|
3816
|
+
responses?: null;
|
|
3817
|
+
} | null;
|
|
3818
|
+
};
|
|
3819
|
+
}
|
|
3820
|
+
| {
|
|
3821
|
+
apiRouting?: {
|
|
3822
|
+
lastUpdated?: string | null;
|
|
3823
|
+
route?: string | null;
|
|
3824
|
+
} | null;
|
|
3825
|
+
}
|
|
3826
|
+
| {
|
|
3827
|
+
confidenceIntervals?: {
|
|
3828
|
+
lastUpdated?: string | null;
|
|
3829
|
+
suggestedThreshold?: {
|
|
3830
|
+
confidenceIntervals?: {
|
|
3831
|
+
p90?: {
|
|
3832
|
+
lower?: number | null;
|
|
3833
|
+
upper?: number | null;
|
|
3834
|
+
} | null;
|
|
3835
|
+
p95?: {
|
|
3836
|
+
lower?: number | null;
|
|
3837
|
+
upper?: number | null;
|
|
3838
|
+
} | null;
|
|
3839
|
+
p99?: {
|
|
3840
|
+
lower?: number | null;
|
|
3841
|
+
upper?: number | null;
|
|
3842
|
+
} | null;
|
|
3843
|
+
} | null;
|
|
3844
|
+
mean?: number | null;
|
|
3845
|
+
} | null;
|
|
3846
|
+
} | null;
|
|
3847
|
+
}
|
|
3848
|
+
| {
|
|
3849
|
+
schemaInfo?: {
|
|
3850
|
+
activeSchema?: {
|
|
3851
|
+
id?: string | null;
|
|
3852
|
+
createdAt?: string | null;
|
|
3853
|
+
isLearned?: boolean | null;
|
|
3854
|
+
name?: string | null;
|
|
3855
|
+
} | null;
|
|
3856
|
+
learnedAvailable?: boolean | null;
|
|
3857
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
3858
|
+
} | null;
|
|
3859
|
+
}
|
|
3860
|
+
| null;
|
|
3861
|
+
}
|
|
3862
|
+
| {
|
|
3863
|
+
endpoint: string;
|
|
3864
|
+
host: string;
|
|
3865
|
+
method:
|
|
3866
|
+
| "GET"
|
|
3867
|
+
| "POST"
|
|
3868
|
+
| "HEAD"
|
|
3869
|
+
| "OPTIONS"
|
|
3870
|
+
| "PUT"
|
|
3871
|
+
| "DELETE"
|
|
3872
|
+
| "CONNECT"
|
|
3873
|
+
| "PATCH"
|
|
3874
|
+
| "TRACE";
|
|
3875
|
+
},
|
|
3876
|
+
ListUserSchemaOperationsError,
|
|
3877
|
+
Credentials | HttpClient.HttpClient
|
|
3878
|
+
>;
|
|
3879
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
3388
3880
|
input: ListUserSchemaOperationsRequest,
|
|
3389
3881
|
output: ListUserSchemaOperationsResponse,
|
|
3390
3882
|
errors: [],
|
|
3883
|
+
pagination: {
|
|
3884
|
+
mode: "page",
|
|
3885
|
+
inputToken: "page",
|
|
3886
|
+
outputToken: "resultInfo.page",
|
|
3887
|
+
items: "result",
|
|
3888
|
+
pageSize: "perPage",
|
|
3889
|
+
} as const,
|
|
3391
3890
|
}));
|