@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -84,81 +84,74 @@ interface ListEventsResponseResult {
|
|
|
84
84
|
| "visible_managed"
|
|
85
85
|
| null;
|
|
86
86
|
}
|
|
87
|
-
const ListEventsResponseResult = /*@__PURE__*/
|
|
88
|
-
(
|
|
89
|
-
Schema.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
),
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Schema.Union([
|
|
133
|
-
Schema.Literal("off"),
|
|
134
|
-
Schema.Literal("invisible"),
|
|
135
|
-
Schema.Literal("visible_non_interactive"),
|
|
136
|
-
Schema.Literal("visible_managed"),
|
|
137
|
-
Schema.Null,
|
|
138
|
-
]),
|
|
139
|
-
),
|
|
140
|
-
}).pipe(
|
|
141
|
-
Schema.encodeKeys({
|
|
142
|
-
id: "id",
|
|
143
|
-
createdOn: "created_on",
|
|
144
|
-
customPageHtml: "custom_page_html",
|
|
145
|
-
description: "description",
|
|
146
|
-
disableSessionRenewal: "disable_session_renewal",
|
|
147
|
-
eventEndTime: "event_end_time",
|
|
148
|
-
eventStartTime: "event_start_time",
|
|
149
|
-
modifiedOn: "modified_on",
|
|
150
|
-
name: "name",
|
|
151
|
-
newUsersPerMinute: "new_users_per_minute",
|
|
152
|
-
prequeueStartTime: "prequeue_start_time",
|
|
153
|
-
queueingMethod: "queueing_method",
|
|
154
|
-
sessionDuration: "session_duration",
|
|
155
|
-
shuffleAtEventStart: "shuffle_at_event_start",
|
|
156
|
-
suspended: "suspended",
|
|
157
|
-
totalActiveUsers: "total_active_users",
|
|
158
|
-
turnstileAction: "turnstile_action",
|
|
159
|
-
turnstileMode: "turnstile_mode",
|
|
160
|
-
}),
|
|
87
|
+
const ListEventsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
88
|
+
Schema.Struct({
|
|
89
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
90
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
91
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
92
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
93
|
+
disableSessionRenewal: Schema.optional(
|
|
94
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
95
|
+
),
|
|
96
|
+
eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
97
|
+
eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
98
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
99
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
100
|
+
newUsersPerMinute: Schema.optional(
|
|
101
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
102
|
+
),
|
|
103
|
+
prequeueStartTime: Schema.optional(
|
|
104
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
105
|
+
),
|
|
106
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
107
|
+
sessionDuration: Schema.optional(
|
|
108
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
109
|
+
),
|
|
110
|
+
shuffleAtEventStart: Schema.optional(
|
|
111
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
112
|
+
),
|
|
113
|
+
suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
114
|
+
totalActiveUsers: Schema.optional(
|
|
115
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
116
|
+
),
|
|
117
|
+
turnstileAction: Schema.optional(
|
|
118
|
+
Schema.Union([
|
|
119
|
+
Schema.Literal("log"),
|
|
120
|
+
Schema.Literal("infinite_queue"),
|
|
121
|
+
Schema.Null,
|
|
122
|
+
]),
|
|
123
|
+
),
|
|
124
|
+
turnstileMode: Schema.optional(
|
|
125
|
+
Schema.Union([
|
|
126
|
+
Schema.Literal("off"),
|
|
127
|
+
Schema.Literal("invisible"),
|
|
128
|
+
Schema.Literal("visible_non_interactive"),
|
|
129
|
+
Schema.Literal("visible_managed"),
|
|
130
|
+
Schema.Null,
|
|
131
|
+
]),
|
|
161
132
|
),
|
|
133
|
+
}).pipe(
|
|
134
|
+
Schema.encodeKeys({
|
|
135
|
+
id: "id",
|
|
136
|
+
createdOn: "created_on",
|
|
137
|
+
customPageHtml: "custom_page_html",
|
|
138
|
+
description: "description",
|
|
139
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
140
|
+
eventEndTime: "event_end_time",
|
|
141
|
+
eventStartTime: "event_start_time",
|
|
142
|
+
modifiedOn: "modified_on",
|
|
143
|
+
name: "name",
|
|
144
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
145
|
+
prequeueStartTime: "prequeue_start_time",
|
|
146
|
+
queueingMethod: "queueing_method",
|
|
147
|
+
sessionDuration: "session_duration",
|
|
148
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
149
|
+
suspended: "suspended",
|
|
150
|
+
totalActiveUsers: "total_active_users",
|
|
151
|
+
turnstileAction: "turnstile_action",
|
|
152
|
+
turnstileMode: "turnstile_mode",
|
|
153
|
+
}),
|
|
154
|
+
),
|
|
162
155
|
) as unknown as Schema.Codec<ListEventsResponseResult>;
|
|
163
156
|
|
|
164
157
|
interface ListEventsResponseResultInfo {
|
|
@@ -167,21 +160,20 @@ interface ListEventsResponseResultInfo {
|
|
|
167
160
|
perPage?: number | null;
|
|
168
161
|
totalCount?: number | null;
|
|
169
162
|
}
|
|
170
|
-
const ListEventsResponseResultInfo = /*@__PURE__*/
|
|
171
|
-
(
|
|
172
|
-
Schema.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
),
|
|
163
|
+
const ListEventsResponseResultInfo = /*@__PURE__*/ Schema.suspend(() =>
|
|
164
|
+
Schema.Struct({
|
|
165
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
166
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
167
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
168
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
169
|
+
}).pipe(
|
|
170
|
+
Schema.encodeKeys({
|
|
171
|
+
count: "count",
|
|
172
|
+
page: "page",
|
|
173
|
+
perPage: "per_page",
|
|
174
|
+
totalCount: "total_count",
|
|
175
|
+
}),
|
|
176
|
+
),
|
|
185
177
|
) as unknown as Schema.Codec<ListEventsResponseResultInfo>;
|
|
186
178
|
|
|
187
179
|
interface GetRuleResponseResult {
|
|
@@ -199,7 +191,7 @@ interface GetRuleResponseResult {
|
|
|
199
191
|
/** The version of the rule. */
|
|
200
192
|
version?: string | null;
|
|
201
193
|
}
|
|
202
|
-
const GetRuleResponseResult = /*@__PURE__*/
|
|
194
|
+
const GetRuleResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
203
195
|
Schema.Struct({
|
|
204
196
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
205
197
|
action: Schema.optional(
|
|
@@ -233,7 +225,7 @@ interface Rules {
|
|
|
233
225
|
/** When set to true, the rule is enabled. */
|
|
234
226
|
enabled?: boolean | null;
|
|
235
227
|
}
|
|
236
|
-
const Rules = /*@__PURE__*/
|
|
228
|
+
const Rules = /*@__PURE__*/ Schema.suspend(() =>
|
|
237
229
|
Schema.Struct({
|
|
238
230
|
action: Schema.Literal("bypass_waiting_room"),
|
|
239
231
|
expression: Schema.String,
|
|
@@ -246,7 +238,7 @@ interface Index {
|
|
|
246
238
|
/** Places the rule in the exact position specified by the integer number <POSITION_NUMBER>. Position numbers start with 1. Existing rules in the ruleset from the specified position number onward are shif */
|
|
247
239
|
index?: number | null;
|
|
248
240
|
}
|
|
249
|
-
const Index = /*@__PURE__*/
|
|
241
|
+
const Index = /*@__PURE__*/ Schema.suspend(() =>
|
|
250
242
|
Schema.Struct({
|
|
251
243
|
index: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
252
244
|
}),
|
|
@@ -256,7 +248,7 @@ interface Before {
|
|
|
256
248
|
/** Places the rule before rule <RULE_ID>. Use this argument with an empty rule ID value ("") to set the rule as the first rule in the ruleset. */
|
|
257
249
|
before?: string | null;
|
|
258
250
|
}
|
|
259
|
-
const Before = /*@__PURE__*/
|
|
251
|
+
const Before = /*@__PURE__*/ Schema.suspend(() =>
|
|
260
252
|
Schema.Struct({
|
|
261
253
|
before: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
262
254
|
}),
|
|
@@ -266,7 +258,7 @@ interface After {
|
|
|
266
258
|
/** Places the rule after rule <RULE_ID>. Use this argument with an empty rule ID value ("") to set the rule as the last rule in the ruleset. */
|
|
267
259
|
after?: string | null;
|
|
268
260
|
}
|
|
269
|
-
const After = /*@__PURE__*/
|
|
261
|
+
const After = /*@__PURE__*/ Schema.suspend(() =>
|
|
270
262
|
Schema.Struct({
|
|
271
263
|
after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
272
264
|
}),
|
|
@@ -278,7 +270,7 @@ interface AdditionalRoutes {
|
|
|
278
270
|
/** Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the mos */
|
|
279
271
|
path?: string | null;
|
|
280
272
|
}
|
|
281
|
-
const AdditionalRoutes = /*@__PURE__*/
|
|
273
|
+
const AdditionalRoutes = /*@__PURE__*/ Schema.suspend(() =>
|
|
282
274
|
Schema.Struct({
|
|
283
275
|
host: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
284
276
|
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -291,7 +283,7 @@ interface CookieAttributes {
|
|
|
291
283
|
/** Configures the Secure attribute on the waiting room cookie. Value `always` indicates that the Secure attribute will be set in the Set-Cookie header, `never` indicates that the Secure attribute will no */
|
|
292
284
|
secure?: "auto" | "always" | "never" | (string & {}) | null;
|
|
293
285
|
}
|
|
294
|
-
const CookieAttributes = /*@__PURE__*/
|
|
286
|
+
const CookieAttributes = /*@__PURE__*/ Schema.suspend(() =>
|
|
295
287
|
Schema.Struct({
|
|
296
288
|
samesite: Schema.optional(
|
|
297
289
|
Schema.Union([
|
|
@@ -421,7 +413,7 @@ interface ListWaitingRoomsResponseResult {
|
|
|
421
413
|
| null;
|
|
422
414
|
}
|
|
423
415
|
const ListWaitingRoomsResponseResult =
|
|
424
|
-
/*@__PURE__*/
|
|
416
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
425
417
|
Schema.Struct({
|
|
426
418
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
427
419
|
additionalRoutes: Schema.optional(
|
|
@@ -595,7 +587,7 @@ export interface GetEventRequest {
|
|
|
595
587
|
zoneId: string;
|
|
596
588
|
}
|
|
597
589
|
|
|
598
|
-
export const GetEventRequest = /*@__PURE__*/
|
|
590
|
+
export const GetEventRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
599
591
|
Schema.Struct({
|
|
600
592
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
601
593
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
@@ -649,7 +641,7 @@ export interface GetEventResponse {
|
|
|
649
641
|
| null;
|
|
650
642
|
}
|
|
651
643
|
|
|
652
|
-
export const GetEventResponse = /*@__PURE__*/
|
|
644
|
+
export const GetEventResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
653
645
|
Schema.Struct({
|
|
654
646
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
655
647
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -728,7 +720,7 @@ export const getEvent: API.OperationMethod<
|
|
|
728
720
|
GetEventResponse,
|
|
729
721
|
GetEventError,
|
|
730
722
|
Credentials | HttpClient.HttpClient
|
|
731
|
-
> = /*@__PURE__*/
|
|
723
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
732
724
|
input: GetEventRequest,
|
|
733
725
|
output: GetEventResponse,
|
|
734
726
|
errors: [],
|
|
@@ -742,19 +734,18 @@ export interface ListEventsRequest {
|
|
|
742
734
|
perPage?: number;
|
|
743
735
|
}
|
|
744
736
|
|
|
745
|
-
export const ListEventsRequest = /*@__PURE__*/
|
|
746
|
-
(
|
|
747
|
-
Schema.
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
),
|
|
737
|
+
export const ListEventsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
738
|
+
Schema.Struct({
|
|
739
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
740
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
741
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
742
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
743
|
+
}).pipe(
|
|
744
|
+
T.Http({
|
|
745
|
+
method: "GET",
|
|
746
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
|
|
747
|
+
}),
|
|
748
|
+
),
|
|
758
749
|
) as unknown as Schema.Codec<ListEventsRequest>;
|
|
759
750
|
|
|
760
751
|
export interface ListEventsResponse {
|
|
@@ -791,14 +782,13 @@ export interface ListEventsResponse {
|
|
|
791
782
|
} | null;
|
|
792
783
|
}
|
|
793
784
|
|
|
794
|
-
export const ListEventsResponse = /*@__PURE__*/
|
|
795
|
-
(
|
|
796
|
-
Schema.
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
785
|
+
export const ListEventsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
786
|
+
Schema.Struct({
|
|
787
|
+
result: Schema.Array(ListEventsResponseResult),
|
|
788
|
+
resultInfo: Schema.optional(
|
|
789
|
+
Schema.Union([ListEventsResponseResultInfo, Schema.Null]),
|
|
790
|
+
),
|
|
791
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
802
792
|
) as unknown as Schema.Codec<ListEventsResponse>;
|
|
803
793
|
|
|
804
794
|
export type ListEventsError = DefaultErrors;
|
|
@@ -808,7 +798,7 @@ export const listEvents: API.PaginatedOperationMethod<
|
|
|
808
798
|
ListEventsResponse,
|
|
809
799
|
ListEventsError,
|
|
810
800
|
Credentials | HttpClient.HttpClient
|
|
811
|
-
> = /*@__PURE__*/
|
|
801
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
812
802
|
input: ListEventsRequest,
|
|
813
803
|
output: ListEventsResponse,
|
|
814
804
|
errors: [],
|
|
@@ -862,77 +852,72 @@ export interface CreateEventRequest {
|
|
|
862
852
|
| null;
|
|
863
853
|
}
|
|
864
854
|
|
|
865
|
-
export const CreateEventRequest = /*@__PURE__*/
|
|
866
|
-
(
|
|
867
|
-
Schema.
|
|
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
|
-
Schema.
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
Schema.
|
|
906
|
-
|
|
907
|
-
Schema.Literal("invisible"),
|
|
908
|
-
Schema.Literal("visible_non_interactive"),
|
|
909
|
-
Schema.Literal("visible_managed"),
|
|
910
|
-
Schema.Null,
|
|
911
|
-
]),
|
|
912
|
-
),
|
|
913
|
-
}).pipe(
|
|
914
|
-
Schema.encodeKeys({
|
|
915
|
-
eventEndTime: "event_end_time",
|
|
916
|
-
eventStartTime: "event_start_time",
|
|
917
|
-
name: "name",
|
|
918
|
-
customPageHtml: "custom_page_html",
|
|
919
|
-
description: "description",
|
|
920
|
-
disableSessionRenewal: "disable_session_renewal",
|
|
921
|
-
newUsersPerMinute: "new_users_per_minute",
|
|
922
|
-
prequeueStartTime: "prequeue_start_time",
|
|
923
|
-
queueingMethod: "queueing_method",
|
|
924
|
-
sessionDuration: "session_duration",
|
|
925
|
-
shuffleAtEventStart: "shuffle_at_event_start",
|
|
926
|
-
suspended: "suspended",
|
|
927
|
-
totalActiveUsers: "total_active_users",
|
|
928
|
-
turnstileAction: "turnstile_action",
|
|
929
|
-
turnstileMode: "turnstile_mode",
|
|
930
|
-
}),
|
|
931
|
-
T.Http({
|
|
932
|
-
method: "POST",
|
|
933
|
-
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
|
|
934
|
-
}),
|
|
855
|
+
export const CreateEventRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
856
|
+
Schema.Struct({
|
|
857
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
858
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
859
|
+
eventEndTime: Schema.String,
|
|
860
|
+
eventStartTime: Schema.String,
|
|
861
|
+
name: Schema.String,
|
|
862
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
863
|
+
description: Schema.optional(Schema.String),
|
|
864
|
+
disableSessionRenewal: Schema.optional(
|
|
865
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
866
|
+
),
|
|
867
|
+
newUsersPerMinute: Schema.optional(
|
|
868
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
869
|
+
),
|
|
870
|
+
prequeueStartTime: Schema.optional(
|
|
871
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
872
|
+
),
|
|
873
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
874
|
+
sessionDuration: Schema.optional(
|
|
875
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
876
|
+
),
|
|
877
|
+
shuffleAtEventStart: Schema.optional(Schema.Boolean),
|
|
878
|
+
suspended: Schema.optional(Schema.Boolean),
|
|
879
|
+
totalActiveUsers: Schema.optional(
|
|
880
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
881
|
+
),
|
|
882
|
+
turnstileAction: Schema.optional(
|
|
883
|
+
Schema.Union([
|
|
884
|
+
Schema.Literal("log"),
|
|
885
|
+
Schema.Literal("infinite_queue"),
|
|
886
|
+
Schema.Null,
|
|
887
|
+
]),
|
|
888
|
+
),
|
|
889
|
+
turnstileMode: Schema.optional(
|
|
890
|
+
Schema.Union([
|
|
891
|
+
Schema.Literal("off"),
|
|
892
|
+
Schema.Literal("invisible"),
|
|
893
|
+
Schema.Literal("visible_non_interactive"),
|
|
894
|
+
Schema.Literal("visible_managed"),
|
|
895
|
+
Schema.Null,
|
|
896
|
+
]),
|
|
935
897
|
),
|
|
898
|
+
}).pipe(
|
|
899
|
+
Schema.encodeKeys({
|
|
900
|
+
eventEndTime: "event_end_time",
|
|
901
|
+
eventStartTime: "event_start_time",
|
|
902
|
+
name: "name",
|
|
903
|
+
customPageHtml: "custom_page_html",
|
|
904
|
+
description: "description",
|
|
905
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
906
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
907
|
+
prequeueStartTime: "prequeue_start_time",
|
|
908
|
+
queueingMethod: "queueing_method",
|
|
909
|
+
sessionDuration: "session_duration",
|
|
910
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
911
|
+
suspended: "suspended",
|
|
912
|
+
totalActiveUsers: "total_active_users",
|
|
913
|
+
turnstileAction: "turnstile_action",
|
|
914
|
+
turnstileMode: "turnstile_mode",
|
|
915
|
+
}),
|
|
916
|
+
T.Http({
|
|
917
|
+
method: "POST",
|
|
918
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
|
|
919
|
+
}),
|
|
920
|
+
),
|
|
936
921
|
) as unknown as Schema.Codec<CreateEventRequest>;
|
|
937
922
|
|
|
938
923
|
export interface CreateEventResponse {
|
|
@@ -976,83 +961,76 @@ export interface CreateEventResponse {
|
|
|
976
961
|
| null;
|
|
977
962
|
}
|
|
978
963
|
|
|
979
|
-
export const CreateEventResponse = /*@__PURE__*/
|
|
980
|
-
(
|
|
981
|
-
Schema.
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
),
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
suspended: "suspended",
|
|
1050
|
-
totalActiveUsers: "total_active_users",
|
|
1051
|
-
turnstileAction: "turnstile_action",
|
|
1052
|
-
turnstileMode: "turnstile_mode",
|
|
1053
|
-
}),
|
|
1054
|
-
)
|
|
1055
|
-
.pipe(T.ResponsePath("result")),
|
|
964
|
+
export const CreateEventResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
965
|
+
Schema.Struct({
|
|
966
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
967
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
968
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
969
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
970
|
+
disableSessionRenewal: Schema.optional(
|
|
971
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
972
|
+
),
|
|
973
|
+
eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
974
|
+
eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
975
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
976
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
977
|
+
newUsersPerMinute: Schema.optional(
|
|
978
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
979
|
+
),
|
|
980
|
+
prequeueStartTime: Schema.optional(
|
|
981
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
982
|
+
),
|
|
983
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
984
|
+
sessionDuration: Schema.optional(
|
|
985
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
986
|
+
),
|
|
987
|
+
shuffleAtEventStart: Schema.optional(
|
|
988
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
989
|
+
),
|
|
990
|
+
suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
991
|
+
totalActiveUsers: Schema.optional(
|
|
992
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
993
|
+
),
|
|
994
|
+
turnstileAction: Schema.optional(
|
|
995
|
+
Schema.Union([
|
|
996
|
+
Schema.Literal("log"),
|
|
997
|
+
Schema.Literal("infinite_queue"),
|
|
998
|
+
Schema.Null,
|
|
999
|
+
]),
|
|
1000
|
+
),
|
|
1001
|
+
turnstileMode: Schema.optional(
|
|
1002
|
+
Schema.Union([
|
|
1003
|
+
Schema.Literal("off"),
|
|
1004
|
+
Schema.Literal("invisible"),
|
|
1005
|
+
Schema.Literal("visible_non_interactive"),
|
|
1006
|
+
Schema.Literal("visible_managed"),
|
|
1007
|
+
Schema.Null,
|
|
1008
|
+
]),
|
|
1009
|
+
),
|
|
1010
|
+
})
|
|
1011
|
+
.pipe(
|
|
1012
|
+
Schema.encodeKeys({
|
|
1013
|
+
id: "id",
|
|
1014
|
+
createdOn: "created_on",
|
|
1015
|
+
customPageHtml: "custom_page_html",
|
|
1016
|
+
description: "description",
|
|
1017
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
1018
|
+
eventEndTime: "event_end_time",
|
|
1019
|
+
eventStartTime: "event_start_time",
|
|
1020
|
+
modifiedOn: "modified_on",
|
|
1021
|
+
name: "name",
|
|
1022
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
1023
|
+
prequeueStartTime: "prequeue_start_time",
|
|
1024
|
+
queueingMethod: "queueing_method",
|
|
1025
|
+
sessionDuration: "session_duration",
|
|
1026
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1027
|
+
suspended: "suspended",
|
|
1028
|
+
totalActiveUsers: "total_active_users",
|
|
1029
|
+
turnstileAction: "turnstile_action",
|
|
1030
|
+
turnstileMode: "turnstile_mode",
|
|
1031
|
+
}),
|
|
1032
|
+
)
|
|
1033
|
+
.pipe(T.ResponsePath("result")),
|
|
1056
1034
|
) as unknown as Schema.Codec<CreateEventResponse>;
|
|
1057
1035
|
|
|
1058
1036
|
export type CreateEventError = DefaultErrors;
|
|
@@ -1062,7 +1040,7 @@ export const createEvent: API.OperationMethod<
|
|
|
1062
1040
|
CreateEventResponse,
|
|
1063
1041
|
CreateEventError,
|
|
1064
1042
|
Credentials | HttpClient.HttpClient
|
|
1065
|
-
> = /*@__PURE__*/
|
|
1043
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1066
1044
|
input: CreateEventRequest,
|
|
1067
1045
|
output: CreateEventResponse,
|
|
1068
1046
|
errors: [],
|
|
@@ -1110,78 +1088,73 @@ export interface UpdateEventRequest {
|
|
|
1110
1088
|
| null;
|
|
1111
1089
|
}
|
|
1112
1090
|
|
|
1113
|
-
export const UpdateEventRequest = /*@__PURE__*/
|
|
1114
|
-
(
|
|
1115
|
-
Schema.
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
),
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
),
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
Schema.
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
Schema.
|
|
1155
|
-
|
|
1156
|
-
Schema.Literal("invisible"),
|
|
1157
|
-
Schema.Literal("visible_non_interactive"),
|
|
1158
|
-
Schema.Literal("visible_managed"),
|
|
1159
|
-
Schema.Null,
|
|
1160
|
-
]),
|
|
1161
|
-
),
|
|
1162
|
-
}).pipe(
|
|
1163
|
-
Schema.encodeKeys({
|
|
1164
|
-
eventEndTime: "event_end_time",
|
|
1165
|
-
eventStartTime: "event_start_time",
|
|
1166
|
-
name: "name",
|
|
1167
|
-
customPageHtml: "custom_page_html",
|
|
1168
|
-
description: "description",
|
|
1169
|
-
disableSessionRenewal: "disable_session_renewal",
|
|
1170
|
-
newUsersPerMinute: "new_users_per_minute",
|
|
1171
|
-
prequeueStartTime: "prequeue_start_time",
|
|
1172
|
-
queueingMethod: "queueing_method",
|
|
1173
|
-
sessionDuration: "session_duration",
|
|
1174
|
-
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1175
|
-
suspended: "suspended",
|
|
1176
|
-
totalActiveUsers: "total_active_users",
|
|
1177
|
-
turnstileAction: "turnstile_action",
|
|
1178
|
-
turnstileMode: "turnstile_mode",
|
|
1179
|
-
}),
|
|
1180
|
-
T.Http({
|
|
1181
|
-
method: "PUT",
|
|
1182
|
-
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
1183
|
-
}),
|
|
1091
|
+
export const UpdateEventRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1092
|
+
Schema.Struct({
|
|
1093
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1094
|
+
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1095
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1096
|
+
eventEndTime: Schema.String,
|
|
1097
|
+
eventStartTime: Schema.String,
|
|
1098
|
+
name: Schema.String,
|
|
1099
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1100
|
+
description: Schema.optional(Schema.String),
|
|
1101
|
+
disableSessionRenewal: Schema.optional(
|
|
1102
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1103
|
+
),
|
|
1104
|
+
newUsersPerMinute: Schema.optional(
|
|
1105
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1106
|
+
),
|
|
1107
|
+
prequeueStartTime: Schema.optional(
|
|
1108
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1109
|
+
),
|
|
1110
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1111
|
+
sessionDuration: Schema.optional(
|
|
1112
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1113
|
+
),
|
|
1114
|
+
shuffleAtEventStart: Schema.optional(Schema.Boolean),
|
|
1115
|
+
suspended: Schema.optional(Schema.Boolean),
|
|
1116
|
+
totalActiveUsers: Schema.optional(
|
|
1117
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1118
|
+
),
|
|
1119
|
+
turnstileAction: Schema.optional(
|
|
1120
|
+
Schema.Union([
|
|
1121
|
+
Schema.Literal("log"),
|
|
1122
|
+
Schema.Literal("infinite_queue"),
|
|
1123
|
+
Schema.Null,
|
|
1124
|
+
]),
|
|
1125
|
+
),
|
|
1126
|
+
turnstileMode: Schema.optional(
|
|
1127
|
+
Schema.Union([
|
|
1128
|
+
Schema.Literal("off"),
|
|
1129
|
+
Schema.Literal("invisible"),
|
|
1130
|
+
Schema.Literal("visible_non_interactive"),
|
|
1131
|
+
Schema.Literal("visible_managed"),
|
|
1132
|
+
Schema.Null,
|
|
1133
|
+
]),
|
|
1184
1134
|
),
|
|
1135
|
+
}).pipe(
|
|
1136
|
+
Schema.encodeKeys({
|
|
1137
|
+
eventEndTime: "event_end_time",
|
|
1138
|
+
eventStartTime: "event_start_time",
|
|
1139
|
+
name: "name",
|
|
1140
|
+
customPageHtml: "custom_page_html",
|
|
1141
|
+
description: "description",
|
|
1142
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
1143
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
1144
|
+
prequeueStartTime: "prequeue_start_time",
|
|
1145
|
+
queueingMethod: "queueing_method",
|
|
1146
|
+
sessionDuration: "session_duration",
|
|
1147
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1148
|
+
suspended: "suspended",
|
|
1149
|
+
totalActiveUsers: "total_active_users",
|
|
1150
|
+
turnstileAction: "turnstile_action",
|
|
1151
|
+
turnstileMode: "turnstile_mode",
|
|
1152
|
+
}),
|
|
1153
|
+
T.Http({
|
|
1154
|
+
method: "PUT",
|
|
1155
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
1156
|
+
}),
|
|
1157
|
+
),
|
|
1185
1158
|
) as unknown as Schema.Codec<UpdateEventRequest>;
|
|
1186
1159
|
|
|
1187
1160
|
export interface UpdateEventResponse {
|
|
@@ -1225,83 +1198,76 @@ export interface UpdateEventResponse {
|
|
|
1225
1198
|
| null;
|
|
1226
1199
|
}
|
|
1227
1200
|
|
|
1228
|
-
export const UpdateEventResponse = /*@__PURE__*/
|
|
1229
|
-
(
|
|
1230
|
-
Schema.
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
),
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
suspended: "suspended",
|
|
1299
|
-
totalActiveUsers: "total_active_users",
|
|
1300
|
-
turnstileAction: "turnstile_action",
|
|
1301
|
-
turnstileMode: "turnstile_mode",
|
|
1302
|
-
}),
|
|
1303
|
-
)
|
|
1304
|
-
.pipe(T.ResponsePath("result")),
|
|
1201
|
+
export const UpdateEventResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1202
|
+
Schema.Struct({
|
|
1203
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1204
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1205
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1206
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1207
|
+
disableSessionRenewal: Schema.optional(
|
|
1208
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1209
|
+
),
|
|
1210
|
+
eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1211
|
+
eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1212
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1213
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1214
|
+
newUsersPerMinute: Schema.optional(
|
|
1215
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1216
|
+
),
|
|
1217
|
+
prequeueStartTime: Schema.optional(
|
|
1218
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1219
|
+
),
|
|
1220
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1221
|
+
sessionDuration: Schema.optional(
|
|
1222
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1223
|
+
),
|
|
1224
|
+
shuffleAtEventStart: Schema.optional(
|
|
1225
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1226
|
+
),
|
|
1227
|
+
suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1228
|
+
totalActiveUsers: Schema.optional(
|
|
1229
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1230
|
+
),
|
|
1231
|
+
turnstileAction: Schema.optional(
|
|
1232
|
+
Schema.Union([
|
|
1233
|
+
Schema.Literal("log"),
|
|
1234
|
+
Schema.Literal("infinite_queue"),
|
|
1235
|
+
Schema.Null,
|
|
1236
|
+
]),
|
|
1237
|
+
),
|
|
1238
|
+
turnstileMode: Schema.optional(
|
|
1239
|
+
Schema.Union([
|
|
1240
|
+
Schema.Literal("off"),
|
|
1241
|
+
Schema.Literal("invisible"),
|
|
1242
|
+
Schema.Literal("visible_non_interactive"),
|
|
1243
|
+
Schema.Literal("visible_managed"),
|
|
1244
|
+
Schema.Null,
|
|
1245
|
+
]),
|
|
1246
|
+
),
|
|
1247
|
+
})
|
|
1248
|
+
.pipe(
|
|
1249
|
+
Schema.encodeKeys({
|
|
1250
|
+
id: "id",
|
|
1251
|
+
createdOn: "created_on",
|
|
1252
|
+
customPageHtml: "custom_page_html",
|
|
1253
|
+
description: "description",
|
|
1254
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
1255
|
+
eventEndTime: "event_end_time",
|
|
1256
|
+
eventStartTime: "event_start_time",
|
|
1257
|
+
modifiedOn: "modified_on",
|
|
1258
|
+
name: "name",
|
|
1259
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
1260
|
+
prequeueStartTime: "prequeue_start_time",
|
|
1261
|
+
queueingMethod: "queueing_method",
|
|
1262
|
+
sessionDuration: "session_duration",
|
|
1263
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1264
|
+
suspended: "suspended",
|
|
1265
|
+
totalActiveUsers: "total_active_users",
|
|
1266
|
+
turnstileAction: "turnstile_action",
|
|
1267
|
+
turnstileMode: "turnstile_mode",
|
|
1268
|
+
}),
|
|
1269
|
+
)
|
|
1270
|
+
.pipe(T.ResponsePath("result")),
|
|
1305
1271
|
) as unknown as Schema.Codec<UpdateEventResponse>;
|
|
1306
1272
|
|
|
1307
1273
|
export type UpdateEventError = DefaultErrors;
|
|
@@ -1311,7 +1277,7 @@ export const updateEvent: API.OperationMethod<
|
|
|
1311
1277
|
UpdateEventResponse,
|
|
1312
1278
|
UpdateEventError,
|
|
1313
1279
|
Credentials | HttpClient.HttpClient
|
|
1314
|
-
> = /*@__PURE__*/
|
|
1280
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1315
1281
|
input: UpdateEventRequest,
|
|
1316
1282
|
output: UpdateEventResponse,
|
|
1317
1283
|
errors: [],
|
|
@@ -1359,78 +1325,73 @@ export interface PatchEventRequest {
|
|
|
1359
1325
|
| null;
|
|
1360
1326
|
}
|
|
1361
1327
|
|
|
1362
|
-
export const PatchEventRequest = /*@__PURE__*/
|
|
1363
|
-
(
|
|
1364
|
-
Schema.
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
),
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
),
|
|
1381
|
-
prequeueStartTime: Schema.optional(
|
|
1382
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1383
|
-
),
|
|
1384
|
-
queueingMethod: Schema.optional(
|
|
1385
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1386
|
-
),
|
|
1387
|
-
sessionDuration: Schema.optional(
|
|
1388
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1389
|
-
),
|
|
1390
|
-
shuffleAtEventStart: Schema.optional(Schema.Boolean),
|
|
1391
|
-
suspended: Schema.optional(Schema.Boolean),
|
|
1392
|
-
totalActiveUsers: Schema.optional(
|
|
1393
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
1394
|
-
),
|
|
1395
|
-
turnstileAction: Schema.optional(
|
|
1396
|
-
Schema.Union([
|
|
1397
|
-
Schema.Literal("log"),
|
|
1398
|
-
Schema.Literal("infinite_queue"),
|
|
1399
|
-
Schema.Null,
|
|
1400
|
-
]),
|
|
1401
|
-
),
|
|
1402
|
-
turnstileMode: Schema.optional(
|
|
1403
|
-
Schema.Union([
|
|
1404
|
-
Schema.Literal("off"),
|
|
1405
|
-
Schema.Literal("invisible"),
|
|
1406
|
-
Schema.Literal("visible_non_interactive"),
|
|
1407
|
-
Schema.Literal("visible_managed"),
|
|
1408
|
-
Schema.Null,
|
|
1409
|
-
]),
|
|
1410
|
-
),
|
|
1411
|
-
}).pipe(
|
|
1412
|
-
Schema.encodeKeys({
|
|
1413
|
-
eventEndTime: "event_end_time",
|
|
1414
|
-
eventStartTime: "event_start_time",
|
|
1415
|
-
name: "name",
|
|
1416
|
-
customPageHtml: "custom_page_html",
|
|
1417
|
-
description: "description",
|
|
1418
|
-
disableSessionRenewal: "disable_session_renewal",
|
|
1419
|
-
newUsersPerMinute: "new_users_per_minute",
|
|
1420
|
-
prequeueStartTime: "prequeue_start_time",
|
|
1421
|
-
queueingMethod: "queueing_method",
|
|
1422
|
-
sessionDuration: "session_duration",
|
|
1423
|
-
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1424
|
-
suspended: "suspended",
|
|
1425
|
-
totalActiveUsers: "total_active_users",
|
|
1426
|
-
turnstileAction: "turnstile_action",
|
|
1427
|
-
turnstileMode: "turnstile_mode",
|
|
1428
|
-
}),
|
|
1429
|
-
T.Http({
|
|
1430
|
-
method: "PATCH",
|
|
1431
|
-
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
1432
|
-
}),
|
|
1328
|
+
export const PatchEventRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1329
|
+
Schema.Struct({
|
|
1330
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1331
|
+
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1332
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1333
|
+
eventEndTime: Schema.String,
|
|
1334
|
+
eventStartTime: Schema.String,
|
|
1335
|
+
name: Schema.String,
|
|
1336
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1337
|
+
description: Schema.optional(Schema.String),
|
|
1338
|
+
disableSessionRenewal: Schema.optional(
|
|
1339
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1340
|
+
),
|
|
1341
|
+
newUsersPerMinute: Schema.optional(
|
|
1342
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1343
|
+
),
|
|
1344
|
+
prequeueStartTime: Schema.optional(
|
|
1345
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1433
1346
|
),
|
|
1347
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1348
|
+
sessionDuration: Schema.optional(
|
|
1349
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1350
|
+
),
|
|
1351
|
+
shuffleAtEventStart: Schema.optional(Schema.Boolean),
|
|
1352
|
+
suspended: Schema.optional(Schema.Boolean),
|
|
1353
|
+
totalActiveUsers: Schema.optional(
|
|
1354
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1355
|
+
),
|
|
1356
|
+
turnstileAction: Schema.optional(
|
|
1357
|
+
Schema.Union([
|
|
1358
|
+
Schema.Literal("log"),
|
|
1359
|
+
Schema.Literal("infinite_queue"),
|
|
1360
|
+
Schema.Null,
|
|
1361
|
+
]),
|
|
1362
|
+
),
|
|
1363
|
+
turnstileMode: Schema.optional(
|
|
1364
|
+
Schema.Union([
|
|
1365
|
+
Schema.Literal("off"),
|
|
1366
|
+
Schema.Literal("invisible"),
|
|
1367
|
+
Schema.Literal("visible_non_interactive"),
|
|
1368
|
+
Schema.Literal("visible_managed"),
|
|
1369
|
+
Schema.Null,
|
|
1370
|
+
]),
|
|
1371
|
+
),
|
|
1372
|
+
}).pipe(
|
|
1373
|
+
Schema.encodeKeys({
|
|
1374
|
+
eventEndTime: "event_end_time",
|
|
1375
|
+
eventStartTime: "event_start_time",
|
|
1376
|
+
name: "name",
|
|
1377
|
+
customPageHtml: "custom_page_html",
|
|
1378
|
+
description: "description",
|
|
1379
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
1380
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
1381
|
+
prequeueStartTime: "prequeue_start_time",
|
|
1382
|
+
queueingMethod: "queueing_method",
|
|
1383
|
+
sessionDuration: "session_duration",
|
|
1384
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1385
|
+
suspended: "suspended",
|
|
1386
|
+
totalActiveUsers: "total_active_users",
|
|
1387
|
+
turnstileAction: "turnstile_action",
|
|
1388
|
+
turnstileMode: "turnstile_mode",
|
|
1389
|
+
}),
|
|
1390
|
+
T.Http({
|
|
1391
|
+
method: "PATCH",
|
|
1392
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
1393
|
+
}),
|
|
1394
|
+
),
|
|
1434
1395
|
) as unknown as Schema.Codec<PatchEventRequest>;
|
|
1435
1396
|
|
|
1436
1397
|
export interface PatchEventResponse {
|
|
@@ -1474,83 +1435,76 @@ export interface PatchEventResponse {
|
|
|
1474
1435
|
| null;
|
|
1475
1436
|
}
|
|
1476
1437
|
|
|
1477
|
-
export const PatchEventResponse = /*@__PURE__*/
|
|
1478
|
-
(
|
|
1479
|
-
Schema.
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
),
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
suspended: "suspended",
|
|
1548
|
-
totalActiveUsers: "total_active_users",
|
|
1549
|
-
turnstileAction: "turnstile_action",
|
|
1550
|
-
turnstileMode: "turnstile_mode",
|
|
1551
|
-
}),
|
|
1552
|
-
)
|
|
1553
|
-
.pipe(T.ResponsePath("result")),
|
|
1438
|
+
export const PatchEventResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1439
|
+
Schema.Struct({
|
|
1440
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1441
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1442
|
+
customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1443
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1444
|
+
disableSessionRenewal: Schema.optional(
|
|
1445
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1446
|
+
),
|
|
1447
|
+
eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1448
|
+
eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1449
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1450
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1451
|
+
newUsersPerMinute: Schema.optional(
|
|
1452
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1453
|
+
),
|
|
1454
|
+
prequeueStartTime: Schema.optional(
|
|
1455
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1456
|
+
),
|
|
1457
|
+
queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1458
|
+
sessionDuration: Schema.optional(
|
|
1459
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1460
|
+
),
|
|
1461
|
+
shuffleAtEventStart: Schema.optional(
|
|
1462
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1463
|
+
),
|
|
1464
|
+
suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1465
|
+
totalActiveUsers: Schema.optional(
|
|
1466
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1467
|
+
),
|
|
1468
|
+
turnstileAction: Schema.optional(
|
|
1469
|
+
Schema.Union([
|
|
1470
|
+
Schema.Literal("log"),
|
|
1471
|
+
Schema.Literal("infinite_queue"),
|
|
1472
|
+
Schema.Null,
|
|
1473
|
+
]),
|
|
1474
|
+
),
|
|
1475
|
+
turnstileMode: Schema.optional(
|
|
1476
|
+
Schema.Union([
|
|
1477
|
+
Schema.Literal("off"),
|
|
1478
|
+
Schema.Literal("invisible"),
|
|
1479
|
+
Schema.Literal("visible_non_interactive"),
|
|
1480
|
+
Schema.Literal("visible_managed"),
|
|
1481
|
+
Schema.Null,
|
|
1482
|
+
]),
|
|
1483
|
+
),
|
|
1484
|
+
})
|
|
1485
|
+
.pipe(
|
|
1486
|
+
Schema.encodeKeys({
|
|
1487
|
+
id: "id",
|
|
1488
|
+
createdOn: "created_on",
|
|
1489
|
+
customPageHtml: "custom_page_html",
|
|
1490
|
+
description: "description",
|
|
1491
|
+
disableSessionRenewal: "disable_session_renewal",
|
|
1492
|
+
eventEndTime: "event_end_time",
|
|
1493
|
+
eventStartTime: "event_start_time",
|
|
1494
|
+
modifiedOn: "modified_on",
|
|
1495
|
+
name: "name",
|
|
1496
|
+
newUsersPerMinute: "new_users_per_minute",
|
|
1497
|
+
prequeueStartTime: "prequeue_start_time",
|
|
1498
|
+
queueingMethod: "queueing_method",
|
|
1499
|
+
sessionDuration: "session_duration",
|
|
1500
|
+
shuffleAtEventStart: "shuffle_at_event_start",
|
|
1501
|
+
suspended: "suspended",
|
|
1502
|
+
totalActiveUsers: "total_active_users",
|
|
1503
|
+
turnstileAction: "turnstile_action",
|
|
1504
|
+
turnstileMode: "turnstile_mode",
|
|
1505
|
+
}),
|
|
1506
|
+
)
|
|
1507
|
+
.pipe(T.ResponsePath("result")),
|
|
1554
1508
|
) as unknown as Schema.Codec<PatchEventResponse>;
|
|
1555
1509
|
|
|
1556
1510
|
export type PatchEventError = DefaultErrors;
|
|
@@ -1560,7 +1514,7 @@ export const patchEvent: API.OperationMethod<
|
|
|
1560
1514
|
PatchEventResponse,
|
|
1561
1515
|
PatchEventError,
|
|
1562
1516
|
Credentials | HttpClient.HttpClient
|
|
1563
|
-
> = /*@__PURE__*/
|
|
1517
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1564
1518
|
input: PatchEventRequest,
|
|
1565
1519
|
output: PatchEventResponse,
|
|
1566
1520
|
errors: [],
|
|
@@ -1573,29 +1527,27 @@ export interface DeleteEventRequest {
|
|
|
1573
1527
|
zoneId: string;
|
|
1574
1528
|
}
|
|
1575
1529
|
|
|
1576
|
-
export const DeleteEventRequest = /*@__PURE__*/
|
|
1577
|
-
(
|
|
1578
|
-
Schema.
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
),
|
|
1530
|
+
export const DeleteEventRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1531
|
+
Schema.Struct({
|
|
1532
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1533
|
+
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1534
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1535
|
+
}).pipe(
|
|
1536
|
+
T.Http({
|
|
1537
|
+
method: "DELETE",
|
|
1538
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
|
|
1539
|
+
}),
|
|
1540
|
+
),
|
|
1588
1541
|
) as unknown as Schema.Codec<DeleteEventRequest>;
|
|
1589
1542
|
|
|
1590
1543
|
export interface DeleteEventResponse {
|
|
1591
1544
|
id?: string | null;
|
|
1592
1545
|
}
|
|
1593
1546
|
|
|
1594
|
-
export const DeleteEventResponse = /*@__PURE__*/
|
|
1595
|
-
(
|
|
1596
|
-
Schema.
|
|
1597
|
-
|
|
1598
|
-
}).pipe(T.ResponsePath("result")),
|
|
1547
|
+
export const DeleteEventResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1548
|
+
Schema.Struct({
|
|
1549
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1550
|
+
}).pipe(T.ResponsePath("result")),
|
|
1599
1551
|
) as unknown as Schema.Codec<DeleteEventResponse>;
|
|
1600
1552
|
|
|
1601
1553
|
export type DeleteEventError = DefaultErrors;
|
|
@@ -1605,7 +1557,7 @@ export const deleteEvent: API.OperationMethod<
|
|
|
1605
1557
|
DeleteEventResponse,
|
|
1606
1558
|
DeleteEventError,
|
|
1607
1559
|
Credentials | HttpClient.HttpClient
|
|
1608
|
-
> = /*@__PURE__*/
|
|
1560
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1609
1561
|
input: DeleteEventRequest,
|
|
1610
1562
|
output: DeleteEventResponse,
|
|
1611
1563
|
errors: [],
|
|
@@ -1622,18 +1574,17 @@ export interface GetEventDetailRequest {
|
|
|
1622
1574
|
zoneId: string;
|
|
1623
1575
|
}
|
|
1624
1576
|
|
|
1625
|
-
export const GetEventDetailRequest = /*@__PURE__*/
|
|
1626
|
-
(
|
|
1627
|
-
Schema.
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
),
|
|
1577
|
+
export const GetEventDetailRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1578
|
+
Schema.Struct({
|
|
1579
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1580
|
+
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1581
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1582
|
+
}).pipe(
|
|
1583
|
+
T.Http({
|
|
1584
|
+
method: "GET",
|
|
1585
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}/details",
|
|
1586
|
+
}),
|
|
1587
|
+
),
|
|
1637
1588
|
) as unknown as Schema.Codec<GetEventDetailRequest>;
|
|
1638
1589
|
|
|
1639
1590
|
export interface GetEventDetailResponse {
|
|
@@ -1663,7 +1614,7 @@ export interface GetEventDetailResponse {
|
|
|
1663
1614
|
}
|
|
1664
1615
|
|
|
1665
1616
|
export const GetEventDetailResponse =
|
|
1666
|
-
/*@__PURE__*/
|
|
1617
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1667
1618
|
Schema.Struct({
|
|
1668
1619
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1669
1620
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1730,7 +1681,7 @@ export const getEventDetail: API.OperationMethod<
|
|
|
1730
1681
|
GetEventDetailResponse,
|
|
1731
1682
|
GetEventDetailError,
|
|
1732
1683
|
Credentials | HttpClient.HttpClient
|
|
1733
|
-
> = /*@__PURE__*/
|
|
1684
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1734
1685
|
input: GetEventDetailRequest,
|
|
1735
1686
|
output: GetEventDetailResponse,
|
|
1736
1687
|
errors: [],
|
|
@@ -1747,18 +1698,17 @@ export interface PreviewPageRequest {
|
|
|
1747
1698
|
customHtml: string;
|
|
1748
1699
|
}
|
|
1749
1700
|
|
|
1750
|
-
export const PreviewPageRequest = /*@__PURE__*/
|
|
1751
|
-
(
|
|
1752
|
-
Schema.
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
})
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
),
|
|
1701
|
+
export const PreviewPageRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1702
|
+
Schema.Struct({
|
|
1703
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1704
|
+
customHtml: Schema.String,
|
|
1705
|
+
}).pipe(
|
|
1706
|
+
Schema.encodeKeys({ customHtml: "custom_html" }),
|
|
1707
|
+
T.Http({
|
|
1708
|
+
method: "POST",
|
|
1709
|
+
path: "/zones/{zone_id}/waiting_rooms/preview",
|
|
1710
|
+
}),
|
|
1711
|
+
),
|
|
1762
1712
|
) as unknown as Schema.Codec<PreviewPageRequest>;
|
|
1763
1713
|
|
|
1764
1714
|
export interface PreviewPageResponse {
|
|
@@ -1766,13 +1716,12 @@ export interface PreviewPageResponse {
|
|
|
1766
1716
|
previewUrl?: string | null;
|
|
1767
1717
|
}
|
|
1768
1718
|
|
|
1769
|
-
export const PreviewPageResponse = /*@__PURE__*/
|
|
1770
|
-
(
|
|
1771
|
-
Schema.
|
|
1772
|
-
|
|
1773
|
-
})
|
|
1774
|
-
|
|
1775
|
-
.pipe(T.ResponsePath("result")),
|
|
1719
|
+
export const PreviewPageResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1720
|
+
Schema.Struct({
|
|
1721
|
+
previewUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1722
|
+
})
|
|
1723
|
+
.pipe(Schema.encodeKeys({ previewUrl: "preview_url" }))
|
|
1724
|
+
.pipe(T.ResponsePath("result")),
|
|
1776
1725
|
) as unknown as Schema.Codec<PreviewPageResponse>;
|
|
1777
1726
|
|
|
1778
1727
|
export type PreviewPageError = DefaultErrors;
|
|
@@ -1782,7 +1731,7 @@ export const previewPage: API.OperationMethod<
|
|
|
1782
1731
|
PreviewPageResponse,
|
|
1783
1732
|
PreviewPageError,
|
|
1784
1733
|
Credentials | HttpClient.HttpClient
|
|
1785
|
-
> = /*@__PURE__*/
|
|
1734
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1786
1735
|
input: PreviewPageRequest,
|
|
1787
1736
|
output: PreviewPageResponse,
|
|
1788
1737
|
errors: [],
|
|
@@ -1798,7 +1747,7 @@ export interface GetRuleRequest {
|
|
|
1798
1747
|
zoneId: string;
|
|
1799
1748
|
}
|
|
1800
1749
|
|
|
1801
|
-
export const GetRuleRequest = /*@__PURE__*/
|
|
1750
|
+
export const GetRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1802
1751
|
Schema.Struct({
|
|
1803
1752
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1804
1753
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -1822,7 +1771,7 @@ export interface GetRuleResponse {
|
|
|
1822
1771
|
}[];
|
|
1823
1772
|
}
|
|
1824
1773
|
|
|
1825
|
-
export const GetRuleResponse = /*@__PURE__*/
|
|
1774
|
+
export const GetRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1826
1775
|
Schema.Struct({
|
|
1827
1776
|
result: Schema.Array(GetRuleResponseResult),
|
|
1828
1777
|
}),
|
|
@@ -1835,7 +1784,7 @@ export const getRule: API.PaginatedOperationMethod<
|
|
|
1835
1784
|
GetRuleResponse,
|
|
1836
1785
|
GetRuleError,
|
|
1837
1786
|
Credentials | HttpClient.HttpClient
|
|
1838
|
-
> = /*@__PURE__*/
|
|
1787
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1839
1788
|
input: GetRuleRequest,
|
|
1840
1789
|
output: GetRuleResponse,
|
|
1841
1790
|
errors: [],
|
|
@@ -1858,18 +1807,17 @@ export interface CreateRuleRequest {
|
|
|
1858
1807
|
};
|
|
1859
1808
|
}
|
|
1860
1809
|
|
|
1861
|
-
export const CreateRuleRequest = /*@__PURE__*/
|
|
1862
|
-
(
|
|
1863
|
-
Schema.
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
),
|
|
1810
|
+
export const CreateRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1811
|
+
Schema.Struct({
|
|
1812
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1813
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1814
|
+
rules: Rules,
|
|
1815
|
+
}).pipe(
|
|
1816
|
+
T.Http({
|
|
1817
|
+
method: "POST",
|
|
1818
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
|
|
1819
|
+
}),
|
|
1820
|
+
),
|
|
1873
1821
|
) as unknown as Schema.Codec<CreateRuleRequest>;
|
|
1874
1822
|
|
|
1875
1823
|
export interface CreateRuleResponse {
|
|
@@ -1884,11 +1832,10 @@ export interface CreateRuleResponse {
|
|
|
1884
1832
|
}[];
|
|
1885
1833
|
}
|
|
1886
1834
|
|
|
1887
|
-
export const CreateRuleResponse = /*@__PURE__*/
|
|
1888
|
-
(
|
|
1889
|
-
Schema.
|
|
1890
|
-
|
|
1891
|
-
}),
|
|
1835
|
+
export const CreateRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1836
|
+
Schema.Struct({
|
|
1837
|
+
result: Schema.Array(GetRuleResponseResult),
|
|
1838
|
+
}),
|
|
1892
1839
|
) as unknown as Schema.Codec<CreateRuleResponse>;
|
|
1893
1840
|
|
|
1894
1841
|
export type CreateRuleError = DefaultErrors;
|
|
@@ -1898,7 +1845,7 @@ export const createRule: API.PaginatedOperationMethod<
|
|
|
1898
1845
|
CreateRuleResponse,
|
|
1899
1846
|
CreateRuleError,
|
|
1900
1847
|
Credentials | HttpClient.HttpClient
|
|
1901
|
-
> = /*@__PURE__*/
|
|
1848
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1902
1849
|
input: CreateRuleRequest,
|
|
1903
1850
|
output: CreateRuleResponse,
|
|
1904
1851
|
errors: [],
|
|
@@ -1921,18 +1868,17 @@ export interface UpdateRuleRequest {
|
|
|
1921
1868
|
}[];
|
|
1922
1869
|
}
|
|
1923
1870
|
|
|
1924
|
-
export const UpdateRuleRequest = /*@__PURE__*/
|
|
1925
|
-
(
|
|
1926
|
-
Schema.
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
),
|
|
1871
|
+
export const UpdateRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1872
|
+
Schema.Struct({
|
|
1873
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1874
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1875
|
+
rules: Schema.Array(Rules),
|
|
1876
|
+
}).pipe(
|
|
1877
|
+
T.Http({
|
|
1878
|
+
method: "PUT",
|
|
1879
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
|
|
1880
|
+
}),
|
|
1881
|
+
),
|
|
1936
1882
|
) as unknown as Schema.Codec<UpdateRuleRequest>;
|
|
1937
1883
|
|
|
1938
1884
|
export interface UpdateRuleResponse {
|
|
@@ -1947,11 +1893,10 @@ export interface UpdateRuleResponse {
|
|
|
1947
1893
|
}[];
|
|
1948
1894
|
}
|
|
1949
1895
|
|
|
1950
|
-
export const UpdateRuleResponse = /*@__PURE__*/
|
|
1951
|
-
(
|
|
1952
|
-
Schema.
|
|
1953
|
-
|
|
1954
|
-
}),
|
|
1896
|
+
export const UpdateRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1897
|
+
Schema.Struct({
|
|
1898
|
+
result: Schema.Array(GetRuleResponseResult),
|
|
1899
|
+
}),
|
|
1955
1900
|
) as unknown as Schema.Codec<UpdateRuleResponse>;
|
|
1956
1901
|
|
|
1957
1902
|
export type UpdateRuleError = DefaultErrors;
|
|
@@ -1961,7 +1906,7 @@ export const updateRule: API.PaginatedOperationMethod<
|
|
|
1961
1906
|
UpdateRuleResponse,
|
|
1962
1907
|
UpdateRuleError,
|
|
1963
1908
|
Credentials | HttpClient.HttpClient
|
|
1964
|
-
> = /*@__PURE__*/
|
|
1909
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1965
1910
|
input: UpdateRuleRequest,
|
|
1966
1911
|
output: UpdateRuleResponse,
|
|
1967
1912
|
errors: [],
|
|
@@ -1988,7 +1933,7 @@ export interface PatchRuleRequest {
|
|
|
1988
1933
|
position?: { index?: number } | { before?: string } | { after?: string };
|
|
1989
1934
|
}
|
|
1990
1935
|
|
|
1991
|
-
export const PatchRuleRequest = /*@__PURE__*/
|
|
1936
|
+
export const PatchRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1992
1937
|
Schema.Struct({
|
|
1993
1938
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1994
1939
|
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
@@ -2018,11 +1963,10 @@ export interface PatchRuleResponse {
|
|
|
2018
1963
|
}[];
|
|
2019
1964
|
}
|
|
2020
1965
|
|
|
2021
|
-
export const PatchRuleResponse = /*@__PURE__*/
|
|
2022
|
-
(
|
|
2023
|
-
Schema.
|
|
2024
|
-
|
|
2025
|
-
}),
|
|
1966
|
+
export const PatchRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1967
|
+
Schema.Struct({
|
|
1968
|
+
result: Schema.Array(GetRuleResponseResult),
|
|
1969
|
+
}),
|
|
2026
1970
|
) as unknown as Schema.Codec<PatchRuleResponse>;
|
|
2027
1971
|
|
|
2028
1972
|
export type PatchRuleError = DefaultErrors;
|
|
@@ -2032,7 +1976,7 @@ export const patchRule: API.PaginatedOperationMethod<
|
|
|
2032
1976
|
PatchRuleResponse,
|
|
2033
1977
|
PatchRuleError,
|
|
2034
1978
|
Credentials | HttpClient.HttpClient
|
|
2035
|
-
> = /*@__PURE__*/
|
|
1979
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2036
1980
|
input: PatchRuleRequest,
|
|
2037
1981
|
output: PatchRuleResponse,
|
|
2038
1982
|
errors: [],
|
|
@@ -2049,18 +1993,17 @@ export interface DeleteRuleRequest {
|
|
|
2049
1993
|
zoneId: string;
|
|
2050
1994
|
}
|
|
2051
1995
|
|
|
2052
|
-
export const DeleteRuleRequest = /*@__PURE__*/
|
|
2053
|
-
(
|
|
2054
|
-
Schema.
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
),
|
|
1996
|
+
export const DeleteRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1997
|
+
Schema.Struct({
|
|
1998
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
1999
|
+
ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
|
|
2000
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2001
|
+
}).pipe(
|
|
2002
|
+
T.Http({
|
|
2003
|
+
method: "DELETE",
|
|
2004
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules/{ruleId}",
|
|
2005
|
+
}),
|
|
2006
|
+
),
|
|
2064
2007
|
) as unknown as Schema.Codec<DeleteRuleRequest>;
|
|
2065
2008
|
|
|
2066
2009
|
export interface DeleteRuleResponse {
|
|
@@ -2075,11 +2018,10 @@ export interface DeleteRuleResponse {
|
|
|
2075
2018
|
}[];
|
|
2076
2019
|
}
|
|
2077
2020
|
|
|
2078
|
-
export const DeleteRuleResponse = /*@__PURE__*/
|
|
2079
|
-
(
|
|
2080
|
-
Schema.
|
|
2081
|
-
|
|
2082
|
-
}),
|
|
2021
|
+
export const DeleteRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2022
|
+
Schema.Struct({
|
|
2023
|
+
result: Schema.Array(GetRuleResponseResult),
|
|
2024
|
+
}),
|
|
2083
2025
|
) as unknown as Schema.Codec<DeleteRuleResponse>;
|
|
2084
2026
|
|
|
2085
2027
|
export type DeleteRuleError = DefaultErrors;
|
|
@@ -2089,7 +2031,7 @@ export const deleteRule: API.PaginatedOperationMethod<
|
|
|
2089
2031
|
DeleteRuleResponse,
|
|
2090
2032
|
DeleteRuleError,
|
|
2091
2033
|
Credentials | HttpClient.HttpClient
|
|
2092
|
-
> = /*@__PURE__*/
|
|
2034
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2093
2035
|
input: DeleteRuleRequest,
|
|
2094
2036
|
output: DeleteRuleResponse,
|
|
2095
2037
|
errors: [],
|
|
@@ -2108,16 +2050,15 @@ export interface GetSettingRequest {
|
|
|
2108
2050
|
zoneId: string;
|
|
2109
2051
|
}
|
|
2110
2052
|
|
|
2111
|
-
export const GetSettingRequest = /*@__PURE__*/
|
|
2112
|
-
(
|
|
2113
|
-
Schema.
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
),
|
|
2053
|
+
export const GetSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2054
|
+
Schema.Struct({
|
|
2055
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2056
|
+
}).pipe(
|
|
2057
|
+
T.Http({
|
|
2058
|
+
method: "GET",
|
|
2059
|
+
path: "/zones/{zone_id}/waiting_rooms/settings",
|
|
2060
|
+
}),
|
|
2061
|
+
),
|
|
2121
2062
|
) as unknown as Schema.Codec<GetSettingRequest>;
|
|
2122
2063
|
|
|
2123
2064
|
export interface GetSettingResponse {
|
|
@@ -2125,17 +2066,16 @@ export interface GetSettingResponse {
|
|
|
2125
2066
|
searchEngineCrawlerBypass: boolean;
|
|
2126
2067
|
}
|
|
2127
2068
|
|
|
2128
|
-
export const GetSettingResponse = /*@__PURE__*/
|
|
2129
|
-
(
|
|
2130
|
-
Schema.
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
.
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
.pipe(T.ResponsePath("result")),
|
|
2069
|
+
export const GetSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2070
|
+
Schema.Struct({
|
|
2071
|
+
searchEngineCrawlerBypass: Schema.Boolean,
|
|
2072
|
+
})
|
|
2073
|
+
.pipe(
|
|
2074
|
+
Schema.encodeKeys({
|
|
2075
|
+
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
2076
|
+
}),
|
|
2077
|
+
)
|
|
2078
|
+
.pipe(T.ResponsePath("result")),
|
|
2139
2079
|
) as unknown as Schema.Codec<GetSettingResponse>;
|
|
2140
2080
|
|
|
2141
2081
|
export type GetSettingError = DefaultErrors | Forbidden;
|
|
@@ -2145,7 +2085,7 @@ export const getSetting: API.OperationMethod<
|
|
|
2145
2085
|
GetSettingResponse,
|
|
2146
2086
|
GetSettingError,
|
|
2147
2087
|
Credentials | HttpClient.HttpClient
|
|
2148
|
-
> = /*@__PURE__*/
|
|
2088
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2149
2089
|
input: GetSettingRequest,
|
|
2150
2090
|
output: GetSettingResponse,
|
|
2151
2091
|
errors: [Forbidden],
|
|
@@ -2158,20 +2098,19 @@ export interface PutSettingRequest {
|
|
|
2158
2098
|
searchEngineCrawlerBypass?: boolean;
|
|
2159
2099
|
}
|
|
2160
2100
|
|
|
2161
|
-
export const PutSettingRequest = /*@__PURE__*/
|
|
2162
|
-
(
|
|
2163
|
-
Schema.
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
),
|
|
2101
|
+
export const PutSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2102
|
+
Schema.Struct({
|
|
2103
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2104
|
+
searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
|
|
2105
|
+
}).pipe(
|
|
2106
|
+
Schema.encodeKeys({
|
|
2107
|
+
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
2108
|
+
}),
|
|
2109
|
+
T.Http({
|
|
2110
|
+
method: "PUT",
|
|
2111
|
+
path: "/zones/{zone_id}/waiting_rooms/settings",
|
|
2112
|
+
}),
|
|
2113
|
+
),
|
|
2175
2114
|
) as unknown as Schema.Codec<PutSettingRequest>;
|
|
2176
2115
|
|
|
2177
2116
|
export interface PutSettingResponse {
|
|
@@ -2179,17 +2118,16 @@ export interface PutSettingResponse {
|
|
|
2179
2118
|
searchEngineCrawlerBypass: boolean;
|
|
2180
2119
|
}
|
|
2181
2120
|
|
|
2182
|
-
export const PutSettingResponse = /*@__PURE__*/
|
|
2183
|
-
(
|
|
2184
|
-
Schema.
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
.
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
.pipe(T.ResponsePath("result")),
|
|
2121
|
+
export const PutSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2122
|
+
Schema.Struct({
|
|
2123
|
+
searchEngineCrawlerBypass: Schema.Boolean,
|
|
2124
|
+
})
|
|
2125
|
+
.pipe(
|
|
2126
|
+
Schema.encodeKeys({
|
|
2127
|
+
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
2128
|
+
}),
|
|
2129
|
+
)
|
|
2130
|
+
.pipe(T.ResponsePath("result")),
|
|
2193
2131
|
) as unknown as Schema.Codec<PutSettingResponse>;
|
|
2194
2132
|
|
|
2195
2133
|
export type PutSettingError = DefaultErrors | ZoneNotEntitled | Forbidden;
|
|
@@ -2199,7 +2137,7 @@ export const putSetting: API.OperationMethod<
|
|
|
2199
2137
|
PutSettingResponse,
|
|
2200
2138
|
PutSettingError,
|
|
2201
2139
|
Credentials | HttpClient.HttpClient
|
|
2202
|
-
> = /*@__PURE__*/
|
|
2140
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2203
2141
|
input: PutSettingRequest,
|
|
2204
2142
|
output: PutSettingResponse,
|
|
2205
2143
|
errors: [ZoneNotEntitled, Forbidden],
|
|
@@ -2212,20 +2150,19 @@ export interface PatchSettingRequest {
|
|
|
2212
2150
|
searchEngineCrawlerBypass?: boolean;
|
|
2213
2151
|
}
|
|
2214
2152
|
|
|
2215
|
-
export const PatchSettingRequest = /*@__PURE__*/
|
|
2216
|
-
(
|
|
2217
|
-
Schema.
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
),
|
|
2153
|
+
export const PatchSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2154
|
+
Schema.Struct({
|
|
2155
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2156
|
+
searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
|
|
2157
|
+
}).pipe(
|
|
2158
|
+
Schema.encodeKeys({
|
|
2159
|
+
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
2160
|
+
}),
|
|
2161
|
+
T.Http({
|
|
2162
|
+
method: "PATCH",
|
|
2163
|
+
path: "/zones/{zone_id}/waiting_rooms/settings",
|
|
2164
|
+
}),
|
|
2165
|
+
),
|
|
2229
2166
|
) as unknown as Schema.Codec<PatchSettingRequest>;
|
|
2230
2167
|
|
|
2231
2168
|
export interface PatchSettingResponse {
|
|
@@ -2233,17 +2170,16 @@ export interface PatchSettingResponse {
|
|
|
2233
2170
|
searchEngineCrawlerBypass: boolean;
|
|
2234
2171
|
}
|
|
2235
2172
|
|
|
2236
|
-
export const PatchSettingResponse = /*@__PURE__*/
|
|
2237
|
-
(
|
|
2238
|
-
Schema.
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
.
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
.pipe(T.ResponsePath("result")),
|
|
2173
|
+
export const PatchSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2174
|
+
Schema.Struct({
|
|
2175
|
+
searchEngineCrawlerBypass: Schema.Boolean,
|
|
2176
|
+
})
|
|
2177
|
+
.pipe(
|
|
2178
|
+
Schema.encodeKeys({
|
|
2179
|
+
searchEngineCrawlerBypass: "search_engine_crawler_bypass",
|
|
2180
|
+
}),
|
|
2181
|
+
)
|
|
2182
|
+
.pipe(T.ResponsePath("result")),
|
|
2247
2183
|
) as unknown as Schema.Codec<PatchSettingResponse>;
|
|
2248
2184
|
|
|
2249
2185
|
export type PatchSettingError = DefaultErrors;
|
|
@@ -2253,7 +2189,7 @@ export const patchSetting: API.OperationMethod<
|
|
|
2253
2189
|
PatchSettingResponse,
|
|
2254
2190
|
PatchSettingError,
|
|
2255
2191
|
Credentials | HttpClient.HttpClient
|
|
2256
|
-
> = /*@__PURE__*/
|
|
2192
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2257
2193
|
input: PatchSettingRequest,
|
|
2258
2194
|
output: PatchSettingResponse,
|
|
2259
2195
|
errors: [],
|
|
@@ -2269,7 +2205,7 @@ export interface GetStatusRequest {
|
|
|
2269
2205
|
zoneId: string;
|
|
2270
2206
|
}
|
|
2271
2207
|
|
|
2272
|
-
export const GetStatusRequest = /*@__PURE__*/
|
|
2208
|
+
export const GetStatusRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2273
2209
|
Schema.Struct({
|
|
2274
2210
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
2275
2211
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -2295,44 +2231,43 @@ export interface GetStatusResponse {
|
|
|
2295
2231
|
| null;
|
|
2296
2232
|
}
|
|
2297
2233
|
|
|
2298
|
-
export const GetStatusResponse = /*@__PURE__*/
|
|
2299
|
-
(
|
|
2300
|
-
Schema.
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2234
|
+
export const GetStatusResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2235
|
+
Schema.Struct({
|
|
2236
|
+
estimatedQueuedUsers: Schema.optional(
|
|
2237
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2238
|
+
),
|
|
2239
|
+
estimatedTotalActiveUsers: Schema.optional(
|
|
2240
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2241
|
+
),
|
|
2242
|
+
eventId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2243
|
+
maxEstimatedTimeMinutes: Schema.optional(
|
|
2244
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2245
|
+
),
|
|
2246
|
+
status: Schema.optional(
|
|
2247
|
+
Schema.Union([
|
|
2312
2248
|
Schema.Union([
|
|
2313
|
-
Schema.
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
"suspended",
|
|
2319
|
-
]),
|
|
2320
|
-
Schema.String,
|
|
2249
|
+
Schema.Literals([
|
|
2250
|
+
"event_prequeueing",
|
|
2251
|
+
"not_queueing",
|
|
2252
|
+
"queueing",
|
|
2253
|
+
"suspended",
|
|
2321
2254
|
]),
|
|
2322
|
-
Schema.
|
|
2255
|
+
Schema.String,
|
|
2323
2256
|
]),
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2257
|
+
Schema.Null,
|
|
2258
|
+
]),
|
|
2259
|
+
),
|
|
2260
|
+
})
|
|
2261
|
+
.pipe(
|
|
2262
|
+
Schema.encodeKeys({
|
|
2263
|
+
estimatedQueuedUsers: "estimated_queued_users",
|
|
2264
|
+
estimatedTotalActiveUsers: "estimated_total_active_users",
|
|
2265
|
+
eventId: "event_id",
|
|
2266
|
+
maxEstimatedTimeMinutes: "max_estimated_time_minutes",
|
|
2267
|
+
status: "status",
|
|
2268
|
+
}),
|
|
2269
|
+
)
|
|
2270
|
+
.pipe(T.ResponsePath("result")),
|
|
2336
2271
|
) as unknown as Schema.Codec<GetStatusResponse>;
|
|
2337
2272
|
|
|
2338
2273
|
export type GetStatusError = DefaultErrors;
|
|
@@ -2342,7 +2277,7 @@ export const getStatus: API.OperationMethod<
|
|
|
2342
2277
|
GetStatusResponse,
|
|
2343
2278
|
GetStatusError,
|
|
2344
2279
|
Credentials | HttpClient.HttpClient
|
|
2345
|
-
> = /*@__PURE__*/
|
|
2280
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2346
2281
|
input: GetStatusRequest,
|
|
2347
2282
|
output: GetStatusResponse,
|
|
2348
2283
|
errors: [],
|
|
@@ -2358,17 +2293,16 @@ export interface GetWaitingRoomRequest {
|
|
|
2358
2293
|
zoneId: string;
|
|
2359
2294
|
}
|
|
2360
2295
|
|
|
2361
|
-
export const GetWaitingRoomRequest = /*@__PURE__*/
|
|
2362
|
-
(
|
|
2363
|
-
Schema.
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
),
|
|
2296
|
+
export const GetWaitingRoomRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2297
|
+
Schema.Struct({
|
|
2298
|
+
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
2299
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2300
|
+
}).pipe(
|
|
2301
|
+
T.Http({
|
|
2302
|
+
method: "GET",
|
|
2303
|
+
path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
|
|
2304
|
+
}),
|
|
2305
|
+
),
|
|
2372
2306
|
) as unknown as Schema.Codec<GetWaitingRoomRequest>;
|
|
2373
2307
|
|
|
2374
2308
|
export interface GetWaitingRoomResponse {
|
|
@@ -2479,7 +2413,7 @@ export interface GetWaitingRoomResponse {
|
|
|
2479
2413
|
}
|
|
2480
2414
|
|
|
2481
2415
|
export const GetWaitingRoomResponse =
|
|
2482
|
-
/*@__PURE__*/
|
|
2416
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2483
2417
|
Schema.Struct({
|
|
2484
2418
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2485
2419
|
additionalRoutes: Schema.optional(
|
|
@@ -2654,7 +2588,7 @@ export const getWaitingRoom: API.OperationMethod<
|
|
|
2654
2588
|
GetWaitingRoomResponse,
|
|
2655
2589
|
GetWaitingRoomError,
|
|
2656
2590
|
Credentials | HttpClient.HttpClient
|
|
2657
|
-
> = /*@__PURE__*/
|
|
2591
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2658
2592
|
input: GetWaitingRoomRequest,
|
|
2659
2593
|
output: GetWaitingRoomResponse,
|
|
2660
2594
|
errors: [WaitingRoomNotFound, Forbidden],
|
|
@@ -2681,7 +2615,7 @@ export interface ListWaitingRoomsForZoneRequest extends ListWaitingRoomsBaseRequ
|
|
|
2681
2615
|
}
|
|
2682
2616
|
|
|
2683
2617
|
export const ListWaitingRoomsForAccountRequest =
|
|
2684
|
-
/*@__PURE__*/
|
|
2618
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2685
2619
|
Schema.Struct({
|
|
2686
2620
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2687
2621
|
...ListWaitingRoomsBaseFields,
|
|
@@ -2691,7 +2625,7 @@ export const ListWaitingRoomsForAccountRequest =
|
|
|
2691
2625
|
) as unknown as Schema.Codec<ListWaitingRoomsForAccountRequest>;
|
|
2692
2626
|
|
|
2693
2627
|
export const ListWaitingRoomsForZoneRequest =
|
|
2694
|
-
/*@__PURE__*/
|
|
2628
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2695
2629
|
Schema.Struct({
|
|
2696
2630
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2697
2631
|
...ListWaitingRoomsBaseFields,
|
|
@@ -2791,7 +2725,7 @@ export interface ListWaitingRoomsResponse {
|
|
|
2791
2725
|
}
|
|
2792
2726
|
|
|
2793
2727
|
export const ListWaitingRoomsResponse =
|
|
2794
|
-
/*@__PURE__*/
|
|
2728
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2795
2729
|
Schema.Struct({
|
|
2796
2730
|
result: Schema.Array(ListWaitingRoomsResponseResult),
|
|
2797
2731
|
resultInfo: Schema.optional(
|
|
@@ -2807,7 +2741,7 @@ export const listWaitingRoomsForAccount: API.PaginatedOperationMethod<
|
|
|
2807
2741
|
ListWaitingRoomsResponse,
|
|
2808
2742
|
ListWaitingRoomsError,
|
|
2809
2743
|
Credentials | HttpClient.HttpClient
|
|
2810
|
-
> = /*@__PURE__*/
|
|
2744
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2811
2745
|
input: ListWaitingRoomsForAccountRequest,
|
|
2812
2746
|
output: ListWaitingRoomsResponse,
|
|
2813
2747
|
errors: [Forbidden],
|
|
@@ -2825,7 +2759,7 @@ export const listWaitingRoomsForZone: API.PaginatedOperationMethod<
|
|
|
2825
2759
|
ListWaitingRoomsResponse,
|
|
2826
2760
|
ListWaitingRoomsError,
|
|
2827
2761
|
Credentials | HttpClient.HttpClient
|
|
2828
|
-
> = /*@__PURE__*/
|
|
2762
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2829
2763
|
input: ListWaitingRoomsForZoneRequest,
|
|
2830
2764
|
output: ListWaitingRoomsResponse,
|
|
2831
2765
|
errors: [Forbidden],
|
|
@@ -2933,7 +2867,7 @@ export interface CreateWaitingRoomRequest {
|
|
|
2933
2867
|
}
|
|
2934
2868
|
|
|
2935
2869
|
export const CreateWaitingRoomRequest =
|
|
2936
|
-
/*@__PURE__*/
|
|
2870
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2937
2871
|
Schema.Struct({
|
|
2938
2872
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2939
2873
|
host: Schema.String,
|
|
@@ -3161,7 +3095,7 @@ export interface CreateWaitingRoomResponse {
|
|
|
3161
3095
|
}
|
|
3162
3096
|
|
|
3163
3097
|
export const CreateWaitingRoomResponse =
|
|
3164
|
-
/*@__PURE__*/
|
|
3098
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3165
3099
|
Schema.Struct({
|
|
3166
3100
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3167
3101
|
additionalRoutes: Schema.optional(
|
|
@@ -3336,7 +3270,7 @@ export const createWaitingRoom: API.OperationMethod<
|
|
|
3336
3270
|
CreateWaitingRoomResponse,
|
|
3337
3271
|
CreateWaitingRoomError,
|
|
3338
3272
|
Credentials | HttpClient.HttpClient
|
|
3339
|
-
> = /*@__PURE__*/
|
|
3273
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3340
3274
|
input: CreateWaitingRoomRequest,
|
|
3341
3275
|
output: CreateWaitingRoomResponse,
|
|
3342
3276
|
errors: [ZoneNotEntitled, Forbidden],
|
|
@@ -3438,7 +3372,7 @@ export interface UpdateWaitingRoomRequest {
|
|
|
3438
3372
|
}
|
|
3439
3373
|
|
|
3440
3374
|
export const UpdateWaitingRoomRequest =
|
|
3441
|
-
/*@__PURE__*/
|
|
3375
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3442
3376
|
Schema.Struct({
|
|
3443
3377
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
3444
3378
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3670,7 +3604,7 @@ export interface UpdateWaitingRoomResponse {
|
|
|
3670
3604
|
}
|
|
3671
3605
|
|
|
3672
3606
|
export const UpdateWaitingRoomResponse =
|
|
3673
|
-
/*@__PURE__*/
|
|
3607
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3674
3608
|
Schema.Struct({
|
|
3675
3609
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3676
3610
|
additionalRoutes: Schema.optional(
|
|
@@ -3846,7 +3780,7 @@ export const updateWaitingRoom: API.OperationMethod<
|
|
|
3846
3780
|
UpdateWaitingRoomResponse,
|
|
3847
3781
|
UpdateWaitingRoomError,
|
|
3848
3782
|
Credentials | HttpClient.HttpClient
|
|
3849
|
-
> = /*@__PURE__*/
|
|
3783
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3850
3784
|
input: UpdateWaitingRoomRequest,
|
|
3851
3785
|
output: UpdateWaitingRoomResponse,
|
|
3852
3786
|
errors: [WaitingRoomNotFound, ZoneNotEntitled, Forbidden],
|
|
@@ -3948,7 +3882,7 @@ export interface PatchWaitingRoomRequest {
|
|
|
3948
3882
|
}
|
|
3949
3883
|
|
|
3950
3884
|
export const PatchWaitingRoomRequest =
|
|
3951
|
-
/*@__PURE__*/
|
|
3885
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3952
3886
|
Schema.Struct({
|
|
3953
3887
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
3954
3888
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -4180,7 +4114,7 @@ export interface PatchWaitingRoomResponse {
|
|
|
4180
4114
|
}
|
|
4181
4115
|
|
|
4182
4116
|
export const PatchWaitingRoomResponse =
|
|
4183
|
-
/*@__PURE__*/
|
|
4117
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4184
4118
|
Schema.Struct({
|
|
4185
4119
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4186
4120
|
additionalRoutes: Schema.optional(
|
|
@@ -4352,7 +4286,7 @@ export const patchWaitingRoom: API.OperationMethod<
|
|
|
4352
4286
|
PatchWaitingRoomResponse,
|
|
4353
4287
|
PatchWaitingRoomError,
|
|
4354
4288
|
Credentials | HttpClient.HttpClient
|
|
4355
|
-
> = /*@__PURE__*/
|
|
4289
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4356
4290
|
input: PatchWaitingRoomRequest,
|
|
4357
4291
|
output: PatchWaitingRoomResponse,
|
|
4358
4292
|
errors: [],
|
|
@@ -4365,7 +4299,7 @@ export interface DeleteWaitingRoomRequest {
|
|
|
4365
4299
|
}
|
|
4366
4300
|
|
|
4367
4301
|
export const DeleteWaitingRoomRequest =
|
|
4368
|
-
/*@__PURE__*/
|
|
4302
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4369
4303
|
Schema.Struct({
|
|
4370
4304
|
waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
|
|
4371
4305
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -4382,7 +4316,7 @@ export interface DeleteWaitingRoomResponse {
|
|
|
4382
4316
|
}
|
|
4383
4317
|
|
|
4384
4318
|
export const DeleteWaitingRoomResponse =
|
|
4385
|
-
/*@__PURE__*/
|
|
4319
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4386
4320
|
Schema.Struct({
|
|
4387
4321
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4388
4322
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -4398,7 +4332,7 @@ export const deleteWaitingRoom: API.OperationMethod<
|
|
|
4398
4332
|
DeleteWaitingRoomResponse,
|
|
4399
4333
|
DeleteWaitingRoomError,
|
|
4400
4334
|
Credentials | HttpClient.HttpClient
|
|
4401
|
-
> = /*@__PURE__*/
|
|
4335
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4402
4336
|
input: DeleteWaitingRoomRequest,
|
|
4403
4337
|
output: DeleteWaitingRoomResponse,
|
|
4404
4338
|
errors: [WaitingRoomNotFound, Forbidden],
|