@distilled.cloud/cloudflare 0.16.3 → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +29 -3
- package/lib/client/api.js.map +1 -1
- package/lib/services/ai.js +25 -25
- package/lib/services/ai.js.map +1 -1
- package/lib/services/api-gateway.js +84 -84
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/connectivity.js +12 -12
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/dns.js +439 -439
- package/lib/services/dns.js.map +1 -1
- package/lib/services/firewall.js +76 -76
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/hyperdrive.js +26 -26
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/magic-cloud-networking.js +7 -7
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-transit.js +8 -8
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/pipelines.js +101 -101
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/radar.js +32 -32
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.js +5 -5
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/rules.js +4 -4
- package/lib/services/rules.js.map +1 -1
- package/lib/services/token-validation.js +84 -84
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/workers-for-platforms.js +438 -438
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.js +1207 -1207
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.js +9 -9
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zero-trust.js +3979 -3979
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.js +50 -50
- package/lib/services/zones.js.map +1 -1
- package/package.json +6 -6
- package/src/client/api.ts +30 -3
- package/src/services/ai.ts +35 -35
- package/src/services/api-gateway.ts +130 -130
- package/src/services/connectivity.ts +12 -12
- package/src/services/dns.ts +523 -523
- package/src/services/firewall.ts +80 -80
- package/src/services/hyperdrive.ts +28 -28
- package/src/services/magic-cloud-networking.ts +8 -8
- package/src/services/magic-transit.ts +8 -8
- package/src/services/pipelines.ts +149 -149
- package/src/services/radar.ts +32 -32
- package/src/services/realtime-kit.ts +5 -5
- package/src/services/rules.ts +4 -4
- package/src/services/token-validation.ts +84 -84
- package/src/services/workers-for-platforms.ts +555 -555
- package/src/services/workers.ts +1524 -1524
- package/src/services/workflows.ts +9 -9
- package/src/services/zero-trust.ts +5599 -5599
- package/src/services/zones.ts +74 -74
package/lib/services/zones.js
CHANGED
|
@@ -342,17 +342,6 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
342
342
|
editable: "editable",
|
|
343
343
|
modifiedOn: "modified_on",
|
|
344
344
|
})),
|
|
345
|
-
Schema.Struct({
|
|
346
|
-
id: Schema.Literal("aegis"),
|
|
347
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
348
|
-
value: Schema.optional(Schema.Union([
|
|
349
|
-
Schema.Struct({
|
|
350
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
351
|
-
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
352
|
-
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
353
|
-
Schema.Null,
|
|
354
|
-
])),
|
|
355
|
-
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
356
345
|
Schema.Struct({
|
|
357
346
|
id: Schema.Literal("always_online"),
|
|
358
347
|
value: Schema.Literals(["on", "off"]),
|
|
@@ -743,16 +732,6 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
743
732
|
editable: "editable",
|
|
744
733
|
modifiedOn: "modified_on",
|
|
745
734
|
})),
|
|
746
|
-
Schema.Struct({
|
|
747
|
-
id: Schema.Literal("origin_h2_max_streams"),
|
|
748
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
749
|
-
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
750
|
-
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
751
|
-
Schema.Struct({
|
|
752
|
-
id: Schema.Literal("origin_max_http_version"),
|
|
753
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
754
|
-
value: Schema.optional(Schema.Union([Schema.Literals(["2", "1"]), Schema.Null])),
|
|
755
|
-
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
756
735
|
Schema.Struct({
|
|
757
736
|
id: Schema.Literal("polish"),
|
|
758
737
|
value: Schema.Literals(["off", "lossless", "lossy"]),
|
|
@@ -958,10 +937,6 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
958
937
|
editable: "editable",
|
|
959
938
|
modifiedOn: "modified_on",
|
|
960
939
|
})),
|
|
961
|
-
Schema.Struct({
|
|
962
|
-
id: Schema.optional(Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null])),
|
|
963
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
964
|
-
}),
|
|
965
940
|
Schema.Struct({
|
|
966
941
|
id: Schema.Literal("tls_1_2_only"),
|
|
967
942
|
value: Schema.Literals(["off", "on"]),
|
|
@@ -1061,6 +1036,31 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1061
1036
|
editable: "editable",
|
|
1062
1037
|
modifiedOn: "modified_on",
|
|
1063
1038
|
})),
|
|
1039
|
+
Schema.Struct({
|
|
1040
|
+
id: Schema.Literal("aegis"),
|
|
1041
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1042
|
+
value: Schema.optional(Schema.Union([
|
|
1043
|
+
Schema.Struct({
|
|
1044
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1045
|
+
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1046
|
+
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
1047
|
+
Schema.Null,
|
|
1048
|
+
])),
|
|
1049
|
+
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1050
|
+
Schema.Struct({
|
|
1051
|
+
id: Schema.Literal("origin_h2_max_streams"),
|
|
1052
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1053
|
+
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1054
|
+
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1055
|
+
Schema.Struct({
|
|
1056
|
+
id: Schema.Literal("origin_max_http_version"),
|
|
1057
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1058
|
+
value: Schema.optional(Schema.Union([Schema.Literals(["2", "1"]), Schema.Null])),
|
|
1059
|
+
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1060
|
+
Schema.Struct({
|
|
1061
|
+
id: Schema.optional(Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null])),
|
|
1062
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1063
|
+
}),
|
|
1064
1064
|
]).pipe(T.ResponsePath("result"));
|
|
1065
1065
|
export const getSetting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1066
1066
|
input: GetSettingRequest,
|
|
@@ -1095,17 +1095,6 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1095
1095
|
editable: "editable",
|
|
1096
1096
|
modifiedOn: "modified_on",
|
|
1097
1097
|
})),
|
|
1098
|
-
Schema.Struct({
|
|
1099
|
-
id: Schema.Literal("aegis"),
|
|
1100
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1101
|
-
value: Schema.optional(Schema.Union([
|
|
1102
|
-
Schema.Struct({
|
|
1103
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1104
|
-
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1105
|
-
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
1106
|
-
Schema.Null,
|
|
1107
|
-
])),
|
|
1108
|
-
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1109
1098
|
Schema.Struct({
|
|
1110
1099
|
id: Schema.Literal("always_online"),
|
|
1111
1100
|
value: Schema.Literals(["on", "off"]),
|
|
@@ -1496,16 +1485,6 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1496
1485
|
editable: "editable",
|
|
1497
1486
|
modifiedOn: "modified_on",
|
|
1498
1487
|
})),
|
|
1499
|
-
Schema.Struct({
|
|
1500
|
-
id: Schema.Literal("origin_h2_max_streams"),
|
|
1501
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1502
|
-
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1503
|
-
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1504
|
-
Schema.Struct({
|
|
1505
|
-
id: Schema.Literal("origin_max_http_version"),
|
|
1506
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1507
|
-
value: Schema.optional(Schema.Union([Schema.Literals(["2", "1"]), Schema.Null])),
|
|
1508
|
-
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1509
1488
|
Schema.Struct({
|
|
1510
1489
|
id: Schema.Literal("polish"),
|
|
1511
1490
|
value: Schema.Literals(["off", "lossless", "lossy"]),
|
|
@@ -1711,10 +1690,6 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1711
1690
|
editable: "editable",
|
|
1712
1691
|
modifiedOn: "modified_on",
|
|
1713
1692
|
})),
|
|
1714
|
-
Schema.Struct({
|
|
1715
|
-
id: Schema.optional(Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null])),
|
|
1716
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1717
|
-
}),
|
|
1718
1693
|
Schema.Struct({
|
|
1719
1694
|
id: Schema.Literal("tls_1_2_only"),
|
|
1720
1695
|
value: Schema.Literals(["off", "on"]),
|
|
@@ -1814,6 +1789,31 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1814
1789
|
editable: "editable",
|
|
1815
1790
|
modifiedOn: "modified_on",
|
|
1816
1791
|
})),
|
|
1792
|
+
Schema.Struct({
|
|
1793
|
+
id: Schema.Literal("aegis"),
|
|
1794
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1795
|
+
value: Schema.optional(Schema.Union([
|
|
1796
|
+
Schema.Struct({
|
|
1797
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1798
|
+
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1799
|
+
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
1800
|
+
Schema.Null,
|
|
1801
|
+
])),
|
|
1802
|
+
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1803
|
+
Schema.Struct({
|
|
1804
|
+
id: Schema.Literal("origin_h2_max_streams"),
|
|
1805
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1806
|
+
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1807
|
+
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1808
|
+
Schema.Struct({
|
|
1809
|
+
id: Schema.Literal("origin_max_http_version"),
|
|
1810
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1811
|
+
value: Schema.optional(Schema.Union([Schema.Literals(["2", "1"]), Schema.Null])),
|
|
1812
|
+
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })),
|
|
1813
|
+
Schema.Struct({
|
|
1814
|
+
id: Schema.optional(Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null])),
|
|
1815
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1816
|
+
}),
|
|
1817
1817
|
]).pipe(T.ResponsePath("result"));
|
|
1818
1818
|
export const patchSetting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1819
1819
|
input: PatchSettingRequest,
|