@distilled.cloud/cloudflare 0.29.0 → 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/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
package/lib/services/stream.js
CHANGED
|
@@ -46,7 +46,7 @@ export class WebhookNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClas
|
|
|
46
46
|
message: Schema.String,
|
|
47
47
|
}), [{ code: 10003 }]) {
|
|
48
48
|
}
|
|
49
|
-
const Audio = /*@__PURE__*/
|
|
49
|
+
const Audio = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
50
50
|
default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
51
51
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
52
52
|
status: Schema.optional(Schema.Union([
|
|
@@ -58,7 +58,7 @@ const Audio = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
58
58
|
])),
|
|
59
59
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
60
60
|
}));
|
|
61
|
-
const GetCaptionResponseResult = /*@__PURE__*/
|
|
61
|
+
const GetCaptionResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
62
62
|
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
63
63
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
64
64
|
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -70,18 +70,18 @@ const GetCaptionResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
70
70
|
Schema.Null,
|
|
71
71
|
])),
|
|
72
72
|
}));
|
|
73
|
-
const Watermark = /*@__PURE__*/
|
|
73
|
+
const Watermark = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
74
74
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
75
75
|
}));
|
|
76
|
-
const Input = /*@__PURE__*/
|
|
76
|
+
const Input = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
77
77
|
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
78
78
|
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
79
79
|
}));
|
|
80
|
-
const Playback = /*@__PURE__*/
|
|
80
|
+
const Playback = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
81
81
|
dash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
82
82
|
hls: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
83
83
|
}));
|
|
84
|
-
const PublicDetails = /*@__PURE__*/
|
|
84
|
+
const PublicDetails = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
85
85
|
channelLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
86
86
|
logo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
87
87
|
mediaId: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -94,7 +94,7 @@ const PublicDetails = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
94
94
|
shareLink: "share_link",
|
|
95
95
|
title: "title",
|
|
96
96
|
})));
|
|
97
|
-
const Status = /*@__PURE__*/
|
|
97
|
+
const Status = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
98
98
|
errorReasonCode: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
99
99
|
errorReasonText: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
100
100
|
pctComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -114,7 +114,7 @@ const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
114
114
|
Schema.Null,
|
|
115
115
|
])),
|
|
116
116
|
}));
|
|
117
|
-
const Watermark2 = /*@__PURE__*/
|
|
117
|
+
const Watermark2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
118
118
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
119
119
|
downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
120
120
|
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -127,7 +127,7 @@ const Watermark2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
127
127
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
128
128
|
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
129
129
|
}));
|
|
130
|
-
const Audio2 = /*@__PURE__*/
|
|
130
|
+
const Audio2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
131
131
|
percentComplete: Schema.Number,
|
|
132
132
|
status: Schema.Union([
|
|
133
133
|
Schema.Literals(["ready", "inprogress", "error"]),
|
|
@@ -135,12 +135,12 @@ const Audio2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
135
135
|
]),
|
|
136
136
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
137
137
|
}));
|
|
138
|
-
const GetKeyResponseResult = /*@__PURE__*/
|
|
138
|
+
const GetKeyResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
139
139
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
140
140
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
141
141
|
keyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
142
142
|
}).pipe(Schema.encodeKeys({ id: "id", created: "created", keyId: "key_id" })));
|
|
143
|
-
const LiveInput = /*@__PURE__*/
|
|
143
|
+
const LiveInput = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
144
144
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
145
145
|
deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
146
146
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -148,12 +148,12 @@ const LiveInput = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
148
148
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
149
149
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
150
150
|
}));
|
|
151
|
-
const ListLiveInputsResponse2 = /*@__PURE__*/
|
|
151
|
+
const ListLiveInputsResponse2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
152
152
|
liveInputs: Schema.optional(Schema.Union([Schema.Array(LiveInput), Schema.Null])),
|
|
153
153
|
range: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
154
154
|
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
155
155
|
}));
|
|
156
|
-
const Recording = /*@__PURE__*/
|
|
156
|
+
const Recording = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
157
157
|
allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
158
158
|
hideLiveViewerCount: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
159
159
|
mode: Schema.optional(Schema.Union([
|
|
@@ -164,13 +164,13 @@ const Recording = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
164
164
|
timeoutSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
165
165
|
}));
|
|
166
166
|
const ListLiveInputOutputsResponseResult =
|
|
167
|
-
/*@__PURE__*/
|
|
167
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
168
168
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
169
169
|
streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
170
170
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
171
171
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
172
172
|
}));
|
|
173
|
-
const ListStreamsResponseResult = /*@__PURE__*/
|
|
173
|
+
const ListStreamsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
174
174
|
allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
175
175
|
clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
176
176
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -198,7 +198,7 @@ const ListStreamsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
198
198
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
199
199
|
watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
|
|
200
200
|
}));
|
|
201
|
-
const PublicDetails2 = /*@__PURE__*/
|
|
201
|
+
const PublicDetails2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
202
202
|
channelLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
203
203
|
logo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
204
204
|
shareLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -209,7 +209,7 @@ const PublicDetails2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
209
209
|
shareLink: "share_link",
|
|
210
210
|
title: "title",
|
|
211
211
|
})));
|
|
212
|
-
const AccessRule = /*@__PURE__*/
|
|
212
|
+
const AccessRule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
213
213
|
action: Schema.optional(Schema.Union([
|
|
214
214
|
Schema.Union([Schema.Literals(["allow", "block"]), Schema.String]),
|
|
215
215
|
Schema.Null,
|
|
@@ -224,26 +224,26 @@ const AccessRule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
224
224
|
Schema.Null,
|
|
225
225
|
])),
|
|
226
226
|
}));
|
|
227
|
-
const Flags = /*@__PURE__*/
|
|
227
|
+
const Flags = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
228
228
|
original: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
229
229
|
}));
|
|
230
|
-
export const GetAudioTrackRequest = /*@__PURE__*/
|
|
230
|
+
export const GetAudioTrackRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
231
231
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
232
232
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
233
233
|
}).pipe(T.Http({
|
|
234
234
|
method: "GET",
|
|
235
235
|
path: "/accounts/{account_id}/stream/{identifier}/audio",
|
|
236
236
|
})));
|
|
237
|
-
export const GetAudioTrackResponse = /*@__PURE__*/
|
|
237
|
+
export const GetAudioTrackResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
238
238
|
audio: Schema.optional(Schema.Union([Schema.Array(Audio), Schema.Null])),
|
|
239
239
|
}).pipe(T.ResponsePath("result")));
|
|
240
|
-
export const getAudioTrack = /*@__PURE__*/
|
|
240
|
+
export const getAudioTrack = /*@__PURE__*/ API.make(() => ({
|
|
241
241
|
input: GetAudioTrackRequest,
|
|
242
242
|
output: GetAudioTrackResponse,
|
|
243
243
|
errors: [],
|
|
244
244
|
}));
|
|
245
245
|
export const PatchAudioTrackRequest =
|
|
246
|
-
/*@__PURE__*/
|
|
246
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
247
247
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
248
248
|
audioIdentifier: Schema.String.pipe(T.HttpPath("audioIdentifier")),
|
|
249
249
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -254,7 +254,7 @@ export const PatchAudioTrackRequest =
|
|
|
254
254
|
path: "/accounts/{account_id}/stream/{identifier}/audio/{audioIdentifier}",
|
|
255
255
|
})));
|
|
256
256
|
export const PatchAudioTrackResponse =
|
|
257
|
-
/*@__PURE__*/
|
|
257
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
258
258
|
default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
259
259
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
260
260
|
status: Schema.optional(Schema.Union([
|
|
@@ -266,13 +266,13 @@ export const PatchAudioTrackResponse =
|
|
|
266
266
|
])),
|
|
267
267
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
268
268
|
}).pipe(T.ResponsePath("result")));
|
|
269
|
-
export const patchAudioTrack = /*@__PURE__*/
|
|
269
|
+
export const patchAudioTrack = /*@__PURE__*/ API.make(() => ({
|
|
270
270
|
input: PatchAudioTrackRequest,
|
|
271
271
|
output: PatchAudioTrackResponse,
|
|
272
272
|
errors: [],
|
|
273
273
|
}));
|
|
274
274
|
export const DeleteAudioTrackRequest =
|
|
275
|
-
/*@__PURE__*/
|
|
275
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
276
276
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
277
277
|
audioIdentifier: Schema.String.pipe(T.HttpPath("audioIdentifier")),
|
|
278
278
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -281,13 +281,13 @@ export const DeleteAudioTrackRequest =
|
|
|
281
281
|
path: "/accounts/{account_id}/stream/{identifier}/audio/{audioIdentifier}",
|
|
282
282
|
})));
|
|
283
283
|
export const DeleteAudioTrackResponse =
|
|
284
|
-
/*@__PURE__*/
|
|
285
|
-
export const deleteAudioTrack = /*@__PURE__*/
|
|
284
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
285
|
+
export const deleteAudioTrack = /*@__PURE__*/ API.make(() => ({
|
|
286
286
|
input: DeleteAudioTrackRequest,
|
|
287
287
|
output: DeleteAudioTrackResponse,
|
|
288
288
|
errors: [],
|
|
289
289
|
}));
|
|
290
|
-
export const CopyAudioTrackRequest = /*@__PURE__*/
|
|
290
|
+
export const CopyAudioTrackRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
291
291
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
292
292
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
293
293
|
label: Schema.String,
|
|
@@ -297,7 +297,7 @@ export const CopyAudioTrackRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
297
297
|
path: "/accounts/{account_id}/stream/{identifier}/audio/copy",
|
|
298
298
|
})));
|
|
299
299
|
export const CopyAudioTrackResponse =
|
|
300
|
-
/*@__PURE__*/
|
|
300
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
301
301
|
default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
302
302
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
303
303
|
status: Schema.optional(Schema.Union([
|
|
@@ -309,22 +309,22 @@ export const CopyAudioTrackResponse =
|
|
|
309
309
|
])),
|
|
310
310
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
311
311
|
}).pipe(T.ResponsePath("result")));
|
|
312
|
-
export const copyAudioTrack = /*@__PURE__*/
|
|
312
|
+
export const copyAudioTrack = /*@__PURE__*/ API.make(() => ({
|
|
313
313
|
input: CopyAudioTrackRequest,
|
|
314
314
|
output: CopyAudioTrackResponse,
|
|
315
315
|
errors: [],
|
|
316
316
|
}));
|
|
317
|
-
export const GetCaptionRequest = /*@__PURE__*/
|
|
317
|
+
export const GetCaptionRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
318
318
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
319
319
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
320
320
|
}).pipe(T.Http({
|
|
321
321
|
method: "GET",
|
|
322
322
|
path: "/accounts/{account_id}/stream/{identifier}/captions",
|
|
323
323
|
})));
|
|
324
|
-
export const GetCaptionResponse = /*@__PURE__*/
|
|
324
|
+
export const GetCaptionResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
325
325
|
result: Schema.Array(GetCaptionResponseResult),
|
|
326
326
|
}));
|
|
327
|
-
export const getCaption = /*@__PURE__*/
|
|
327
|
+
export const getCaption = /*@__PURE__*/ API.makePaginated(() => ({
|
|
328
328
|
input: GetCaptionRequest,
|
|
329
329
|
output: GetCaptionResponse,
|
|
330
330
|
errors: [],
|
|
@@ -334,7 +334,7 @@ export const getCaption = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
334
334
|
},
|
|
335
335
|
}));
|
|
336
336
|
export const GetCaptionLanguageRequest =
|
|
337
|
-
/*@__PURE__*/
|
|
337
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
338
338
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
339
339
|
language: Schema.String.pipe(T.HttpPath("language")),
|
|
340
340
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -343,7 +343,7 @@ export const GetCaptionLanguageRequest =
|
|
|
343
343
|
path: "/accounts/{account_id}/stream/{identifier}/captions/{language}",
|
|
344
344
|
})));
|
|
345
345
|
export const GetCaptionLanguageResponse =
|
|
346
|
-
/*@__PURE__*/
|
|
346
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
347
347
|
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
348
348
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
349
349
|
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -355,13 +355,13 @@ export const GetCaptionLanguageResponse =
|
|
|
355
355
|
Schema.Null,
|
|
356
356
|
])),
|
|
357
357
|
}).pipe(T.ResponsePath("result")));
|
|
358
|
-
export const getCaptionLanguage = /*@__PURE__*/
|
|
358
|
+
export const getCaptionLanguage = /*@__PURE__*/ API.make(() => ({
|
|
359
359
|
input: GetCaptionLanguageRequest,
|
|
360
360
|
output: GetCaptionLanguageResponse,
|
|
361
361
|
errors: [],
|
|
362
362
|
}));
|
|
363
363
|
export const CreateCaptionLanguageRequest =
|
|
364
|
-
/*@__PURE__*/
|
|
364
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
365
365
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
366
366
|
language: Schema.String.pipe(T.HttpPath("language")),
|
|
367
367
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -370,7 +370,7 @@ export const CreateCaptionLanguageRequest =
|
|
|
370
370
|
path: "/accounts/{account_id}/stream/{identifier}/captions/{language}/generate",
|
|
371
371
|
})));
|
|
372
372
|
export const CreateCaptionLanguageResponse =
|
|
373
|
-
/*@__PURE__*/
|
|
373
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
374
374
|
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
375
375
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
376
376
|
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -382,13 +382,13 @@ export const CreateCaptionLanguageResponse =
|
|
|
382
382
|
Schema.Null,
|
|
383
383
|
])),
|
|
384
384
|
}).pipe(T.ResponsePath("result")));
|
|
385
|
-
export const createCaptionLanguage = /*@__PURE__*/
|
|
385
|
+
export const createCaptionLanguage = /*@__PURE__*/ API.make(() => ({
|
|
386
386
|
input: CreateCaptionLanguageRequest,
|
|
387
387
|
output: CreateCaptionLanguageResponse,
|
|
388
388
|
errors: [],
|
|
389
389
|
}));
|
|
390
390
|
export const UpdateCaptionLanguageRequest =
|
|
391
|
-
/*@__PURE__*/
|
|
391
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
392
392
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
393
393
|
language: Schema.String.pipe(T.HttpPath("language")),
|
|
394
394
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -399,7 +399,7 @@ export const UpdateCaptionLanguageRequest =
|
|
|
399
399
|
contentType: "multipart",
|
|
400
400
|
})));
|
|
401
401
|
export const UpdateCaptionLanguageResponse =
|
|
402
|
-
/*@__PURE__*/
|
|
402
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
403
403
|
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
404
404
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
405
405
|
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -411,13 +411,13 @@ export const UpdateCaptionLanguageResponse =
|
|
|
411
411
|
Schema.Null,
|
|
412
412
|
])),
|
|
413
413
|
}).pipe(T.ResponsePath("result")));
|
|
414
|
-
export const updateCaptionLanguage = /*@__PURE__*/
|
|
414
|
+
export const updateCaptionLanguage = /*@__PURE__*/ API.make(() => ({
|
|
415
415
|
input: UpdateCaptionLanguageRequest,
|
|
416
416
|
output: UpdateCaptionLanguageResponse,
|
|
417
417
|
errors: [],
|
|
418
418
|
}));
|
|
419
419
|
export const DeleteCaptionLanguageRequest =
|
|
420
|
-
/*@__PURE__*/
|
|
420
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
421
421
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
422
422
|
language: Schema.String.pipe(T.HttpPath("language")),
|
|
423
423
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -426,14 +426,14 @@ export const DeleteCaptionLanguageRequest =
|
|
|
426
426
|
path: "/accounts/{account_id}/stream/{identifier}/captions/{language}",
|
|
427
427
|
})));
|
|
428
428
|
export const DeleteCaptionLanguageResponse =
|
|
429
|
-
/*@__PURE__*/
|
|
430
|
-
export const deleteCaptionLanguage = /*@__PURE__*/
|
|
429
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
430
|
+
export const deleteCaptionLanguage = /*@__PURE__*/ API.make(() => ({
|
|
431
431
|
input: DeleteCaptionLanguageRequest,
|
|
432
432
|
output: DeleteCaptionLanguageResponse,
|
|
433
433
|
errors: [],
|
|
434
434
|
}));
|
|
435
435
|
export const GetCaptionLanguageVttRequest =
|
|
436
|
-
/*@__PURE__*/
|
|
436
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
437
437
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
438
438
|
language: Schema.String.pipe(T.HttpPath("language")),
|
|
439
439
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -442,13 +442,13 @@ export const GetCaptionLanguageVttRequest =
|
|
|
442
442
|
path: "/accounts/{account_id}/stream/{identifier}/captions/{language}/vtt",
|
|
443
443
|
})));
|
|
444
444
|
export const GetCaptionLanguageVttResponse =
|
|
445
|
-
/*@__PURE__*/
|
|
446
|
-
export const getCaptionLanguageVtt = /*@__PURE__*/
|
|
445
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String);
|
|
446
|
+
export const getCaptionLanguageVtt = /*@__PURE__*/ API.make(() => ({
|
|
447
447
|
input: GetCaptionLanguageVttRequest,
|
|
448
448
|
output: GetCaptionLanguageVttResponse,
|
|
449
449
|
errors: [],
|
|
450
450
|
}));
|
|
451
|
-
export const CreateClipRequest = /*@__PURE__*/
|
|
451
|
+
export const CreateClipRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
452
452
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
453
453
|
clippedFromVideoUID: Schema.String,
|
|
454
454
|
endTimeSeconds: Schema.Number,
|
|
@@ -464,7 +464,7 @@ export const CreateClipRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
464
464
|
url: Schema.optional(Schema.String),
|
|
465
465
|
watermark: Schema.optional(Watermark),
|
|
466
466
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream/clip" })));
|
|
467
|
-
export const CreateClipResponse = /*@__PURE__*/
|
|
467
|
+
export const CreateClipResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
468
468
|
allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
469
469
|
clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
470
470
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -492,12 +492,12 @@ export const CreateClipResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
492
492
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
493
493
|
watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
|
|
494
494
|
}).pipe(T.ResponsePath("result")));
|
|
495
|
-
export const createClip = /*@__PURE__*/
|
|
495
|
+
export const createClip = /*@__PURE__*/ API.make(() => ({
|
|
496
496
|
input: CreateClipRequest,
|
|
497
497
|
output: CreateClipResponse,
|
|
498
498
|
errors: [],
|
|
499
499
|
}));
|
|
500
|
-
export const CreateCopyRequest = /*@__PURE__*/
|
|
500
|
+
export const CreateCopyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
501
501
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
502
502
|
uploadCreator: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Creator")),
|
|
503
503
|
allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -511,7 +511,7 @@ export const CreateCopyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
511
511
|
url: Schema.optional(Schema.String),
|
|
512
512
|
watermark: Schema.optional(Watermark),
|
|
513
513
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream/copy" })));
|
|
514
|
-
export const CreateCopyResponse = /*@__PURE__*/
|
|
514
|
+
export const CreateCopyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
515
515
|
allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
516
516
|
clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
517
517
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -539,13 +539,13 @@ export const CreateCopyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
539
539
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
540
540
|
watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
|
|
541
541
|
}).pipe(T.ResponsePath("result")));
|
|
542
|
-
export const createCopy = /*@__PURE__*/
|
|
542
|
+
export const createCopy = /*@__PURE__*/ API.make(() => ({
|
|
543
543
|
input: CreateCopyRequest,
|
|
544
544
|
output: CreateCopyResponse,
|
|
545
545
|
errors: [],
|
|
546
546
|
}));
|
|
547
547
|
export const CreateDirectUploadRequest =
|
|
548
|
-
/*@__PURE__*/
|
|
548
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
549
549
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
550
550
|
uploadCreator: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Creator")),
|
|
551
551
|
maxDurationSeconds: Schema.Number,
|
|
@@ -562,34 +562,34 @@ export const CreateDirectUploadRequest =
|
|
|
562
562
|
path: "/accounts/{account_id}/stream/direct_upload",
|
|
563
563
|
})));
|
|
564
564
|
export const CreateDirectUploadResponse =
|
|
565
|
-
/*@__PURE__*/
|
|
565
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
566
566
|
scheduledDeletion: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
567
567
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
568
568
|
uploadURL: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
569
569
|
watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
|
|
570
570
|
}).pipe(T.ResponsePath("result")));
|
|
571
|
-
export const createDirectUpload = /*@__PURE__*/
|
|
571
|
+
export const createDirectUpload = /*@__PURE__*/ API.make(() => ({
|
|
572
572
|
input: CreateDirectUploadRequest,
|
|
573
573
|
output: CreateDirectUploadResponse,
|
|
574
574
|
errors: [],
|
|
575
575
|
}));
|
|
576
|
-
export const GetDownloadRequest = /*@__PURE__*/
|
|
576
|
+
export const GetDownloadRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
577
577
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
578
578
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
579
579
|
}).pipe(T.Http({
|
|
580
580
|
method: "GET",
|
|
581
581
|
path: "/accounts/{account_id}/stream/{identifier}/downloads",
|
|
582
582
|
})));
|
|
583
|
-
export const GetDownloadResponse = /*@__PURE__*/
|
|
583
|
+
export const GetDownloadResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
584
584
|
audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
|
|
585
585
|
default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
|
|
586
586
|
}).pipe(T.ResponsePath("result")));
|
|
587
|
-
export const getDownload = /*@__PURE__*/
|
|
587
|
+
export const getDownload = /*@__PURE__*/ API.make(() => ({
|
|
588
588
|
input: GetDownloadRequest,
|
|
589
589
|
output: GetDownloadResponse,
|
|
590
590
|
errors: [],
|
|
591
591
|
}));
|
|
592
|
-
export const CreateDownloadRequest = /*@__PURE__*/
|
|
592
|
+
export const CreateDownloadRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
593
593
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
594
594
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
595
595
|
}).pipe(T.Http({
|
|
@@ -597,16 +597,16 @@ export const CreateDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
597
597
|
path: "/accounts/{account_id}/stream/{identifier}/downloads",
|
|
598
598
|
})));
|
|
599
599
|
export const CreateDownloadResponse =
|
|
600
|
-
/*@__PURE__*/
|
|
600
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
601
601
|
audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
|
|
602
602
|
default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
|
|
603
603
|
}).pipe(T.ResponsePath("result")));
|
|
604
|
-
export const createDownload = /*@__PURE__*/
|
|
604
|
+
export const createDownload = /*@__PURE__*/ API.make(() => ({
|
|
605
605
|
input: CreateDownloadRequest,
|
|
606
606
|
output: CreateDownloadResponse,
|
|
607
607
|
errors: [],
|
|
608
608
|
}));
|
|
609
|
-
export const DeleteDownloadRequest = /*@__PURE__*/
|
|
609
|
+
export const DeleteDownloadRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
610
610
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
611
611
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
612
612
|
}).pipe(T.Http({
|
|
@@ -614,32 +614,32 @@ export const DeleteDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
614
614
|
path: "/accounts/{account_id}/stream/{identifier}/downloads",
|
|
615
615
|
})));
|
|
616
616
|
export const DeleteDownloadResponse =
|
|
617
|
-
/*@__PURE__*/
|
|
618
|
-
export const deleteDownload = /*@__PURE__*/
|
|
617
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
618
|
+
export const deleteDownload = /*@__PURE__*/ API.make(() => ({
|
|
619
619
|
input: DeleteDownloadRequest,
|
|
620
620
|
output: DeleteDownloadResponse,
|
|
621
621
|
errors: [],
|
|
622
622
|
}));
|
|
623
|
-
export const GetEmbedRequest = /*@__PURE__*/
|
|
623
|
+
export const GetEmbedRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
624
624
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
625
625
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
626
626
|
}).pipe(T.Http({
|
|
627
627
|
method: "GET",
|
|
628
628
|
path: "/accounts/{account_id}/stream/{identifier}/embed",
|
|
629
629
|
})));
|
|
630
|
-
export const GetEmbedResponse = /*@__PURE__*/
|
|
631
|
-
export const getEmbed = /*@__PURE__*/
|
|
630
|
+
export const GetEmbedResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String);
|
|
631
|
+
export const getEmbed = /*@__PURE__*/ API.make(() => ({
|
|
632
632
|
input: GetEmbedRequest,
|
|
633
633
|
output: GetEmbedResponse,
|
|
634
634
|
errors: [],
|
|
635
635
|
}));
|
|
636
|
-
export const GetKeyRequest = /*@__PURE__*/
|
|
636
|
+
export const GetKeyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
637
637
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
638
638
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream/keys" })));
|
|
639
|
-
export const GetKeyResponse = /*@__PURE__*/
|
|
639
|
+
export const GetKeyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
640
640
|
result: Schema.Union([Schema.Array(GetKeyResponseResult), Schema.Null]),
|
|
641
641
|
}));
|
|
642
|
-
export const getKey = /*@__PURE__*/
|
|
642
|
+
export const getKey = /*@__PURE__*/ API.makePaginated(() => ({
|
|
643
643
|
input: GetKeyRequest,
|
|
644
644
|
output: GetKeyResponse,
|
|
645
645
|
errors: [Forbidden],
|
|
@@ -648,42 +648,42 @@ export const getKey = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
648
648
|
items: "result",
|
|
649
649
|
},
|
|
650
650
|
}));
|
|
651
|
-
export const CreateKeyRequest = /*@__PURE__*/
|
|
651
|
+
export const CreateKeyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
652
652
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
653
653
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
654
654
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream/keys" })));
|
|
655
|
-
export const CreateKeyResponse = /*@__PURE__*/
|
|
655
|
+
export const CreateKeyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
656
656
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
657
657
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
658
658
|
jwk: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
659
659
|
pem: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
660
660
|
}).pipe(T.ResponsePath("result")));
|
|
661
|
-
export const createKey = /*@__PURE__*/
|
|
661
|
+
export const createKey = /*@__PURE__*/ API.make(() => ({
|
|
662
662
|
input: CreateKeyRequest,
|
|
663
663
|
output: CreateKeyResponse,
|
|
664
664
|
errors: [],
|
|
665
665
|
}));
|
|
666
|
-
export const DeleteKeyRequest = /*@__PURE__*/
|
|
666
|
+
export const DeleteKeyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
667
667
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
668
668
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
669
669
|
}).pipe(T.Http({
|
|
670
670
|
method: "DELETE",
|
|
671
671
|
path: "/accounts/{account_id}/stream/keys/{identifier}",
|
|
672
672
|
})));
|
|
673
|
-
export const DeleteKeyResponse = /*@__PURE__*/
|
|
674
|
-
export const deleteKey = /*@__PURE__*/
|
|
673
|
+
export const DeleteKeyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
674
|
+
export const deleteKey = /*@__PURE__*/ API.make(() => ({
|
|
675
675
|
input: DeleteKeyRequest,
|
|
676
676
|
output: DeleteKeyResponse,
|
|
677
677
|
errors: [SigningKeyNotFound, Forbidden],
|
|
678
678
|
}));
|
|
679
|
-
export const GetLiveInputRequest = /*@__PURE__*/
|
|
679
|
+
export const GetLiveInputRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
680
680
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
681
681
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
682
682
|
}).pipe(T.Http({
|
|
683
683
|
method: "GET",
|
|
684
684
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
|
|
685
685
|
})));
|
|
686
|
-
export const GetLiveInputResponse = /*@__PURE__*/
|
|
686
|
+
export const GetLiveInputResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
687
687
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
688
688
|
deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
689
689
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -691,12 +691,12 @@ export const GetLiveInputResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
691
691
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
692
692
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
693
693
|
}).pipe(T.ResponsePath("result")));
|
|
694
|
-
export const getLiveInput = /*@__PURE__*/
|
|
694
|
+
export const getLiveInput = /*@__PURE__*/ API.make(() => ({
|
|
695
695
|
input: GetLiveInputRequest,
|
|
696
696
|
output: GetLiveInputResponse,
|
|
697
697
|
errors: [LiveInputNotFound, Forbidden],
|
|
698
698
|
}));
|
|
699
|
-
export const ListLiveInputsRequest = /*@__PURE__*/
|
|
699
|
+
export const ListLiveInputsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
700
700
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
701
701
|
includeCounts: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("include_counts")),
|
|
702
702
|
}).pipe(T.Http({
|
|
@@ -704,14 +704,14 @@ export const ListLiveInputsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
704
704
|
path: "/accounts/{account_id}/stream/live_inputs",
|
|
705
705
|
})));
|
|
706
706
|
export const ListLiveInputsResponse =
|
|
707
|
-
/*@__PURE__*/
|
|
708
|
-
export const listLiveInputs = /*@__PURE__*/
|
|
707
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Union([ListLiveInputsResponse2, Schema.Array(LiveInput)]).pipe(T.ResponsePath("result")));
|
|
708
|
+
export const listLiveInputs = /*@__PURE__*/ API.make(() => ({
|
|
709
709
|
input: ListLiveInputsRequest,
|
|
710
710
|
output: ListLiveInputsResponse,
|
|
711
711
|
errors: [],
|
|
712
712
|
}));
|
|
713
713
|
export const CreateLiveInputRequest =
|
|
714
|
-
/*@__PURE__*/
|
|
714
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
715
715
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
716
716
|
defaultCreator: Schema.optional(Schema.String),
|
|
717
717
|
deleteRecordingAfterDays: Schema.optional(Schema.Number),
|
|
@@ -723,7 +723,7 @@ export const CreateLiveInputRequest =
|
|
|
723
723
|
path: "/accounts/{account_id}/stream/live_inputs",
|
|
724
724
|
})));
|
|
725
725
|
export const CreateLiveInputResponse =
|
|
726
|
-
/*@__PURE__*/
|
|
726
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
727
727
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
728
728
|
deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
729
729
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -731,13 +731,13 @@ export const CreateLiveInputResponse =
|
|
|
731
731
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
732
732
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
733
733
|
}).pipe(T.ResponsePath("result")));
|
|
734
|
-
export const createLiveInput = /*@__PURE__*/
|
|
734
|
+
export const createLiveInput = /*@__PURE__*/ API.make(() => ({
|
|
735
735
|
input: CreateLiveInputRequest,
|
|
736
736
|
output: CreateLiveInputResponse,
|
|
737
737
|
errors: [],
|
|
738
738
|
}));
|
|
739
739
|
export const UpdateLiveInputRequest =
|
|
740
|
-
/*@__PURE__*/
|
|
740
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
741
741
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
742
742
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
743
743
|
defaultCreator: Schema.optional(Schema.String),
|
|
@@ -750,7 +750,7 @@ export const UpdateLiveInputRequest =
|
|
|
750
750
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
|
|
751
751
|
})));
|
|
752
752
|
export const UpdateLiveInputResponse =
|
|
753
|
-
/*@__PURE__*/
|
|
753
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
754
754
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
755
755
|
deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
756
756
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -758,13 +758,13 @@ export const UpdateLiveInputResponse =
|
|
|
758
758
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
759
759
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
760
760
|
}).pipe(T.ResponsePath("result")));
|
|
761
|
-
export const updateLiveInput = /*@__PURE__*/
|
|
761
|
+
export const updateLiveInput = /*@__PURE__*/ API.make(() => ({
|
|
762
762
|
input: UpdateLiveInputRequest,
|
|
763
763
|
output: UpdateLiveInputResponse,
|
|
764
764
|
errors: [],
|
|
765
765
|
}));
|
|
766
766
|
export const DeleteLiveInputRequest =
|
|
767
|
-
/*@__PURE__*/
|
|
767
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
768
768
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
769
769
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
770
770
|
}).pipe(T.Http({
|
|
@@ -772,14 +772,14 @@ export const DeleteLiveInputRequest =
|
|
|
772
772
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
|
|
773
773
|
})));
|
|
774
774
|
export const DeleteLiveInputResponse =
|
|
775
|
-
/*@__PURE__*/
|
|
776
|
-
export const deleteLiveInput = /*@__PURE__*/
|
|
775
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
776
|
+
export const deleteLiveInput = /*@__PURE__*/ API.make(() => ({
|
|
777
777
|
input: DeleteLiveInputRequest,
|
|
778
778
|
output: DeleteLiveInputResponse,
|
|
779
779
|
errors: [LiveInputNotFound, Forbidden],
|
|
780
780
|
}));
|
|
781
781
|
export const ListLiveInputOutputsRequest =
|
|
782
|
-
/*@__PURE__*/
|
|
782
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
783
783
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
784
784
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
785
785
|
}).pipe(T.Http({
|
|
@@ -787,10 +787,10 @@ export const ListLiveInputOutputsRequest =
|
|
|
787
787
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs",
|
|
788
788
|
})));
|
|
789
789
|
export const ListLiveInputOutputsResponse =
|
|
790
|
-
/*@__PURE__*/
|
|
790
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
791
791
|
result: Schema.Array(ListLiveInputOutputsResponseResult),
|
|
792
792
|
}));
|
|
793
|
-
export const listLiveInputOutputs = /*@__PURE__*/
|
|
793
|
+
export const listLiveInputOutputs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
794
794
|
input: ListLiveInputOutputsRequest,
|
|
795
795
|
output: ListLiveInputOutputsResponse,
|
|
796
796
|
errors: [LiveInputNotFound, Forbidden],
|
|
@@ -800,7 +800,7 @@ export const listLiveInputOutputs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
800
800
|
},
|
|
801
801
|
}));
|
|
802
802
|
export const CreateLiveInputOutputRequest =
|
|
803
|
-
/*@__PURE__*/
|
|
803
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
804
804
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
805
805
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
806
806
|
streamKey: Schema.String,
|
|
@@ -811,19 +811,19 @@ export const CreateLiveInputOutputRequest =
|
|
|
811
811
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs",
|
|
812
812
|
})));
|
|
813
813
|
export const CreateLiveInputOutputResponse =
|
|
814
|
-
/*@__PURE__*/
|
|
814
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
815
815
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
816
816
|
streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
817
817
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
818
818
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
819
819
|
}).pipe(T.ResponsePath("result")));
|
|
820
|
-
export const createLiveInputOutput = /*@__PURE__*/
|
|
820
|
+
export const createLiveInputOutput = /*@__PURE__*/ API.make(() => ({
|
|
821
821
|
input: CreateLiveInputOutputRequest,
|
|
822
822
|
output: CreateLiveInputOutputResponse,
|
|
823
823
|
errors: [LiveInputNotFound, Forbidden],
|
|
824
824
|
}));
|
|
825
825
|
export const UpdateLiveInputOutputRequest =
|
|
826
|
-
/*@__PURE__*/
|
|
826
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
827
827
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
828
828
|
outputIdentifier: Schema.String.pipe(T.HttpPath("outputIdentifier")),
|
|
829
829
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -833,19 +833,19 @@ export const UpdateLiveInputOutputRequest =
|
|
|
833
833
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs/{outputIdentifier}",
|
|
834
834
|
})));
|
|
835
835
|
export const UpdateLiveInputOutputResponse =
|
|
836
|
-
/*@__PURE__*/
|
|
836
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
837
837
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
838
838
|
streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
839
839
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
840
840
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
841
841
|
}).pipe(T.ResponsePath("result")));
|
|
842
|
-
export const updateLiveInputOutput = /*@__PURE__*/
|
|
842
|
+
export const updateLiveInputOutput = /*@__PURE__*/ API.make(() => ({
|
|
843
843
|
input: UpdateLiveInputOutputRequest,
|
|
844
844
|
output: UpdateLiveInputOutputResponse,
|
|
845
845
|
errors: [OutputNotFound, Forbidden],
|
|
846
846
|
}));
|
|
847
847
|
export const DeleteLiveInputOutputRequest =
|
|
848
|
-
/*@__PURE__*/
|
|
848
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
849
849
|
liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
|
|
850
850
|
outputIdentifier: Schema.String.pipe(T.HttpPath("outputIdentifier")),
|
|
851
851
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -854,20 +854,20 @@ export const DeleteLiveInputOutputRequest =
|
|
|
854
854
|
path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs/{outputIdentifier}",
|
|
855
855
|
})));
|
|
856
856
|
export const DeleteLiveInputOutputResponse =
|
|
857
|
-
/*@__PURE__*/
|
|
858
|
-
export const deleteLiveInputOutput = /*@__PURE__*/
|
|
857
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
858
|
+
export const deleteLiveInputOutput = /*@__PURE__*/ API.make(() => ({
|
|
859
859
|
input: DeleteLiveInputOutputRequest,
|
|
860
860
|
output: DeleteLiveInputOutputResponse,
|
|
861
861
|
errors: [OutputNotFound, Forbidden],
|
|
862
862
|
}));
|
|
863
|
-
export const GetStreamRequest = /*@__PURE__*/
|
|
863
|
+
export const GetStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
864
864
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
865
865
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
866
866
|
}).pipe(T.Http({
|
|
867
867
|
method: "GET",
|
|
868
868
|
path: "/accounts/{account_id}/stream/{identifier}",
|
|
869
869
|
})));
|
|
870
|
-
export const GetStreamResponse = /*@__PURE__*/
|
|
870
|
+
export const GetStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
871
871
|
allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
872
872
|
clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
873
873
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -895,12 +895,12 @@ export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
895
895
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
896
896
|
watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
|
|
897
897
|
}).pipe(T.ResponsePath("result")));
|
|
898
|
-
export const getStream = /*@__PURE__*/
|
|
898
|
+
export const getStream = /*@__PURE__*/ API.make(() => ({
|
|
899
899
|
input: GetStreamRequest,
|
|
900
900
|
output: GetStreamResponse,
|
|
901
901
|
errors: [],
|
|
902
902
|
}));
|
|
903
|
-
export const ListStreamsRequest = /*@__PURE__*/
|
|
903
|
+
export const ListStreamsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
904
904
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
905
905
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
906
906
|
after: Schema.optional(Schema.String).pipe(T.HttpQuery("after")),
|
|
@@ -929,10 +929,10 @@ export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
929
929
|
type: Schema.optional(Schema.String).pipe(T.HttpQuery("type")),
|
|
930
930
|
videoName: Schema.optional(Schema.String).pipe(T.HttpQuery("video_name")),
|
|
931
931
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream" })));
|
|
932
|
-
export const ListStreamsResponse = /*@__PURE__*/
|
|
932
|
+
export const ListStreamsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
933
933
|
result: Schema.Array(ListStreamsResponseResult),
|
|
934
934
|
}));
|
|
935
|
-
export const listStreams = /*@__PURE__*/
|
|
935
|
+
export const listStreams = /*@__PURE__*/ API.makePaginated(() => ({
|
|
936
936
|
input: ListStreamsRequest,
|
|
937
937
|
output: ListStreamsResponse,
|
|
938
938
|
errors: [],
|
|
@@ -941,7 +941,7 @@ export const listStreams = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
941
941
|
items: "result",
|
|
942
942
|
},
|
|
943
943
|
}));
|
|
944
|
-
export const CreateStreamRequest = /*@__PURE__*/
|
|
944
|
+
export const CreateStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
945
945
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
946
946
|
directUser: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("direct_user")),
|
|
947
947
|
tusResumable: Schema.Literal("1.0.0").pipe(T.HttpHeader("Tus-Resumable")),
|
|
@@ -949,26 +949,26 @@ export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
949
949
|
uploadCreator: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Creator")),
|
|
950
950
|
uploadMetadata: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Metadata")),
|
|
951
951
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream" })));
|
|
952
|
-
export const CreateStreamResponse = /*@__PURE__*/
|
|
953
|
-
export const createStream = /*@__PURE__*/
|
|
952
|
+
export const CreateStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
953
|
+
export const createStream = /*@__PURE__*/ API.make(() => ({
|
|
954
954
|
input: CreateStreamRequest,
|
|
955
955
|
output: CreateStreamResponse,
|
|
956
956
|
errors: [],
|
|
957
957
|
}));
|
|
958
|
-
export const DeleteStreamRequest = /*@__PURE__*/
|
|
958
|
+
export const DeleteStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
959
959
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
960
960
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
961
961
|
}).pipe(T.Http({
|
|
962
962
|
method: "DELETE",
|
|
963
963
|
path: "/accounts/{account_id}/stream/{identifier}",
|
|
964
964
|
})));
|
|
965
|
-
export const DeleteStreamResponse = /*@__PURE__*/
|
|
966
|
-
export const deleteStream = /*@__PURE__*/
|
|
965
|
+
export const DeleteStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
966
|
+
export const deleteStream = /*@__PURE__*/ API.make(() => ({
|
|
967
967
|
input: DeleteStreamRequest,
|
|
968
968
|
output: DeleteStreamResponse,
|
|
969
969
|
errors: [],
|
|
970
970
|
}));
|
|
971
|
-
export const EditStreamRequest = /*@__PURE__*/
|
|
971
|
+
export const EditStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
972
972
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
973
973
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
974
974
|
allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -985,7 +985,7 @@ export const EditStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
985
985
|
method: "POST",
|
|
986
986
|
path: "/accounts/{account_id}/stream/{identifier}",
|
|
987
987
|
})));
|
|
988
|
-
export const EditStreamResponse = /*@__PURE__*/
|
|
988
|
+
export const EditStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
989
989
|
allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
990
990
|
clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
991
991
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1013,12 +1013,12 @@ export const EditStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1013
1013
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1014
1014
|
watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
|
|
1015
1015
|
}).pipe(T.ResponsePath("result")));
|
|
1016
|
-
export const editStream = /*@__PURE__*/
|
|
1016
|
+
export const editStream = /*@__PURE__*/ API.make(() => ({
|
|
1017
1017
|
input: EditStreamRequest,
|
|
1018
1018
|
output: EditStreamResponse,
|
|
1019
1019
|
errors: [],
|
|
1020
1020
|
}));
|
|
1021
|
-
export const CreateTokenRequest = /*@__PURE__*/
|
|
1021
|
+
export const CreateTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1022
1022
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
1023
1023
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1024
1024
|
id: Schema.optional(Schema.String),
|
|
@@ -1032,16 +1032,16 @@ export const CreateTokenRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1032
1032
|
method: "POST",
|
|
1033
1033
|
path: "/accounts/{account_id}/stream/{identifier}/token",
|
|
1034
1034
|
})));
|
|
1035
|
-
export const CreateTokenResponse = /*@__PURE__*/
|
|
1035
|
+
export const CreateTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1036
1036
|
token: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1037
1037
|
}).pipe(T.ResponsePath("result")));
|
|
1038
|
-
export const createToken = /*@__PURE__*/
|
|
1038
|
+
export const createToken = /*@__PURE__*/ API.make(() => ({
|
|
1039
1039
|
input: CreateTokenRequest,
|
|
1040
1040
|
output: CreateTokenResponse,
|
|
1041
1041
|
errors: [],
|
|
1042
1042
|
}));
|
|
1043
1043
|
export const StorageUsageVideoRequest =
|
|
1044
|
-
/*@__PURE__*/
|
|
1044
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1045
1045
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1046
1046
|
creator: Schema.optional(Schema.String).pipe(T.HttpQuery("creator")),
|
|
1047
1047
|
}).pipe(T.Http({
|
|
@@ -1049,25 +1049,25 @@ export const StorageUsageVideoRequest =
|
|
|
1049
1049
|
path: "/accounts/{account_id}/stream/storage-usage",
|
|
1050
1050
|
})));
|
|
1051
1051
|
export const StorageUsageVideoResponse =
|
|
1052
|
-
/*@__PURE__*/
|
|
1052
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1053
1053
|
creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1054
1054
|
totalStorageMinutes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1055
1055
|
totalStorageMinutesLimit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1056
1056
|
videoCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1057
1057
|
}).pipe(T.ResponsePath("result")));
|
|
1058
|
-
export const storageUsageVideo = /*@__PURE__*/
|
|
1058
|
+
export const storageUsageVideo = /*@__PURE__*/ API.make(() => ({
|
|
1059
1059
|
input: StorageUsageVideoRequest,
|
|
1060
1060
|
output: StorageUsageVideoResponse,
|
|
1061
1061
|
errors: [],
|
|
1062
1062
|
}));
|
|
1063
|
-
export const GetWatermarkRequest = /*@__PURE__*/
|
|
1063
|
+
export const GetWatermarkRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1064
1064
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
1065
1065
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1066
1066
|
}).pipe(T.Http({
|
|
1067
1067
|
method: "GET",
|
|
1068
1068
|
path: "/accounts/{account_id}/stream/watermarks/{identifier}",
|
|
1069
1069
|
})));
|
|
1070
|
-
export const GetWatermarkResponse = /*@__PURE__*/
|
|
1070
|
+
export const GetWatermarkResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1071
1071
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1072
1072
|
downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1073
1073
|
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1080,22 +1080,22 @@ export const GetWatermarkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1080
1080
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1081
1081
|
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1082
1082
|
}).pipe(T.ResponsePath("result")));
|
|
1083
|
-
export const getWatermark = /*@__PURE__*/
|
|
1083
|
+
export const getWatermark = /*@__PURE__*/ API.make(() => ({
|
|
1084
1084
|
input: GetWatermarkRequest,
|
|
1085
1085
|
output: GetWatermarkResponse,
|
|
1086
1086
|
errors: [WatermarkNotFound, Forbidden],
|
|
1087
1087
|
}));
|
|
1088
|
-
export const ListWatermarksRequest = /*@__PURE__*/
|
|
1088
|
+
export const ListWatermarksRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1089
1089
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1090
1090
|
}).pipe(T.Http({
|
|
1091
1091
|
method: "GET",
|
|
1092
1092
|
path: "/accounts/{account_id}/stream/watermarks",
|
|
1093
1093
|
})));
|
|
1094
1094
|
export const ListWatermarksResponse =
|
|
1095
|
-
/*@__PURE__*/
|
|
1095
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1096
1096
|
result: Schema.Array(Watermark2),
|
|
1097
1097
|
}));
|
|
1098
|
-
export const listWatermarks = /*@__PURE__*/
|
|
1098
|
+
export const listWatermarks = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1099
1099
|
input: ListWatermarksRequest,
|
|
1100
1100
|
output: ListWatermarksResponse,
|
|
1101
1101
|
errors: [],
|
|
@@ -1105,7 +1105,7 @@ export const listWatermarks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
|
|
|
1105
1105
|
},
|
|
1106
1106
|
}));
|
|
1107
1107
|
export const CreateWatermarkRequest =
|
|
1108
|
-
/*@__PURE__*/
|
|
1108
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1109
1109
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1110
1110
|
name: Schema.optional(Schema.String),
|
|
1111
1111
|
opacity: Schema.optional(Schema.Number),
|
|
@@ -1118,7 +1118,7 @@ export const CreateWatermarkRequest =
|
|
|
1118
1118
|
path: "/accounts/{account_id}/stream/watermarks",
|
|
1119
1119
|
})));
|
|
1120
1120
|
export const CreateWatermarkResponse =
|
|
1121
|
-
/*@__PURE__*/
|
|
1121
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1122
1122
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1123
1123
|
downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1124
1124
|
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1131,13 +1131,13 @@ export const CreateWatermarkResponse =
|
|
|
1131
1131
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1132
1132
|
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1133
1133
|
}).pipe(T.ResponsePath("result")));
|
|
1134
|
-
export const createWatermark = /*@__PURE__*/
|
|
1134
|
+
export const createWatermark = /*@__PURE__*/ API.make(() => ({
|
|
1135
1135
|
input: CreateWatermarkRequest,
|
|
1136
1136
|
output: CreateWatermarkResponse,
|
|
1137
1137
|
errors: [WatermarkImageInvalid, Forbidden],
|
|
1138
1138
|
}));
|
|
1139
1139
|
export const DeleteWatermarkRequest =
|
|
1140
|
-
/*@__PURE__*/
|
|
1140
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1141
1141
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
1142
1142
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1143
1143
|
}).pipe(T.Http({
|
|
@@ -1145,47 +1145,47 @@ export const DeleteWatermarkRequest =
|
|
|
1145
1145
|
path: "/accounts/{account_id}/stream/watermarks/{identifier}",
|
|
1146
1146
|
})));
|
|
1147
1147
|
export const DeleteWatermarkResponse =
|
|
1148
|
-
/*@__PURE__*/
|
|
1149
|
-
export const deleteWatermark = /*@__PURE__*/
|
|
1148
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1149
|
+
export const deleteWatermark = /*@__PURE__*/ API.make(() => ({
|
|
1150
1150
|
input: DeleteWatermarkRequest,
|
|
1151
1151
|
output: DeleteWatermarkResponse,
|
|
1152
1152
|
errors: [WatermarkNotFound, Forbidden],
|
|
1153
1153
|
}));
|
|
1154
|
-
export const GetWebhookRequest = /*@__PURE__*/
|
|
1154
|
+
export const GetWebhookRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1155
1155
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1156
1156
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream/webhook" })));
|
|
1157
|
-
export const GetWebhookResponse = /*@__PURE__*/
|
|
1157
|
+
export const GetWebhookResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1158
1158
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1159
1159
|
notificationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1160
1160
|
secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1161
1161
|
}).pipe(T.ResponsePath("result")));
|
|
1162
|
-
export const getWebhook = /*@__PURE__*/
|
|
1162
|
+
export const getWebhook = /*@__PURE__*/ API.make(() => ({
|
|
1163
1163
|
input: GetWebhookRequest,
|
|
1164
1164
|
output: GetWebhookResponse,
|
|
1165
1165
|
errors: [WebhookNotFound, Forbidden],
|
|
1166
1166
|
}));
|
|
1167
|
-
export const PutWebhookRequest = /*@__PURE__*/
|
|
1167
|
+
export const PutWebhookRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1168
1168
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1169
1169
|
notificationUrl: Schema.optional(Schema.String),
|
|
1170
1170
|
}).pipe(T.Http({ method: "PUT", path: "/accounts/{account_id}/stream/webhook" })));
|
|
1171
|
-
export const PutWebhookResponse = /*@__PURE__*/
|
|
1171
|
+
export const PutWebhookResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1172
1172
|
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1173
1173
|
notificationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1174
1174
|
secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1175
1175
|
}).pipe(T.ResponsePath("result")));
|
|
1176
|
-
export const putWebhook = /*@__PURE__*/
|
|
1176
|
+
export const putWebhook = /*@__PURE__*/ API.make(() => ({
|
|
1177
1177
|
input: PutWebhookRequest,
|
|
1178
1178
|
output: PutWebhookResponse,
|
|
1179
1179
|
errors: [],
|
|
1180
1180
|
}));
|
|
1181
|
-
export const DeleteWebhookRequest = /*@__PURE__*/
|
|
1181
|
+
export const DeleteWebhookRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1182
1182
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1183
1183
|
}).pipe(T.Http({
|
|
1184
1184
|
method: "DELETE",
|
|
1185
1185
|
path: "/accounts/{account_id}/stream/webhook",
|
|
1186
1186
|
})));
|
|
1187
|
-
export const DeleteWebhookResponse = /*@__PURE__*/
|
|
1188
|
-
export const deleteWebhook = /*@__PURE__*/
|
|
1187
|
+
export const DeleteWebhookResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1188
|
+
export const deleteWebhook = /*@__PURE__*/ API.make(() => ({
|
|
1189
1189
|
input: DeleteWebhookRequest,
|
|
1190
1190
|
output: DeleteWebhookResponse,
|
|
1191
1191
|
errors: [WebhookNotFound, Forbidden],
|