@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/src/services/zones.ts
CHANGED
|
@@ -1211,21 +1211,6 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1211
1211
|
modifiedOn: "modified_on",
|
|
1212
1212
|
}),
|
|
1213
1213
|
),
|
|
1214
|
-
Schema.Struct({
|
|
1215
|
-
id: Schema.Literal("aegis"),
|
|
1216
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1217
|
-
value: Schema.optional(
|
|
1218
|
-
Schema.Union([
|
|
1219
|
-
Schema.Struct({
|
|
1220
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1221
|
-
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1222
|
-
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
1223
|
-
Schema.Null,
|
|
1224
|
-
]),
|
|
1225
|
-
),
|
|
1226
|
-
}).pipe(
|
|
1227
|
-
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
1228
|
-
),
|
|
1229
1214
|
Schema.Struct({
|
|
1230
1215
|
id: Schema.Literal("always_online"),
|
|
1231
1216
|
value: Schema.Literals(["on", "off"]),
|
|
@@ -1736,22 +1721,6 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1736
1721
|
modifiedOn: "modified_on",
|
|
1737
1722
|
}),
|
|
1738
1723
|
),
|
|
1739
|
-
Schema.Struct({
|
|
1740
|
-
id: Schema.Literal("origin_h2_max_streams"),
|
|
1741
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1742
|
-
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1743
|
-
}).pipe(
|
|
1744
|
-
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
1745
|
-
),
|
|
1746
|
-
Schema.Struct({
|
|
1747
|
-
id: Schema.Literal("origin_max_http_version"),
|
|
1748
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1749
|
-
value: Schema.optional(
|
|
1750
|
-
Schema.Union([Schema.Literals(["2", "1"]), Schema.Null]),
|
|
1751
|
-
),
|
|
1752
|
-
}).pipe(
|
|
1753
|
-
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
1754
|
-
),
|
|
1755
1724
|
Schema.Struct({
|
|
1756
1725
|
id: Schema.Literal("polish"),
|
|
1757
1726
|
value: Schema.Literals(["off", "lossless", "lossy"]),
|
|
@@ -2033,12 +2002,6 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
2033
2002
|
modifiedOn: "modified_on",
|
|
2034
2003
|
}),
|
|
2035
2004
|
),
|
|
2036
|
-
Schema.Struct({
|
|
2037
|
-
id: Schema.optional(
|
|
2038
|
-
Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null]),
|
|
2039
|
-
),
|
|
2040
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2041
|
-
}),
|
|
2042
2005
|
Schema.Struct({
|
|
2043
2006
|
id: Schema.Literal("tls_1_2_only"),
|
|
2044
2007
|
value: Schema.Literals(["off", "on"]),
|
|
@@ -2174,6 +2137,43 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
2174
2137
|
modifiedOn: "modified_on",
|
|
2175
2138
|
}),
|
|
2176
2139
|
),
|
|
2140
|
+
Schema.Struct({
|
|
2141
|
+
id: Schema.Literal("aegis"),
|
|
2142
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2143
|
+
value: Schema.optional(
|
|
2144
|
+
Schema.Union([
|
|
2145
|
+
Schema.Struct({
|
|
2146
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2147
|
+
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2148
|
+
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
2149
|
+
Schema.Null,
|
|
2150
|
+
]),
|
|
2151
|
+
),
|
|
2152
|
+
}).pipe(
|
|
2153
|
+
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
2154
|
+
),
|
|
2155
|
+
Schema.Struct({
|
|
2156
|
+
id: Schema.Literal("origin_h2_max_streams"),
|
|
2157
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2158
|
+
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2159
|
+
}).pipe(
|
|
2160
|
+
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
2161
|
+
),
|
|
2162
|
+
Schema.Struct({
|
|
2163
|
+
id: Schema.Literal("origin_max_http_version"),
|
|
2164
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2165
|
+
value: Schema.optional(
|
|
2166
|
+
Schema.Union([Schema.Literals(["2", "1"]), Schema.Null]),
|
|
2167
|
+
),
|
|
2168
|
+
}).pipe(
|
|
2169
|
+
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
2170
|
+
),
|
|
2171
|
+
Schema.Struct({
|
|
2172
|
+
id: Schema.optional(
|
|
2173
|
+
Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null]),
|
|
2174
|
+
),
|
|
2175
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2176
|
+
}),
|
|
2177
2177
|
]).pipe(
|
|
2178
2178
|
T.ResponsePath("result"),
|
|
2179
2179
|
) as unknown as Schema.Schema<GetSettingResponse>;
|
|
@@ -2667,21 +2667,6 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
2667
2667
|
modifiedOn: "modified_on",
|
|
2668
2668
|
}),
|
|
2669
2669
|
),
|
|
2670
|
-
Schema.Struct({
|
|
2671
|
-
id: Schema.Literal("aegis"),
|
|
2672
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2673
|
-
value: Schema.optional(
|
|
2674
|
-
Schema.Union([
|
|
2675
|
-
Schema.Struct({
|
|
2676
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2677
|
-
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2678
|
-
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
2679
|
-
Schema.Null,
|
|
2680
|
-
]),
|
|
2681
|
-
),
|
|
2682
|
-
}).pipe(
|
|
2683
|
-
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
2684
|
-
),
|
|
2685
2670
|
Schema.Struct({
|
|
2686
2671
|
id: Schema.Literal("always_online"),
|
|
2687
2672
|
value: Schema.Literals(["on", "off"]),
|
|
@@ -3192,22 +3177,6 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
3192
3177
|
modifiedOn: "modified_on",
|
|
3193
3178
|
}),
|
|
3194
3179
|
),
|
|
3195
|
-
Schema.Struct({
|
|
3196
|
-
id: Schema.Literal("origin_h2_max_streams"),
|
|
3197
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3198
|
-
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3199
|
-
}).pipe(
|
|
3200
|
-
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
3201
|
-
),
|
|
3202
|
-
Schema.Struct({
|
|
3203
|
-
id: Schema.Literal("origin_max_http_version"),
|
|
3204
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3205
|
-
value: Schema.optional(
|
|
3206
|
-
Schema.Union([Schema.Literals(["2", "1"]), Schema.Null]),
|
|
3207
|
-
),
|
|
3208
|
-
}).pipe(
|
|
3209
|
-
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
3210
|
-
),
|
|
3211
3180
|
Schema.Struct({
|
|
3212
3181
|
id: Schema.Literal("polish"),
|
|
3213
3182
|
value: Schema.Literals(["off", "lossless", "lossy"]),
|
|
@@ -3489,12 +3458,6 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
3489
3458
|
modifiedOn: "modified_on",
|
|
3490
3459
|
}),
|
|
3491
3460
|
),
|
|
3492
|
-
Schema.Struct({
|
|
3493
|
-
id: Schema.optional(
|
|
3494
|
-
Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null]),
|
|
3495
|
-
),
|
|
3496
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3497
|
-
}),
|
|
3498
3461
|
Schema.Struct({
|
|
3499
3462
|
id: Schema.Literal("tls_1_2_only"),
|
|
3500
3463
|
value: Schema.Literals(["off", "on"]),
|
|
@@ -3630,6 +3593,43 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
3630
3593
|
modifiedOn: "modified_on",
|
|
3631
3594
|
}),
|
|
3632
3595
|
),
|
|
3596
|
+
Schema.Struct({
|
|
3597
|
+
id: Schema.Literal("aegis"),
|
|
3598
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3599
|
+
value: Schema.optional(
|
|
3600
|
+
Schema.Union([
|
|
3601
|
+
Schema.Struct({
|
|
3602
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3603
|
+
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3604
|
+
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })),
|
|
3605
|
+
Schema.Null,
|
|
3606
|
+
]),
|
|
3607
|
+
),
|
|
3608
|
+
}).pipe(
|
|
3609
|
+
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
3610
|
+
),
|
|
3611
|
+
Schema.Struct({
|
|
3612
|
+
id: Schema.Literal("origin_h2_max_streams"),
|
|
3613
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3614
|
+
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3615
|
+
}).pipe(
|
|
3616
|
+
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
3617
|
+
),
|
|
3618
|
+
Schema.Struct({
|
|
3619
|
+
id: Schema.Literal("origin_max_http_version"),
|
|
3620
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3621
|
+
value: Schema.optional(
|
|
3622
|
+
Schema.Union([Schema.Literals(["2", "1"]), Schema.Null]),
|
|
3623
|
+
),
|
|
3624
|
+
}).pipe(
|
|
3625
|
+
Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" }),
|
|
3626
|
+
),
|
|
3627
|
+
Schema.Struct({
|
|
3628
|
+
id: Schema.optional(
|
|
3629
|
+
Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null]),
|
|
3630
|
+
),
|
|
3631
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3632
|
+
}),
|
|
3633
3633
|
]).pipe(
|
|
3634
3634
|
T.ResponsePath("result"),
|
|
3635
3635
|
) as unknown as Schema.Schema<PatchSettingResponse>;
|