@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
@@ -480,7 +480,15 @@ export interface GetCfInterconnectResponse {
480
480
  createdOn?: string | null;
481
481
  description?: string | null;
482
482
  gre?: { cloudflareEndpoint?: string | null } | null;
483
- healthCheck?: unknown | null;
483
+ healthCheck?: {
484
+ enabled?: boolean | null;
485
+ rate?: "low" | "mid" | "high" | null;
486
+ target?:
487
+ | { effective?: string | null; saved?: string | null }
488
+ | string
489
+ | null;
490
+ type?: "reply" | "request" | null;
491
+ } | null;
484
492
  interfaceAddress?: string | null;
485
493
  interfaceAddress6?: string | null;
486
494
  modifiedOn?: string | null;
@@ -520,7 +528,42 @@ export const GetCfInterconnectResponse =
520
528
  ]),
521
529
  ),
522
530
  healthCheck: Schema.optional(
523
- Schema.Union([Schema.Unknown, Schema.Null]),
531
+ Schema.Union([
532
+ Schema.Struct({
533
+ enabled: Schema.optional(
534
+ Schema.Union([Schema.Boolean, Schema.Null]),
535
+ ),
536
+ rate: Schema.optional(
537
+ Schema.Union([
538
+ Schema.Literals(["low", "mid", "high"]),
539
+ Schema.Null,
540
+ ]),
541
+ ),
542
+ target: Schema.optional(
543
+ Schema.Union([
544
+ Schema.Union([
545
+ Schema.Struct({
546
+ effective: Schema.optional(
547
+ Schema.Union([Schema.String, Schema.Null]),
548
+ ),
549
+ saved: Schema.optional(
550
+ Schema.Union([Schema.String, Schema.Null]),
551
+ ),
552
+ }),
553
+ Schema.String,
554
+ ]),
555
+ Schema.Null,
556
+ ]),
557
+ ),
558
+ type: Schema.optional(
559
+ Schema.Union([
560
+ Schema.Literals(["reply", "request"]),
561
+ Schema.Null,
562
+ ]),
563
+ ),
564
+ }),
565
+ Schema.Null,
566
+ ]),
524
567
  ),
525
568
  interfaceAddress: Schema.optional(
526
569
  Schema.Union([Schema.String, Schema.Null]),
@@ -598,7 +641,15 @@ export interface ListCfInterconnectsResponse {
598
641
  createdOn?: string | null;
599
642
  description?: string | null;
600
643
  gre?: { cloudflareEndpoint?: string | null } | null;
601
- healthCheck?: unknown | null;
644
+ healthCheck?: {
645
+ enabled?: boolean | null;
646
+ rate?: "low" | "mid" | "high" | null;
647
+ target?:
648
+ | { effective?: string | null; saved?: string | null }
649
+ | string
650
+ | null;
651
+ type?: "reply" | "request" | null;
652
+ } | null;
602
653
  interfaceAddress?: string | null;
603
654
  interfaceAddress6?: string | null;
604
655
  modifiedOn?: string | null;
@@ -642,7 +693,42 @@ export const ListCfInterconnectsResponse =
642
693
  ]),
643
694
  ),
644
695
  healthCheck: Schema.optional(
645
- Schema.Union([Schema.Unknown, Schema.Null]),
696
+ Schema.Union([
697
+ Schema.Struct({
698
+ enabled: Schema.optional(
699
+ Schema.Union([Schema.Boolean, Schema.Null]),
700
+ ),
701
+ rate: Schema.optional(
702
+ Schema.Union([
703
+ Schema.Literals(["low", "mid", "high"]),
704
+ Schema.Null,
705
+ ]),
706
+ ),
707
+ target: Schema.optional(
708
+ Schema.Union([
709
+ Schema.Union([
710
+ Schema.Struct({
711
+ effective: Schema.optional(
712
+ Schema.Union([Schema.String, Schema.Null]),
713
+ ),
714
+ saved: Schema.optional(
715
+ Schema.Union([Schema.String, Schema.Null]),
716
+ ),
717
+ }),
718
+ Schema.String,
719
+ ]),
720
+ Schema.Null,
721
+ ]),
722
+ ),
723
+ type: Schema.optional(
724
+ Schema.Union([
725
+ Schema.Literals(["reply", "request"]),
726
+ Schema.Null,
727
+ ]),
728
+ ),
729
+ }),
730
+ Schema.Null,
731
+ ]),
646
732
  ),
647
733
  interfaceAddress: Schema.optional(
648
734
  Schema.Union([Schema.String, Schema.Null]),
@@ -705,7 +791,12 @@ export interface PutCfInterconnectRequest {
705
791
  /** Body param: The configuration specific to GRE interconnects. */
706
792
  gre?: { cloudflareEndpoint?: string };
707
793
  /** Body param: */
708
- healthCheck?: unknown;
794
+ healthCheck?: {
795
+ enabled?: boolean;
796
+ rate?: "low" | "mid" | "high";
797
+ target?: { saved?: string } | string;
798
+ type?: "reply" | "request";
799
+ };
709
800
  /** Body param: A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172 */
710
801
  interfaceAddress?: string;
711
802
  /** Body param: A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 i */
@@ -728,7 +819,21 @@ export const PutCfInterconnectRequest =
728
819
  cloudflareEndpoint: Schema.optional(Schema.String),
729
820
  }).pipe(Schema.encodeKeys({ cloudflareEndpoint: "cloudflare_endpoint" })),
730
821
  ),
731
- healthCheck: Schema.optional(Schema.Unknown),
822
+ healthCheck: Schema.optional(
823
+ Schema.Struct({
824
+ enabled: Schema.optional(Schema.Boolean),
825
+ rate: Schema.optional(Schema.Literals(["low", "mid", "high"])),
826
+ target: Schema.optional(
827
+ Schema.Union([
828
+ Schema.Struct({
829
+ saved: Schema.optional(Schema.String),
830
+ }),
831
+ Schema.String,
832
+ ]),
833
+ ),
834
+ type: Schema.optional(Schema.Literals(["reply", "request"])),
835
+ }),
836
+ ),
732
837
  interfaceAddress: Schema.optional(Schema.String),
733
838
  interfaceAddress6: Schema.optional(Schema.String),
734
839
  mtu: Schema.optional(Schema.Number),
@@ -757,7 +862,15 @@ export interface PutCfInterconnectResponse {
757
862
  createdOn?: string | null;
758
863
  description?: string | null;
759
864
  gre?: { cloudflareEndpoint?: string | null } | null;
760
- healthCheck?: unknown | null;
865
+ healthCheck?: {
866
+ enabled?: boolean | null;
867
+ rate?: "low" | "mid" | "high" | null;
868
+ target?:
869
+ | { effective?: string | null; saved?: string | null }
870
+ | string
871
+ | null;
872
+ type?: "reply" | "request" | null;
873
+ } | null;
761
874
  interfaceAddress?: string | null;
762
875
  interfaceAddress6?: string | null;
763
876
  modifiedOn?: string | null;
@@ -798,7 +911,42 @@ export const PutCfInterconnectResponse =
798
911
  ]),
799
912
  ),
800
913
  healthCheck: Schema.optional(
801
- Schema.Union([Schema.Unknown, Schema.Null]),
914
+ Schema.Union([
915
+ Schema.Struct({
916
+ enabled: Schema.optional(
917
+ Schema.Union([Schema.Boolean, Schema.Null]),
918
+ ),
919
+ rate: Schema.optional(
920
+ Schema.Union([
921
+ Schema.Literals(["low", "mid", "high"]),
922
+ Schema.Null,
923
+ ]),
924
+ ),
925
+ target: Schema.optional(
926
+ Schema.Union([
927
+ Schema.Union([
928
+ Schema.Struct({
929
+ effective: Schema.optional(
930
+ Schema.Union([Schema.String, Schema.Null]),
931
+ ),
932
+ saved: Schema.optional(
933
+ Schema.Union([Schema.String, Schema.Null]),
934
+ ),
935
+ }),
936
+ Schema.String,
937
+ ]),
938
+ Schema.Null,
939
+ ]),
940
+ ),
941
+ type: Schema.optional(
942
+ Schema.Union([
943
+ Schema.Literals(["reply", "request"]),
944
+ Schema.Null,
945
+ ]),
946
+ ),
947
+ }),
948
+ Schema.Null,
949
+ ]),
802
950
  ),
803
951
  interfaceAddress: Schema.optional(
804
952
  Schema.Union([Schema.String, Schema.Null]),
@@ -4627,7 +4775,10 @@ export interface GetGreTunnelResponse {
4627
4775
  direction?: "unidirectional" | "bidirectional" | null;
4628
4776
  enabled?: boolean | null;
4629
4777
  rate?: "low" | "mid" | "high" | null;
4630
- target?: { saved?: string | null } | string | null;
4778
+ target?:
4779
+ | { effective?: string | null; saved?: string | null }
4780
+ | string
4781
+ | null;
4631
4782
  type?: "reply" | "request" | null;
4632
4783
  } | null;
4633
4784
  interfaceAddress6?: string | null;
@@ -4735,6 +4886,9 @@ export const GetGreTunnelResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4735
4886
  Schema.Union([
4736
4887
  Schema.Union([
4737
4888
  Schema.Struct({
4889
+ effective: Schema.optional(
4890
+ Schema.Union([Schema.String, Schema.Null]),
4891
+ ),
4738
4892
  saved: Schema.optional(
4739
4893
  Schema.Union([Schema.String, Schema.Null]),
4740
4894
  ),
@@ -4847,7 +5001,10 @@ export interface ListGreTunnelsResponse {
4847
5001
  direction?: "unidirectional" | "bidirectional" | null;
4848
5002
  enabled?: boolean | null;
4849
5003
  rate?: "low" | "mid" | "high" | null;
4850
- target?: { saved?: string | null } | string | null;
5004
+ target?:
5005
+ | { effective?: string | null; saved?: string | null }
5006
+ | string
5007
+ | null;
4851
5008
  type?: "reply" | "request" | null;
4852
5009
  } | null;
4853
5010
  interfaceAddress6?: string | null;
@@ -4960,6 +5117,9 @@ export const ListGreTunnelsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
4960
5117
  Schema.Union([
4961
5118
  Schema.Union([
4962
5119
  Schema.Struct({
5120
+ effective: Schema.optional(
5121
+ Schema.Union([Schema.String, Schema.Null]),
5122
+ ),
4963
5123
  saved: Schema.optional(
4964
5124
  Schema.Union([Schema.String, Schema.Null]),
4965
5125
  ),
@@ -5165,7 +5325,10 @@ export interface CreateGreTunnelResponse {
5165
5325
  direction?: "unidirectional" | "bidirectional" | null;
5166
5326
  enabled?: boolean | null;
5167
5327
  rate?: "low" | "mid" | "high" | null;
5168
- target?: { saved?: string | null } | string | null;
5328
+ target?:
5329
+ | { effective?: string | null; saved?: string | null }
5330
+ | string
5331
+ | null;
5169
5332
  type?: "reply" | "request" | null;
5170
5333
  } | null;
5171
5334
  /** A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1: */
@@ -5262,6 +5425,9 @@ export const CreateGreTunnelResponse =
5262
5425
  Schema.Union([
5263
5426
  Schema.Union([
5264
5427
  Schema.Struct({
5428
+ effective: Schema.optional(
5429
+ Schema.Union([Schema.String, Schema.Null]),
5430
+ ),
5265
5431
  saved: Schema.optional(
5266
5432
  Schema.Union([Schema.String, Schema.Null]),
5267
5433
  ),
@@ -5439,7 +5605,10 @@ export interface UpdateGreTunnelResponse {
5439
5605
  direction?: "unidirectional" | "bidirectional" | null;
5440
5606
  enabled?: boolean | null;
5441
5607
  rate?: "low" | "mid" | "high" | null;
5442
- target?: { saved?: string | null } | string | null;
5608
+ target?:
5609
+ | { effective?: string | null; saved?: string | null }
5610
+ | string
5611
+ | null;
5443
5612
  type?: "reply" | "request" | null;
5444
5613
  } | null;
5445
5614
  interfaceAddress6?: string | null;
@@ -5551,6 +5720,9 @@ export const UpdateGreTunnelResponse =
5551
5720
  Schema.Union([
5552
5721
  Schema.Union([
5553
5722
  Schema.Struct({
5723
+ effective: Schema.optional(
5724
+ Schema.Union([Schema.String, Schema.Null]),
5725
+ ),
5554
5726
  saved: Schema.optional(
5555
5727
  Schema.Union([Schema.String, Schema.Null]),
5556
5728
  ),
@@ -5677,7 +5849,10 @@ export interface DeleteGreTunnelResponse {
5677
5849
  direction?: "unidirectional" | "bidirectional" | null;
5678
5850
  enabled?: boolean | null;
5679
5851
  rate?: "low" | "mid" | "high" | null;
5680
- target?: { saved?: string | null } | string | null;
5852
+ target?:
5853
+ | { effective?: string | null; saved?: string | null }
5854
+ | string
5855
+ | null;
5681
5856
  type?: "reply" | "request" | null;
5682
5857
  } | null;
5683
5858
  interfaceAddress6?: string | null;
@@ -5789,6 +5964,9 @@ export const DeleteGreTunnelResponse =
5789
5964
  Schema.Union([
5790
5965
  Schema.Union([
5791
5966
  Schema.Struct({
5967
+ effective: Schema.optional(
5968
+ Schema.Union([Schema.String, Schema.Null]),
5969
+ ),
5792
5970
  saved: Schema.optional(
5793
5971
  Schema.Union([Schema.String, Schema.Null]),
5794
5972
  ),
@@ -5918,12 +6096,15 @@ export interface GetIpsecTunnelResponse {
5918
6096
  direction?: "unidirectional" | "bidirectional" | null;
5919
6097
  enabled?: boolean | null;
5920
6098
  rate?: "low" | "mid" | "high" | null;
5921
- target?: { saved?: string | null } | string | null;
6099
+ target?:
6100
+ | { effective?: string | null; saved?: string | null }
6101
+ | string
6102
+ | null;
5922
6103
  type?: "reply" | "request" | null;
5923
6104
  } | null;
5924
6105
  interfaceAddress6?: string | null;
5925
6106
  modifiedOn?: string | null;
5926
- pskMetadata?: unknown | null;
6107
+ pskMetadata?: { lastGeneratedOn?: string | null } | null;
5927
6108
  replayProtection?: boolean | null;
5928
6109
  } | null;
5929
6110
  }
@@ -6044,6 +6225,9 @@ export const GetIpsecTunnelResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
6044
6225
  Schema.Union([
6045
6226
  Schema.Union([
6046
6227
  Schema.Struct({
6228
+ effective: Schema.optional(
6229
+ Schema.Union([Schema.String, Schema.Null]),
6230
+ ),
6047
6231
  saved: Schema.optional(
6048
6232
  Schema.Union([Schema.String, Schema.Null]),
6049
6233
  ),
@@ -6070,7 +6254,16 @@ export const GetIpsecTunnelResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
6070
6254
  Schema.Union([Schema.String, Schema.Null]),
6071
6255
  ),
6072
6256
  pskMetadata: Schema.optional(
6073
- Schema.Union([Schema.Unknown, Schema.Null]),
6257
+ Schema.Union([
6258
+ Schema.Struct({
6259
+ lastGeneratedOn: Schema.optional(
6260
+ Schema.Union([Schema.String, Schema.Null]),
6261
+ ),
6262
+ }).pipe(
6263
+ Schema.encodeKeys({ lastGeneratedOn: "last_generated_on" }),
6264
+ ),
6265
+ Schema.Null,
6266
+ ]),
6074
6267
  ),
6075
6268
  replayProtection: Schema.optional(
6076
6269
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -6171,12 +6364,15 @@ export interface ListIpsecTunnelsResponse {
6171
6364
  direction?: "unidirectional" | "bidirectional" | null;
6172
6365
  enabled?: boolean | null;
6173
6366
  rate?: "low" | "mid" | "high" | null;
6174
- target?: { saved?: string | null } | string | null;
6367
+ target?:
6368
+ | { effective?: string | null; saved?: string | null }
6369
+ | string
6370
+ | null;
6175
6371
  type?: "reply" | "request" | null;
6176
6372
  } | null;
6177
6373
  interfaceAddress6?: string | null;
6178
6374
  modifiedOn?: string | null;
6179
- pskMetadata?: unknown | null;
6375
+ pskMetadata?: { lastGeneratedOn?: string | null } | null;
6180
6376
  replayProtection?: boolean | null;
6181
6377
  }[]
6182
6378
  | null;
@@ -6299,6 +6495,9 @@ export const ListIpsecTunnelsResponse =
6299
6495
  Schema.Union([
6300
6496
  Schema.Union([
6301
6497
  Schema.Struct({
6498
+ effective: Schema.optional(
6499
+ Schema.Union([Schema.String, Schema.Null]),
6500
+ ),
6302
6501
  saved: Schema.optional(
6303
6502
  Schema.Union([Schema.String, Schema.Null]),
6304
6503
  ),
@@ -6325,7 +6524,16 @@ export const ListIpsecTunnelsResponse =
6325
6524
  Schema.Union([Schema.String, Schema.Null]),
6326
6525
  ),
6327
6526
  pskMetadata: Schema.optional(
6328
- Schema.Union([Schema.Unknown, Schema.Null]),
6527
+ Schema.Union([
6528
+ Schema.Struct({
6529
+ lastGeneratedOn: Schema.optional(
6530
+ Schema.Union([Schema.String, Schema.Null]),
6531
+ ),
6532
+ }).pipe(
6533
+ Schema.encodeKeys({ lastGeneratedOn: "last_generated_on" }),
6534
+ ),
6535
+ Schema.Null,
6536
+ ]),
6329
6537
  ),
6330
6538
  replayProtection: Schema.optional(
6331
6539
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -6522,7 +6730,10 @@ export interface CreateIpsecTunnelResponse {
6522
6730
  direction?: "unidirectional" | "bidirectional" | null;
6523
6731
  enabled?: boolean | null;
6524
6732
  rate?: "low" | "mid" | "high" | null;
6525
- target?: { saved?: string | null } | string | null;
6733
+ target?:
6734
+ | { effective?: string | null; saved?: string | null }
6735
+ | string
6736
+ | null;
6526
6737
  type?: "reply" | "request" | null;
6527
6738
  } | null;
6528
6739
  /** A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1: */
@@ -6632,6 +6843,9 @@ export const CreateIpsecTunnelResponse =
6632
6843
  Schema.Union([
6633
6844
  Schema.Union([
6634
6845
  Schema.Struct({
6846
+ effective: Schema.optional(
6847
+ Schema.Union([Schema.String, Schema.Null]),
6848
+ ),
6635
6849
  saved: Schema.optional(
6636
6850
  Schema.Union([Schema.String, Schema.Null]),
6637
6851
  ),
@@ -6847,12 +7061,15 @@ export interface UpdateIpsecTunnelResponse {
6847
7061
  direction?: "unidirectional" | "bidirectional" | null;
6848
7062
  enabled?: boolean | null;
6849
7063
  rate?: "low" | "mid" | "high" | null;
6850
- target?: { saved?: string | null } | string | null;
7064
+ target?:
7065
+ | { effective?: string | null; saved?: string | null }
7066
+ | string
7067
+ | null;
6851
7068
  type?: "reply" | "request" | null;
6852
7069
  } | null;
6853
7070
  interfaceAddress6?: string | null;
6854
7071
  modifiedOn?: string | null;
6855
- pskMetadata?: unknown | null;
7072
+ pskMetadata?: { lastGeneratedOn?: string | null } | null;
6856
7073
  replayProtection?: boolean | null;
6857
7074
  } | null;
6858
7075
  }
@@ -6974,6 +7191,9 @@ export const UpdateIpsecTunnelResponse =
6974
7191
  Schema.Union([
6975
7192
  Schema.Union([
6976
7193
  Schema.Struct({
7194
+ effective: Schema.optional(
7195
+ Schema.Union([Schema.String, Schema.Null]),
7196
+ ),
6977
7197
  saved: Schema.optional(
6978
7198
  Schema.Union([Schema.String, Schema.Null]),
6979
7199
  ),
@@ -7000,7 +7220,16 @@ export const UpdateIpsecTunnelResponse =
7000
7220
  Schema.Union([Schema.String, Schema.Null]),
7001
7221
  ),
7002
7222
  pskMetadata: Schema.optional(
7003
- Schema.Union([Schema.Unknown, Schema.Null]),
7223
+ Schema.Union([
7224
+ Schema.Struct({
7225
+ lastGeneratedOn: Schema.optional(
7226
+ Schema.Union([Schema.String, Schema.Null]),
7227
+ ),
7228
+ }).pipe(
7229
+ Schema.encodeKeys({ lastGeneratedOn: "last_generated_on" }),
7230
+ ),
7231
+ Schema.Null,
7232
+ ]),
7004
7233
  ),
7005
7234
  replayProtection: Schema.optional(
7006
7235
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -7107,12 +7336,15 @@ export interface DeleteIpsecTunnelResponse {
7107
7336
  direction?: "unidirectional" | "bidirectional" | null;
7108
7337
  enabled?: boolean | null;
7109
7338
  rate?: "low" | "mid" | "high" | null;
7110
- target?: { saved?: string | null } | string | null;
7339
+ target?:
7340
+ | { effective?: string | null; saved?: string | null }
7341
+ | string
7342
+ | null;
7111
7343
  type?: "reply" | "request" | null;
7112
7344
  } | null;
7113
7345
  interfaceAddress6?: string | null;
7114
7346
  modifiedOn?: string | null;
7115
- pskMetadata?: unknown | null;
7347
+ pskMetadata?: { lastGeneratedOn?: string | null } | null;
7116
7348
  replayProtection?: boolean | null;
7117
7349
  } | null;
7118
7350
  }
@@ -7234,6 +7466,9 @@ export const DeleteIpsecTunnelResponse =
7234
7466
  Schema.Union([
7235
7467
  Schema.Union([
7236
7468
  Schema.Struct({
7469
+ effective: Schema.optional(
7470
+ Schema.Union([Schema.String, Schema.Null]),
7471
+ ),
7237
7472
  saved: Schema.optional(
7238
7473
  Schema.Union([Schema.String, Schema.Null]),
7239
7474
  ),
@@ -7260,7 +7495,16 @@ export const DeleteIpsecTunnelResponse =
7260
7495
  Schema.Union([Schema.String, Schema.Null]),
7261
7496
  ),
7262
7497
  pskMetadata: Schema.optional(
7263
- Schema.Union([Schema.Unknown, Schema.Null]),
7498
+ Schema.Union([
7499
+ Schema.Struct({
7500
+ lastGeneratedOn: Schema.optional(
7501
+ Schema.Union([Schema.String, Schema.Null]),
7502
+ ),
7503
+ }).pipe(
7504
+ Schema.encodeKeys({ lastGeneratedOn: "last_generated_on" }),
7505
+ ),
7506
+ Schema.Null,
7507
+ ]),
7264
7508
  ),
7265
7509
  replayProtection: Schema.optional(
7266
7510
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -7362,7 +7606,13 @@ export type GetPcapResponse =
7362
7606
  coloName?: string | null;
7363
7607
  destinationConf?: string | null;
7364
7608
  errorMessage?: string | null;
7365
- filterV1?: unknown | null;
7609
+ filterV1?: {
7610
+ destinationAddress?: string | null;
7611
+ destinationPort?: number | null;
7612
+ protocol?: number | null;
7613
+ sourceAddress?: string | null;
7614
+ sourcePort?: number | null;
7615
+ } | null;
7366
7616
  packetsCaptured?: number | null;
7367
7617
  status?:
7368
7618
  | "unknown"
@@ -7456,7 +7706,34 @@ export const GetPcapResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
7456
7706
  Schema.Union([Schema.String, Schema.Null]),
7457
7707
  ),
7458
7708
  errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
7459
- filterV1: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
7709
+ filterV1: Schema.optional(
7710
+ Schema.Union([
7711
+ Schema.Struct({
7712
+ destinationAddress: Schema.optional(
7713
+ Schema.Union([Schema.String, Schema.Null]),
7714
+ ),
7715
+ destinationPort: Schema.optional(
7716
+ Schema.Union([Schema.Number, Schema.Null]),
7717
+ ),
7718
+ protocol: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
7719
+ sourceAddress: Schema.optional(
7720
+ Schema.Union([Schema.String, Schema.Null]),
7721
+ ),
7722
+ sourcePort: Schema.optional(
7723
+ Schema.Union([Schema.Number, Schema.Null]),
7724
+ ),
7725
+ }).pipe(
7726
+ Schema.encodeKeys({
7727
+ destinationAddress: "destination_address",
7728
+ destinationPort: "destination_port",
7729
+ protocol: "protocol",
7730
+ sourceAddress: "source_address",
7731
+ sourcePort: "source_port",
7732
+ }),
7733
+ ),
7734
+ Schema.Null,
7735
+ ]),
7736
+ ),
7460
7737
  packetsCaptured: Schema.optional(
7461
7738
  Schema.Union([Schema.Number, Schema.Null]),
7462
7739
  ),
@@ -7560,7 +7837,13 @@ export interface ListPcapsResponse {
7560
7837
  coloName?: string | null;
7561
7838
  destinationConf?: string | null;
7562
7839
  errorMessage?: string | null;
7563
- filterV1?: unknown | null;
7840
+ filterV1?: {
7841
+ destinationAddress?: string | null;
7842
+ destinationPort?: number | null;
7843
+ protocol?: number | null;
7844
+ sourceAddress?: string | null;
7845
+ sourcePort?: number | null;
7846
+ } | null;
7564
7847
  packetsCaptured?: number | null;
7565
7848
  status?:
7566
7849
  | "unknown"
@@ -7662,7 +7945,36 @@ export const ListPcapsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7662
7945
  errorMessage: Schema.optional(
7663
7946
  Schema.Union([Schema.String, Schema.Null]),
7664
7947
  ),
7665
- filterV1: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
7948
+ filterV1: Schema.optional(
7949
+ Schema.Union([
7950
+ Schema.Struct({
7951
+ destinationAddress: Schema.optional(
7952
+ Schema.Union([Schema.String, Schema.Null]),
7953
+ ),
7954
+ destinationPort: Schema.optional(
7955
+ Schema.Union([Schema.Number, Schema.Null]),
7956
+ ),
7957
+ protocol: Schema.optional(
7958
+ Schema.Union([Schema.Number, Schema.Null]),
7959
+ ),
7960
+ sourceAddress: Schema.optional(
7961
+ Schema.Union([Schema.String, Schema.Null]),
7962
+ ),
7963
+ sourcePort: Schema.optional(
7964
+ Schema.Union([Schema.Number, Schema.Null]),
7965
+ ),
7966
+ }).pipe(
7967
+ Schema.encodeKeys({
7968
+ destinationAddress: "destination_address",
7969
+ destinationPort: "destination_port",
7970
+ protocol: "protocol",
7971
+ sourceAddress: "source_address",
7972
+ sourcePort: "source_port",
7973
+ }),
7974
+ ),
7975
+ Schema.Null,
7976
+ ]),
7977
+ ),
7666
7978
  packetsCaptured: Schema.optional(
7667
7979
  Schema.Union([Schema.Number, Schema.Null]),
7668
7980
  ),
@@ -7760,7 +8072,13 @@ export const listPcaps: API.PaginatedOperationMethod<
7760
8072
  coloName?: string | null;
7761
8073
  destinationConf?: string | null;
7762
8074
  errorMessage?: string | null;
7763
- filterV1?: unknown | null;
8075
+ filterV1?: {
8076
+ destinationAddress?: string | null;
8077
+ destinationPort?: number | null;
8078
+ protocol?: number | null;
8079
+ sourceAddress?: string | null;
8080
+ sourcePort?: number | null;
8081
+ } | null;
7764
8082
  packetsCaptured?: number | null;
7765
8083
  status?:
7766
8084
  | "unknown"
@@ -7882,7 +8200,13 @@ export type CreatePcapResponse =
7882
8200
  coloName?: string | null;
7883
8201
  destinationConf?: string | null;
7884
8202
  errorMessage?: string | null;
7885
- filterV1?: unknown | null;
8203
+ filterV1?: {
8204
+ destinationAddress?: string | null;
8205
+ destinationPort?: number | null;
8206
+ protocol?: number | null;
8207
+ sourceAddress?: string | null;
8208
+ sourcePort?: number | null;
8209
+ } | null;
7886
8210
  packetsCaptured?: number | null;
7887
8211
  status?:
7888
8212
  | "unknown"
@@ -7976,7 +8300,34 @@ export const CreatePcapResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
7976
8300
  Schema.Union([Schema.String, Schema.Null]),
7977
8301
  ),
7978
8302
  errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
7979
- filterV1: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
8303
+ filterV1: Schema.optional(
8304
+ Schema.Union([
8305
+ Schema.Struct({
8306
+ destinationAddress: Schema.optional(
8307
+ Schema.Union([Schema.String, Schema.Null]),
8308
+ ),
8309
+ destinationPort: Schema.optional(
8310
+ Schema.Union([Schema.Number, Schema.Null]),
8311
+ ),
8312
+ protocol: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
8313
+ sourceAddress: Schema.optional(
8314
+ Schema.Union([Schema.String, Schema.Null]),
8315
+ ),
8316
+ sourcePort: Schema.optional(
8317
+ Schema.Union([Schema.Number, Schema.Null]),
8318
+ ),
8319
+ }).pipe(
8320
+ Schema.encodeKeys({
8321
+ destinationAddress: "destination_address",
8322
+ destinationPort: "destination_port",
8323
+ protocol: "protocol",
8324
+ sourceAddress: "source_address",
8325
+ sourcePort: "source_port",
8326
+ }),
8327
+ ),
8328
+ Schema.Null,
8329
+ ]),
8330
+ ),
7980
8331
  packetsCaptured: Schema.optional(
7981
8332
  Schema.Union([Schema.Number, Schema.Null]),
7982
8333
  ),
@@ -8411,7 +8762,15 @@ export interface BulkPutCfInterconnectsResponse {
8411
8762
  createdOn?: string | null;
8412
8763
  description?: string | null;
8413
8764
  gre?: { cloudflareEndpoint?: string | null } | null;
8414
- healthCheck?: unknown | null;
8765
+ healthCheck?: {
8766
+ enabled?: boolean | null;
8767
+ rate?: "low" | "mid" | "high" | null;
8768
+ target?:
8769
+ | { effective?: string | null; saved?: string | null }
8770
+ | string
8771
+ | null;
8772
+ type?: "reply" | "request" | null;
8773
+ } | null;
8415
8774
  interfaceAddress?: string | null;
8416
8775
  interfaceAddress6?: string | null;
8417
8776
  modifiedOn?: string | null;
@@ -8456,7 +8815,42 @@ export const BulkPutCfInterconnectsResponse =
8456
8815
  ]),
8457
8816
  ),
8458
8817
  healthCheck: Schema.optional(
8459
- Schema.Union([Schema.Unknown, Schema.Null]),
8818
+ Schema.Union([
8819
+ Schema.Struct({
8820
+ enabled: Schema.optional(
8821
+ Schema.Union([Schema.Boolean, Schema.Null]),
8822
+ ),
8823
+ rate: Schema.optional(
8824
+ Schema.Union([
8825
+ Schema.Literals(["low", "mid", "high"]),
8826
+ Schema.Null,
8827
+ ]),
8828
+ ),
8829
+ target: Schema.optional(
8830
+ Schema.Union([
8831
+ Schema.Union([
8832
+ Schema.Struct({
8833
+ effective: Schema.optional(
8834
+ Schema.Union([Schema.String, Schema.Null]),
8835
+ ),
8836
+ saved: Schema.optional(
8837
+ Schema.Union([Schema.String, Schema.Null]),
8838
+ ),
8839
+ }),
8840
+ Schema.String,
8841
+ ]),
8842
+ Schema.Null,
8843
+ ]),
8844
+ ),
8845
+ type: Schema.optional(
8846
+ Schema.Union([
8847
+ Schema.Literals(["reply", "request"]),
8848
+ Schema.Null,
8849
+ ]),
8850
+ ),
8851
+ }),
8852
+ Schema.Null,
8853
+ ]),
8460
8854
  ),
8461
8855
  interfaceAddress: Schema.optional(
8462
8856
  Schema.Union([Schema.String, Schema.Null]),
@@ -8568,7 +8962,10 @@ export interface BulkPutGreTunnelsResponse {
8568
8962
  direction?: "unidirectional" | "bidirectional" | null;
8569
8963
  enabled?: boolean | null;
8570
8964
  rate?: "low" | "mid" | "high" | null;
8571
- target?: { saved?: string | null } | string | null;
8965
+ target?:
8966
+ | { effective?: string | null; saved?: string | null }
8967
+ | string
8968
+ | null;
8572
8969
  type?: "reply" | "request" | null;
8573
8970
  } | null;
8574
8971
  interfaceAddress6?: string | null;
@@ -8682,6 +9079,9 @@ export const BulkPutGreTunnelsResponse =
8682
9079
  Schema.Union([
8683
9080
  Schema.Union([
8684
9081
  Schema.Struct({
9082
+ effective: Schema.optional(
9083
+ Schema.Union([Schema.String, Schema.Null]),
9084
+ ),
8685
9085
  saved: Schema.optional(
8686
9086
  Schema.Union([Schema.String, Schema.Null]),
8687
9087
  ),
@@ -8816,12 +9216,15 @@ export interface BulkPutIpsecTunnelsResponse {
8816
9216
  direction?: "unidirectional" | "bidirectional" | null;
8817
9217
  enabled?: boolean | null;
8818
9218
  rate?: "low" | "mid" | "high" | null;
8819
- target?: { saved?: string | null } | string | null;
9219
+ target?:
9220
+ | { effective?: string | null; saved?: string | null }
9221
+ | string
9222
+ | null;
8820
9223
  type?: "reply" | "request" | null;
8821
9224
  } | null;
8822
9225
  interfaceAddress6?: string | null;
8823
9226
  modifiedOn?: string | null;
8824
- pskMetadata?: unknown | null;
9227
+ pskMetadata?: { lastGeneratedOn?: string | null } | null;
8825
9228
  replayProtection?: boolean | null;
8826
9229
  }[]
8827
9230
  | null;
@@ -8945,6 +9348,9 @@ export const BulkPutIpsecTunnelsResponse =
8945
9348
  Schema.Union([
8946
9349
  Schema.Union([
8947
9350
  Schema.Struct({
9351
+ effective: Schema.optional(
9352
+ Schema.Union([Schema.String, Schema.Null]),
9353
+ ),
8948
9354
  saved: Schema.optional(
8949
9355
  Schema.Union([Schema.String, Schema.Null]),
8950
9356
  ),
@@ -8971,7 +9377,16 @@ export const BulkPutIpsecTunnelsResponse =
8971
9377
  Schema.Union([Schema.String, Schema.Null]),
8972
9378
  ),
8973
9379
  pskMetadata: Schema.optional(
8974
- Schema.Union([Schema.Unknown, Schema.Null]),
9380
+ Schema.Union([
9381
+ Schema.Struct({
9382
+ lastGeneratedOn: Schema.optional(
9383
+ Schema.Union([Schema.String, Schema.Null]),
9384
+ ),
9385
+ }).pipe(
9386
+ Schema.encodeKeys({ lastGeneratedOn: "last_generated_on" }),
9387
+ ),
9388
+ Schema.Null,
9389
+ ]),
8975
9390
  ),
8976
9391
  replayProtection: Schema.optional(
8977
9392
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -9039,7 +9454,7 @@ export interface BulkPutRoutesRequest {
9039
9454
  prefix: string;
9040
9455
  priority: number;
9041
9456
  description?: string;
9042
- scope?: unknown;
9457
+ scope?: { coloNames?: string[]; coloRegions?: string[] };
9043
9458
  weight?: number;
9044
9459
  }[];
9045
9460
  }
@@ -9053,7 +9468,17 @@ export const BulkPutRoutesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9053
9468
  prefix: Schema.String,
9054
9469
  priority: Schema.Number,
9055
9470
  description: Schema.optional(Schema.String),
9056
- scope: Schema.optional(Schema.Unknown),
9471
+ scope: Schema.optional(
9472
+ Schema.Struct({
9473
+ coloNames: Schema.optional(Schema.Array(Schema.String)),
9474
+ coloRegions: Schema.optional(Schema.Array(Schema.String)),
9475
+ }).pipe(
9476
+ Schema.encodeKeys({
9477
+ coloNames: "colo_names",
9478
+ coloRegions: "colo_regions",
9479
+ }),
9480
+ ),
9481
+ ),
9057
9482
  weight: Schema.optional(Schema.Number),
9058
9483
  }),
9059
9484
  ),
@@ -9072,7 +9497,10 @@ export interface BulkPutRoutesResponse {
9072
9497
  createdOn?: string | null;
9073
9498
  description?: string | null;
9074
9499
  modifiedOn?: string | null;
9075
- scope?: unknown | null;
9500
+ scope?: {
9501
+ coloNames?: string[] | null;
9502
+ coloRegions?: string[] | null;
9503
+ } | null;
9076
9504
  weight?: number | null;
9077
9505
  }[]
9078
9506
  | null;
@@ -9097,7 +9525,24 @@ export const BulkPutRoutesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9097
9525
  modifiedOn: Schema.optional(
9098
9526
  Schema.Union([Schema.String, Schema.Null]),
9099
9527
  ),
9100
- scope: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
9528
+ scope: Schema.optional(
9529
+ Schema.Union([
9530
+ Schema.Struct({
9531
+ coloNames: Schema.optional(
9532
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9533
+ ),
9534
+ coloRegions: Schema.optional(
9535
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9536
+ ),
9537
+ }).pipe(
9538
+ Schema.encodeKeys({
9539
+ coloNames: "colo_names",
9540
+ coloRegions: "colo_regions",
9541
+ }),
9542
+ ),
9543
+ Schema.Null,
9544
+ ]),
9545
+ ),
9101
9546
  weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
9102
9547
  }).pipe(
9103
9548
  Schema.encodeKeys({
@@ -9169,7 +9614,10 @@ export interface GetRouteResponse {
9169
9614
  createdOn?: string | null;
9170
9615
  description?: string | null;
9171
9616
  modifiedOn?: string | null;
9172
- scope?: unknown | null;
9617
+ scope?: {
9618
+ coloNames?: string[] | null;
9619
+ coloRegions?: string[] | null;
9620
+ } | null;
9173
9621
  weight?: number | null;
9174
9622
  } | null;
9175
9623
  }
@@ -9187,7 +9635,24 @@ export const GetRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9187
9635
  Schema.Union([Schema.String, Schema.Null]),
9188
9636
  ),
9189
9637
  modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
9190
- scope: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
9638
+ scope: Schema.optional(
9639
+ Schema.Union([
9640
+ Schema.Struct({
9641
+ coloNames: Schema.optional(
9642
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9643
+ ),
9644
+ coloRegions: Schema.optional(
9645
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9646
+ ),
9647
+ }).pipe(
9648
+ Schema.encodeKeys({
9649
+ coloNames: "colo_names",
9650
+ coloRegions: "colo_regions",
9651
+ }),
9652
+ ),
9653
+ Schema.Null,
9654
+ ]),
9655
+ ),
9191
9656
  weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
9192
9657
  }).pipe(
9193
9658
  Schema.encodeKeys({
@@ -9241,7 +9706,10 @@ export interface ListRoutesResponse {
9241
9706
  createdOn?: string | null;
9242
9707
  description?: string | null;
9243
9708
  modifiedOn?: string | null;
9244
- scope?: unknown | null;
9709
+ scope?: {
9710
+ coloNames?: string[] | null;
9711
+ coloRegions?: string[] | null;
9712
+ } | null;
9245
9713
  weight?: number | null;
9246
9714
  }[]
9247
9715
  | null;
@@ -9265,7 +9733,24 @@ export const ListRoutesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9265
9733
  modifiedOn: Schema.optional(
9266
9734
  Schema.Union([Schema.String, Schema.Null]),
9267
9735
  ),
9268
- scope: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
9736
+ scope: Schema.optional(
9737
+ Schema.Union([
9738
+ Schema.Struct({
9739
+ coloNames: Schema.optional(
9740
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9741
+ ),
9742
+ coloRegions: Schema.optional(
9743
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9744
+ ),
9745
+ }).pipe(
9746
+ Schema.encodeKeys({
9747
+ coloNames: "colo_names",
9748
+ coloRegions: "colo_regions",
9749
+ }),
9750
+ ),
9751
+ Schema.Null,
9752
+ ]),
9753
+ ),
9269
9754
  weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
9270
9755
  }).pipe(
9271
9756
  Schema.encodeKeys({
@@ -9473,7 +9958,10 @@ export interface UpdateRouteResponse {
9473
9958
  createdOn?: string | null;
9474
9959
  description?: string | null;
9475
9960
  modifiedOn?: string | null;
9476
- scope?: unknown | null;
9961
+ scope?: {
9962
+ coloNames?: string[] | null;
9963
+ coloRegions?: string[] | null;
9964
+ } | null;
9477
9965
  weight?: number | null;
9478
9966
  } | null;
9479
9967
  }
@@ -9492,7 +9980,24 @@ export const UpdateRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9492
9980
  Schema.Union([Schema.String, Schema.Null]),
9493
9981
  ),
9494
9982
  modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
9495
- scope: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
9983
+ scope: Schema.optional(
9984
+ Schema.Union([
9985
+ Schema.Struct({
9986
+ coloNames: Schema.optional(
9987
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9988
+ ),
9989
+ coloRegions: Schema.optional(
9990
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
9991
+ ),
9992
+ }).pipe(
9993
+ Schema.encodeKeys({
9994
+ coloNames: "colo_names",
9995
+ coloRegions: "colo_regions",
9996
+ }),
9997
+ ),
9998
+ Schema.Null,
9999
+ ]),
10000
+ ),
9496
10001
  weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
9497
10002
  }).pipe(
9498
10003
  Schema.encodeKeys({
@@ -9560,7 +10065,10 @@ export interface DeleteRouteResponse {
9560
10065
  createdOn?: string | null;
9561
10066
  description?: string | null;
9562
10067
  modifiedOn?: string | null;
9563
- scope?: unknown | null;
10068
+ scope?: {
10069
+ coloNames?: string[] | null;
10070
+ coloRegions?: string[] | null;
10071
+ } | null;
9564
10072
  weight?: number | null;
9565
10073
  } | null;
9566
10074
  }
@@ -9579,7 +10087,24 @@ export const DeleteRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9579
10087
  Schema.Union([Schema.String, Schema.Null]),
9580
10088
  ),
9581
10089
  modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
9582
- scope: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
10090
+ scope: Schema.optional(
10091
+ Schema.Union([
10092
+ Schema.Struct({
10093
+ coloNames: Schema.optional(
10094
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
10095
+ ),
10096
+ coloRegions: Schema.optional(
10097
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
10098
+ ),
10099
+ }).pipe(
10100
+ Schema.encodeKeys({
10101
+ coloNames: "colo_names",
10102
+ coloRegions: "colo_regions",
10103
+ }),
10104
+ ),
10105
+ Schema.Null,
10106
+ ]),
10107
+ ),
9583
10108
  weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
9584
10109
  }).pipe(
9585
10110
  Schema.encodeKeys({
@@ -9640,7 +10165,10 @@ export interface EmptyRouteResponse {
9640
10165
  createdOn?: string | null;
9641
10166
  description?: string | null;
9642
10167
  modifiedOn?: string | null;
9643
- scope?: unknown | null;
10168
+ scope?: {
10169
+ coloNames?: string[] | null;
10170
+ coloRegions?: string[] | null;
10171
+ } | null;
9644
10172
  weight?: number | null;
9645
10173
  }[]
9646
10174
  | null;
@@ -9665,7 +10193,24 @@ export const EmptyRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9665
10193
  modifiedOn: Schema.optional(
9666
10194
  Schema.Union([Schema.String, Schema.Null]),
9667
10195
  ),
9668
- scope: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
10196
+ scope: Schema.optional(
10197
+ Schema.Union([
10198
+ Schema.Struct({
10199
+ coloNames: Schema.optional(
10200
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
10201
+ ),
10202
+ coloRegions: Schema.optional(
10203
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
10204
+ ),
10205
+ }).pipe(
10206
+ Schema.encodeKeys({
10207
+ coloNames: "colo_names",
10208
+ coloRegions: "colo_regions",
10209
+ }),
10210
+ ),
10211
+ Schema.Null,
10212
+ ]),
10213
+ ),
9669
10214
  weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
9670
10215
  }).pipe(
9671
10216
  Schema.encodeKeys({
@@ -11522,7 +12067,10 @@ export const GetSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11522
12067
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
11523
12068
  ),
11524
12069
  reservations: Schema.optional(
11525
- Schema.Union([Schema.Struct({}), Schema.Null]),
12070
+ Schema.Union([
12071
+ Schema.Record(Schema.String, Schema.Unknown),
12072
+ Schema.Null,
12073
+ ]),
11526
12074
  ),
11527
12075
  }).pipe(
11528
12076
  Schema.encodeKeys({
@@ -11711,7 +12259,10 @@ export const ListSiteLansResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11711
12259
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
11712
12260
  ),
11713
12261
  reservations: Schema.optional(
11714
- Schema.Union([Schema.Struct({}), Schema.Null]),
12262
+ Schema.Union([
12263
+ Schema.Record(Schema.String, Schema.Unknown),
12264
+ Schema.Null,
12265
+ ]),
11715
12266
  ),
11716
12267
  }).pipe(
11717
12268
  Schema.encodeKeys({
@@ -11898,7 +12449,9 @@ export const CreateSiteLanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11898
12449
  dhcpPoolStart: Schema.optional(Schema.String),
11899
12450
  dnsServer: Schema.optional(Schema.String),
11900
12451
  dnsServers: Schema.optional(Schema.Array(Schema.String)),
11901
- reservations: Schema.optional(Schema.Struct({})),
12452
+ reservations: Schema.optional(
12453
+ Schema.Record(Schema.String, Schema.Unknown),
12454
+ ),
11902
12455
  }).pipe(
11903
12456
  Schema.encodeKeys({
11904
12457
  dhcpPoolEnd: "dhcp_pool_end",
@@ -12047,7 +12600,10 @@ export const CreateSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12047
12600
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
12048
12601
  ),
12049
12602
  reservations: Schema.optional(
12050
- Schema.Union([Schema.Struct({}), Schema.Null]),
12603
+ Schema.Union([
12604
+ Schema.Record(Schema.String, Schema.Unknown),
12605
+ Schema.Null,
12606
+ ]),
12051
12607
  ),
12052
12608
  }).pipe(
12053
12609
  Schema.encodeKeys({
@@ -12233,7 +12789,9 @@ export const UpdateSiteLanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12233
12789
  dhcpPoolStart: Schema.optional(Schema.String),
12234
12790
  dnsServer: Schema.optional(Schema.String),
12235
12791
  dnsServers: Schema.optional(Schema.Array(Schema.String)),
12236
- reservations: Schema.optional(Schema.Struct({})),
12792
+ reservations: Schema.optional(
12793
+ Schema.Record(Schema.String, Schema.Unknown),
12794
+ ),
12237
12795
  }).pipe(
12238
12796
  Schema.encodeKeys({
12239
12797
  dhcpPoolEnd: "dhcp_pool_end",
@@ -12380,7 +12938,10 @@ export const UpdateSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12380
12938
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
12381
12939
  ),
12382
12940
  reservations: Schema.optional(
12383
- Schema.Union([Schema.Struct({}), Schema.Null]),
12941
+ Schema.Union([
12942
+ Schema.Record(Schema.String, Schema.Unknown),
12943
+ Schema.Null,
12944
+ ]),
12384
12945
  ),
12385
12946
  }).pipe(
12386
12947
  Schema.encodeKeys({
@@ -12523,7 +13084,9 @@ export const PatchSiteLanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12523
13084
  dhcpPoolStart: Schema.optional(Schema.String),
12524
13085
  dnsServer: Schema.optional(Schema.String),
12525
13086
  dnsServers: Schema.optional(Schema.Array(Schema.String)),
12526
- reservations: Schema.optional(Schema.Struct({})),
13087
+ reservations: Schema.optional(
13088
+ Schema.Record(Schema.String, Schema.Unknown),
13089
+ ),
12527
13090
  }).pipe(
12528
13091
  Schema.encodeKeys({
12529
13092
  dhcpPoolEnd: "dhcp_pool_end",
@@ -12670,7 +13233,10 @@ export const PatchSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12670
13233
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
12671
13234
  ),
12672
13235
  reservations: Schema.optional(
12673
- Schema.Union([Schema.Struct({}), Schema.Null]),
13236
+ Schema.Union([
13237
+ Schema.Record(Schema.String, Schema.Unknown),
13238
+ Schema.Null,
13239
+ ]),
12674
13240
  ),
12675
13241
  }).pipe(
12676
13242
  Schema.encodeKeys({
@@ -12860,7 +13426,10 @@ export const DeleteSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12860
13426
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
12861
13427
  ),
12862
13428
  reservations: Schema.optional(
12863
- Schema.Union([Schema.Struct({}), Schema.Null]),
13429
+ Schema.Union([
13430
+ Schema.Record(Schema.String, Schema.Unknown),
13431
+ Schema.Null,
13432
+ ]),
12864
13433
  ),
12865
13434
  }).pipe(
12866
13435
  Schema.encodeKeys({