@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -26,7 +26,7 @@ export class ZoneNotEntitled extends T.applyErrorMatchers(Schema.TaggedErrorClas
|
|
|
26
26
|
message: Schema.String,
|
|
27
27
|
}), [{ code: 1034 }]) {
|
|
28
28
|
}
|
|
29
|
-
const ListEventsResponseResult = /*@__PURE__*/
|
|
29
|
+
const ListEventsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
30
30
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
31
31
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
32
32
|
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -75,7 +75,7 @@ const ListEventsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
75
75
|
turnstileAction: "turnstile_action",
|
|
76
76
|
turnstileMode: "turnstile_mode",
|
|
77
77
|
})));
|
|
78
|
-
const ListEventsResponseResultInfo = /*@__PURE__*/
|
|
78
|
+
const ListEventsResponseResultInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
79
79
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
80
80
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
81
81
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -86,7 +86,7 @@ const ListEventsResponseResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
86
86
|
perPage: "per_page",
|
|
87
87
|
totalCount: "total_count",
|
|
88
88
|
})));
|
|
89
|
-
const GetRuleResponseResult = /*@__PURE__*/
|
|
89
|
+
const GetRuleResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
90
90
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
91
91
|
action: Schema.optional(Schema.Union([Schema.Literal("bypass_waiting_room"), Schema.Null])),
|
|
92
92
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -103,26 +103,26 @@ const GetRuleResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => S
|
|
|
103
103
|
lastUpdated: "last_updated",
|
|
104
104
|
version: "version",
|
|
105
105
|
})));
|
|
106
|
-
const Rules = /*@__PURE__*/
|
|
106
|
+
const Rules = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
107
107
|
action: Schema.Literal("bypass_waiting_room"),
|
|
108
108
|
expression: Schema.String,
|
|
109
109
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
110
110
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
111
111
|
}));
|
|
112
|
-
const Index = /*@__PURE__*/
|
|
112
|
+
const Index = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
113
113
|
index: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
114
114
|
}));
|
|
115
|
-
const Before = /*@__PURE__*/
|
|
115
|
+
const Before = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
116
116
|
before: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
117
117
|
}));
|
|
118
|
-
const After = /*@__PURE__*/
|
|
118
|
+
const After = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
119
119
|
after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
120
120
|
}));
|
|
121
|
-
const AdditionalRoutes = /*@__PURE__*/
|
|
121
|
+
const AdditionalRoutes = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
122
122
|
host: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
123
123
|
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
124
124
|
}));
|
|
125
|
-
const CookieAttributes = /*@__PURE__*/
|
|
125
|
+
const CookieAttributes = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
126
126
|
samesite: Schema.optional(Schema.Union([
|
|
127
127
|
Schema.Union([
|
|
128
128
|
Schema.Literals(["auto", "lax", "none", "strict"]),
|
|
@@ -139,7 +139,7 @@ const CookieAttributes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
139
139
|
])),
|
|
140
140
|
}));
|
|
141
141
|
const ListWaitingRoomsResponseResult =
|
|
142
|
-
/*@__PURE__*/
|
|
142
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
143
143
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
144
144
|
additionalRoutes: Schema.optional(Schema.Union([Schema.Array(AdditionalRoutes), Schema.Null])),
|
|
145
145
|
cookieAttributes: Schema.optional(Schema.Union([CookieAttributes, Schema.Null])),
|
|
@@ -265,7 +265,7 @@ const ListWaitingRoomsResponseResult =
|
|
|
265
265
|
turnstileAction: "turnstile_action",
|
|
266
266
|
turnstileMode: "turnstile_mode",
|
|
267
267
|
})));
|
|
268
|
-
export const GetEventRequest = /*@__PURE__*/
|
|
268
|
+
export const GetEventRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
269
269
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
270
270
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
271
271
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -273,7 +273,7 @@ export const GetEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
273
273
|
method: "GET",
|
|
274
274
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
275
275
|
})));
|
|
276
|
-
export const GetEventResponse = /*@__PURE__*/
|
|
276
|
+
export const GetEventResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
277
277
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
278
278
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
279
279
|
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -324,12 +324,12 @@ export const GetEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
324
324
|
turnstileMode: "turnstile_mode",
|
|
325
325
|
}))
|
|
326
326
|
.pipe(T.ResponsePath("result")));
|
|
327
|
-
export const getEvent = /*@__PURE__*/
|
|
327
|
+
export const getEvent = /*@__PURE__*/ API.make(() => ({
|
|
328
328
|
input: GetEventRequest,
|
|
329
329
|
output: GetEventResponse,
|
|
330
330
|
errors: [],
|
|
331
331
|
}));
|
|
332
|
-
export const ListEventsRequest = /*@__PURE__*/
|
|
332
|
+
export const ListEventsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
333
333
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
334
334
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
335
335
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -338,11 +338,11 @@ export const ListEventsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
338
338
|
method: "GET",
|
|
339
339
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
|
|
340
340
|
})));
|
|
341
|
-
export const ListEventsResponse = /*@__PURE__*/
|
|
341
|
+
export const ListEventsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
342
342
|
result: Schema.Array(ListEventsResponseResult),
|
|
343
343
|
resultInfo: Schema.optional(Schema.Union([ListEventsResponseResultInfo, Schema.Null])),
|
|
344
344
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
345
|
-
export const listEvents = /*@__PURE__*/
|
|
345
|
+
export const listEvents = /*@__PURE__*/ API.makePaginated(() => ({
|
|
346
346
|
input: ListEventsRequest,
|
|
347
347
|
output: ListEventsResponse,
|
|
348
348
|
errors: [],
|
|
@@ -354,7 +354,7 @@ export const listEvents = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
354
354
|
pageSize: "perPage",
|
|
355
355
|
},
|
|
356
356
|
}));
|
|
357
|
-
export const CreateEventRequest = /*@__PURE__*/
|
|
357
|
+
export const CreateEventRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
358
358
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
359
359
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
360
360
|
eventEndTime: Schema.String,
|
|
@@ -402,7 +402,7 @@ export const CreateEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
402
402
|
method: "POST",
|
|
403
403
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
|
|
404
404
|
})));
|
|
405
|
-
export const CreateEventResponse = /*@__PURE__*/
|
|
405
|
+
export const CreateEventResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
406
406
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
407
407
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
408
408
|
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -453,12 +453,12 @@ export const CreateEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
453
453
|
turnstileMode: "turnstile_mode",
|
|
454
454
|
}))
|
|
455
455
|
.pipe(T.ResponsePath("result")));
|
|
456
|
-
export const createEvent = /*@__PURE__*/
|
|
456
|
+
export const createEvent = /*@__PURE__*/ API.make(() => ({
|
|
457
457
|
input: CreateEventRequest,
|
|
458
458
|
output: CreateEventResponse,
|
|
459
459
|
errors: [],
|
|
460
460
|
}));
|
|
461
|
-
export const UpdateEventRequest = /*@__PURE__*/
|
|
461
|
+
export const UpdateEventRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
462
462
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
463
463
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
464
464
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -507,7 +507,7 @@ export const UpdateEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
507
507
|
method: "PUT",
|
|
508
508
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
509
509
|
})));
|
|
510
|
-
export const UpdateEventResponse = /*@__PURE__*/
|
|
510
|
+
export const UpdateEventResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
511
511
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
512
512
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
513
513
|
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -558,12 +558,12 @@ export const UpdateEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
558
558
|
turnstileMode: "turnstile_mode",
|
|
559
559
|
}))
|
|
560
560
|
.pipe(T.ResponsePath("result")));
|
|
561
|
-
export const updateEvent = /*@__PURE__*/
|
|
561
|
+
export const updateEvent = /*@__PURE__*/ API.make(() => ({
|
|
562
562
|
input: UpdateEventRequest,
|
|
563
563
|
output: UpdateEventResponse,
|
|
564
564
|
errors: [],
|
|
565
565
|
}));
|
|
566
|
-
export const PatchEventRequest = /*@__PURE__*/
|
|
566
|
+
export const PatchEventRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
567
567
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
568
568
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
569
569
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -612,7 +612,7 @@ export const PatchEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
612
612
|
method: "PATCH",
|
|
613
613
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
614
614
|
})));
|
|
615
|
-
export const PatchEventResponse = /*@__PURE__*/
|
|
615
|
+
export const PatchEventResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
616
616
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
617
617
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
618
618
|
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -663,12 +663,12 @@ export const PatchEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
663
663
|
turnstileMode: "turnstile_mode",
|
|
664
664
|
}))
|
|
665
665
|
.pipe(T.ResponsePath("result")));
|
|
666
|
-
export const patchEvent = /*@__PURE__*/
|
|
666
|
+
export const patchEvent = /*@__PURE__*/ API.make(() => ({
|
|
667
667
|
input: PatchEventRequest,
|
|
668
668
|
output: PatchEventResponse,
|
|
669
669
|
errors: [],
|
|
670
670
|
}));
|
|
671
|
-
export const DeleteEventRequest = /*@__PURE__*/
|
|
671
|
+
export const DeleteEventRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
672
672
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
673
673
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
674
674
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -676,15 +676,15 @@ export const DeleteEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
676
676
|
method: "DELETE",
|
|
677
677
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
678
678
|
})));
|
|
679
|
-
export const DeleteEventResponse = /*@__PURE__*/
|
|
679
|
+
export const DeleteEventResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
680
680
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
681
681
|
}).pipe(T.ResponsePath("result")));
|
|
682
|
-
export const deleteEvent = /*@__PURE__*/
|
|
682
|
+
export const deleteEvent = /*@__PURE__*/ API.make(() => ({
|
|
683
683
|
input: DeleteEventRequest,
|
|
684
684
|
output: DeleteEventResponse,
|
|
685
685
|
errors: [],
|
|
686
686
|
}));
|
|
687
|
-
export const GetEventDetailRequest = /*@__PURE__*/
|
|
687
|
+
export const GetEventDetailRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
688
688
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
689
689
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
690
690
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -693,7 +693,7 @@ export const GetEventDetailRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
693
693
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}/details",
|
|
694
694
|
})));
|
|
695
695
|
export const GetEventDetailResponse =
|
|
696
|
-
/*@__PURE__*/
|
|
696
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
697
697
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
698
698
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
699
699
|
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -730,39 +730,39 @@ export const GetEventDetailResponse =
|
|
|
730
730
|
totalActiveUsers: "total_active_users",
|
|
731
731
|
}))
|
|
732
732
|
.pipe(T.ResponsePath("result")));
|
|
733
|
-
export const getEventDetail = /*@__PURE__*/
|
|
733
|
+
export const getEventDetail = /*@__PURE__*/ API.make(() => ({
|
|
734
734
|
input: GetEventDetailRequest,
|
|
735
735
|
output: GetEventDetailResponse,
|
|
736
736
|
errors: [],
|
|
737
737
|
}));
|
|
738
|
-
export const PreviewPageRequest = /*@__PURE__*/
|
|
738
|
+
export const PreviewPageRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
739
739
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
740
740
|
customHtml: Schema.String,
|
|
741
741
|
}).pipe(Schema.encodeKeys({ customHtml: "custom_html" }), T.Http({
|
|
742
742
|
method: "POST",
|
|
743
743
|
path: "/zones/{zone_id}/waiting_rooms/preview",
|
|
744
744
|
})));
|
|
745
|
-
export const PreviewPageResponse = /*@__PURE__*/
|
|
745
|
+
export const PreviewPageResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
746
746
|
previewUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
747
747
|
})
|
|
748
748
|
.pipe(Schema.encodeKeys({ previewUrl: "preview_url" }))
|
|
749
749
|
.pipe(T.ResponsePath("result")));
|
|
750
|
-
export const previewPage = /*@__PURE__*/
|
|
750
|
+
export const previewPage = /*@__PURE__*/ API.make(() => ({
|
|
751
751
|
input: PreviewPageRequest,
|
|
752
752
|
output: PreviewPageResponse,
|
|
753
753
|
errors: [],
|
|
754
754
|
}));
|
|
755
|
-
export const GetRuleRequest = /*@__PURE__*/
|
|
755
|
+
export const GetRuleRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
756
756
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
757
757
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
758
758
|
}).pipe(T.Http({
|
|
759
759
|
method: "GET",
|
|
760
760
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
|
|
761
761
|
})));
|
|
762
|
-
export const GetRuleResponse = /*@__PURE__*/
|
|
762
|
+
export const GetRuleResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
763
763
|
result: Schema.Array(GetRuleResponseResult),
|
|
764
764
|
}));
|
|
765
|
-
export const getRule = /*@__PURE__*/
|
|
765
|
+
export const getRule = /*@__PURE__*/ API.makePaginated(() => ({
|
|
766
766
|
input: GetRuleRequest,
|
|
767
767
|
output: GetRuleResponse,
|
|
768
768
|
errors: [],
|
|
@@ -771,7 +771,7 @@ export const getRule = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
771
771
|
items: "result",
|
|
772
772
|
},
|
|
773
773
|
}));
|
|
774
|
-
export const CreateRuleRequest = /*@__PURE__*/
|
|
774
|
+
export const CreateRuleRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
775
775
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
776
776
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
777
777
|
rules: Rules,
|
|
@@ -779,10 +779,10 @@ export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
779
779
|
method: "POST",
|
|
780
780
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
|
|
781
781
|
})));
|
|
782
|
-
export const CreateRuleResponse = /*@__PURE__*/
|
|
782
|
+
export const CreateRuleResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
783
783
|
result: Schema.Array(GetRuleResponseResult),
|
|
784
784
|
}));
|
|
785
|
-
export const createRule = /*@__PURE__*/
|
|
785
|
+
export const createRule = /*@__PURE__*/ API.makePaginated(() => ({
|
|
786
786
|
input: CreateRuleRequest,
|
|
787
787
|
output: CreateRuleResponse,
|
|
788
788
|
errors: [],
|
|
@@ -791,7 +791,7 @@ export const createRule = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
791
791
|
items: "result",
|
|
792
792
|
},
|
|
793
793
|
}));
|
|
794
|
-
export const UpdateRuleRequest = /*@__PURE__*/
|
|
794
|
+
export const UpdateRuleRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
795
795
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
796
796
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
797
797
|
rules: Schema.Array(Rules),
|
|
@@ -799,10 +799,10 @@ export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
799
799
|
method: "PUT",
|
|
800
800
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
|
|
801
801
|
})));
|
|
802
|
-
export const UpdateRuleResponse = /*@__PURE__*/
|
|
802
|
+
export const UpdateRuleResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
803
803
|
result: Schema.Array(GetRuleResponseResult),
|
|
804
804
|
}));
|
|
805
|
-
export const updateRule = /*@__PURE__*/
|
|
805
|
+
export const updateRule = /*@__PURE__*/ API.makePaginated(() => ({
|
|
806
806
|
input: UpdateRuleRequest,
|
|
807
807
|
output: UpdateRuleResponse,
|
|
808
808
|
errors: [],
|
|
@@ -811,7 +811,7 @@ export const updateRule = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
811
811
|
items: "result",
|
|
812
812
|
},
|
|
813
813
|
}));
|
|
814
|
-
export const PatchRuleRequest = /*@__PURE__*/
|
|
814
|
+
export const PatchRuleRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
815
815
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
816
816
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
817
817
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -824,10 +824,10 @@ export const PatchRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
824
824
|
method: "PATCH",
|
|
825
825
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules/{ruleId}",
|
|
826
826
|
})));
|
|
827
|
-
export const PatchRuleResponse = /*@__PURE__*/
|
|
827
|
+
export const PatchRuleResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
828
828
|
result: Schema.Array(GetRuleResponseResult),
|
|
829
829
|
}));
|
|
830
|
-
export const patchRule = /*@__PURE__*/
|
|
830
|
+
export const patchRule = /*@__PURE__*/ API.makePaginated(() => ({
|
|
831
831
|
input: PatchRuleRequest,
|
|
832
832
|
output: PatchRuleResponse,
|
|
833
833
|
errors: [],
|
|
@@ -836,7 +836,7 @@ export const patchRule = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
836
836
|
items: "result",
|
|
837
837
|
},
|
|
838
838
|
}));
|
|
839
|
-
export const DeleteRuleRequest = /*@__PURE__*/
|
|
839
|
+
export const DeleteRuleRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
840
840
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
841
841
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
842
842
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -844,10 +844,10 @@ export const DeleteRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
844
844
|
method: "DELETE",
|
|
845
845
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules/{ruleId}",
|
|
846
846
|
})));
|
|
847
|
-
export const DeleteRuleResponse = /*@__PURE__*/
|
|
847
|
+
export const DeleteRuleResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
848
848
|
result: Schema.Array(GetRuleResponseResult),
|
|
849
849
|
}));
|
|
850
|
-
export const deleteRule = /*@__PURE__*/
|
|
850
|
+
export const deleteRule = /*@__PURE__*/ API.makePaginated(() => ({
|
|
851
851
|
input: DeleteRuleRequest,
|
|
852
852
|
output: DeleteRuleResponse,
|
|
853
853
|
errors: [],
|
|
@@ -856,25 +856,25 @@ export const deleteRule = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
856
856
|
items: "result",
|
|
857
857
|
},
|
|
858
858
|
}));
|
|
859
|
-
export const GetSettingRequest = /*@__PURE__*/
|
|
859
|
+
export const GetSettingRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
860
860
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
861
861
|
}).pipe(T.Http({
|
|
862
862
|
method: "GET",
|
|
863
863
|
path: "/zones/{zone_id}/waiting_rooms/settings",
|
|
864
864
|
})));
|
|
865
|
-
export const GetSettingResponse = /*@__PURE__*/
|
|
865
|
+
export const GetSettingResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
866
866
|
searchEngineCrawlerBypass: Schema.Boolean,
|
|
867
867
|
})
|
|
868
868
|
.pipe(Schema.encodeKeys({
|
|
869
869
|
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
870
870
|
}))
|
|
871
871
|
.pipe(T.ResponsePath("result")));
|
|
872
|
-
export const getSetting = /*@__PURE__*/
|
|
872
|
+
export const getSetting = /*@__PURE__*/ API.make(() => ({
|
|
873
873
|
input: GetSettingRequest,
|
|
874
874
|
output: GetSettingResponse,
|
|
875
875
|
errors: [Forbidden],
|
|
876
876
|
}));
|
|
877
|
-
export const PutSettingRequest = /*@__PURE__*/
|
|
877
|
+
export const PutSettingRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
878
878
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
879
879
|
searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
|
|
880
880
|
}).pipe(Schema.encodeKeys({
|
|
@@ -883,19 +883,19 @@ export const PutSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
883
883
|
method: "PUT",
|
|
884
884
|
path: "/zones/{zone_id}/waiting_rooms/settings",
|
|
885
885
|
})));
|
|
886
|
-
export const PutSettingResponse = /*@__PURE__*/
|
|
886
|
+
export const PutSettingResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
887
887
|
searchEngineCrawlerBypass: Schema.Boolean,
|
|
888
888
|
})
|
|
889
889
|
.pipe(Schema.encodeKeys({
|
|
890
890
|
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
891
891
|
}))
|
|
892
892
|
.pipe(T.ResponsePath("result")));
|
|
893
|
-
export const putSetting = /*@__PURE__*/
|
|
893
|
+
export const putSetting = /*@__PURE__*/ API.make(() => ({
|
|
894
894
|
input: PutSettingRequest,
|
|
895
895
|
output: PutSettingResponse,
|
|
896
896
|
errors: [ZoneNotEntitled, Forbidden],
|
|
897
897
|
}));
|
|
898
|
-
export const PatchSettingRequest = /*@__PURE__*/
|
|
898
|
+
export const PatchSettingRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
899
899
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
900
900
|
searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
|
|
901
901
|
}).pipe(Schema.encodeKeys({
|
|
@@ -904,26 +904,26 @@ export const PatchSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
904
904
|
method: "PATCH",
|
|
905
905
|
path: "/zones/{zone_id}/waiting_rooms/settings",
|
|
906
906
|
})));
|
|
907
|
-
export const PatchSettingResponse = /*@__PURE__*/
|
|
907
|
+
export const PatchSettingResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
908
908
|
searchEngineCrawlerBypass: Schema.Boolean,
|
|
909
909
|
})
|
|
910
910
|
.pipe(Schema.encodeKeys({
|
|
911
911
|
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
912
912
|
}))
|
|
913
913
|
.pipe(T.ResponsePath("result")));
|
|
914
|
-
export const patchSetting = /*@__PURE__*/
|
|
914
|
+
export const patchSetting = /*@__PURE__*/ API.make(() => ({
|
|
915
915
|
input: PatchSettingRequest,
|
|
916
916
|
output: PatchSettingResponse,
|
|
917
917
|
errors: [],
|
|
918
918
|
}));
|
|
919
|
-
export const GetStatusRequest = /*@__PURE__*/
|
|
919
|
+
export const GetStatusRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
920
920
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
921
921
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
922
922
|
}).pipe(T.Http({
|
|
923
923
|
method: "GET",
|
|
924
924
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/status",
|
|
925
925
|
})));
|
|
926
|
-
export const GetStatusResponse = /*@__PURE__*/
|
|
926
|
+
export const GetStatusResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
927
927
|
estimatedQueuedUsers: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
928
928
|
estimatedTotalActiveUsers: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
929
929
|
eventId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -949,12 +949,12 @@ export const GetStatusResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
949
949
|
status: "status",
|
|
950
950
|
}))
|
|
951
951
|
.pipe(T.ResponsePath("result")));
|
|
952
|
-
export const getStatus = /*@__PURE__*/
|
|
952
|
+
export const getStatus = /*@__PURE__*/ API.make(() => ({
|
|
953
953
|
input: GetStatusRequest,
|
|
954
954
|
output: GetStatusResponse,
|
|
955
955
|
errors: [],
|
|
956
956
|
}));
|
|
957
|
-
export const GetWaitingRoomRequest = /*@__PURE__*/
|
|
957
|
+
export const GetWaitingRoomRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
958
958
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
959
959
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
960
960
|
}).pipe(T.Http({
|
|
@@ -962,7 +962,7 @@ export const GetWaitingRoomRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
962
962
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
|
|
963
963
|
})));
|
|
964
964
|
export const GetWaitingRoomResponse =
|
|
965
|
-
/*@__PURE__*/
|
|
965
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
966
966
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
967
967
|
additionalRoutes: Schema.optional(Schema.Union([Schema.Array(AdditionalRoutes), Schema.Null])),
|
|
968
968
|
cookieAttributes: Schema.optional(Schema.Union([CookieAttributes, Schema.Null])),
|
|
@@ -1090,7 +1090,7 @@ export const GetWaitingRoomResponse =
|
|
|
1090
1090
|
turnstileMode: "turnstile_mode",
|
|
1091
1091
|
}))
|
|
1092
1092
|
.pipe(T.ResponsePath("result")));
|
|
1093
|
-
export const getWaitingRoom = /*@__PURE__*/
|
|
1093
|
+
export const getWaitingRoom = /*@__PURE__*/ API.make(() => ({
|
|
1094
1094
|
input: GetWaitingRoomRequest,
|
|
1095
1095
|
output: GetWaitingRoomResponse,
|
|
1096
1096
|
errors: [WaitingRoomNotFound, Forbidden],
|
|
@@ -1100,21 +1100,21 @@ const ListWaitingRoomsBaseFields = {
|
|
|
1100
1100
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1101
1101
|
};
|
|
1102
1102
|
export const ListWaitingRoomsForAccountRequest =
|
|
1103
|
-
/*@__PURE__*/
|
|
1103
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1104
1104
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1105
1105
|
...ListWaitingRoomsBaseFields,
|
|
1106
1106
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/waiting_rooms" })));
|
|
1107
1107
|
export const ListWaitingRoomsForZoneRequest =
|
|
1108
|
-
/*@__PURE__*/
|
|
1108
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1109
1109
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1110
1110
|
...ListWaitingRoomsBaseFields,
|
|
1111
1111
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/waiting_rooms" })));
|
|
1112
1112
|
export const ListWaitingRoomsResponse =
|
|
1113
|
-
/*@__PURE__*/
|
|
1113
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1114
1114
|
result: Schema.Array(ListWaitingRoomsResponseResult),
|
|
1115
1115
|
resultInfo: Schema.optional(Schema.Union([ListEventsResponseResultInfo, Schema.Null])),
|
|
1116
1116
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1117
|
-
export const listWaitingRoomsForAccount = /*@__PURE__*/
|
|
1117
|
+
export const listWaitingRoomsForAccount = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1118
1118
|
input: ListWaitingRoomsForAccountRequest,
|
|
1119
1119
|
output: ListWaitingRoomsResponse,
|
|
1120
1120
|
errors: [Forbidden],
|
|
@@ -1126,7 +1126,7 @@ export const listWaitingRoomsForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePa
|
|
|
1126
1126
|
pageSize: "perPage",
|
|
1127
1127
|
},
|
|
1128
1128
|
}));
|
|
1129
|
-
export const listWaitingRoomsForZone = /*@__PURE__*/
|
|
1129
|
+
export const listWaitingRoomsForZone = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1130
1130
|
input: ListWaitingRoomsForZoneRequest,
|
|
1131
1131
|
output: ListWaitingRoomsResponse,
|
|
1132
1132
|
errors: [Forbidden],
|
|
@@ -1139,7 +1139,7 @@ export const listWaitingRoomsForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
|
|
|
1139
1139
|
},
|
|
1140
1140
|
}));
|
|
1141
1141
|
export const CreateWaitingRoomRequest =
|
|
1142
|
-
/*@__PURE__*/
|
|
1142
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1143
1143
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1144
1144
|
host: Schema.String,
|
|
1145
1145
|
name: Schema.String,
|
|
@@ -1242,7 +1242,7 @@ export const CreateWaitingRoomRequest =
|
|
|
1242
1242
|
turnstileMode: "turnstile_mode",
|
|
1243
1243
|
}), T.Http({ method: "POST", path: "/zones/{zone_id}/waiting_rooms" })));
|
|
1244
1244
|
export const CreateWaitingRoomResponse =
|
|
1245
|
-
/*@__PURE__*/
|
|
1245
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1246
1246
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1247
1247
|
additionalRoutes: Schema.optional(Schema.Union([Schema.Array(AdditionalRoutes), Schema.Null])),
|
|
1248
1248
|
cookieAttributes: Schema.optional(Schema.Union([CookieAttributes, Schema.Null])),
|
|
@@ -1370,13 +1370,13 @@ export const CreateWaitingRoomResponse =
|
|
|
1370
1370
|
turnstileMode: "turnstile_mode",
|
|
1371
1371
|
}))
|
|
1372
1372
|
.pipe(T.ResponsePath("result")));
|
|
1373
|
-
export const createWaitingRoom = /*@__PURE__*/
|
|
1373
|
+
export const createWaitingRoom = /*@__PURE__*/ API.make(() => ({
|
|
1374
1374
|
input: CreateWaitingRoomRequest,
|
|
1375
1375
|
output: CreateWaitingRoomResponse,
|
|
1376
1376
|
errors: [ZoneNotEntitled, Forbidden],
|
|
1377
1377
|
}));
|
|
1378
1378
|
export const UpdateWaitingRoomRequest =
|
|
1379
|
-
/*@__PURE__*/
|
|
1379
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1380
1380
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1381
1381
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1382
1382
|
host: Schema.String,
|
|
@@ -1483,7 +1483,7 @@ export const UpdateWaitingRoomRequest =
|
|
|
1483
1483
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
|
|
1484
1484
|
})));
|
|
1485
1485
|
export const UpdateWaitingRoomResponse =
|
|
1486
|
-
/*@__PURE__*/
|
|
1486
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1487
1487
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1488
1488
|
additionalRoutes: Schema.optional(Schema.Union([Schema.Array(AdditionalRoutes), Schema.Null])),
|
|
1489
1489
|
cookieAttributes: Schema.optional(Schema.Union([CookieAttributes, Schema.Null])),
|
|
@@ -1611,13 +1611,13 @@ export const UpdateWaitingRoomResponse =
|
|
|
1611
1611
|
turnstileMode: "turnstile_mode",
|
|
1612
1612
|
}))
|
|
1613
1613
|
.pipe(T.ResponsePath("result")));
|
|
1614
|
-
export const updateWaitingRoom = /*@__PURE__*/
|
|
1614
|
+
export const updateWaitingRoom = /*@__PURE__*/ API.make(() => ({
|
|
1615
1615
|
input: UpdateWaitingRoomRequest,
|
|
1616
1616
|
output: UpdateWaitingRoomResponse,
|
|
1617
1617
|
errors: [WaitingRoomNotFound, ZoneNotEntitled, Forbidden],
|
|
1618
1618
|
}));
|
|
1619
1619
|
export const PatchWaitingRoomRequest =
|
|
1620
|
-
/*@__PURE__*/
|
|
1620
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1621
1621
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1622
1622
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1623
1623
|
host: Schema.String,
|
|
@@ -1724,7 +1724,7 @@ export const PatchWaitingRoomRequest =
|
|
|
1724
1724
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
|
|
1725
1725
|
})));
|
|
1726
1726
|
export const PatchWaitingRoomResponse =
|
|
1727
|
-
/*@__PURE__*/
|
|
1727
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1728
1728
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1729
1729
|
additionalRoutes: Schema.optional(Schema.Union([Schema.Array(AdditionalRoutes), Schema.Null])),
|
|
1730
1730
|
cookieAttributes: Schema.optional(Schema.Union([CookieAttributes, Schema.Null])),
|
|
@@ -1852,13 +1852,13 @@ export const PatchWaitingRoomResponse =
|
|
|
1852
1852
|
turnstileMode: "turnstile_mode",
|
|
1853
1853
|
}))
|
|
1854
1854
|
.pipe(T.ResponsePath("result")));
|
|
1855
|
-
export const patchWaitingRoom = /*@__PURE__*/
|
|
1855
|
+
export const patchWaitingRoom = /*@__PURE__*/ API.make(() => ({
|
|
1856
1856
|
input: PatchWaitingRoomRequest,
|
|
1857
1857
|
output: PatchWaitingRoomResponse,
|
|
1858
1858
|
errors: [],
|
|
1859
1859
|
}));
|
|
1860
1860
|
export const DeleteWaitingRoomRequest =
|
|
1861
|
-
/*@__PURE__*/
|
|
1861
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1862
1862
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1863
1863
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1864
1864
|
}).pipe(T.Http({
|
|
@@ -1866,10 +1866,10 @@ export const DeleteWaitingRoomRequest =
|
|
|
1866
1866
|
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
|
|
1867
1867
|
})));
|
|
1868
1868
|
export const DeleteWaitingRoomResponse =
|
|
1869
|
-
/*@__PURE__*/
|
|
1869
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1870
1870
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1871
1871
|
}).pipe(T.ResponsePath("result")));
|
|
1872
|
-
export const deleteWaitingRoom = /*@__PURE__*/
|
|
1872
|
+
export const deleteWaitingRoom = /*@__PURE__*/ API.make(() => ({
|
|
1873
1873
|
input: DeleteWaitingRoomRequest,
|
|
1874
1874
|
output: DeleteWaitingRoomResponse,
|
|
1875
1875
|
errors: [WaitingRoomNotFound, Forbidden],
|