@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.
Files changed (261) hide show
  1. package/lib/services/accounts.d.ts +901 -36
  2. package/lib/services/accounts.d.ts.map +1 -1
  3. package/lib/services/accounts.js +1386 -32
  4. package/lib/services/accounts.js.map +1 -1
  5. package/lib/services/addressing.d.ts +8 -2
  6. package/lib/services/addressing.d.ts.map +1 -1
  7. package/lib/services/addressing.js +14 -2
  8. package/lib/services/addressing.js.map +1 -1
  9. package/lib/services/ai-gateway.d.ts.map +1 -1
  10. package/lib/services/ai-gateway.js +7 -7
  11. package/lib/services/ai-gateway.js.map +1 -1
  12. package/lib/services/aisearch.d.ts.map +1 -1
  13. package/lib/services/aisearch.js +24 -9
  14. package/lib/services/aisearch.js.map +1 -1
  15. package/lib/services/alerting.js +2 -2
  16. package/lib/services/alerting.js.map +1 -1
  17. package/lib/services/api-gateway.d.ts +114 -16
  18. package/lib/services/api-gateway.d.ts.map +1 -1
  19. package/lib/services/api-gateway.js +187 -15
  20. package/lib/services/api-gateway.js.map +1 -1
  21. package/lib/services/audit-logs.d.ts +63 -3
  22. package/lib/services/audit-logs.d.ts.map +1 -1
  23. package/lib/services/audit-logs.js +62 -3
  24. package/lib/services/audit-logs.js.map +1 -1
  25. package/lib/services/bot-management.d.ts +54 -8
  26. package/lib/services/bot-management.d.ts.map +1 -1
  27. package/lib/services/bot-management.js +128 -16
  28. package/lib/services/bot-management.js.map +1 -1
  29. package/lib/services/brand-protection.d.ts.map +1 -1
  30. package/lib/services/brand-protection.js +26 -8
  31. package/lib/services/brand-protection.js.map +1 -1
  32. package/lib/services/browser-rendering.d.ts.map +1 -1
  33. package/lib/services/browser-rendering.js +13 -10
  34. package/lib/services/browser-rendering.js.map +1 -1
  35. package/lib/services/cloudforce-one.d.ts +61 -6
  36. package/lib/services/cloudforce-one.d.ts.map +1 -1
  37. package/lib/services/cloudforce-one.js +107 -6
  38. package/lib/services/cloudforce-one.js.map +1 -1
  39. package/lib/services/custom-certificates.d.ts +145 -8
  40. package/lib/services/custom-certificates.d.ts.map +1 -1
  41. package/lib/services/custom-certificates.js +226 -7
  42. package/lib/services/custom-certificates.js.map +1 -1
  43. package/lib/services/custom-hostnames.d.ts +8 -8
  44. package/lib/services/custom-hostnames.d.ts.map +1 -1
  45. package/lib/services/custom-hostnames.js +17 -14
  46. package/lib/services/custom-hostnames.js.map +1 -1
  47. package/lib/services/d1.d.ts +68 -8
  48. package/lib/services/d1.d.ts.map +1 -1
  49. package/lib/services/d1.js +96 -8
  50. package/lib/services/d1.js.map +1 -1
  51. package/lib/services/dns-firewall.d.ts +57 -4
  52. package/lib/services/dns-firewall.d.ts.map +1 -1
  53. package/lib/services/dns-firewall.js +86 -5
  54. package/lib/services/dns-firewall.js.map +1 -1
  55. package/lib/services/dns.d.ts +85 -745
  56. package/lib/services/dns.d.ts.map +1 -1
  57. package/lib/services/dns.js +118 -1424
  58. package/lib/services/dns.js.map +1 -1
  59. package/lib/services/email-routing.d.ts +59 -7
  60. package/lib/services/email-routing.d.ts.map +1 -1
  61. package/lib/services/email-routing.js +165 -7
  62. package/lib/services/email-routing.js.map +1 -1
  63. package/lib/services/firewall.d.ts +228 -39
  64. package/lib/services/firewall.d.ts.map +1 -1
  65. package/lib/services/firewall.js +220 -33
  66. package/lib/services/firewall.js.map +1 -1
  67. package/lib/services/healthchecks.d.ts +112 -6
  68. package/lib/services/healthchecks.d.ts.map +1 -1
  69. package/lib/services/healthchecks.js +248 -14
  70. package/lib/services/healthchecks.js.map +1 -1
  71. package/lib/services/hostnames.d.ts +5 -5
  72. package/lib/services/hostnames.d.ts.map +1 -1
  73. package/lib/services/hostnames.js +16 -4
  74. package/lib/services/hostnames.js.map +1 -1
  75. package/lib/services/hyperdrive.d.ts +223 -11
  76. package/lib/services/hyperdrive.d.ts.map +1 -1
  77. package/lib/services/hyperdrive.js +351 -11
  78. package/lib/services/hyperdrive.js.map +1 -1
  79. package/lib/services/iam.d.ts +62 -2
  80. package/lib/services/iam.d.ts.map +1 -1
  81. package/lib/services/iam.js +82 -11
  82. package/lib/services/iam.js.map +1 -1
  83. package/lib/services/images.d.ts +9 -1
  84. package/lib/services/images.d.ts.map +1 -1
  85. package/lib/services/images.js +12 -1
  86. package/lib/services/images.js.map +1 -1
  87. package/lib/services/intel.d.ts +4 -4
  88. package/lib/services/intel.d.ts.map +1 -1
  89. package/lib/services/intel.js +2 -3
  90. package/lib/services/intel.js.map +1 -1
  91. package/lib/services/kv.d.ts.map +1 -1
  92. package/lib/services/kv.js +2 -2
  93. package/lib/services/kv.js.map +1 -1
  94. package/lib/services/load-balancers.d.ts +537 -108
  95. package/lib/services/load-balancers.d.ts.map +1 -1
  96. package/lib/services/load-balancers.js +1266 -161
  97. package/lib/services/load-balancers.js.map +1 -1
  98. package/lib/services/logpush.d.ts +153 -9
  99. package/lib/services/logpush.d.ts.map +1 -1
  100. package/lib/services/logpush.js +246 -9
  101. package/lib/services/logpush.js.map +1 -1
  102. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  103. package/lib/services/magic-cloud-networking.js +54 -30
  104. package/lib/services/magic-cloud-networking.js.map +1 -1
  105. package/lib/services/magic-network-monitoring.d.ts +46 -5
  106. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  107. package/lib/services/magic-network-monitoring.js +79 -5
  108. package/lib/services/magic-network-monitoring.js.map +1 -1
  109. package/lib/services/magic-transit.d.ts +127 -21
  110. package/lib/services/magic-transit.d.ts.map +1 -1
  111. package/lib/services/magic-transit.js +291 -29
  112. package/lib/services/magic-transit.js.map +1 -1
  113. package/lib/services/memberships.d.ts +248 -52
  114. package/lib/services/memberships.d.ts.map +1 -1
  115. package/lib/services/memberships.js +360 -39
  116. package/lib/services/memberships.js.map +1 -1
  117. package/lib/services/page-rules.d.ts +432 -8
  118. package/lib/services/page-rules.d.ts.map +1 -1
  119. package/lib/services/page-rules.js +877 -33
  120. package/lib/services/page-rules.js.map +1 -1
  121. package/lib/services/pages.d.ts +457 -297
  122. package/lib/services/pages.d.ts.map +1 -1
  123. package/lib/services/pages.js +1366 -491
  124. package/lib/services/pages.js.map +1 -1
  125. package/lib/services/pipelines.d.ts +96 -76
  126. package/lib/services/pipelines.d.ts.map +1 -1
  127. package/lib/services/pipelines.js +145 -197
  128. package/lib/services/pipelines.js.map +1 -1
  129. package/lib/services/queues.d.ts +228 -12
  130. package/lib/services/queues.d.ts.map +1 -1
  131. package/lib/services/queues.js +487 -11
  132. package/lib/services/queues.js.map +1 -1
  133. package/lib/services/radar.d.ts +82 -18
  134. package/lib/services/radar.d.ts.map +1 -1
  135. package/lib/services/radar.js +111 -47
  136. package/lib/services/radar.js.map +1 -1
  137. package/lib/services/realtime-kit.d.ts +650 -334
  138. package/lib/services/realtime-kit.d.ts.map +1 -1
  139. package/lib/services/realtime-kit.js +1472 -693
  140. package/lib/services/realtime-kit.js.map +1 -1
  141. package/lib/services/request-tracers.d.ts +12 -1
  142. package/lib/services/request-tracers.d.ts.map +1 -1
  143. package/lib/services/request-tracers.js +28 -3
  144. package/lib/services/request-tracers.js.map +1 -1
  145. package/lib/services/rules.d.ts +65 -10
  146. package/lib/services/rules.d.ts.map +1 -1
  147. package/lib/services/rules.js +102 -8
  148. package/lib/services/rules.js.map +1 -1
  149. package/lib/services/rulesets.d.ts +7892 -1806
  150. package/lib/services/rulesets.d.ts.map +1 -1
  151. package/lib/services/rulesets.js +18720 -4149
  152. package/lib/services/rulesets.js.map +1 -1
  153. package/lib/services/rum.d.ts +45 -5
  154. package/lib/services/rum.d.ts.map +1 -1
  155. package/lib/services/rum.js +80 -4
  156. package/lib/services/rum.js.map +1 -1
  157. package/lib/services/schema-validation.js +2 -2
  158. package/lib/services/schema-validation.js.map +1 -1
  159. package/lib/services/spectrum.d.ts +139 -33
  160. package/lib/services/spectrum.d.ts.map +1 -1
  161. package/lib/services/spectrum.js +190 -34
  162. package/lib/services/spectrum.js.map +1 -1
  163. package/lib/services/speed.d.ts +345 -24
  164. package/lib/services/speed.d.ts.map +1 -1
  165. package/lib/services/speed.js +785 -19
  166. package/lib/services/speed.js.map +1 -1
  167. package/lib/services/ssl.d.ts +6 -6
  168. package/lib/services/ssl.d.ts.map +1 -1
  169. package/lib/services/ssl.js +5 -5
  170. package/lib/services/ssl.js.map +1 -1
  171. package/lib/services/stream.d.ts +171 -17
  172. package/lib/services/stream.d.ts.map +1 -1
  173. package/lib/services/stream.js +164 -11
  174. package/lib/services/stream.js.map +1 -1
  175. package/lib/services/token-validation.d.ts +16 -2
  176. package/lib/services/token-validation.d.ts.map +1 -1
  177. package/lib/services/token-validation.js +32 -2
  178. package/lib/services/token-validation.js.map +1 -1
  179. package/lib/services/url-scanner.d.ts +43 -11
  180. package/lib/services/url-scanner.d.ts.map +1 -1
  181. package/lib/services/url-scanner.js +46 -11
  182. package/lib/services/url-scanner.js.map +1 -1
  183. package/lib/services/user.d.ts +312 -21
  184. package/lib/services/user.d.ts.map +1 -1
  185. package/lib/services/user.js +442 -19
  186. package/lib/services/user.js.map +1 -1
  187. package/lib/services/workers-for-platforms.d.ts +223 -13
  188. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  189. package/lib/services/workers-for-platforms.js +481 -13
  190. package/lib/services/workers-for-platforms.js.map +1 -1
  191. package/lib/services/workers.d.ts +345 -31
  192. package/lib/services/workers.d.ts.map +1 -1
  193. package/lib/services/workers.js +649 -34
  194. package/lib/services/workers.js.map +1 -1
  195. package/lib/services/zaraz.d.ts +212 -11
  196. package/lib/services/zaraz.d.ts.map +1 -1
  197. package/lib/services/zaraz.js +311 -30
  198. package/lib/services/zaraz.js.map +1 -1
  199. package/lib/services/zero-trust.d.ts +19333 -1905
  200. package/lib/services/zero-trust.d.ts.map +1 -1
  201. package/lib/services/zero-trust.js +30269 -5710
  202. package/lib/services/zero-trust.js.map +1 -1
  203. package/lib/services/zones.d.ts +61 -7
  204. package/lib/services/zones.d.ts.map +1 -1
  205. package/lib/services/zones.js +188 -7
  206. package/lib/services/zones.js.map +1 -1
  207. package/package.json +2 -2
  208. package/src/services/accounts.ts +2897 -63
  209. package/src/services/addressing.ts +28 -4
  210. package/src/services/ai-gateway.ts +9 -7
  211. package/src/services/aisearch.ts +28 -9
  212. package/src/services/alerting.ts +2 -2
  213. package/src/services/api-gateway.ts +410 -27
  214. package/src/services/audit-logs.ts +135 -5
  215. package/src/services/bot-management.ts +282 -24
  216. package/src/services/brand-protection.ts +28 -8
  217. package/src/services/browser-rendering.ts +31 -11
  218. package/src/services/cloudforce-one.ts +201 -9
  219. package/src/services/custom-certificates.ts +405 -14
  220. package/src/services/custom-hostnames.ts +29 -22
  221. package/src/services/d1.ts +180 -12
  222. package/src/services/dns-firewall.ts +163 -7
  223. package/src/services/dns.ts +213 -2389
  224. package/src/services/email-routing.ts +346 -12
  225. package/src/services/firewall.ts +556 -72
  226. package/src/services/healthchecks.ts +463 -18
  227. package/src/services/hostnames.ts +21 -9
  228. package/src/services/hyperdrive.ts +730 -17
  229. package/src/services/iam.ts +228 -24
  230. package/src/services/images.ts +29 -2
  231. package/src/services/intel.ts +6 -5
  232. package/src/services/kv.ts +6 -2
  233. package/src/services/load-balancers.ts +2387 -294
  234. package/src/services/logpush.ts +659 -15
  235. package/src/services/magic-cloud-networking.ts +74 -30
  236. package/src/services/magic-network-monitoring.ts +170 -8
  237. package/src/services/magic-transit.ts +631 -62
  238. package/src/services/memberships.ts +710 -91
  239. package/src/services/page-rules.ts +1592 -88
  240. package/src/services/pages.ts +2011 -1098
  241. package/src/services/pipelines.ts +285 -331
  242. package/src/services/queues.ts +1110 -22
  243. package/src/services/radar.ts +128 -64
  244. package/src/services/realtime-kit.ts +2829 -1603
  245. package/src/services/request-tracers.ts +54 -4
  246. package/src/services/rules.ts +214 -18
  247. package/src/services/rulesets.ts +34524 -6913
  248. package/src/services/rum.ts +187 -9
  249. package/src/services/schema-validation.ts +2 -2
  250. package/src/services/spectrum.ts +357 -67
  251. package/src/services/speed.ts +1845 -42
  252. package/src/services/ssl.ts +11 -11
  253. package/src/services/stream.ts +397 -22
  254. package/src/services/token-validation.ts +64 -4
  255. package/src/services/url-scanner.ts +92 -20
  256. package/src/services/user.ts +973 -34
  257. package/src/services/workers-for-platforms.ts +1012 -39
  258. package/src/services/workers.ts +1472 -120
  259. package/src/services/zaraz.ts +640 -37
  260. package/src/services/zero-trust.ts +55498 -12667
  261. package/src/services/zones.ts +360 -14
@@ -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" | "txt" | "cname" | null;
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", "txt", "cname"]), Schema.Null]),
1589
+ Schema.Union([Schema.Literals(["http", "cname", "txt"]), Schema.Null]),
1590
1590
  ),
1591
1591
  verificationInfo: Schema.optional(
1592
1592
  Schema.Union([
@@ -362,10 +362,31 @@ export const GetCaptionLanguageRequest =
362
362
  }),
363
363
  ) as unknown as Schema.Schema<GetCaptionLanguageRequest>;
364
364
 
365
- export type GetCaptionLanguageResponse = unknown;
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.Unknown as unknown as Schema.Schema<GetCaptionLanguageResponse>;
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 type CreateCaptionLanguageResponse = unknown;
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.Unknown as unknown as Schema.Schema<CreateCaptionLanguageResponse>;
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 type UpdateCaptionLanguageResponse = unknown;
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.Unknown as unknown as Schema.Schema<UpdateCaptionLanguageResponse>;
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 = unknown;
586
+ export type GetCaptionLanguageVttResponse = string;
524
587
 
525
588
  export const GetCaptionLanguageVttResponse =
526
- /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown as unknown as Schema.Schema<GetCaptionLanguageVttResponse>;
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 type CreateCopyResponse = unknown;
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
- /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown as unknown as Schema.Schema<CreateCopyResponse>;
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?: unknown | null;
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(Schema.Union([Schema.Unknown, Schema.Null])),
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 = unknown;
1316
+ export type GetEmbedResponse = string;
1055
1317
 
1056
1318
  export const GetEmbedResponse =
1057
- /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown as unknown as Schema.Schema<GetEmbedResponse>;
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?: unknown | null;
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(Schema.Union([Schema.Unknown, Schema.Null])),
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?: unknown | null;
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(Schema.Union([Schema.Unknown, Schema.Null])),
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?: unknown | null;
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?: unknown | null;
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(Schema.Union([Schema.Unknown, Schema.Null])),
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>;