@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.
- package/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
package/src/services/firewall.ts
CHANGED
|
@@ -852,7 +852,10 @@ export interface GetLockdownResponse {
|
|
|
852
852
|
/** The unique identifier of the Zone Lockdown rule. */
|
|
853
853
|
id: string;
|
|
854
854
|
/** A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ip_range` configurations. */
|
|
855
|
-
configurations:
|
|
855
|
+
configurations: (
|
|
856
|
+
| { target?: "ip" | null; value?: string | null }
|
|
857
|
+
| { target?: "ip_range" | null; value?: string | null }
|
|
858
|
+
)[];
|
|
856
859
|
/** The timestamp of when the rule was created. */
|
|
857
860
|
createdOn: string;
|
|
858
861
|
/** An informative summary of the rule. */
|
|
@@ -867,7 +870,22 @@ export interface GetLockdownResponse {
|
|
|
867
870
|
|
|
868
871
|
export const GetLockdownResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
869
872
|
id: Schema.String,
|
|
870
|
-
configurations: Schema.
|
|
873
|
+
configurations: Schema.Array(
|
|
874
|
+
Schema.Union([
|
|
875
|
+
Schema.Struct({
|
|
876
|
+
target: Schema.optional(
|
|
877
|
+
Schema.Union([Schema.Literal("ip"), Schema.Null]),
|
|
878
|
+
),
|
|
879
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
880
|
+
}),
|
|
881
|
+
Schema.Struct({
|
|
882
|
+
target: Schema.optional(
|
|
883
|
+
Schema.Union([Schema.Literal("ip_range"), Schema.Null]),
|
|
884
|
+
),
|
|
885
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
886
|
+
}),
|
|
887
|
+
]),
|
|
888
|
+
),
|
|
871
889
|
createdOn: Schema.String,
|
|
872
890
|
description: Schema.String,
|
|
873
891
|
modifiedOn: Schema.String,
|
|
@@ -947,7 +965,10 @@ export const ListLockdownsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
947
965
|
export interface ListLockdownsResponse {
|
|
948
966
|
result: {
|
|
949
967
|
id: string;
|
|
950
|
-
configurations:
|
|
968
|
+
configurations: (
|
|
969
|
+
| { target?: "ip" | null; value?: string | null }
|
|
970
|
+
| { target?: "ip_range" | null; value?: string | null }
|
|
971
|
+
)[];
|
|
951
972
|
createdOn: string;
|
|
952
973
|
description: string;
|
|
953
974
|
modifiedOn: string;
|
|
@@ -966,7 +987,22 @@ export const ListLockdownsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
966
987
|
result: Schema.Array(
|
|
967
988
|
Schema.Struct({
|
|
968
989
|
id: Schema.String,
|
|
969
|
-
configurations: Schema.
|
|
990
|
+
configurations: Schema.Array(
|
|
991
|
+
Schema.Union([
|
|
992
|
+
Schema.Struct({
|
|
993
|
+
target: Schema.optional(
|
|
994
|
+
Schema.Union([Schema.Literal("ip"), Schema.Null]),
|
|
995
|
+
),
|
|
996
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
997
|
+
}),
|
|
998
|
+
Schema.Struct({
|
|
999
|
+
target: Schema.optional(
|
|
1000
|
+
Schema.Union([Schema.Literal("ip_range"), Schema.Null]),
|
|
1001
|
+
),
|
|
1002
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1003
|
+
}),
|
|
1004
|
+
]),
|
|
1005
|
+
),
|
|
970
1006
|
createdOn: Schema.String,
|
|
971
1007
|
description: Schema.String,
|
|
972
1008
|
modifiedOn: Schema.String,
|
|
@@ -1019,7 +1055,10 @@ export const listLockdowns: API.PaginatedOperationMethod<
|
|
|
1019
1055
|
items: (input: ListLockdownsRequest) => stream.Stream<
|
|
1020
1056
|
{
|
|
1021
1057
|
id: string;
|
|
1022
|
-
configurations:
|
|
1058
|
+
configurations: (
|
|
1059
|
+
| { target?: "ip" | null; value?: string | null }
|
|
1060
|
+
| { target?: "ip_range" | null; value?: string | null }
|
|
1061
|
+
)[];
|
|
1023
1062
|
createdOn: string;
|
|
1024
1063
|
description: string;
|
|
1025
1064
|
modifiedOn: string;
|
|
@@ -1046,7 +1085,10 @@ export interface CreateLockdownRequest {
|
|
|
1046
1085
|
/** Path param: Defines an identifier. */
|
|
1047
1086
|
zoneId: string;
|
|
1048
1087
|
/** Body param: A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ip_range` configurations. */
|
|
1049
|
-
configurations:
|
|
1088
|
+
configurations: (
|
|
1089
|
+
| { target?: "ip"; value?: string }
|
|
1090
|
+
| { target?: "ip_range"; value?: string }
|
|
1091
|
+
)[];
|
|
1050
1092
|
/** Body param: The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */
|
|
1051
1093
|
urls: string[];
|
|
1052
1094
|
/** Body param: An informative summary of the rule. This value is sanitized and any tags will be removed. */
|
|
@@ -1059,7 +1101,18 @@ export interface CreateLockdownRequest {
|
|
|
1059
1101
|
|
|
1060
1102
|
export const CreateLockdownRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1061
1103
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1062
|
-
configurations: Schema.
|
|
1104
|
+
configurations: Schema.Array(
|
|
1105
|
+
Schema.Union([
|
|
1106
|
+
Schema.Struct({
|
|
1107
|
+
target: Schema.optional(Schema.Literal("ip")),
|
|
1108
|
+
value: Schema.optional(Schema.String),
|
|
1109
|
+
}),
|
|
1110
|
+
Schema.Struct({
|
|
1111
|
+
target: Schema.optional(Schema.Literal("ip_range")),
|
|
1112
|
+
value: Schema.optional(Schema.String),
|
|
1113
|
+
}),
|
|
1114
|
+
]),
|
|
1115
|
+
),
|
|
1063
1116
|
urls: Schema.Array(Schema.String),
|
|
1064
1117
|
description: Schema.optional(Schema.String),
|
|
1065
1118
|
paused: Schema.optional(Schema.Boolean),
|
|
@@ -1072,7 +1125,10 @@ export interface CreateLockdownResponse {
|
|
|
1072
1125
|
/** The unique identifier of the Zone Lockdown rule. */
|
|
1073
1126
|
id: string;
|
|
1074
1127
|
/** A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ip_range` configurations. */
|
|
1075
|
-
configurations:
|
|
1128
|
+
configurations: (
|
|
1129
|
+
| { target?: "ip" | null; value?: string | null }
|
|
1130
|
+
| { target?: "ip_range" | null; value?: string | null }
|
|
1131
|
+
)[];
|
|
1076
1132
|
/** The timestamp of when the rule was created. */
|
|
1077
1133
|
createdOn: string;
|
|
1078
1134
|
/** An informative summary of the rule. */
|
|
@@ -1088,7 +1144,22 @@ export interface CreateLockdownResponse {
|
|
|
1088
1144
|
export const CreateLockdownResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
1089
1145
|
{
|
|
1090
1146
|
id: Schema.String,
|
|
1091
|
-
configurations: Schema.
|
|
1147
|
+
configurations: Schema.Array(
|
|
1148
|
+
Schema.Union([
|
|
1149
|
+
Schema.Struct({
|
|
1150
|
+
target: Schema.optional(
|
|
1151
|
+
Schema.Union([Schema.Literal("ip"), Schema.Null]),
|
|
1152
|
+
),
|
|
1153
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1154
|
+
}),
|
|
1155
|
+
Schema.Struct({
|
|
1156
|
+
target: Schema.optional(
|
|
1157
|
+
Schema.Union([Schema.Literal("ip_range"), Schema.Null]),
|
|
1158
|
+
),
|
|
1159
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1160
|
+
}),
|
|
1161
|
+
]),
|
|
1162
|
+
),
|
|
1092
1163
|
createdOn: Schema.String,
|
|
1093
1164
|
description: Schema.String,
|
|
1094
1165
|
modifiedOn: Schema.String,
|
|
@@ -1129,7 +1200,10 @@ export interface UpdateLockdownRequest {
|
|
|
1129
1200
|
/** Path param: Defines an identifier. */
|
|
1130
1201
|
zoneId: string;
|
|
1131
1202
|
/** Body param: A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ip_range` configurations. */
|
|
1132
|
-
configurations:
|
|
1203
|
+
configurations: (
|
|
1204
|
+
| { target?: "ip"; value?: string }
|
|
1205
|
+
| { target?: "ip_range"; value?: string }
|
|
1206
|
+
)[];
|
|
1133
1207
|
/** Body param: The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */
|
|
1134
1208
|
urls: string[];
|
|
1135
1209
|
}
|
|
@@ -1137,7 +1211,18 @@ export interface UpdateLockdownRequest {
|
|
|
1137
1211
|
export const UpdateLockdownRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1138
1212
|
lockDownsId: Schema.String.pipe(T.HttpPath("lockDownsId")),
|
|
1139
1213
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1140
|
-
configurations: Schema.
|
|
1214
|
+
configurations: Schema.Array(
|
|
1215
|
+
Schema.Union([
|
|
1216
|
+
Schema.Struct({
|
|
1217
|
+
target: Schema.optional(Schema.Literal("ip")),
|
|
1218
|
+
value: Schema.optional(Schema.String),
|
|
1219
|
+
}),
|
|
1220
|
+
Schema.Struct({
|
|
1221
|
+
target: Schema.optional(Schema.Literal("ip_range")),
|
|
1222
|
+
value: Schema.optional(Schema.String),
|
|
1223
|
+
}),
|
|
1224
|
+
]),
|
|
1225
|
+
),
|
|
1141
1226
|
urls: Schema.Array(Schema.String),
|
|
1142
1227
|
}).pipe(
|
|
1143
1228
|
T.Http({
|
|
@@ -1150,7 +1235,10 @@ export interface UpdateLockdownResponse {
|
|
|
1150
1235
|
/** The unique identifier of the Zone Lockdown rule. */
|
|
1151
1236
|
id: string;
|
|
1152
1237
|
/** A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ip_range` configurations. */
|
|
1153
|
-
configurations:
|
|
1238
|
+
configurations: (
|
|
1239
|
+
| { target?: "ip" | null; value?: string | null }
|
|
1240
|
+
| { target?: "ip_range" | null; value?: string | null }
|
|
1241
|
+
)[];
|
|
1154
1242
|
/** The timestamp of when the rule was created. */
|
|
1155
1243
|
createdOn: string;
|
|
1156
1244
|
/** An informative summary of the rule. */
|
|
@@ -1166,7 +1254,22 @@ export interface UpdateLockdownResponse {
|
|
|
1166
1254
|
export const UpdateLockdownResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
1167
1255
|
{
|
|
1168
1256
|
id: Schema.String,
|
|
1169
|
-
configurations: Schema.
|
|
1257
|
+
configurations: Schema.Array(
|
|
1258
|
+
Schema.Union([
|
|
1259
|
+
Schema.Struct({
|
|
1260
|
+
target: Schema.optional(
|
|
1261
|
+
Schema.Union([Schema.Literal("ip"), Schema.Null]),
|
|
1262
|
+
),
|
|
1263
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1264
|
+
}),
|
|
1265
|
+
Schema.Struct({
|
|
1266
|
+
target: Schema.optional(
|
|
1267
|
+
Schema.Union([Schema.Literal("ip_range"), Schema.Null]),
|
|
1268
|
+
),
|
|
1269
|
+
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1270
|
+
}),
|
|
1271
|
+
]),
|
|
1272
|
+
),
|
|
1170
1273
|
createdOn: Schema.String,
|
|
1171
1274
|
description: Schema.String,
|
|
1172
1275
|
modifiedOn: Schema.String,
|
|
@@ -1275,7 +1378,16 @@ export interface BulkPutRulesResponse {
|
|
|
1275
1378
|
| "bypass"
|
|
1276
1379
|
| null;
|
|
1277
1380
|
description?: string | null;
|
|
1278
|
-
filter?:
|
|
1381
|
+
filter?:
|
|
1382
|
+
| {
|
|
1383
|
+
id?: string | null;
|
|
1384
|
+
description?: string | null;
|
|
1385
|
+
expression?: string | null;
|
|
1386
|
+
paused?: boolean | null;
|
|
1387
|
+
ref?: string | null;
|
|
1388
|
+
}
|
|
1389
|
+
| { id: string; deleted: boolean }
|
|
1390
|
+
| null;
|
|
1279
1391
|
paused?: boolean | null;
|
|
1280
1392
|
priority?: number | null;
|
|
1281
1393
|
products?:
|
|
@@ -1315,7 +1427,19 @@ export const BulkPutRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1315
1427
|
filter: Schema.optional(
|
|
1316
1428
|
Schema.Union([
|
|
1317
1429
|
Schema.Union([
|
|
1318
|
-
Schema.
|
|
1430
|
+
Schema.Struct({
|
|
1431
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1432
|
+
description: Schema.optional(
|
|
1433
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1434
|
+
),
|
|
1435
|
+
expression: Schema.optional(
|
|
1436
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1437
|
+
),
|
|
1438
|
+
paused: Schema.optional(
|
|
1439
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1440
|
+
),
|
|
1441
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1442
|
+
}),
|
|
1319
1443
|
Schema.Struct({
|
|
1320
1444
|
id: Schema.String,
|
|
1321
1445
|
deleted: Schema.Boolean,
|
|
@@ -1375,7 +1499,16 @@ export const bulkPutRules: API.PaginatedOperationMethod<
|
|
|
1375
1499
|
| "bypass"
|
|
1376
1500
|
| null;
|
|
1377
1501
|
description?: string | null;
|
|
1378
|
-
filter?:
|
|
1502
|
+
filter?:
|
|
1503
|
+
| {
|
|
1504
|
+
id?: string | null;
|
|
1505
|
+
description?: string | null;
|
|
1506
|
+
expression?: string | null;
|
|
1507
|
+
paused?: boolean | null;
|
|
1508
|
+
ref?: string | null;
|
|
1509
|
+
}
|
|
1510
|
+
| { id: string; deleted: boolean }
|
|
1511
|
+
| null;
|
|
1379
1512
|
paused?: boolean | null;
|
|
1380
1513
|
priority?: number | null;
|
|
1381
1514
|
products?:
|
|
@@ -1436,7 +1569,16 @@ export interface GetRuleResponse {
|
|
|
1436
1569
|
| null;
|
|
1437
1570
|
/** An informative summary of the firewall rule. */
|
|
1438
1571
|
description?: string | null;
|
|
1439
|
-
filter?:
|
|
1572
|
+
filter?:
|
|
1573
|
+
| {
|
|
1574
|
+
id?: string | null;
|
|
1575
|
+
description?: string | null;
|
|
1576
|
+
expression?: string | null;
|
|
1577
|
+
paused?: boolean | null;
|
|
1578
|
+
ref?: string | null;
|
|
1579
|
+
}
|
|
1580
|
+
| { id: string; deleted: boolean }
|
|
1581
|
+
| null;
|
|
1440
1582
|
/** When true, indicates that the firewall rule is currently paused. */
|
|
1441
1583
|
paused?: boolean | null;
|
|
1442
1584
|
/** The priority of the rule. Optional value used to define the processing order. A lower number indicates a higher priority. If not provided, rules with a defined priority will be processed before rules */
|
|
@@ -1476,7 +1618,17 @@ export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1476
1618
|
filter: Schema.optional(
|
|
1477
1619
|
Schema.Union([
|
|
1478
1620
|
Schema.Union([
|
|
1479
|
-
Schema.
|
|
1621
|
+
Schema.Struct({
|
|
1622
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1623
|
+
description: Schema.optional(
|
|
1624
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1625
|
+
),
|
|
1626
|
+
expression: Schema.optional(
|
|
1627
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1628
|
+
),
|
|
1629
|
+
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1630
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1631
|
+
}),
|
|
1480
1632
|
Schema.Struct({
|
|
1481
1633
|
id: Schema.String,
|
|
1482
1634
|
deleted: Schema.Boolean,
|
|
@@ -1555,7 +1707,16 @@ export interface ListRulesResponse {
|
|
|
1555
1707
|
| "bypass"
|
|
1556
1708
|
| null;
|
|
1557
1709
|
description?: string | null;
|
|
1558
|
-
filter?:
|
|
1710
|
+
filter?:
|
|
1711
|
+
| {
|
|
1712
|
+
id?: string | null;
|
|
1713
|
+
description?: string | null;
|
|
1714
|
+
expression?: string | null;
|
|
1715
|
+
paused?: boolean | null;
|
|
1716
|
+
ref?: string | null;
|
|
1717
|
+
}
|
|
1718
|
+
| { id: string; deleted: boolean }
|
|
1719
|
+
| null;
|
|
1559
1720
|
paused?: boolean | null;
|
|
1560
1721
|
priority?: number | null;
|
|
1561
1722
|
products?:
|
|
@@ -1601,7 +1762,19 @@ export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1601
1762
|
filter: Schema.optional(
|
|
1602
1763
|
Schema.Union([
|
|
1603
1764
|
Schema.Union([
|
|
1604
|
-
Schema.
|
|
1765
|
+
Schema.Struct({
|
|
1766
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1767
|
+
description: Schema.optional(
|
|
1768
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1769
|
+
),
|
|
1770
|
+
expression: Schema.optional(
|
|
1771
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1772
|
+
),
|
|
1773
|
+
paused: Schema.optional(
|
|
1774
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1775
|
+
),
|
|
1776
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1777
|
+
}),
|
|
1605
1778
|
Schema.Struct({
|
|
1606
1779
|
id: Schema.String,
|
|
1607
1780
|
deleted: Schema.Boolean,
|
|
@@ -1676,7 +1849,16 @@ export const listRules: API.PaginatedOperationMethod<
|
|
|
1676
1849
|
| "bypass"
|
|
1677
1850
|
| null;
|
|
1678
1851
|
description?: string | null;
|
|
1679
|
-
filter?:
|
|
1852
|
+
filter?:
|
|
1853
|
+
| {
|
|
1854
|
+
id?: string | null;
|
|
1855
|
+
description?: string | null;
|
|
1856
|
+
expression?: string | null;
|
|
1857
|
+
paused?: boolean | null;
|
|
1858
|
+
ref?: string | null;
|
|
1859
|
+
}
|
|
1860
|
+
| { id: string; deleted: boolean }
|
|
1861
|
+
| null;
|
|
1680
1862
|
paused?: boolean | null;
|
|
1681
1863
|
priority?: number | null;
|
|
1682
1864
|
products?:
|
|
@@ -1723,7 +1905,12 @@ export interface CreateRuleRequest {
|
|
|
1723
1905
|
timeout?: number;
|
|
1724
1906
|
};
|
|
1725
1907
|
/** Body param: */
|
|
1726
|
-
filter:
|
|
1908
|
+
filter: {
|
|
1909
|
+
description?: string;
|
|
1910
|
+
expression?: string;
|
|
1911
|
+
paused?: boolean;
|
|
1912
|
+
ref?: string;
|
|
1913
|
+
};
|
|
1727
1914
|
}
|
|
1728
1915
|
|
|
1729
1916
|
export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1746,7 +1933,12 @@ export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1746
1933
|
),
|
|
1747
1934
|
timeout: Schema.optional(Schema.Number),
|
|
1748
1935
|
}),
|
|
1749
|
-
filter: Schema.
|
|
1936
|
+
filter: Schema.Struct({
|
|
1937
|
+
description: Schema.optional(Schema.String),
|
|
1938
|
+
expression: Schema.optional(Schema.String),
|
|
1939
|
+
paused: Schema.optional(Schema.Boolean),
|
|
1940
|
+
ref: Schema.optional(Schema.String),
|
|
1941
|
+
}),
|
|
1750
1942
|
}).pipe(
|
|
1751
1943
|
T.Http({ method: "POST", path: "/zones/{zone_id}/firewall/rules" }),
|
|
1752
1944
|
) as unknown as Schema.Schema<CreateRuleRequest>;
|
|
@@ -1764,7 +1956,16 @@ export interface CreateRuleResponse {
|
|
|
1764
1956
|
| "bypass"
|
|
1765
1957
|
| null;
|
|
1766
1958
|
description?: string | null;
|
|
1767
|
-
filter?:
|
|
1959
|
+
filter?:
|
|
1960
|
+
| {
|
|
1961
|
+
id?: string | null;
|
|
1962
|
+
description?: string | null;
|
|
1963
|
+
expression?: string | null;
|
|
1964
|
+
paused?: boolean | null;
|
|
1965
|
+
ref?: string | null;
|
|
1966
|
+
}
|
|
1967
|
+
| { id: string; deleted: boolean }
|
|
1968
|
+
| null;
|
|
1768
1969
|
paused?: boolean | null;
|
|
1769
1970
|
priority?: number | null;
|
|
1770
1971
|
products?:
|
|
@@ -1804,7 +2005,19 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1804
2005
|
filter: Schema.optional(
|
|
1805
2006
|
Schema.Union([
|
|
1806
2007
|
Schema.Union([
|
|
1807
|
-
Schema.
|
|
2008
|
+
Schema.Struct({
|
|
2009
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2010
|
+
description: Schema.optional(
|
|
2011
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2012
|
+
),
|
|
2013
|
+
expression: Schema.optional(
|
|
2014
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2015
|
+
),
|
|
2016
|
+
paused: Schema.optional(
|
|
2017
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2018
|
+
),
|
|
2019
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2020
|
+
}),
|
|
1808
2021
|
Schema.Struct({
|
|
1809
2022
|
id: Schema.String,
|
|
1810
2023
|
deleted: Schema.Boolean,
|
|
@@ -1864,7 +2077,16 @@ export const createRule: API.PaginatedOperationMethod<
|
|
|
1864
2077
|
| "bypass"
|
|
1865
2078
|
| null;
|
|
1866
2079
|
description?: string | null;
|
|
1867
|
-
filter?:
|
|
2080
|
+
filter?:
|
|
2081
|
+
| {
|
|
2082
|
+
id?: string | null;
|
|
2083
|
+
description?: string | null;
|
|
2084
|
+
expression?: string | null;
|
|
2085
|
+
paused?: boolean | null;
|
|
2086
|
+
ref?: string | null;
|
|
2087
|
+
}
|
|
2088
|
+
| { id: string; deleted: boolean }
|
|
2089
|
+
| null;
|
|
1868
2090
|
paused?: boolean | null;
|
|
1869
2091
|
priority?: number | null;
|
|
1870
2092
|
products?:
|
|
@@ -1909,7 +2131,12 @@ export interface UpdateRuleRequest {
|
|
|
1909
2131
|
timeout?: number;
|
|
1910
2132
|
};
|
|
1911
2133
|
/** Body param: */
|
|
1912
|
-
filter:
|
|
2134
|
+
filter: {
|
|
2135
|
+
description?: string;
|
|
2136
|
+
expression?: string;
|
|
2137
|
+
paused?: boolean;
|
|
2138
|
+
ref?: string;
|
|
2139
|
+
};
|
|
1913
2140
|
}
|
|
1914
2141
|
|
|
1915
2142
|
export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1933,7 +2160,12 @@ export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1933
2160
|
),
|
|
1934
2161
|
timeout: Schema.optional(Schema.Number),
|
|
1935
2162
|
}),
|
|
1936
|
-
filter: Schema.
|
|
2163
|
+
filter: Schema.Struct({
|
|
2164
|
+
description: Schema.optional(Schema.String),
|
|
2165
|
+
expression: Schema.optional(Schema.String),
|
|
2166
|
+
paused: Schema.optional(Schema.Boolean),
|
|
2167
|
+
ref: Schema.optional(Schema.String),
|
|
2168
|
+
}),
|
|
1937
2169
|
}).pipe(
|
|
1938
2170
|
T.Http({ method: "PUT", path: "/zones/{zone_id}/firewall/rules/{ruleId}" }),
|
|
1939
2171
|
) as unknown as Schema.Schema<UpdateRuleRequest>;
|
|
@@ -1953,7 +2185,16 @@ export interface UpdateRuleResponse {
|
|
|
1953
2185
|
| null;
|
|
1954
2186
|
/** An informative summary of the firewall rule. */
|
|
1955
2187
|
description?: string | null;
|
|
1956
|
-
filter?:
|
|
2188
|
+
filter?:
|
|
2189
|
+
| {
|
|
2190
|
+
id?: string | null;
|
|
2191
|
+
description?: string | null;
|
|
2192
|
+
expression?: string | null;
|
|
2193
|
+
paused?: boolean | null;
|
|
2194
|
+
ref?: string | null;
|
|
2195
|
+
}
|
|
2196
|
+
| { id: string; deleted: boolean }
|
|
2197
|
+
| null;
|
|
1957
2198
|
/** When true, indicates that the firewall rule is currently paused. */
|
|
1958
2199
|
paused?: boolean | null;
|
|
1959
2200
|
/** The priority of the rule. Optional value used to define the processing order. A lower number indicates a higher priority. If not provided, rules with a defined priority will be processed before rules */
|
|
@@ -1993,7 +2234,17 @@ export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1993
2234
|
filter: Schema.optional(
|
|
1994
2235
|
Schema.Union([
|
|
1995
2236
|
Schema.Union([
|
|
1996
|
-
Schema.
|
|
2237
|
+
Schema.Struct({
|
|
2238
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2239
|
+
description: Schema.optional(
|
|
2240
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2241
|
+
),
|
|
2242
|
+
expression: Schema.optional(
|
|
2243
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2244
|
+
),
|
|
2245
|
+
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2246
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2247
|
+
}),
|
|
1997
2248
|
Schema.Struct({
|
|
1998
2249
|
id: Schema.String,
|
|
1999
2250
|
deleted: Schema.Boolean,
|
|
@@ -2064,7 +2315,16 @@ export interface PatchRuleResponse {
|
|
|
2064
2315
|
| "bypass"
|
|
2065
2316
|
| null;
|
|
2066
2317
|
description?: string | null;
|
|
2067
|
-
filter?:
|
|
2318
|
+
filter?:
|
|
2319
|
+
| {
|
|
2320
|
+
id?: string | null;
|
|
2321
|
+
description?: string | null;
|
|
2322
|
+
expression?: string | null;
|
|
2323
|
+
paused?: boolean | null;
|
|
2324
|
+
ref?: string | null;
|
|
2325
|
+
}
|
|
2326
|
+
| { id: string; deleted: boolean }
|
|
2327
|
+
| null;
|
|
2068
2328
|
paused?: boolean | null;
|
|
2069
2329
|
priority?: number | null;
|
|
2070
2330
|
products?:
|
|
@@ -2104,7 +2364,19 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2104
2364
|
filter: Schema.optional(
|
|
2105
2365
|
Schema.Union([
|
|
2106
2366
|
Schema.Union([
|
|
2107
|
-
Schema.
|
|
2367
|
+
Schema.Struct({
|
|
2368
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2369
|
+
description: Schema.optional(
|
|
2370
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2371
|
+
),
|
|
2372
|
+
expression: Schema.optional(
|
|
2373
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2374
|
+
),
|
|
2375
|
+
paused: Schema.optional(
|
|
2376
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2377
|
+
),
|
|
2378
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2379
|
+
}),
|
|
2108
2380
|
Schema.Struct({
|
|
2109
2381
|
id: Schema.String,
|
|
2110
2382
|
deleted: Schema.Boolean,
|
|
@@ -2164,7 +2436,16 @@ export const patchRule: API.PaginatedOperationMethod<
|
|
|
2164
2436
|
| "bypass"
|
|
2165
2437
|
| null;
|
|
2166
2438
|
description?: string | null;
|
|
2167
|
-
filter?:
|
|
2439
|
+
filter?:
|
|
2440
|
+
| {
|
|
2441
|
+
id?: string | null;
|
|
2442
|
+
description?: string | null;
|
|
2443
|
+
expression?: string | null;
|
|
2444
|
+
paused?: boolean | null;
|
|
2445
|
+
ref?: string | null;
|
|
2446
|
+
}
|
|
2447
|
+
| { id: string; deleted: boolean }
|
|
2448
|
+
| null;
|
|
2168
2449
|
paused?: boolean | null;
|
|
2169
2450
|
priority?: number | null;
|
|
2170
2451
|
products?:
|
|
@@ -2224,7 +2505,16 @@ export interface DeleteRuleResponse {
|
|
|
2224
2505
|
| null;
|
|
2225
2506
|
/** An informative summary of the firewall rule. */
|
|
2226
2507
|
description?: string | null;
|
|
2227
|
-
filter?:
|
|
2508
|
+
filter?:
|
|
2509
|
+
| {
|
|
2510
|
+
id?: string | null;
|
|
2511
|
+
description?: string | null;
|
|
2512
|
+
expression?: string | null;
|
|
2513
|
+
paused?: boolean | null;
|
|
2514
|
+
ref?: string | null;
|
|
2515
|
+
}
|
|
2516
|
+
| { id: string; deleted: boolean }
|
|
2517
|
+
| null;
|
|
2228
2518
|
/** When true, indicates that the firewall rule is currently paused. */
|
|
2229
2519
|
paused?: boolean | null;
|
|
2230
2520
|
/** The priority of the rule. Optional value used to define the processing order. A lower number indicates a higher priority. If not provided, rules with a defined priority will be processed before rules */
|
|
@@ -2264,7 +2554,17 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2264
2554
|
filter: Schema.optional(
|
|
2265
2555
|
Schema.Union([
|
|
2266
2556
|
Schema.Union([
|
|
2267
|
-
Schema.
|
|
2557
|
+
Schema.Struct({
|
|
2558
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2559
|
+
description: Schema.optional(
|
|
2560
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2561
|
+
),
|
|
2562
|
+
expression: Schema.optional(
|
|
2563
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2564
|
+
),
|
|
2565
|
+
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2566
|
+
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2567
|
+
}),
|
|
2268
2568
|
Schema.Struct({
|
|
2269
2569
|
id: Schema.String,
|
|
2270
2570
|
deleted: Schema.Boolean,
|
|
@@ -2336,7 +2636,16 @@ export interface BulkPatchRulesResponse {
|
|
|
2336
2636
|
| "bypass"
|
|
2337
2637
|
| null;
|
|
2338
2638
|
description?: string | null;
|
|
2339
|
-
filter?:
|
|
2639
|
+
filter?:
|
|
2640
|
+
| {
|
|
2641
|
+
id?: string | null;
|
|
2642
|
+
description?: string | null;
|
|
2643
|
+
expression?: string | null;
|
|
2644
|
+
paused?: boolean | null;
|
|
2645
|
+
ref?: string | null;
|
|
2646
|
+
}
|
|
2647
|
+
| { id: string; deleted: boolean }
|
|
2648
|
+
| null;
|
|
2340
2649
|
paused?: boolean | null;
|
|
2341
2650
|
priority?: number | null;
|
|
2342
2651
|
products?:
|
|
@@ -2379,7 +2688,21 @@ export const BulkPatchRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2379
2688
|
filter: Schema.optional(
|
|
2380
2689
|
Schema.Union([
|
|
2381
2690
|
Schema.Union([
|
|
2382
|
-
Schema.
|
|
2691
|
+
Schema.Struct({
|
|
2692
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2693
|
+
description: Schema.optional(
|
|
2694
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2695
|
+
),
|
|
2696
|
+
expression: Schema.optional(
|
|
2697
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2698
|
+
),
|
|
2699
|
+
paused: Schema.optional(
|
|
2700
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2701
|
+
),
|
|
2702
|
+
ref: Schema.optional(
|
|
2703
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2704
|
+
),
|
|
2705
|
+
}),
|
|
2383
2706
|
Schema.Struct({
|
|
2384
2707
|
id: Schema.String,
|
|
2385
2708
|
deleted: Schema.Boolean,
|
|
@@ -2440,7 +2763,16 @@ export const bulkPatchRules: API.PaginatedOperationMethod<
|
|
|
2440
2763
|
| "bypass"
|
|
2441
2764
|
| null;
|
|
2442
2765
|
description?: string | null;
|
|
2443
|
-
filter?:
|
|
2766
|
+
filter?:
|
|
2767
|
+
| {
|
|
2768
|
+
id?: string | null;
|
|
2769
|
+
description?: string | null;
|
|
2770
|
+
expression?: string | null;
|
|
2771
|
+
paused?: boolean | null;
|
|
2772
|
+
ref?: string | null;
|
|
2773
|
+
}
|
|
2774
|
+
| { id: string; deleted: boolean }
|
|
2775
|
+
| null;
|
|
2444
2776
|
paused?: boolean | null;
|
|
2445
2777
|
priority?: number | null;
|
|
2446
2778
|
products?:
|
|
@@ -2495,7 +2827,16 @@ export interface BulkDeleteRulesResponse {
|
|
|
2495
2827
|
| "bypass"
|
|
2496
2828
|
| null;
|
|
2497
2829
|
description?: string | null;
|
|
2498
|
-
filter?:
|
|
2830
|
+
filter?:
|
|
2831
|
+
| {
|
|
2832
|
+
id?: string | null;
|
|
2833
|
+
description?: string | null;
|
|
2834
|
+
expression?: string | null;
|
|
2835
|
+
paused?: boolean | null;
|
|
2836
|
+
ref?: string | null;
|
|
2837
|
+
}
|
|
2838
|
+
| { id: string; deleted: boolean }
|
|
2839
|
+
| null;
|
|
2499
2840
|
paused?: boolean | null;
|
|
2500
2841
|
priority?: number | null;
|
|
2501
2842
|
products?:
|
|
@@ -2538,7 +2879,21 @@ export const BulkDeleteRulesResponse =
|
|
|
2538
2879
|
filter: Schema.optional(
|
|
2539
2880
|
Schema.Union([
|
|
2540
2881
|
Schema.Union([
|
|
2541
|
-
Schema.
|
|
2882
|
+
Schema.Struct({
|
|
2883
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2884
|
+
description: Schema.optional(
|
|
2885
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2886
|
+
),
|
|
2887
|
+
expression: Schema.optional(
|
|
2888
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2889
|
+
),
|
|
2890
|
+
paused: Schema.optional(
|
|
2891
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2892
|
+
),
|
|
2893
|
+
ref: Schema.optional(
|
|
2894
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2895
|
+
),
|
|
2896
|
+
}),
|
|
2542
2897
|
Schema.Struct({
|
|
2543
2898
|
id: Schema.String,
|
|
2544
2899
|
deleted: Schema.Boolean,
|
|
@@ -2598,7 +2953,16 @@ export const bulkDeleteRules: API.PaginatedOperationMethod<
|
|
|
2598
2953
|
| "bypass"
|
|
2599
2954
|
| null;
|
|
2600
2955
|
description?: string | null;
|
|
2601
|
-
filter?:
|
|
2956
|
+
filter?:
|
|
2957
|
+
| {
|
|
2958
|
+
id?: string | null;
|
|
2959
|
+
description?: string | null;
|
|
2960
|
+
expression?: string | null;
|
|
2961
|
+
paused?: boolean | null;
|
|
2962
|
+
ref?: string | null;
|
|
2963
|
+
}
|
|
2964
|
+
| { id: string; deleted: boolean }
|
|
2965
|
+
| null;
|
|
2602
2966
|
paused?: boolean | null;
|
|
2603
2967
|
priority?: number | null;
|
|
2604
2968
|
products?:
|
|
@@ -2922,7 +3286,12 @@ export interface UpdateUaRuleRequest {
|
|
|
2922
3286
|
/** Path param: Defines an identifier. */
|
|
2923
3287
|
zoneId: string;
|
|
2924
3288
|
/** Body param: The rule configuration. */
|
|
2925
|
-
configuration:
|
|
3289
|
+
configuration:
|
|
3290
|
+
| { target?: "ip"; value?: string }
|
|
3291
|
+
| { target?: "ip6"; value?: string }
|
|
3292
|
+
| { target?: "ip_range"; value?: string }
|
|
3293
|
+
| { target?: "asn"; value?: string }
|
|
3294
|
+
| { target?: "country"; value?: string };
|
|
2926
3295
|
/** Body param: The action to apply to a matched request. */
|
|
2927
3296
|
mode:
|
|
2928
3297
|
| "block"
|
|
@@ -2939,7 +3308,28 @@ export interface UpdateUaRuleRequest {
|
|
|
2939
3308
|
export const UpdateUaRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2940
3309
|
uaRuleId: Schema.String.pipe(T.HttpPath("uaRuleId")),
|
|
2941
3310
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2942
|
-
configuration: Schema.
|
|
3311
|
+
configuration: Schema.Union([
|
|
3312
|
+
Schema.Struct({
|
|
3313
|
+
target: Schema.optional(Schema.Literal("ip")),
|
|
3314
|
+
value: Schema.optional(Schema.String),
|
|
3315
|
+
}),
|
|
3316
|
+
Schema.Struct({
|
|
3317
|
+
target: Schema.optional(Schema.Literal("ip6")),
|
|
3318
|
+
value: Schema.optional(Schema.String),
|
|
3319
|
+
}),
|
|
3320
|
+
Schema.Struct({
|
|
3321
|
+
target: Schema.optional(Schema.Literal("ip_range")),
|
|
3322
|
+
value: Schema.optional(Schema.String),
|
|
3323
|
+
}),
|
|
3324
|
+
Schema.Struct({
|
|
3325
|
+
target: Schema.optional(Schema.Literal("asn")),
|
|
3326
|
+
value: Schema.optional(Schema.String),
|
|
3327
|
+
}),
|
|
3328
|
+
Schema.Struct({
|
|
3329
|
+
target: Schema.optional(Schema.Literal("country")),
|
|
3330
|
+
value: Schema.optional(Schema.String),
|
|
3331
|
+
}),
|
|
3332
|
+
]),
|
|
2943
3333
|
mode: Schema.Literals([
|
|
2944
3334
|
"block",
|
|
2945
3335
|
"challenge",
|
|
@@ -3132,7 +3522,7 @@ export interface GetWafOverrideResponse {
|
|
|
3132
3522
|
| null;
|
|
3133
3523
|
} | null;
|
|
3134
3524
|
/** An object that allows you to override the action of specific WAF rules. Each key of this object must be the ID of a WAF rule, and each value must be a valid WAF action. Unless you are disabling a rule */
|
|
3135
|
-
rules?: unknown | null;
|
|
3525
|
+
rules?: Record<string, unknown> | null;
|
|
3136
3526
|
/** The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */
|
|
3137
3527
|
urls?: string[] | null;
|
|
3138
3528
|
}
|
|
@@ -3141,7 +3531,9 @@ export const GetWafOverrideResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
3141
3531
|
{
|
|
3142
3532
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3143
3533
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3144
|
-
groups: Schema.optional(
|
|
3534
|
+
groups: Schema.optional(
|
|
3535
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
3536
|
+
),
|
|
3145
3537
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3146
3538
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3147
3539
|
rewriteAction: Schema.optional(
|
|
@@ -3211,7 +3603,9 @@ export const GetWafOverrideResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
3211
3603
|
Schema.Null,
|
|
3212
3604
|
]),
|
|
3213
3605
|
),
|
|
3214
|
-
rules: Schema.optional(
|
|
3606
|
+
rules: Schema.optional(
|
|
3607
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
3608
|
+
),
|
|
3215
3609
|
urls: Schema.optional(
|
|
3216
3610
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3217
3611
|
),
|
|
@@ -3296,7 +3690,7 @@ export interface ListWafOverridesResponse {
|
|
|
3296
3690
|
| "default"
|
|
3297
3691
|
| null;
|
|
3298
3692
|
} | null;
|
|
3299
|
-
rules?: unknown | null;
|
|
3693
|
+
rules?: Record<string, unknown> | null;
|
|
3300
3694
|
urls?: string[] | null;
|
|
3301
3695
|
}[];
|
|
3302
3696
|
resultInfo: {
|
|
@@ -3315,7 +3709,12 @@ export const ListWafOverridesResponse =
|
|
|
3315
3709
|
description: Schema.optional(
|
|
3316
3710
|
Schema.Union([Schema.String, Schema.Null]),
|
|
3317
3711
|
),
|
|
3318
|
-
groups: Schema.optional(
|
|
3712
|
+
groups: Schema.optional(
|
|
3713
|
+
Schema.Union([
|
|
3714
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
3715
|
+
Schema.Null,
|
|
3716
|
+
]),
|
|
3717
|
+
),
|
|
3319
3718
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3320
3719
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3321
3720
|
rewriteAction: Schema.optional(
|
|
@@ -3385,7 +3784,12 @@ export const ListWafOverridesResponse =
|
|
|
3385
3784
|
Schema.Null,
|
|
3386
3785
|
]),
|
|
3387
3786
|
),
|
|
3388
|
-
rules: Schema.optional(
|
|
3787
|
+
rules: Schema.optional(
|
|
3788
|
+
Schema.Union([
|
|
3789
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
3790
|
+
Schema.Null,
|
|
3791
|
+
]),
|
|
3792
|
+
),
|
|
3389
3793
|
urls: Schema.optional(
|
|
3390
3794
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3391
3795
|
),
|
|
@@ -3478,7 +3882,7 @@ export const listWafOverrides: API.PaginatedOperationMethod<
|
|
|
3478
3882
|
| "default"
|
|
3479
3883
|
| null;
|
|
3480
3884
|
} | null;
|
|
3481
|
-
rules?: unknown | null;
|
|
3885
|
+
rules?: Record<string, unknown> | null;
|
|
3482
3886
|
urls?: string[] | null;
|
|
3483
3887
|
},
|
|
3484
3888
|
ListWafOverridesError,
|
|
@@ -3544,7 +3948,7 @@ export interface CreateWafOverrideResponse {
|
|
|
3544
3948
|
| null;
|
|
3545
3949
|
} | null;
|
|
3546
3950
|
/** An object that allows you to override the action of specific WAF rules. Each key of this object must be the ID of a WAF rule, and each value must be a valid WAF action. Unless you are disabling a rule */
|
|
3547
|
-
rules?: unknown | null;
|
|
3951
|
+
rules?: Record<string, unknown> | null;
|
|
3548
3952
|
/** The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */
|
|
3549
3953
|
urls?: string[] | null;
|
|
3550
3954
|
}
|
|
@@ -3553,7 +3957,9 @@ export const CreateWafOverrideResponse =
|
|
|
3553
3957
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3554
3958
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3555
3959
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3556
|
-
groups: Schema.optional(
|
|
3960
|
+
groups: Schema.optional(
|
|
3961
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
3962
|
+
),
|
|
3557
3963
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3558
3964
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3559
3965
|
rewriteAction: Schema.optional(
|
|
@@ -3623,7 +4029,9 @@ export const CreateWafOverrideResponse =
|
|
|
3623
4029
|
Schema.Null,
|
|
3624
4030
|
]),
|
|
3625
4031
|
),
|
|
3626
|
-
rules: Schema.optional(
|
|
4032
|
+
rules: Schema.optional(
|
|
4033
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
4034
|
+
),
|
|
3627
4035
|
urls: Schema.optional(
|
|
3628
4036
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3629
4037
|
),
|
|
@@ -3672,7 +4080,7 @@ export interface UpdateWafOverrideRequest {
|
|
|
3672
4080
|
simulate?: "challenge" | "block" | "simulate" | "disable" | "default";
|
|
3673
4081
|
};
|
|
3674
4082
|
/** Body param: An object that allows you to override the action of specific WAF rules. Each key of this object must be the ID of a WAF rule, and each value must be a valid WAF action. Unless you are disa */
|
|
3675
|
-
rules: unknown
|
|
4083
|
+
rules: Record<string, unknown>;
|
|
3676
4084
|
/** Body param: The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */
|
|
3677
4085
|
urls: string[];
|
|
3678
4086
|
}
|
|
@@ -3729,7 +4137,7 @@ export const UpdateWafOverrideRequest =
|
|
|
3729
4137
|
]),
|
|
3730
4138
|
),
|
|
3731
4139
|
}),
|
|
3732
|
-
rules: Schema.Unknown,
|
|
4140
|
+
rules: Schema.Record(Schema.String, Schema.Unknown),
|
|
3733
4141
|
urls: Schema.Array(Schema.String),
|
|
3734
4142
|
}).pipe(
|
|
3735
4143
|
Schema.encodeKeys({
|
|
@@ -3776,7 +4184,7 @@ export interface UpdateWafOverrideResponse {
|
|
|
3776
4184
|
| null;
|
|
3777
4185
|
} | null;
|
|
3778
4186
|
/** An object that allows you to override the action of specific WAF rules. Each key of this object must be the ID of a WAF rule, and each value must be a valid WAF action. Unless you are disabling a rule */
|
|
3779
|
-
rules?: unknown | null;
|
|
4187
|
+
rules?: Record<string, unknown> | null;
|
|
3780
4188
|
/** The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */
|
|
3781
4189
|
urls?: string[] | null;
|
|
3782
4190
|
}
|
|
@@ -3785,7 +4193,9 @@ export const UpdateWafOverrideResponse =
|
|
|
3785
4193
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3786
4194
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3787
4195
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3788
|
-
groups: Schema.optional(
|
|
4196
|
+
groups: Schema.optional(
|
|
4197
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
4198
|
+
),
|
|
3789
4199
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3790
4200
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3791
4201
|
rewriteAction: Schema.optional(
|
|
@@ -3855,7 +4265,9 @@ export const UpdateWafOverrideResponse =
|
|
|
3855
4265
|
Schema.Null,
|
|
3856
4266
|
]),
|
|
3857
4267
|
),
|
|
3858
|
-
rules: Schema.optional(
|
|
4268
|
+
rules: Schema.optional(
|
|
4269
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
4270
|
+
),
|
|
3859
4271
|
urls: Schema.optional(
|
|
3860
4272
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3861
4273
|
),
|
|
@@ -3953,8 +4365,18 @@ export const GetWafPackageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3953
4365
|
|
|
3954
4366
|
export type GetWafPackageResponse =
|
|
3955
4367
|
| {
|
|
3956
|
-
errors:
|
|
3957
|
-
|
|
4368
|
+
errors: {
|
|
4369
|
+
code: number;
|
|
4370
|
+
message: string;
|
|
4371
|
+
documentationUrl?: string | null;
|
|
4372
|
+
source?: { pointer?: string | null } | null;
|
|
4373
|
+
}[];
|
|
4374
|
+
messages: {
|
|
4375
|
+
code: number;
|
|
4376
|
+
message: string;
|
|
4377
|
+
documentationUrl?: string | null;
|
|
4378
|
+
source?: { pointer?: string | null } | null;
|
|
4379
|
+
}[];
|
|
3958
4380
|
result: string | null;
|
|
3959
4381
|
success: true;
|
|
3960
4382
|
}
|
|
@@ -3962,8 +4384,58 @@ export type GetWafPackageResponse =
|
|
|
3962
4384
|
|
|
3963
4385
|
export const GetWafPackageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
3964
4386
|
Schema.Struct({
|
|
3965
|
-
errors: Schema.Array(
|
|
3966
|
-
|
|
4387
|
+
errors: Schema.Array(
|
|
4388
|
+
Schema.Struct({
|
|
4389
|
+
code: Schema.Number,
|
|
4390
|
+
message: Schema.String,
|
|
4391
|
+
documentationUrl: Schema.optional(
|
|
4392
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4393
|
+
),
|
|
4394
|
+
source: Schema.optional(
|
|
4395
|
+
Schema.Union([
|
|
4396
|
+
Schema.Struct({
|
|
4397
|
+
pointer: Schema.optional(
|
|
4398
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4399
|
+
),
|
|
4400
|
+
}),
|
|
4401
|
+
Schema.Null,
|
|
4402
|
+
]),
|
|
4403
|
+
),
|
|
4404
|
+
}).pipe(
|
|
4405
|
+
Schema.encodeKeys({
|
|
4406
|
+
code: "code",
|
|
4407
|
+
message: "message",
|
|
4408
|
+
documentationUrl: "documentation_url",
|
|
4409
|
+
source: "source",
|
|
4410
|
+
}),
|
|
4411
|
+
),
|
|
4412
|
+
),
|
|
4413
|
+
messages: Schema.Array(
|
|
4414
|
+
Schema.Struct({
|
|
4415
|
+
code: Schema.Number,
|
|
4416
|
+
message: Schema.String,
|
|
4417
|
+
documentationUrl: Schema.optional(
|
|
4418
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4419
|
+
),
|
|
4420
|
+
source: Schema.optional(
|
|
4421
|
+
Schema.Union([
|
|
4422
|
+
Schema.Struct({
|
|
4423
|
+
pointer: Schema.optional(
|
|
4424
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4425
|
+
),
|
|
4426
|
+
}),
|
|
4427
|
+
Schema.Null,
|
|
4428
|
+
]),
|
|
4429
|
+
),
|
|
4430
|
+
}).pipe(
|
|
4431
|
+
Schema.encodeKeys({
|
|
4432
|
+
code: "code",
|
|
4433
|
+
message: "message",
|
|
4434
|
+
documentationUrl: "documentation_url",
|
|
4435
|
+
source: "source",
|
|
4436
|
+
}),
|
|
4437
|
+
),
|
|
4438
|
+
),
|
|
3967
4439
|
result: Schema.Union([Schema.String, Schema.Null]),
|
|
3968
4440
|
success: Schema.Literal(true),
|
|
3969
4441
|
}),
|
|
@@ -4414,7 +4886,7 @@ export interface ListWafPackageRulesResponse {
|
|
|
4414
4886
|
id: string;
|
|
4415
4887
|
allowedModes: ("on" | "off")[];
|
|
4416
4888
|
description: string;
|
|
4417
|
-
group:
|
|
4889
|
+
group: { id?: string | null; name?: string | null };
|
|
4418
4890
|
mode: "on" | "off";
|
|
4419
4891
|
packageId: string;
|
|
4420
4892
|
priority: string;
|
|
@@ -4430,7 +4902,7 @@ export interface ListWafPackageRulesResponse {
|
|
|
4430
4902
|
)[];
|
|
4431
4903
|
defaultMode: "disable" | "simulate" | "block" | "challenge";
|
|
4432
4904
|
description: string;
|
|
4433
|
-
group:
|
|
4905
|
+
group: { id?: string | null; name?: string | null };
|
|
4434
4906
|
mode: "default" | "disable" | "simulate" | "block" | "challenge";
|
|
4435
4907
|
packageId: string;
|
|
4436
4908
|
priority: string;
|
|
@@ -4452,7 +4924,10 @@ export const ListWafPackageRulesResponse =
|
|
|
4452
4924
|
id: Schema.String,
|
|
4453
4925
|
allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
|
|
4454
4926
|
description: Schema.String,
|
|
4455
|
-
group: Schema.
|
|
4927
|
+
group: Schema.Struct({
|
|
4928
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4929
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4930
|
+
}),
|
|
4456
4931
|
mode: Schema.Literals(["on", "off"]),
|
|
4457
4932
|
packageId: Schema.String,
|
|
4458
4933
|
priority: Schema.String,
|
|
@@ -4485,7 +4960,10 @@ export const ListWafPackageRulesResponse =
|
|
|
4485
4960
|
"challenge",
|
|
4486
4961
|
]),
|
|
4487
4962
|
description: Schema.String,
|
|
4488
|
-
group: Schema.
|
|
4963
|
+
group: Schema.Struct({
|
|
4964
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4965
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4966
|
+
}),
|
|
4489
4967
|
mode: Schema.Literals([
|
|
4490
4968
|
"default",
|
|
4491
4969
|
"disable",
|
|
@@ -4546,7 +5024,7 @@ export const listWafPackageRules: API.PaginatedOperationMethod<
|
|
|
4546
5024
|
id: string;
|
|
4547
5025
|
allowedModes: ("on" | "off")[];
|
|
4548
5026
|
description: string;
|
|
4549
|
-
group:
|
|
5027
|
+
group: { id?: string | null; name?: string | null };
|
|
4550
5028
|
mode: "on" | "off";
|
|
4551
5029
|
packageId: string;
|
|
4552
5030
|
priority: string;
|
|
@@ -4562,7 +5040,7 @@ export const listWafPackageRules: API.PaginatedOperationMethod<
|
|
|
4562
5040
|
)[];
|
|
4563
5041
|
defaultMode: "disable" | "simulate" | "block" | "challenge";
|
|
4564
5042
|
description: string;
|
|
4565
|
-
group:
|
|
5043
|
+
group: { id?: string | null; name?: string | null };
|
|
4566
5044
|
mode: "default" | "disable" | "simulate" | "block" | "challenge";
|
|
4567
5045
|
packageId: string;
|
|
4568
5046
|
priority: string;
|
|
@@ -4627,7 +5105,7 @@ export type PatchWafPackageRuleResponse =
|
|
|
4627
5105
|
id: string;
|
|
4628
5106
|
allowedModes: ("on" | "off")[];
|
|
4629
5107
|
description: string;
|
|
4630
|
-
group:
|
|
5108
|
+
group: { id?: string | null; name?: string | null };
|
|
4631
5109
|
mode: "on" | "off";
|
|
4632
5110
|
packageId: string;
|
|
4633
5111
|
priority: string;
|
|
@@ -4643,7 +5121,7 @@ export type PatchWafPackageRuleResponse =
|
|
|
4643
5121
|
)[];
|
|
4644
5122
|
defaultMode: "disable" | "simulate" | "block" | "challenge";
|
|
4645
5123
|
description: string;
|
|
4646
|
-
group:
|
|
5124
|
+
group: { id?: string | null; name?: string | null };
|
|
4647
5125
|
mode: "default" | "disable" | "simulate" | "block" | "challenge";
|
|
4648
5126
|
packageId: string;
|
|
4649
5127
|
priority: string;
|
|
@@ -4655,7 +5133,10 @@ export const PatchWafPackageRuleResponse =
|
|
|
4655
5133
|
id: Schema.String,
|
|
4656
5134
|
allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
|
|
4657
5135
|
description: Schema.String,
|
|
4658
|
-
group: Schema.
|
|
5136
|
+
group: Schema.Struct({
|
|
5137
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5138
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5139
|
+
}),
|
|
4659
5140
|
mode: Schema.Literals(["on", "off"]),
|
|
4660
5141
|
packageId: Schema.String,
|
|
4661
5142
|
priority: Schema.String,
|
|
@@ -4688,7 +5169,10 @@ export const PatchWafPackageRuleResponse =
|
|
|
4688
5169
|
"challenge",
|
|
4689
5170
|
]),
|
|
4690
5171
|
description: Schema.String,
|
|
4691
|
-
group: Schema.
|
|
5172
|
+
group: Schema.Struct({
|
|
5173
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5174
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5175
|
+
}),
|
|
4692
5176
|
mode: Schema.Literals([
|
|
4693
5177
|
"default",
|
|
4694
5178
|
"disable",
|