@distilled.cloud/cloudflare 0.6.1 → 0.7.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/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- 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 +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
package/src/services/ssl.ts
CHANGED
|
@@ -105,7 +105,6 @@ export interface GetCertificatePackResponse {
|
|
|
105
105
|
hosts: string[];
|
|
106
106
|
/** Status of certificate pack. */
|
|
107
107
|
status:
|
|
108
|
-
| "active"
|
|
109
108
|
| "initializing"
|
|
110
109
|
| "pending_validation"
|
|
111
110
|
| "deleted"
|
|
@@ -114,6 +113,7 @@ export interface GetCertificatePackResponse {
|
|
|
114
113
|
| "pending_deletion"
|
|
115
114
|
| "pending_expiration"
|
|
116
115
|
| "expired"
|
|
116
|
+
| "active"
|
|
117
117
|
| "initializing_timed_out"
|
|
118
118
|
| "validation_timed_out"
|
|
119
119
|
| "issuance_timed_out"
|
|
@@ -210,7 +210,6 @@ export const GetCertificatePackResponse =
|
|
|
210
210
|
),
|
|
211
211
|
hosts: Schema.Array(Schema.String),
|
|
212
212
|
status: Schema.Literals([
|
|
213
|
-
"active",
|
|
214
213
|
"initializing",
|
|
215
214
|
"pending_validation",
|
|
216
215
|
"deleted",
|
|
@@ -219,6 +218,7 @@ export const GetCertificatePackResponse =
|
|
|
219
218
|
"pending_deletion",
|
|
220
219
|
"pending_expiration",
|
|
221
220
|
"expired",
|
|
221
|
+
"active",
|
|
222
222
|
"initializing_timed_out",
|
|
223
223
|
"validation_timed_out",
|
|
224
224
|
"issuance_timed_out",
|
|
@@ -374,7 +374,6 @@ export interface ListCertificatePacksResponse {
|
|
|
374
374
|
}[];
|
|
375
375
|
hosts: string[];
|
|
376
376
|
status:
|
|
377
|
-
| "active"
|
|
378
377
|
| "initializing"
|
|
379
378
|
| "pending_validation"
|
|
380
379
|
| "deleted"
|
|
@@ -383,6 +382,7 @@ export interface ListCertificatePacksResponse {
|
|
|
383
382
|
| "pending_deletion"
|
|
384
383
|
| "pending_expiration"
|
|
385
384
|
| "expired"
|
|
385
|
+
| "active"
|
|
386
386
|
| "initializing_timed_out"
|
|
387
387
|
| "validation_timed_out"
|
|
388
388
|
| "issuance_timed_out"
|
|
@@ -484,7 +484,6 @@ export const ListCertificatePacksResponse =
|
|
|
484
484
|
),
|
|
485
485
|
hosts: Schema.Array(Schema.String),
|
|
486
486
|
status: Schema.Literals([
|
|
487
|
-
"active",
|
|
488
487
|
"initializing",
|
|
489
488
|
"pending_validation",
|
|
490
489
|
"deleted",
|
|
@@ -493,6 +492,7 @@ export const ListCertificatePacksResponse =
|
|
|
493
492
|
"pending_deletion",
|
|
494
493
|
"pending_expiration",
|
|
495
494
|
"expired",
|
|
495
|
+
"active",
|
|
496
496
|
"initializing_timed_out",
|
|
497
497
|
"validation_timed_out",
|
|
498
498
|
"issuance_timed_out",
|
|
@@ -639,7 +639,6 @@ export const listCertificatePacks: API.PaginatedOperationMethod<
|
|
|
639
639
|
}[];
|
|
640
640
|
hosts: string[];
|
|
641
641
|
status:
|
|
642
|
-
| "active"
|
|
643
642
|
| "initializing"
|
|
644
643
|
| "pending_validation"
|
|
645
644
|
| "deleted"
|
|
@@ -648,6 +647,7 @@ export const listCertificatePacks: API.PaginatedOperationMethod<
|
|
|
648
647
|
| "pending_deletion"
|
|
649
648
|
| "pending_expiration"
|
|
650
649
|
| "expired"
|
|
650
|
+
| "active"
|
|
651
651
|
| "initializing_timed_out"
|
|
652
652
|
| "validation_timed_out"
|
|
653
653
|
| "issuance_timed_out"
|
|
@@ -767,7 +767,6 @@ export interface CreateCertificatePackResponse {
|
|
|
767
767
|
hosts: string[];
|
|
768
768
|
/** Status of certificate pack. */
|
|
769
769
|
status:
|
|
770
|
-
| "active"
|
|
771
770
|
| "initializing"
|
|
772
771
|
| "pending_validation"
|
|
773
772
|
| "deleted"
|
|
@@ -776,6 +775,7 @@ export interface CreateCertificatePackResponse {
|
|
|
776
775
|
| "pending_deletion"
|
|
777
776
|
| "pending_expiration"
|
|
778
777
|
| "expired"
|
|
778
|
+
| "active"
|
|
779
779
|
| "initializing_timed_out"
|
|
780
780
|
| "validation_timed_out"
|
|
781
781
|
| "issuance_timed_out"
|
|
@@ -872,7 +872,6 @@ export const CreateCertificatePackResponse =
|
|
|
872
872
|
),
|
|
873
873
|
hosts: Schema.Array(Schema.String),
|
|
874
874
|
status: Schema.Literals([
|
|
875
|
-
"active",
|
|
876
875
|
"initializing",
|
|
877
876
|
"pending_validation",
|
|
878
877
|
"deleted",
|
|
@@ -881,6 +880,7 @@ export const CreateCertificatePackResponse =
|
|
|
881
880
|
"pending_deletion",
|
|
882
881
|
"pending_expiration",
|
|
883
882
|
"expired",
|
|
883
|
+
"active",
|
|
884
884
|
"initializing_timed_out",
|
|
885
885
|
"validation_timed_out",
|
|
886
886
|
"issuance_timed_out",
|
|
@@ -1045,7 +1045,6 @@ export interface PatchCertificatePackResponse {
|
|
|
1045
1045
|
hosts: string[];
|
|
1046
1046
|
/** Status of certificate pack. */
|
|
1047
1047
|
status:
|
|
1048
|
-
| "active"
|
|
1049
1048
|
| "initializing"
|
|
1050
1049
|
| "pending_validation"
|
|
1051
1050
|
| "deleted"
|
|
@@ -1054,6 +1053,7 @@ export interface PatchCertificatePackResponse {
|
|
|
1054
1053
|
| "pending_deletion"
|
|
1055
1054
|
| "pending_expiration"
|
|
1056
1055
|
| "expired"
|
|
1056
|
+
| "active"
|
|
1057
1057
|
| "initializing_timed_out"
|
|
1058
1058
|
| "validation_timed_out"
|
|
1059
1059
|
| "issuance_timed_out"
|
|
@@ -1150,7 +1150,6 @@ export const PatchCertificatePackResponse =
|
|
|
1150
1150
|
),
|
|
1151
1151
|
hosts: Schema.Array(Schema.String),
|
|
1152
1152
|
status: Schema.Literals([
|
|
1153
|
-
"active",
|
|
1154
1153
|
"initializing",
|
|
1155
1154
|
"pending_validation",
|
|
1156
1155
|
"deleted",
|
|
@@ -1159,6 +1158,7 @@ export const PatchCertificatePackResponse =
|
|
|
1159
1158
|
"pending_deletion",
|
|
1160
1159
|
"pending_expiration",
|
|
1161
1160
|
"expired",
|
|
1161
|
+
"active",
|
|
1162
1162
|
"initializing_timed_out",
|
|
1163
1163
|
"validation_timed_out",
|
|
1164
1164
|
"issuance_timed_out",
|
|
@@ -1552,7 +1552,7 @@ export type GetVerificationResponse = {
|
|
|
1552
1552
|
brandCheck?: boolean | null;
|
|
1553
1553
|
certPackUuid?: string | null;
|
|
1554
1554
|
signature?: "ECDSAWithSHA256" | "SHA1WithRSA" | "SHA256WithRSA" | null;
|
|
1555
|
-
validationMethod?: "http" | "
|
|
1555
|
+
validationMethod?: "http" | "cname" | "txt" | null;
|
|
1556
1556
|
verificationInfo?: {
|
|
1557
1557
|
recordName?: "record_name" | "http_url" | "cname" | "txt_name" | null;
|
|
1558
1558
|
recordTarget?:
|
|
@@ -1586,7 +1586,7 @@ export const GetVerificationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
1586
1586
|
]),
|
|
1587
1587
|
),
|
|
1588
1588
|
validationMethod: Schema.optional(
|
|
1589
|
-
Schema.Union([Schema.Literals(["http", "
|
|
1589
|
+
Schema.Union([Schema.Literals(["http", "cname", "txt"]), Schema.Null]),
|
|
1590
1590
|
),
|
|
1591
1591
|
verificationInfo: Schema.optional(
|
|
1592
1592
|
Schema.Union([
|
package/src/services/stream.ts
CHANGED
|
@@ -362,10 +362,31 @@ export const GetCaptionLanguageRequest =
|
|
|
362
362
|
}),
|
|
363
363
|
) as unknown as Schema.Schema<GetCaptionLanguageRequest>;
|
|
364
364
|
|
|
365
|
-
export
|
|
365
|
+
export interface GetCaptionLanguageResponse {
|
|
366
|
+
/** Whether the caption was generated via AI. */
|
|
367
|
+
generated?: boolean | null;
|
|
368
|
+
/** The language label displayed in the native language to users. */
|
|
369
|
+
label?: string | null;
|
|
370
|
+
/** The language tag in BCP 47 format. */
|
|
371
|
+
language?: string | null;
|
|
372
|
+
/** The status of a generated caption. */
|
|
373
|
+
status?: "ready" | "inprogress" | "error" | null;
|
|
374
|
+
}
|
|
366
375
|
|
|
367
376
|
export const GetCaptionLanguageResponse =
|
|
368
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
377
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
378
|
+
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
379
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
380
|
+
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
381
|
+
status: Schema.optional(
|
|
382
|
+
Schema.Union([
|
|
383
|
+
Schema.Literals(["ready", "inprogress", "error"]),
|
|
384
|
+
Schema.Null,
|
|
385
|
+
]),
|
|
386
|
+
),
|
|
387
|
+
}).pipe(
|
|
388
|
+
T.ResponsePath("result"),
|
|
389
|
+
) as unknown as Schema.Schema<GetCaptionLanguageResponse>;
|
|
369
390
|
|
|
370
391
|
export type GetCaptionLanguageError = DefaultErrors;
|
|
371
392
|
|
|
@@ -399,10 +420,31 @@ export const CreateCaptionLanguageRequest =
|
|
|
399
420
|
}),
|
|
400
421
|
) as unknown as Schema.Schema<CreateCaptionLanguageRequest>;
|
|
401
422
|
|
|
402
|
-
export
|
|
423
|
+
export interface CreateCaptionLanguageResponse {
|
|
424
|
+
/** Whether the caption was generated via AI. */
|
|
425
|
+
generated?: boolean | null;
|
|
426
|
+
/** The language label displayed in the native language to users. */
|
|
427
|
+
label?: string | null;
|
|
428
|
+
/** The language tag in BCP 47 format. */
|
|
429
|
+
language?: string | null;
|
|
430
|
+
/** The status of a generated caption. */
|
|
431
|
+
status?: "ready" | "inprogress" | "error" | null;
|
|
432
|
+
}
|
|
403
433
|
|
|
404
434
|
export const CreateCaptionLanguageResponse =
|
|
405
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
435
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
436
|
+
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
437
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
438
|
+
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
439
|
+
status: Schema.optional(
|
|
440
|
+
Schema.Union([
|
|
441
|
+
Schema.Literals(["ready", "inprogress", "error"]),
|
|
442
|
+
Schema.Null,
|
|
443
|
+
]),
|
|
444
|
+
),
|
|
445
|
+
}).pipe(
|
|
446
|
+
T.ResponsePath("result"),
|
|
447
|
+
) as unknown as Schema.Schema<CreateCaptionLanguageResponse>;
|
|
406
448
|
|
|
407
449
|
export type CreateCaptionLanguageError = DefaultErrors;
|
|
408
450
|
|
|
@@ -440,10 +482,31 @@ export const UpdateCaptionLanguageRequest =
|
|
|
440
482
|
}),
|
|
441
483
|
) as unknown as Schema.Schema<UpdateCaptionLanguageRequest>;
|
|
442
484
|
|
|
443
|
-
export
|
|
485
|
+
export interface UpdateCaptionLanguageResponse {
|
|
486
|
+
/** Whether the caption was generated via AI. */
|
|
487
|
+
generated?: boolean | null;
|
|
488
|
+
/** The language label displayed in the native language to users. */
|
|
489
|
+
label?: string | null;
|
|
490
|
+
/** The language tag in BCP 47 format. */
|
|
491
|
+
language?: string | null;
|
|
492
|
+
/** The status of a generated caption. */
|
|
493
|
+
status?: "ready" | "inprogress" | "error" | null;
|
|
494
|
+
}
|
|
444
495
|
|
|
445
496
|
export const UpdateCaptionLanguageResponse =
|
|
446
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
497
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
498
|
+
generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
499
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
500
|
+
language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
501
|
+
status: Schema.optional(
|
|
502
|
+
Schema.Union([
|
|
503
|
+
Schema.Literals(["ready", "inprogress", "error"]),
|
|
504
|
+
Schema.Null,
|
|
505
|
+
]),
|
|
506
|
+
),
|
|
507
|
+
}).pipe(
|
|
508
|
+
T.ResponsePath("result"),
|
|
509
|
+
) as unknown as Schema.Schema<UpdateCaptionLanguageResponse>;
|
|
447
510
|
|
|
448
511
|
export type UpdateCaptionLanguageError = DefaultErrors;
|
|
449
512
|
|
|
@@ -520,10 +583,10 @@ export const GetCaptionLanguageVttRequest =
|
|
|
520
583
|
}),
|
|
521
584
|
) as unknown as Schema.Schema<GetCaptionLanguageVttRequest>;
|
|
522
585
|
|
|
523
|
-
export type GetCaptionLanguageVttResponse =
|
|
586
|
+
export type GetCaptionLanguageVttResponse = string;
|
|
524
587
|
|
|
525
588
|
export const GetCaptionLanguageVttResponse =
|
|
526
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
589
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String as unknown as Schema.Schema<GetCaptionLanguageVttResponse>;
|
|
527
590
|
|
|
528
591
|
export type GetCaptionLanguageVttError = DefaultErrors;
|
|
529
592
|
|
|
@@ -742,10 +805,178 @@ export const CreateCopyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
742
805
|
T.Http({ method: "POST", path: "/accounts/{account_id}/stream/copy" }),
|
|
743
806
|
) as unknown as Schema.Schema<CreateCopyRequest>;
|
|
744
807
|
|
|
745
|
-
export
|
|
808
|
+
export interface CreateCopyResponse {
|
|
809
|
+
/** Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
|
|
810
|
+
allowedOrigins?: string[] | null;
|
|
811
|
+
/** The date and time the media item was created. */
|
|
812
|
+
created?: string | null;
|
|
813
|
+
/** A user-defined identifier for the media creator. */
|
|
814
|
+
creator?: string | null;
|
|
815
|
+
/** The duration of the video in seconds. A value of `-1` means the duration is unknown. The duration becomes available after the upload and before the video is ready. */
|
|
816
|
+
duration?: number | null;
|
|
817
|
+
input?: { height?: number | null; width?: number | null } | null;
|
|
818
|
+
/** The live input ID used to upload a video with Stream Live. */
|
|
819
|
+
liveInput?: string | null;
|
|
820
|
+
/** The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A val */
|
|
821
|
+
maxDurationSeconds?: number | null;
|
|
822
|
+
/** A user modifiable key-value store used to reference other systems of record for managing videos. */
|
|
823
|
+
meta?: unknown | null;
|
|
824
|
+
/** The date and time the media item was last modified. */
|
|
825
|
+
modified?: string | null;
|
|
826
|
+
playback?: { dash?: string | null; hls?: string | null } | null;
|
|
827
|
+
/** The video's preview page URI. This field is omitted until encoding is complete. */
|
|
828
|
+
preview?: string | null;
|
|
829
|
+
/** Indicates whether the video is playable. The field is empty if the video is not ready for viewing or the live stream is still in progress. */
|
|
830
|
+
readyToStream?: boolean | null;
|
|
831
|
+
/** Indicates the time at which the video became playable. The field is empty if the video is not ready for viewing or the live stream is still in progress. */
|
|
832
|
+
readyToStreamAt?: string | null;
|
|
833
|
+
/** Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
|
|
834
|
+
requireSignedURLs?: boolean | null;
|
|
835
|
+
/** Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at */
|
|
836
|
+
scheduledDeletion?: string | null;
|
|
837
|
+
/** The size of the media item in bytes. */
|
|
838
|
+
size?: number | null;
|
|
839
|
+
/** Specifies a detailed status for a video. If the `state` is `inprogress` or `error`, the `step` field returns `encoding` or `manifest`. If the `state` is `inprogress`, `pctComplete` returns a number be */
|
|
840
|
+
status?: {
|
|
841
|
+
errorReasonCode?: string | null;
|
|
842
|
+
errorReasonText?: string | null;
|
|
843
|
+
pctComplete?: string | null;
|
|
844
|
+
state?:
|
|
845
|
+
| "pendingupload"
|
|
846
|
+
| "downloading"
|
|
847
|
+
| "queued"
|
|
848
|
+
| "inprogress"
|
|
849
|
+
| "ready"
|
|
850
|
+
| "error"
|
|
851
|
+
| "live-inprogress"
|
|
852
|
+
| null;
|
|
853
|
+
} | null;
|
|
854
|
+
/** The media item's thumbnail URI. This field is omitted until encoding is complete. */
|
|
855
|
+
thumbnail?: string | null;
|
|
856
|
+
/** The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duratio */
|
|
857
|
+
thumbnailTimestampPct?: number | null;
|
|
858
|
+
/** A Cloudflare-generated unique identifier for a media item. */
|
|
859
|
+
uid?: string | null;
|
|
860
|
+
/** The date and time the media item was uploaded. */
|
|
861
|
+
uploaded?: string | null;
|
|
862
|
+
/** The date and time when the video upload URL is no longer valid for direct user uploads. */
|
|
863
|
+
uploadExpiry?: string | null;
|
|
864
|
+
watermark?: {
|
|
865
|
+
created?: string | null;
|
|
866
|
+
downloadedFrom?: string | null;
|
|
867
|
+
height?: number | null;
|
|
868
|
+
name?: string | null;
|
|
869
|
+
opacity?: number | null;
|
|
870
|
+
padding?: number | null;
|
|
871
|
+
position?: string | null;
|
|
872
|
+
scale?: number | null;
|
|
873
|
+
size?: number | null;
|
|
874
|
+
uid?: string | null;
|
|
875
|
+
width?: number | null;
|
|
876
|
+
} | null;
|
|
877
|
+
}
|
|
746
878
|
|
|
747
|
-
export const CreateCopyResponse =
|
|
748
|
-
|
|
879
|
+
export const CreateCopyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
880
|
+
allowedOrigins: Schema.optional(
|
|
881
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
882
|
+
),
|
|
883
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
884
|
+
creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
885
|
+
duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
886
|
+
input: Schema.optional(
|
|
887
|
+
Schema.Union([
|
|
888
|
+
Schema.Struct({
|
|
889
|
+
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
890
|
+
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
891
|
+
}),
|
|
892
|
+
Schema.Null,
|
|
893
|
+
]),
|
|
894
|
+
),
|
|
895
|
+
liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
896
|
+
maxDurationSeconds: Schema.optional(
|
|
897
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
898
|
+
),
|
|
899
|
+
meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
900
|
+
modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
901
|
+
playback: Schema.optional(
|
|
902
|
+
Schema.Union([
|
|
903
|
+
Schema.Struct({
|
|
904
|
+
dash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
905
|
+
hls: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
906
|
+
}),
|
|
907
|
+
Schema.Null,
|
|
908
|
+
]),
|
|
909
|
+
),
|
|
910
|
+
preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
911
|
+
readyToStream: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
912
|
+
readyToStreamAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
913
|
+
requireSignedURLs: Schema.optional(
|
|
914
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
915
|
+
),
|
|
916
|
+
scheduledDeletion: Schema.optional(
|
|
917
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
918
|
+
),
|
|
919
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
920
|
+
status: Schema.optional(
|
|
921
|
+
Schema.Union([
|
|
922
|
+
Schema.Struct({
|
|
923
|
+
errorReasonCode: Schema.optional(
|
|
924
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
925
|
+
),
|
|
926
|
+
errorReasonText: Schema.optional(
|
|
927
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
928
|
+
),
|
|
929
|
+
pctComplete: Schema.optional(
|
|
930
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
931
|
+
),
|
|
932
|
+
state: Schema.optional(
|
|
933
|
+
Schema.Union([
|
|
934
|
+
Schema.Literals([
|
|
935
|
+
"pendingupload",
|
|
936
|
+
"downloading",
|
|
937
|
+
"queued",
|
|
938
|
+
"inprogress",
|
|
939
|
+
"ready",
|
|
940
|
+
"error",
|
|
941
|
+
"live-inprogress",
|
|
942
|
+
]),
|
|
943
|
+
Schema.Null,
|
|
944
|
+
]),
|
|
945
|
+
),
|
|
946
|
+
}),
|
|
947
|
+
Schema.Null,
|
|
948
|
+
]),
|
|
949
|
+
),
|
|
950
|
+
thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
951
|
+
thumbnailTimestampPct: Schema.optional(
|
|
952
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
953
|
+
),
|
|
954
|
+
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
955
|
+
uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
956
|
+
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
957
|
+
watermark: Schema.optional(
|
|
958
|
+
Schema.Union([
|
|
959
|
+
Schema.Struct({
|
|
960
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
961
|
+
downloadedFrom: Schema.optional(
|
|
962
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
963
|
+
),
|
|
964
|
+
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
965
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
966
|
+
opacity: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
967
|
+
padding: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
968
|
+
position: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
969
|
+
scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
970
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
971
|
+
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
972
|
+
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
973
|
+
}),
|
|
974
|
+
Schema.Null,
|
|
975
|
+
]),
|
|
976
|
+
),
|
|
977
|
+
}).pipe(
|
|
978
|
+
T.ResponsePath("result"),
|
|
979
|
+
) as unknown as Schema.Schema<CreateCopyResponse>;
|
|
749
980
|
|
|
750
981
|
export type CreateCopyError = DefaultErrors;
|
|
751
982
|
|
|
@@ -822,7 +1053,19 @@ export interface CreateDirectUploadResponse {
|
|
|
822
1053
|
uid?: string | null;
|
|
823
1054
|
/** The URL an unauthenticated upload can use for a single `HTTP POST multipart/form-data` request. */
|
|
824
1055
|
uploadURL?: string | null;
|
|
825
|
-
watermark?:
|
|
1056
|
+
watermark?: {
|
|
1057
|
+
created?: string | null;
|
|
1058
|
+
downloadedFrom?: string | null;
|
|
1059
|
+
height?: number | null;
|
|
1060
|
+
name?: string | null;
|
|
1061
|
+
opacity?: number | null;
|
|
1062
|
+
padding?: number | null;
|
|
1063
|
+
position?: string | null;
|
|
1064
|
+
scale?: number | null;
|
|
1065
|
+
size?: number | null;
|
|
1066
|
+
uid?: string | null;
|
|
1067
|
+
width?: number | null;
|
|
1068
|
+
} | null;
|
|
826
1069
|
}
|
|
827
1070
|
|
|
828
1071
|
export const CreateDirectUploadResponse =
|
|
@@ -832,7 +1075,26 @@ export const CreateDirectUploadResponse =
|
|
|
832
1075
|
),
|
|
833
1076
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
834
1077
|
uploadURL: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
835
|
-
watermark: Schema.optional(
|
|
1078
|
+
watermark: Schema.optional(
|
|
1079
|
+
Schema.Union([
|
|
1080
|
+
Schema.Struct({
|
|
1081
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1082
|
+
downloadedFrom: Schema.optional(
|
|
1083
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1084
|
+
),
|
|
1085
|
+
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1086
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1087
|
+
opacity: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1088
|
+
padding: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1089
|
+
position: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1090
|
+
scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1091
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1092
|
+
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1093
|
+
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1094
|
+
}),
|
|
1095
|
+
Schema.Null,
|
|
1096
|
+
]),
|
|
1097
|
+
),
|
|
836
1098
|
}).pipe(
|
|
837
1099
|
T.ResponsePath("result"),
|
|
838
1100
|
) as unknown as Schema.Schema<CreateDirectUploadResponse>;
|
|
@@ -1051,10 +1313,10 @@ export const GetEmbedRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1051
1313
|
}),
|
|
1052
1314
|
) as unknown as Schema.Schema<GetEmbedRequest>;
|
|
1053
1315
|
|
|
1054
|
-
export type GetEmbedResponse =
|
|
1316
|
+
export type GetEmbedResponse = string;
|
|
1055
1317
|
|
|
1056
1318
|
export const GetEmbedResponse =
|
|
1057
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1319
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String as unknown as Schema.Schema<GetEmbedResponse>;
|
|
1058
1320
|
|
|
1059
1321
|
export type GetEmbedError = DefaultErrors;
|
|
1060
1322
|
|
|
@@ -1843,7 +2105,19 @@ export interface GetStreamResponse {
|
|
|
1843
2105
|
uploaded?: string | null;
|
|
1844
2106
|
/** The date and time when the video upload URL is no longer valid for direct user uploads. */
|
|
1845
2107
|
uploadExpiry?: string | null;
|
|
1846
|
-
watermark?:
|
|
2108
|
+
watermark?: {
|
|
2109
|
+
created?: string | null;
|
|
2110
|
+
downloadedFrom?: string | null;
|
|
2111
|
+
height?: number | null;
|
|
2112
|
+
name?: string | null;
|
|
2113
|
+
opacity?: number | null;
|
|
2114
|
+
padding?: number | null;
|
|
2115
|
+
position?: string | null;
|
|
2116
|
+
scale?: number | null;
|
|
2117
|
+
size?: number | null;
|
|
2118
|
+
uid?: string | null;
|
|
2119
|
+
width?: number | null;
|
|
2120
|
+
} | null;
|
|
1847
2121
|
}
|
|
1848
2122
|
|
|
1849
2123
|
export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1924,7 +2198,26 @@ export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1924
2198
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1925
2199
|
uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1926
2200
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1927
|
-
watermark: Schema.optional(
|
|
2201
|
+
watermark: Schema.optional(
|
|
2202
|
+
Schema.Union([
|
|
2203
|
+
Schema.Struct({
|
|
2204
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2205
|
+
downloadedFrom: Schema.optional(
|
|
2206
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2207
|
+
),
|
|
2208
|
+
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2209
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2210
|
+
opacity: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2211
|
+
padding: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2212
|
+
position: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2213
|
+
scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2214
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2215
|
+
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2216
|
+
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2217
|
+
}),
|
|
2218
|
+
Schema.Null,
|
|
2219
|
+
]),
|
|
2220
|
+
),
|
|
1928
2221
|
}).pipe(
|
|
1929
2222
|
T.ResponsePath("result"),
|
|
1930
2223
|
) as unknown as Schema.Schema<GetStreamResponse>;
|
|
@@ -2036,7 +2329,19 @@ export interface ListStreamsResponse {
|
|
|
2036
2329
|
uid?: string | null;
|
|
2037
2330
|
uploaded?: string | null;
|
|
2038
2331
|
uploadExpiry?: string | null;
|
|
2039
|
-
watermark?:
|
|
2332
|
+
watermark?: {
|
|
2333
|
+
created?: string | null;
|
|
2334
|
+
downloadedFrom?: string | null;
|
|
2335
|
+
height?: number | null;
|
|
2336
|
+
name?: string | null;
|
|
2337
|
+
opacity?: number | null;
|
|
2338
|
+
padding?: number | null;
|
|
2339
|
+
position?: string | null;
|
|
2340
|
+
scale?: number | null;
|
|
2341
|
+
size?: number | null;
|
|
2342
|
+
uid?: string | null;
|
|
2343
|
+
width?: number | null;
|
|
2344
|
+
} | null;
|
|
2040
2345
|
}[];
|
|
2041
2346
|
}
|
|
2042
2347
|
|
|
@@ -2124,7 +2429,34 @@ export const ListStreamsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2124
2429
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2125
2430
|
uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2126
2431
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2127
|
-
watermark: Schema.optional(
|
|
2432
|
+
watermark: Schema.optional(
|
|
2433
|
+
Schema.Union([
|
|
2434
|
+
Schema.Struct({
|
|
2435
|
+
created: Schema.optional(
|
|
2436
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2437
|
+
),
|
|
2438
|
+
downloadedFrom: Schema.optional(
|
|
2439
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2440
|
+
),
|
|
2441
|
+
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2442
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2443
|
+
opacity: Schema.optional(
|
|
2444
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2445
|
+
),
|
|
2446
|
+
padding: Schema.optional(
|
|
2447
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2448
|
+
),
|
|
2449
|
+
position: Schema.optional(
|
|
2450
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2451
|
+
),
|
|
2452
|
+
scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2453
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2454
|
+
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2455
|
+
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2456
|
+
}),
|
|
2457
|
+
Schema.Null,
|
|
2458
|
+
]),
|
|
2459
|
+
),
|
|
2128
2460
|
}),
|
|
2129
2461
|
),
|
|
2130
2462
|
}) as unknown as Schema.Schema<ListStreamsResponse>;
|
|
@@ -2181,7 +2513,19 @@ export const listStreams: API.PaginatedOperationMethod<
|
|
|
2181
2513
|
uid?: string | null;
|
|
2182
2514
|
uploaded?: string | null;
|
|
2183
2515
|
uploadExpiry?: string | null;
|
|
2184
|
-
watermark?:
|
|
2516
|
+
watermark?: {
|
|
2517
|
+
created?: string | null;
|
|
2518
|
+
downloadedFrom?: string | null;
|
|
2519
|
+
height?: number | null;
|
|
2520
|
+
name?: string | null;
|
|
2521
|
+
opacity?: number | null;
|
|
2522
|
+
padding?: number | null;
|
|
2523
|
+
position?: string | null;
|
|
2524
|
+
scale?: number | null;
|
|
2525
|
+
size?: number | null;
|
|
2526
|
+
uid?: string | null;
|
|
2527
|
+
width?: number | null;
|
|
2528
|
+
} | null;
|
|
2185
2529
|
},
|
|
2186
2530
|
ListStreamsError,
|
|
2187
2531
|
Credentials | HttpClient.HttpClient
|
|
@@ -2377,7 +2721,19 @@ export interface EditStreamResponse {
|
|
|
2377
2721
|
uploaded?: string | null;
|
|
2378
2722
|
/** The date and time when the video upload URL is no longer valid for direct user uploads. */
|
|
2379
2723
|
uploadExpiry?: string | null;
|
|
2380
|
-
watermark?:
|
|
2724
|
+
watermark?: {
|
|
2725
|
+
created?: string | null;
|
|
2726
|
+
downloadedFrom?: string | null;
|
|
2727
|
+
height?: number | null;
|
|
2728
|
+
name?: string | null;
|
|
2729
|
+
opacity?: number | null;
|
|
2730
|
+
padding?: number | null;
|
|
2731
|
+
position?: string | null;
|
|
2732
|
+
scale?: number | null;
|
|
2733
|
+
size?: number | null;
|
|
2734
|
+
uid?: string | null;
|
|
2735
|
+
width?: number | null;
|
|
2736
|
+
} | null;
|
|
2381
2737
|
}
|
|
2382
2738
|
|
|
2383
2739
|
export const EditStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -2458,7 +2814,26 @@ export const EditStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2458
2814
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2459
2815
|
uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2460
2816
|
uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2461
|
-
watermark: Schema.optional(
|
|
2817
|
+
watermark: Schema.optional(
|
|
2818
|
+
Schema.Union([
|
|
2819
|
+
Schema.Struct({
|
|
2820
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2821
|
+
downloadedFrom: Schema.optional(
|
|
2822
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2823
|
+
),
|
|
2824
|
+
height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2825
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2826
|
+
opacity: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2827
|
+
padding: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2828
|
+
position: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2829
|
+
scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2830
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2831
|
+
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2832
|
+
width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2833
|
+
}),
|
|
2834
|
+
Schema.Null,
|
|
2835
|
+
]),
|
|
2836
|
+
),
|
|
2462
2837
|
}).pipe(
|
|
2463
2838
|
T.ResponsePath("result"),
|
|
2464
2839
|
) as unknown as Schema.Schema<EditStreamResponse>;
|