@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
@@ -90,12 +90,8 @@ export interface GetPipelineResponse {
90
90
  /** Specifies the pipeline identifier. */
91
91
  id: string;
92
92
  destination: {
93
- batch: {
94
- maxBytes?: number | null;
95
- maxDurationS?: number | null;
96
- maxRows?: number | null;
97
- };
98
- compression: { type?: "none" | "gzip" | "deflate" | null };
93
+ batch: { maxBytes: number; maxDurationS: number; maxRows: number };
94
+ compression: { type: "none" | "gzip" | "deflate" };
99
95
  format: "json";
100
96
  path: {
101
97
  bucket: string;
@@ -126,9 +122,9 @@ export const GetPipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
126
122
  id: Schema.String,
127
123
  destination: Schema.Struct({
128
124
  batch: Schema.Struct({
129
- maxBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
130
- maxDurationS: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
131
- maxRows: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
125
+ maxBytes: Schema.Number,
126
+ maxDurationS: Schema.Number,
127
+ maxRows: Schema.Number,
132
128
  }).pipe(
133
129
  Schema.encodeKeys({
134
130
  maxBytes: "max_bytes",
@@ -137,12 +133,7 @@ export const GetPipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
137
133
  }),
138
134
  ),
139
135
  compression: Schema.Struct({
140
- type: Schema.optional(
141
- Schema.Union([
142
- Schema.Literals(["none", "gzip", "deflate"]),
143
- Schema.Null,
144
- ]),
145
- ),
136
+ type: Schema.Literals(["none", "gzip", "deflate"]),
146
137
  }),
147
138
  format: Schema.Literal("json"),
148
139
  path: Schema.Struct({
@@ -228,12 +219,8 @@ export interface ListPipelinesResponse {
228
219
  results: {
229
220
  id: string;
230
221
  destination: {
231
- batch: {
232
- maxBytes?: number | null;
233
- maxDurationS?: number | null;
234
- maxRows?: number | null;
235
- };
236
- compression: { type?: "none" | "gzip" | "deflate" | null };
222
+ batch: { maxBytes: number; maxDurationS: number; maxRows: number };
223
+ compression: { type: "none" | "gzip" | "deflate" };
237
224
  format: "json";
238
225
  path: {
239
226
  bucket: string;
@@ -284,11 +271,9 @@ export const ListPipelinesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
284
271
  id: Schema.String,
285
272
  destination: Schema.Struct({
286
273
  batch: Schema.Struct({
287
- maxBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
288
- maxDurationS: Schema.optional(
289
- Schema.Union([Schema.Number, Schema.Null]),
290
- ),
291
- maxRows: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
274
+ maxBytes: Schema.Number,
275
+ maxDurationS: Schema.Number,
276
+ maxRows: Schema.Number,
292
277
  }).pipe(
293
278
  Schema.encodeKeys({
294
279
  maxBytes: "max_bytes",
@@ -297,12 +282,7 @@ export const ListPipelinesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
297
282
  }),
298
283
  ),
299
284
  compression: Schema.Struct({
300
- type: Schema.optional(
301
- Schema.Union([
302
- Schema.Literals(["none", "gzip", "deflate"]),
303
- Schema.Null,
304
- ]),
305
- ),
285
+ type: Schema.Literals(["none", "gzip", "deflate"]),
306
286
  }),
307
287
  format: Schema.Literal("json"),
308
288
  path: Schema.Struct({
@@ -464,12 +444,8 @@ export interface CreatePipelineResponse {
464
444
  /** Specifies the pipeline identifier. */
465
445
  id: string;
466
446
  destination: {
467
- batch: {
468
- maxBytes?: number | null;
469
- maxDurationS?: number | null;
470
- maxRows?: number | null;
471
- };
472
- compression: { type?: "none" | "gzip" | "deflate" | null };
447
+ batch: { maxBytes: number; maxDurationS: number; maxRows: number };
448
+ compression: { type: "none" | "gzip" | "deflate" };
473
449
  format: "json";
474
450
  path: {
475
451
  bucket: string;
@@ -501,11 +477,9 @@ export const CreatePipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
501
477
  id: Schema.String,
502
478
  destination: Schema.Struct({
503
479
  batch: Schema.Struct({
504
- maxBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
505
- maxDurationS: Schema.optional(
506
- Schema.Union([Schema.Number, Schema.Null]),
507
- ),
508
- maxRows: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
480
+ maxBytes: Schema.Number,
481
+ maxDurationS: Schema.Number,
482
+ maxRows: Schema.Number,
509
483
  }).pipe(
510
484
  Schema.encodeKeys({
511
485
  maxBytes: "max_bytes",
@@ -514,12 +488,7 @@ export const CreatePipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
514
488
  }),
515
489
  ),
516
490
  compression: Schema.Struct({
517
- type: Schema.optional(
518
- Schema.Union([
519
- Schema.Literals(["none", "gzip", "deflate"]),
520
- Schema.Null,
521
- ]),
522
- ),
491
+ type: Schema.Literals(["none", "gzip", "deflate"]),
523
492
  }),
524
493
  format: Schema.Literal("json"),
525
494
  path: Schema.Struct({
@@ -682,12 +651,8 @@ export interface UpdatePipelineResponse {
682
651
  /** Specifies the pipeline identifier. */
683
652
  id: string;
684
653
  destination: {
685
- batch: {
686
- maxBytes?: number | null;
687
- maxDurationS?: number | null;
688
- maxRows?: number | null;
689
- };
690
- compression: { type?: "none" | "gzip" | "deflate" | null };
654
+ batch: { maxBytes: number; maxDurationS: number; maxRows: number };
655
+ compression: { type: "none" | "gzip" | "deflate" };
691
656
  format: "json";
692
657
  path: {
693
658
  bucket: string;
@@ -719,11 +684,9 @@ export const UpdatePipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
719
684
  id: Schema.String,
720
685
  destination: Schema.Struct({
721
686
  batch: Schema.Struct({
722
- maxBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
723
- maxDurationS: Schema.optional(
724
- Schema.Union([Schema.Number, Schema.Null]),
725
- ),
726
- maxRows: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
687
+ maxBytes: Schema.Number,
688
+ maxDurationS: Schema.Number,
689
+ maxRows: Schema.Number,
727
690
  }).pipe(
728
691
  Schema.encodeKeys({
729
692
  maxBytes: "max_bytes",
@@ -732,12 +695,7 @@ export const UpdatePipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
732
695
  }),
733
696
  ),
734
697
  compression: Schema.Struct({
735
- type: Schema.optional(
736
- Schema.Union([
737
- Schema.Literals(["none", "gzip", "deflate"]),
738
- Schema.Null,
739
- ]),
740
- ),
698
+ type: Schema.Literals(["none", "gzip", "deflate"]),
741
699
  }),
742
700
  format: Schema.Literal("json"),
743
701
  path: Schema.Struct({
@@ -976,9 +934,10 @@ export interface GetSinkResponse {
976
934
  }
977
935
  | {
978
936
  type: "json";
979
- decimalEncoding?: "number" | "string" | "bytes" | null;
980
- timestampFormat?: "rfc3339" | "unix_millis" | null;
981
- unstructured?: boolean | null;
937
+ metadataKey?: string | null;
938
+ name?: string | null;
939
+ required?: boolean | null;
940
+ sqlName?: string | null;
982
941
  }
983
942
  | unknown
984
943
  )[]
@@ -986,9 +945,10 @@ export interface GetSinkResponse {
986
945
  format?:
987
946
  | {
988
947
  type: "json";
989
- decimalEncoding?: "number" | "string" | "bytes" | null;
990
- timestampFormat?: "rfc3339" | "unix_millis" | null;
991
- unstructured?: boolean | null;
948
+ metadataKey?: string | null;
949
+ name?: string | null;
950
+ required?: boolean | null;
951
+ sqlName?: string | null;
992
952
  }
993
953
  | {
994
954
  type: "parquet";
@@ -1399,27 +1359,25 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1399
1359
  ),
1400
1360
  Schema.Struct({
1401
1361
  type: Schema.Literal("json"),
1402
- decimalEncoding: Schema.optional(
1403
- Schema.Union([
1404
- Schema.Literals(["number", "string", "bytes"]),
1405
- Schema.Null,
1406
- ]),
1362
+ metadataKey: Schema.optional(
1363
+ Schema.Union([Schema.String, Schema.Null]),
1407
1364
  ),
1408
- timestampFormat: Schema.optional(
1409
- Schema.Union([
1410
- Schema.Literals(["rfc3339", "unix_millis"]),
1411
- Schema.Null,
1412
- ]),
1365
+ name: Schema.optional(
1366
+ Schema.Union([Schema.String, Schema.Null]),
1413
1367
  ),
1414
- unstructured: Schema.optional(
1368
+ required: Schema.optional(
1415
1369
  Schema.Union([Schema.Boolean, Schema.Null]),
1416
1370
  ),
1371
+ sqlName: Schema.optional(
1372
+ Schema.Union([Schema.String, Schema.Null]),
1373
+ ),
1417
1374
  }).pipe(
1418
1375
  Schema.encodeKeys({
1419
1376
  type: "type",
1420
- decimalEncoding: "decimal_encoding",
1421
- timestampFormat: "timestamp_format",
1422
- unstructured: "unstructured",
1377
+ metadataKey: "metadata_key",
1378
+ name: "name",
1379
+ required: "required",
1380
+ sqlName: "sql_name",
1423
1381
  }),
1424
1382
  ),
1425
1383
  Schema.Unknown,
@@ -1433,27 +1391,25 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1433
1391
  Schema.Union([
1434
1392
  Schema.Struct({
1435
1393
  type: Schema.Literal("json"),
1436
- decimalEncoding: Schema.optional(
1437
- Schema.Union([
1438
- Schema.Literals(["number", "string", "bytes"]),
1439
- Schema.Null,
1440
- ]),
1394
+ metadataKey: Schema.optional(
1395
+ Schema.Union([Schema.String, Schema.Null]),
1441
1396
  ),
1442
- timestampFormat: Schema.optional(
1443
- Schema.Union([
1444
- Schema.Literals(["rfc3339", "unix_millis"]),
1445
- Schema.Null,
1446
- ]),
1397
+ name: Schema.optional(
1398
+ Schema.Union([Schema.String, Schema.Null]),
1447
1399
  ),
1448
- unstructured: Schema.optional(
1400
+ required: Schema.optional(
1449
1401
  Schema.Union([Schema.Boolean, Schema.Null]),
1450
1402
  ),
1403
+ sqlName: Schema.optional(
1404
+ Schema.Union([Schema.String, Schema.Null]),
1405
+ ),
1451
1406
  }).pipe(
1452
1407
  Schema.encodeKeys({
1453
1408
  type: "type",
1454
- decimalEncoding: "decimal_encoding",
1455
- timestampFormat: "timestamp_format",
1456
- unstructured: "unstructured",
1409
+ metadataKey: "metadata_key",
1410
+ name: "name",
1411
+ required: "required",
1412
+ sqlName: "sql_name",
1457
1413
  }),
1458
1414
  ),
1459
1415
  Schema.Struct({
@@ -1656,9 +1612,10 @@ export interface ListSinksResponse {
1656
1612
  }
1657
1613
  | {
1658
1614
  type: "json";
1659
- decimalEncoding?: "number" | "string" | "bytes" | null;
1660
- timestampFormat?: "rfc3339" | "unix_millis" | null;
1661
- unstructured?: boolean | null;
1615
+ metadataKey?: string | null;
1616
+ name?: string | null;
1617
+ required?: boolean | null;
1618
+ sqlName?: string | null;
1662
1619
  }
1663
1620
  | unknown
1664
1621
  )[]
@@ -1666,9 +1623,10 @@ export interface ListSinksResponse {
1666
1623
  format?:
1667
1624
  | {
1668
1625
  type: "json";
1669
- decimalEncoding?: "number" | "string" | "bytes" | null;
1670
- timestampFormat?: "rfc3339" | "unix_millis" | null;
1671
- unstructured?: boolean | null;
1626
+ metadataKey?: string | null;
1627
+ name?: string | null;
1628
+ required?: boolean | null;
1629
+ sqlName?: string | null;
1672
1630
  }
1673
1631
  | {
1674
1632
  type: "parquet";
@@ -2088,27 +2046,25 @@ export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2088
2046
  ),
2089
2047
  Schema.Struct({
2090
2048
  type: Schema.Literal("json"),
2091
- decimalEncoding: Schema.optional(
2092
- Schema.Union([
2093
- Schema.Literals(["number", "string", "bytes"]),
2094
- Schema.Null,
2095
- ]),
2049
+ metadataKey: Schema.optional(
2050
+ Schema.Union([Schema.String, Schema.Null]),
2096
2051
  ),
2097
- timestampFormat: Schema.optional(
2098
- Schema.Union([
2099
- Schema.Literals(["rfc3339", "unix_millis"]),
2100
- Schema.Null,
2101
- ]),
2052
+ name: Schema.optional(
2053
+ Schema.Union([Schema.String, Schema.Null]),
2102
2054
  ),
2103
- unstructured: Schema.optional(
2055
+ required: Schema.optional(
2104
2056
  Schema.Union([Schema.Boolean, Schema.Null]),
2105
2057
  ),
2058
+ sqlName: Schema.optional(
2059
+ Schema.Union([Schema.String, Schema.Null]),
2060
+ ),
2106
2061
  }).pipe(
2107
2062
  Schema.encodeKeys({
2108
2063
  type: "type",
2109
- decimalEncoding: "decimal_encoding",
2110
- timestampFormat: "timestamp_format",
2111
- unstructured: "unstructured",
2064
+ metadataKey: "metadata_key",
2065
+ name: "name",
2066
+ required: "required",
2067
+ sqlName: "sql_name",
2112
2068
  }),
2113
2069
  ),
2114
2070
  Schema.Unknown,
@@ -2122,27 +2078,25 @@ export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2122
2078
  Schema.Union([
2123
2079
  Schema.Struct({
2124
2080
  type: Schema.Literal("json"),
2125
- decimalEncoding: Schema.optional(
2126
- Schema.Union([
2127
- Schema.Literals(["number", "string", "bytes"]),
2128
- Schema.Null,
2129
- ]),
2081
+ metadataKey: Schema.optional(
2082
+ Schema.Union([Schema.String, Schema.Null]),
2130
2083
  ),
2131
- timestampFormat: Schema.optional(
2132
- Schema.Union([
2133
- Schema.Literals(["rfc3339", "unix_millis"]),
2134
- Schema.Null,
2135
- ]),
2084
+ name: Schema.optional(
2085
+ Schema.Union([Schema.String, Schema.Null]),
2136
2086
  ),
2137
- unstructured: Schema.optional(
2087
+ required: Schema.optional(
2138
2088
  Schema.Union([Schema.Boolean, Schema.Null]),
2139
2089
  ),
2090
+ sqlName: Schema.optional(
2091
+ Schema.Union([Schema.String, Schema.Null]),
2092
+ ),
2140
2093
  }).pipe(
2141
2094
  Schema.encodeKeys({
2142
2095
  type: "type",
2143
- decimalEncoding: "decimal_encoding",
2144
- timestampFormat: "timestamp_format",
2145
- unstructured: "unstructured",
2096
+ metadataKey: "metadata_key",
2097
+ name: "name",
2098
+ required: "required",
2099
+ sqlName: "sql_name",
2146
2100
  }),
2147
2101
  ),
2148
2102
  Schema.Struct({
@@ -2355,9 +2309,10 @@ export const listSinks: API.PaginatedOperationMethod<
2355
2309
  }
2356
2310
  | {
2357
2311
  type: "json";
2358
- decimalEncoding?: "number" | "string" | "bytes" | null;
2359
- timestampFormat?: "rfc3339" | "unix_millis" | null;
2360
- unstructured?: boolean | null;
2312
+ metadataKey?: string | null;
2313
+ name?: string | null;
2314
+ required?: boolean | null;
2315
+ sqlName?: string | null;
2361
2316
  }
2362
2317
  | unknown
2363
2318
  )[]
@@ -2365,9 +2320,10 @@ export const listSinks: API.PaginatedOperationMethod<
2365
2320
  format?:
2366
2321
  | {
2367
2322
  type: "json";
2368
- decimalEncoding?: "number" | "string" | "bytes" | null;
2369
- timestampFormat?: "rfc3339" | "unix_millis" | null;
2370
- unstructured?: boolean | null;
2323
+ metadataKey?: string | null;
2324
+ name?: string | null;
2325
+ required?: boolean | null;
2326
+ sqlName?: string | null;
2371
2327
  }
2372
2328
  | {
2373
2329
  type: "parquet";
@@ -2514,18 +2470,20 @@ export interface CreateSinkRequest {
2514
2470
  }
2515
2471
  | {
2516
2472
  type: "json";
2517
- decimalEncoding?: "number" | "string" | "bytes";
2518
- timestampFormat?: "rfc3339" | "unix_millis";
2519
- unstructured?: boolean;
2473
+ metadataKey?: string | null;
2474
+ name?: string;
2475
+ required?: boolean;
2476
+ sqlName?: string;
2520
2477
  }
2521
2478
  | unknown
2522
2479
  )[];
2523
2480
  format?:
2524
2481
  | {
2525
2482
  type: "json";
2526
- decimalEncoding?: "number" | "string" | "bytes";
2527
- timestampFormat?: "rfc3339" | "unix_millis";
2528
- unstructured?: boolean;
2483
+ metadataKey?: string | null;
2484
+ name?: string;
2485
+ required?: boolean;
2486
+ sqlName?: string;
2529
2487
  }
2530
2488
  | {
2531
2489
  type: "parquet";
@@ -2814,19 +2772,19 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2814
2772
  ),
2815
2773
  Schema.Struct({
2816
2774
  type: Schema.Literal("json"),
2817
- decimalEncoding: Schema.optional(
2818
- Schema.Literals(["number", "string", "bytes"]),
2819
- ),
2820
- timestampFormat: Schema.optional(
2821
- Schema.Literals(["rfc3339", "unix_millis"]),
2775
+ metadataKey: Schema.optional(
2776
+ Schema.Union([Schema.String, Schema.Null]),
2822
2777
  ),
2823
- unstructured: Schema.optional(Schema.Boolean),
2778
+ name: Schema.optional(Schema.String),
2779
+ required: Schema.optional(Schema.Boolean),
2780
+ sqlName: Schema.optional(Schema.String),
2824
2781
  }).pipe(
2825
2782
  Schema.encodeKeys({
2826
2783
  type: "type",
2827
- decimalEncoding: "decimal_encoding",
2828
- timestampFormat: "timestamp_format",
2829
- unstructured: "unstructured",
2784
+ metadataKey: "metadata_key",
2785
+ name: "name",
2786
+ required: "required",
2787
+ sqlName: "sql_name",
2830
2788
  }),
2831
2789
  ),
2832
2790
  Schema.Unknown,
@@ -2837,19 +2795,19 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2837
2795
  Schema.Union([
2838
2796
  Schema.Struct({
2839
2797
  type: Schema.Literal("json"),
2840
- decimalEncoding: Schema.optional(
2841
- Schema.Literals(["number", "string", "bytes"]),
2842
- ),
2843
- timestampFormat: Schema.optional(
2844
- Schema.Literals(["rfc3339", "unix_millis"]),
2798
+ metadataKey: Schema.optional(
2799
+ Schema.Union([Schema.String, Schema.Null]),
2845
2800
  ),
2846
- unstructured: Schema.optional(Schema.Boolean),
2801
+ name: Schema.optional(Schema.String),
2802
+ required: Schema.optional(Schema.Boolean),
2803
+ sqlName: Schema.optional(Schema.String),
2847
2804
  }).pipe(
2848
2805
  Schema.encodeKeys({
2849
2806
  type: "type",
2850
- decimalEncoding: "decimal_encoding",
2851
- timestampFormat: "timestamp_format",
2852
- unstructured: "unstructured",
2807
+ metadataKey: "metadata_key",
2808
+ name: "name",
2809
+ required: "required",
2810
+ sqlName: "sql_name",
2853
2811
  }),
2854
2812
  ),
2855
2813
  Schema.Struct({
@@ -3010,9 +2968,10 @@ export interface CreateSinkResponse {
3010
2968
  }
3011
2969
  | {
3012
2970
  type: "json";
3013
- decimalEncoding?: "number" | "string" | "bytes" | null;
3014
- timestampFormat?: "rfc3339" | "unix_millis" | null;
3015
- unstructured?: boolean | null;
2971
+ metadataKey?: string | null;
2972
+ name?: string | null;
2973
+ required?: boolean | null;
2974
+ sqlName?: string | null;
3016
2975
  }
3017
2976
  | unknown
3018
2977
  )[]
@@ -3020,9 +2979,10 @@ export interface CreateSinkResponse {
3020
2979
  format?:
3021
2980
  | {
3022
2981
  type: "json";
3023
- decimalEncoding?: "number" | "string" | "bytes" | null;
3024
- timestampFormat?: "rfc3339" | "unix_millis" | null;
3025
- unstructured?: boolean | null;
2982
+ metadataKey?: string | null;
2983
+ name?: string | null;
2984
+ required?: boolean | null;
2985
+ sqlName?: string | null;
3026
2986
  }
3027
2987
  | {
3028
2988
  type: "parquet";
@@ -3433,27 +3393,25 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3433
3393
  ),
3434
3394
  Schema.Struct({
3435
3395
  type: Schema.Literal("json"),
3436
- decimalEncoding: Schema.optional(
3437
- Schema.Union([
3438
- Schema.Literals(["number", "string", "bytes"]),
3439
- Schema.Null,
3440
- ]),
3396
+ metadataKey: Schema.optional(
3397
+ Schema.Union([Schema.String, Schema.Null]),
3441
3398
  ),
3442
- timestampFormat: Schema.optional(
3443
- Schema.Union([
3444
- Schema.Literals(["rfc3339", "unix_millis"]),
3445
- Schema.Null,
3446
- ]),
3399
+ name: Schema.optional(
3400
+ Schema.Union([Schema.String, Schema.Null]),
3447
3401
  ),
3448
- unstructured: Schema.optional(
3402
+ required: Schema.optional(
3449
3403
  Schema.Union([Schema.Boolean, Schema.Null]),
3450
3404
  ),
3405
+ sqlName: Schema.optional(
3406
+ Schema.Union([Schema.String, Schema.Null]),
3407
+ ),
3451
3408
  }).pipe(
3452
3409
  Schema.encodeKeys({
3453
3410
  type: "type",
3454
- decimalEncoding: "decimal_encoding",
3455
- timestampFormat: "timestamp_format",
3456
- unstructured: "unstructured",
3411
+ metadataKey: "metadata_key",
3412
+ name: "name",
3413
+ required: "required",
3414
+ sqlName: "sql_name",
3457
3415
  }),
3458
3416
  ),
3459
3417
  Schema.Unknown,
@@ -3467,27 +3425,25 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3467
3425
  Schema.Union([
3468
3426
  Schema.Struct({
3469
3427
  type: Schema.Literal("json"),
3470
- decimalEncoding: Schema.optional(
3471
- Schema.Union([
3472
- Schema.Literals(["number", "string", "bytes"]),
3473
- Schema.Null,
3474
- ]),
3428
+ metadataKey: Schema.optional(
3429
+ Schema.Union([Schema.String, Schema.Null]),
3475
3430
  ),
3476
- timestampFormat: Schema.optional(
3477
- Schema.Union([
3478
- Schema.Literals(["rfc3339", "unix_millis"]),
3479
- Schema.Null,
3480
- ]),
3431
+ name: Schema.optional(
3432
+ Schema.Union([Schema.String, Schema.Null]),
3481
3433
  ),
3482
- unstructured: Schema.optional(
3434
+ required: Schema.optional(
3483
3435
  Schema.Union([Schema.Boolean, Schema.Null]),
3484
3436
  ),
3437
+ sqlName: Schema.optional(
3438
+ Schema.Union([Schema.String, Schema.Null]),
3439
+ ),
3485
3440
  }).pipe(
3486
3441
  Schema.encodeKeys({
3487
3442
  type: "type",
3488
- decimalEncoding: "decimal_encoding",
3489
- timestampFormat: "timestamp_format",
3490
- unstructured: "unstructured",
3443
+ metadataKey: "metadata_key",
3444
+ name: "name",
3445
+ required: "required",
3446
+ sqlName: "sql_name",
3491
3447
  }),
3492
3448
  ),
3493
3449
  Schema.Struct({
@@ -3634,7 +3590,7 @@ export interface ValidateSqlPipelineResponse {
3634
3590
 
3635
3591
  export const ValidateSqlPipelineResponse =
3636
3592
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3637
- tables: Schema.Struct({}),
3593
+ tables: Schema.Record(Schema.String, Schema.Unknown),
3638
3594
  graph: Schema.optional(
3639
3595
  Schema.Union([
3640
3596
  Schema.Struct({
@@ -3814,9 +3770,10 @@ export interface GetStreamResponse {
3814
3770
  }
3815
3771
  | {
3816
3772
  type: "json";
3817
- decimalEncoding?: "number" | "string" | "bytes" | null;
3818
- timestampFormat?: "rfc3339" | "unix_millis" | null;
3819
- unstructured?: boolean | null;
3773
+ metadataKey?: string | null;
3774
+ name?: string | null;
3775
+ required?: boolean | null;
3776
+ sqlName?: string | null;
3820
3777
  }
3821
3778
  | unknown
3822
3779
  )[]
@@ -3824,9 +3781,10 @@ export interface GetStreamResponse {
3824
3781
  format?:
3825
3782
  | {
3826
3783
  type: "json";
3827
- decimalEncoding?: "number" | "string" | "bytes" | null;
3828
- timestampFormat?: "rfc3339" | "unix_millis" | null;
3829
- unstructured?: boolean | null;
3784
+ metadataKey?: string | null;
3785
+ name?: string | null;
3786
+ required?: boolean | null;
3787
+ sqlName?: string | null;
3830
3788
  }
3831
3789
  | {
3832
3790
  type: "parquet";
@@ -4129,27 +4087,25 @@ export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4129
4087
  ),
4130
4088
  Schema.Struct({
4131
4089
  type: Schema.Literal("json"),
4132
- decimalEncoding: Schema.optional(
4133
- Schema.Union([
4134
- Schema.Literals(["number", "string", "bytes"]),
4135
- Schema.Null,
4136
- ]),
4090
+ metadataKey: Schema.optional(
4091
+ Schema.Union([Schema.String, Schema.Null]),
4137
4092
  ),
4138
- timestampFormat: Schema.optional(
4139
- Schema.Union([
4140
- Schema.Literals(["rfc3339", "unix_millis"]),
4141
- Schema.Null,
4142
- ]),
4093
+ name: Schema.optional(
4094
+ Schema.Union([Schema.String, Schema.Null]),
4143
4095
  ),
4144
- unstructured: Schema.optional(
4096
+ required: Schema.optional(
4145
4097
  Schema.Union([Schema.Boolean, Schema.Null]),
4146
4098
  ),
4099
+ sqlName: Schema.optional(
4100
+ Schema.Union([Schema.String, Schema.Null]),
4101
+ ),
4147
4102
  }).pipe(
4148
4103
  Schema.encodeKeys({
4149
4104
  type: "type",
4150
- decimalEncoding: "decimal_encoding",
4151
- timestampFormat: "timestamp_format",
4152
- unstructured: "unstructured",
4105
+ metadataKey: "metadata_key",
4106
+ name: "name",
4107
+ required: "required",
4108
+ sqlName: "sql_name",
4153
4109
  }),
4154
4110
  ),
4155
4111
  Schema.Unknown,
@@ -4163,27 +4119,25 @@ export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4163
4119
  Schema.Union([
4164
4120
  Schema.Struct({
4165
4121
  type: Schema.Literal("json"),
4166
- decimalEncoding: Schema.optional(
4167
- Schema.Union([
4168
- Schema.Literals(["number", "string", "bytes"]),
4169
- Schema.Null,
4170
- ]),
4122
+ metadataKey: Schema.optional(
4123
+ Schema.Union([Schema.String, Schema.Null]),
4171
4124
  ),
4172
- timestampFormat: Schema.optional(
4173
- Schema.Union([
4174
- Schema.Literals(["rfc3339", "unix_millis"]),
4175
- Schema.Null,
4176
- ]),
4125
+ name: Schema.optional(
4126
+ Schema.Union([Schema.String, Schema.Null]),
4177
4127
  ),
4178
- unstructured: Schema.optional(
4128
+ required: Schema.optional(
4179
4129
  Schema.Union([Schema.Boolean, Schema.Null]),
4180
4130
  ),
4131
+ sqlName: Schema.optional(
4132
+ Schema.Union([Schema.String, Schema.Null]),
4133
+ ),
4181
4134
  }).pipe(
4182
4135
  Schema.encodeKeys({
4183
4136
  type: "type",
4184
- decimalEncoding: "decimal_encoding",
4185
- timestampFormat: "timestamp_format",
4186
- unstructured: "unstructured",
4137
+ metadataKey: "metadata_key",
4138
+ name: "name",
4139
+ required: "required",
4140
+ sqlName: "sql_name",
4187
4141
  }),
4188
4142
  ),
4189
4143
  Schema.Struct({
@@ -4368,9 +4322,10 @@ export interface ListStreamsResponse {
4368
4322
  }
4369
4323
  | {
4370
4324
  type: "json";
4371
- decimalEncoding?: "number" | "string" | "bytes" | null;
4372
- timestampFormat?: "rfc3339" | "unix_millis" | null;
4373
- unstructured?: boolean | null;
4325
+ metadataKey?: string | null;
4326
+ name?: string | null;
4327
+ required?: boolean | null;
4328
+ sqlName?: string | null;
4374
4329
  }
4375
4330
  | unknown
4376
4331
  )[]
@@ -4378,9 +4333,10 @@ export interface ListStreamsResponse {
4378
4333
  format?:
4379
4334
  | {
4380
4335
  type: "json";
4381
- decimalEncoding?: "number" | "string" | "bytes" | null;
4382
- timestampFormat?: "rfc3339" | "unix_millis" | null;
4383
- unstructured?: boolean | null;
4336
+ metadataKey?: string | null;
4337
+ name?: string | null;
4338
+ required?: boolean | null;
4339
+ sqlName?: string | null;
4384
4340
  }
4385
4341
  | {
4386
4342
  type: "parquet";
@@ -4692,27 +4648,25 @@ export const ListStreamsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4692
4648
  ),
4693
4649
  Schema.Struct({
4694
4650
  type: Schema.Literal("json"),
4695
- decimalEncoding: Schema.optional(
4696
- Schema.Union([
4697
- Schema.Literals(["number", "string", "bytes"]),
4698
- Schema.Null,
4699
- ]),
4651
+ metadataKey: Schema.optional(
4652
+ Schema.Union([Schema.String, Schema.Null]),
4700
4653
  ),
4701
- timestampFormat: Schema.optional(
4702
- Schema.Union([
4703
- Schema.Literals(["rfc3339", "unix_millis"]),
4704
- Schema.Null,
4705
- ]),
4654
+ name: Schema.optional(
4655
+ Schema.Union([Schema.String, Schema.Null]),
4706
4656
  ),
4707
- unstructured: Schema.optional(
4657
+ required: Schema.optional(
4708
4658
  Schema.Union([Schema.Boolean, Schema.Null]),
4709
4659
  ),
4660
+ sqlName: Schema.optional(
4661
+ Schema.Union([Schema.String, Schema.Null]),
4662
+ ),
4710
4663
  }).pipe(
4711
4664
  Schema.encodeKeys({
4712
4665
  type: "type",
4713
- decimalEncoding: "decimal_encoding",
4714
- timestampFormat: "timestamp_format",
4715
- unstructured: "unstructured",
4666
+ metadataKey: "metadata_key",
4667
+ name: "name",
4668
+ required: "required",
4669
+ sqlName: "sql_name",
4716
4670
  }),
4717
4671
  ),
4718
4672
  Schema.Unknown,
@@ -4726,27 +4680,25 @@ export const ListStreamsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4726
4680
  Schema.Union([
4727
4681
  Schema.Struct({
4728
4682
  type: Schema.Literal("json"),
4729
- decimalEncoding: Schema.optional(
4730
- Schema.Union([
4731
- Schema.Literals(["number", "string", "bytes"]),
4732
- Schema.Null,
4733
- ]),
4683
+ metadataKey: Schema.optional(
4684
+ Schema.Union([Schema.String, Schema.Null]),
4734
4685
  ),
4735
- timestampFormat: Schema.optional(
4736
- Schema.Union([
4737
- Schema.Literals(["rfc3339", "unix_millis"]),
4738
- Schema.Null,
4739
- ]),
4686
+ name: Schema.optional(
4687
+ Schema.Union([Schema.String, Schema.Null]),
4740
4688
  ),
4741
- unstructured: Schema.optional(
4689
+ required: Schema.optional(
4742
4690
  Schema.Union([Schema.Boolean, Schema.Null]),
4743
4691
  ),
4692
+ sqlName: Schema.optional(
4693
+ Schema.Union([Schema.String, Schema.Null]),
4694
+ ),
4744
4695
  }).pipe(
4745
4696
  Schema.encodeKeys({
4746
4697
  type: "type",
4747
- decimalEncoding: "decimal_encoding",
4748
- timestampFormat: "timestamp_format",
4749
- unstructured: "unstructured",
4698
+ metadataKey: "metadata_key",
4699
+ name: "name",
4700
+ required: "required",
4701
+ sqlName: "sql_name",
4750
4702
  }),
4751
4703
  ),
4752
4704
  Schema.Struct({
@@ -4936,9 +4888,10 @@ export const listStreams: API.PaginatedOperationMethod<
4936
4888
  }
4937
4889
  | {
4938
4890
  type: "json";
4939
- decimalEncoding?: "number" | "string" | "bytes" | null;
4940
- timestampFormat?: "rfc3339" | "unix_millis" | null;
4941
- unstructured?: boolean | null;
4891
+ metadataKey?: string | null;
4892
+ name?: string | null;
4893
+ required?: boolean | null;
4894
+ sqlName?: string | null;
4942
4895
  }
4943
4896
  | unknown
4944
4897
  )[]
@@ -4946,9 +4899,10 @@ export const listStreams: API.PaginatedOperationMethod<
4946
4899
  format?:
4947
4900
  | {
4948
4901
  type: "json";
4949
- decimalEncoding?: "number" | "string" | "bytes" | null;
4950
- timestampFormat?: "rfc3339" | "unix_millis" | null;
4951
- unstructured?: boolean | null;
4902
+ metadataKey?: string | null;
4903
+ name?: string | null;
4904
+ required?: boolean | null;
4905
+ sqlName?: string | null;
4952
4906
  }
4953
4907
  | {
4954
4908
  type: "parquet";
@@ -5067,18 +5021,20 @@ export interface CreateStreamRequest {
5067
5021
  }
5068
5022
  | {
5069
5023
  type: "json";
5070
- decimalEncoding?: "number" | "string" | "bytes";
5071
- timestampFormat?: "rfc3339" | "unix_millis";
5072
- unstructured?: boolean;
5024
+ metadataKey?: string | null;
5025
+ name?: string;
5026
+ required?: boolean;
5027
+ sqlName?: string;
5073
5028
  }
5074
5029
  | unknown
5075
5030
  )[];
5076
5031
  format?:
5077
5032
  | {
5078
5033
  type: "json";
5079
- decimalEncoding?: "number" | "string" | "bytes";
5080
- timestampFormat?: "rfc3339" | "unix_millis";
5081
- unstructured?: boolean;
5034
+ metadataKey?: string | null;
5035
+ name?: string;
5036
+ required?: boolean;
5037
+ sqlName?: string;
5082
5038
  }
5083
5039
  | {
5084
5040
  type: "parquet";
@@ -5293,19 +5249,19 @@ export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
5293
5249
  ),
5294
5250
  Schema.Struct({
5295
5251
  type: Schema.Literal("json"),
5296
- decimalEncoding: Schema.optional(
5297
- Schema.Literals(["number", "string", "bytes"]),
5298
- ),
5299
- timestampFormat: Schema.optional(
5300
- Schema.Literals(["rfc3339", "unix_millis"]),
5252
+ metadataKey: Schema.optional(
5253
+ Schema.Union([Schema.String, Schema.Null]),
5301
5254
  ),
5302
- unstructured: Schema.optional(Schema.Boolean),
5255
+ name: Schema.optional(Schema.String),
5256
+ required: Schema.optional(Schema.Boolean),
5257
+ sqlName: Schema.optional(Schema.String),
5303
5258
  }).pipe(
5304
5259
  Schema.encodeKeys({
5305
5260
  type: "type",
5306
- decimalEncoding: "decimal_encoding",
5307
- timestampFormat: "timestamp_format",
5308
- unstructured: "unstructured",
5261
+ metadataKey: "metadata_key",
5262
+ name: "name",
5263
+ required: "required",
5264
+ sqlName: "sql_name",
5309
5265
  }),
5310
5266
  ),
5311
5267
  Schema.Unknown,
@@ -5316,19 +5272,19 @@ export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
5316
5272
  Schema.Union([
5317
5273
  Schema.Struct({
5318
5274
  type: Schema.Literal("json"),
5319
- decimalEncoding: Schema.optional(
5320
- Schema.Literals(["number", "string", "bytes"]),
5275
+ metadataKey: Schema.optional(
5276
+ Schema.Union([Schema.String, Schema.Null]),
5321
5277
  ),
5322
- timestampFormat: Schema.optional(
5323
- Schema.Literals(["rfc3339", "unix_millis"]),
5324
- ),
5325
- unstructured: Schema.optional(Schema.Boolean),
5278
+ name: Schema.optional(Schema.String),
5279
+ required: Schema.optional(Schema.Boolean),
5280
+ sqlName: Schema.optional(Schema.String),
5326
5281
  }).pipe(
5327
5282
  Schema.encodeKeys({
5328
5283
  type: "type",
5329
- decimalEncoding: "decimal_encoding",
5330
- timestampFormat: "timestamp_format",
5331
- unstructured: "unstructured",
5284
+ metadataKey: "metadata_key",
5285
+ name: "name",
5286
+ required: "required",
5287
+ sqlName: "sql_name",
5332
5288
  }),
5333
5289
  ),
5334
5290
  Schema.Struct({
@@ -5479,9 +5435,10 @@ export interface CreateStreamResponse {
5479
5435
  }
5480
5436
  | {
5481
5437
  type: "json";
5482
- decimalEncoding?: "number" | "string" | "bytes" | null;
5483
- timestampFormat?: "rfc3339" | "unix_millis" | null;
5484
- unstructured?: boolean | null;
5438
+ metadataKey?: string | null;
5439
+ name?: string | null;
5440
+ required?: boolean | null;
5441
+ sqlName?: string | null;
5485
5442
  }
5486
5443
  | unknown
5487
5444
  )[]
@@ -5489,9 +5446,10 @@ export interface CreateStreamResponse {
5489
5446
  format?:
5490
5447
  | {
5491
5448
  type: "json";
5492
- decimalEncoding?: "number" | "string" | "bytes" | null;
5493
- timestampFormat?: "rfc3339" | "unix_millis" | null;
5494
- unstructured?: boolean | null;
5449
+ metadataKey?: string | null;
5450
+ name?: string | null;
5451
+ required?: boolean | null;
5452
+ sqlName?: string | null;
5495
5453
  }
5496
5454
  | {
5497
5455
  type: "parquet";
@@ -5794,27 +5752,25 @@ export const CreateStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
5794
5752
  ),
5795
5753
  Schema.Struct({
5796
5754
  type: Schema.Literal("json"),
5797
- decimalEncoding: Schema.optional(
5798
- Schema.Union([
5799
- Schema.Literals(["number", "string", "bytes"]),
5800
- Schema.Null,
5801
- ]),
5755
+ metadataKey: Schema.optional(
5756
+ Schema.Union([Schema.String, Schema.Null]),
5802
5757
  ),
5803
- timestampFormat: Schema.optional(
5804
- Schema.Union([
5805
- Schema.Literals(["rfc3339", "unix_millis"]),
5806
- Schema.Null,
5807
- ]),
5758
+ name: Schema.optional(
5759
+ Schema.Union([Schema.String, Schema.Null]),
5808
5760
  ),
5809
- unstructured: Schema.optional(
5761
+ required: Schema.optional(
5810
5762
  Schema.Union([Schema.Boolean, Schema.Null]),
5811
5763
  ),
5764
+ sqlName: Schema.optional(
5765
+ Schema.Union([Schema.String, Schema.Null]),
5766
+ ),
5812
5767
  }).pipe(
5813
5768
  Schema.encodeKeys({
5814
5769
  type: "type",
5815
- decimalEncoding: "decimal_encoding",
5816
- timestampFormat: "timestamp_format",
5817
- unstructured: "unstructured",
5770
+ metadataKey: "metadata_key",
5771
+ name: "name",
5772
+ required: "required",
5773
+ sqlName: "sql_name",
5818
5774
  }),
5819
5775
  ),
5820
5776
  Schema.Unknown,
@@ -5828,27 +5784,25 @@ export const CreateStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
5828
5784
  Schema.Union([
5829
5785
  Schema.Struct({
5830
5786
  type: Schema.Literal("json"),
5831
- decimalEncoding: Schema.optional(
5832
- Schema.Union([
5833
- Schema.Literals(["number", "string", "bytes"]),
5834
- Schema.Null,
5835
- ]),
5787
+ metadataKey: Schema.optional(
5788
+ Schema.Union([Schema.String, Schema.Null]),
5836
5789
  ),
5837
- timestampFormat: Schema.optional(
5838
- Schema.Union([
5839
- Schema.Literals(["rfc3339", "unix_millis"]),
5840
- Schema.Null,
5841
- ]),
5790
+ name: Schema.optional(
5791
+ Schema.Union([Schema.String, Schema.Null]),
5842
5792
  ),
5843
- unstructured: Schema.optional(
5793
+ required: Schema.optional(
5844
5794
  Schema.Union([Schema.Boolean, Schema.Null]),
5845
5795
  ),
5796
+ sqlName: Schema.optional(
5797
+ Schema.Union([Schema.String, Schema.Null]),
5798
+ ),
5846
5799
  }).pipe(
5847
5800
  Schema.encodeKeys({
5848
5801
  type: "type",
5849
- decimalEncoding: "decimal_encoding",
5850
- timestampFormat: "timestamp_format",
5851
- unstructured: "unstructured",
5802
+ metadataKey: "metadata_key",
5803
+ name: "name",
5804
+ required: "required",
5805
+ sqlName: "sql_name",
5852
5806
  }),
5853
5807
  ),
5854
5808
  Schema.Struct({