@distilled.cloud/cloudflare 0.6.1 → 0.7.0
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
|
@@ -30,16 +30,23 @@ export const GetBotManagementRequest =
|
|
|
30
30
|
|
|
31
31
|
export type GetBotManagementResponse =
|
|
32
32
|
| {
|
|
33
|
-
zoneId: string;
|
|
34
33
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
35
34
|
cfRobotsVariant?: "off" | "policy_only" | null;
|
|
36
35
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
37
36
|
enableJs?: boolean | null;
|
|
38
37
|
fightMode?: boolean | null;
|
|
39
38
|
isRobotsTxtManaged?: boolean | null;
|
|
39
|
+
staleZoneConfiguration?: {
|
|
40
|
+
optimizeWordpress?: boolean | null;
|
|
41
|
+
sbfmDefinitelyAutomated?: string | null;
|
|
42
|
+
sbfmLikelyAutomated?: string | null;
|
|
43
|
+
sbfmStaticResourceProtection?: string | null;
|
|
44
|
+
sbfmVerifiedBots?: string | null;
|
|
45
|
+
suppressSessionScore?: boolean | null;
|
|
46
|
+
} | null;
|
|
47
|
+
usingLatestModel?: boolean | null;
|
|
40
48
|
}
|
|
41
49
|
| {
|
|
42
|
-
zoneId: string;
|
|
43
50
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
44
51
|
cfRobotsVariant?: "off" | "policy_only" | null;
|
|
45
52
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
@@ -49,9 +56,13 @@ export type GetBotManagementResponse =
|
|
|
49
56
|
sbfmDefinitelyAutomated?: "allow" | "block" | "managed_challenge" | null;
|
|
50
57
|
sbfmStaticResourceProtection?: boolean | null;
|
|
51
58
|
sbfmVerifiedBots?: "allow" | "block" | null;
|
|
59
|
+
staleZoneConfiguration?: {
|
|
60
|
+
fightMode?: boolean | null;
|
|
61
|
+
sbfmLikelyAutomated?: string | null;
|
|
62
|
+
} | null;
|
|
63
|
+
usingLatestModel?: boolean | null;
|
|
52
64
|
}
|
|
53
65
|
| {
|
|
54
|
-
zoneId: string;
|
|
55
66
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
56
67
|
cfRobotsVariant?: "off" | "policy_only" | null;
|
|
57
68
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
@@ -62,9 +73,10 @@ export type GetBotManagementResponse =
|
|
|
62
73
|
sbfmLikelyAutomated?: "allow" | "block" | "managed_challenge" | null;
|
|
63
74
|
sbfmStaticResourceProtection?: boolean | null;
|
|
64
75
|
sbfmVerifiedBots?: "allow" | "block" | null;
|
|
76
|
+
staleZoneConfiguration?: { fightMode?: boolean | null } | null;
|
|
77
|
+
usingLatestModel?: boolean | null;
|
|
65
78
|
}
|
|
66
79
|
| {
|
|
67
|
-
zoneId: string;
|
|
68
80
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
69
81
|
autoUpdateModel?: boolean | null;
|
|
70
82
|
bmCookieEnabled?: boolean | null;
|
|
@@ -72,13 +84,21 @@ export type GetBotManagementResponse =
|
|
|
72
84
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
73
85
|
enableJs?: boolean | null;
|
|
74
86
|
isRobotsTxtManaged?: boolean | null;
|
|
87
|
+
staleZoneConfiguration?: {
|
|
88
|
+
fightMode?: boolean | null;
|
|
89
|
+
optimizeWordpress?: boolean | null;
|
|
90
|
+
sbfmDefinitelyAutomated?: string | null;
|
|
91
|
+
sbfmLikelyAutomated?: string | null;
|
|
92
|
+
sbfmStaticResourceProtection?: string | null;
|
|
93
|
+
sbfmVerifiedBots?: string | null;
|
|
94
|
+
} | null;
|
|
75
95
|
suppressSessionScore?: boolean | null;
|
|
96
|
+
usingLatestModel?: boolean | null;
|
|
76
97
|
};
|
|
77
98
|
|
|
78
99
|
export const GetBotManagementResponse =
|
|
79
100
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
80
101
|
Schema.Struct({
|
|
81
|
-
zoneId: Schema.String,
|
|
82
102
|
aiBotsProtection: Schema.optional(
|
|
83
103
|
Schema.Union([
|
|
84
104
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -96,19 +116,56 @@ export const GetBotManagementResponse =
|
|
|
96
116
|
isRobotsTxtManaged: Schema.optional(
|
|
97
117
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
98
118
|
),
|
|
119
|
+
staleZoneConfiguration: Schema.optional(
|
|
120
|
+
Schema.Union([
|
|
121
|
+
Schema.Struct({
|
|
122
|
+
optimizeWordpress: Schema.optional(
|
|
123
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
124
|
+
),
|
|
125
|
+
sbfmDefinitelyAutomated: Schema.optional(
|
|
126
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
127
|
+
),
|
|
128
|
+
sbfmLikelyAutomated: Schema.optional(
|
|
129
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
130
|
+
),
|
|
131
|
+
sbfmStaticResourceProtection: Schema.optional(
|
|
132
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
133
|
+
),
|
|
134
|
+
sbfmVerifiedBots: Schema.optional(
|
|
135
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
136
|
+
),
|
|
137
|
+
suppressSessionScore: Schema.optional(
|
|
138
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
139
|
+
),
|
|
140
|
+
}).pipe(
|
|
141
|
+
Schema.encodeKeys({
|
|
142
|
+
optimizeWordpress: "optimize_wordpress",
|
|
143
|
+
sbfmDefinitelyAutomated: "sbfm_definitely_automated",
|
|
144
|
+
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
145
|
+
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
146
|
+
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
147
|
+
suppressSessionScore: "suppress_session_score",
|
|
148
|
+
}),
|
|
149
|
+
),
|
|
150
|
+
Schema.Null,
|
|
151
|
+
]),
|
|
152
|
+
),
|
|
153
|
+
usingLatestModel: Schema.optional(
|
|
154
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
155
|
+
),
|
|
99
156
|
}).pipe(
|
|
100
157
|
Schema.encodeKeys({
|
|
101
|
-
zoneId: "zone_id",
|
|
102
158
|
aiBotsProtection: "ai_bots_protection",
|
|
103
159
|
cfRobotsVariant: "cf_robots_variant",
|
|
104
160
|
crawlerProtection: "crawler_protection",
|
|
105
161
|
enableJs: "enable_js",
|
|
106
162
|
fightMode: "fight_mode",
|
|
107
163
|
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
164
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
165
|
+
usingLatestModel: "using_latest_model",
|
|
108
166
|
}),
|
|
109
167
|
),
|
|
110
168
|
Schema.Struct({
|
|
111
|
-
zoneId: Schema.String,
|
|
112
169
|
aiBotsProtection: Schema.optional(
|
|
113
170
|
Schema.Union([
|
|
114
171
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -140,9 +197,29 @@ export const GetBotManagementResponse =
|
|
|
140
197
|
sbfmVerifiedBots: Schema.optional(
|
|
141
198
|
Schema.Union([Schema.Literals(["allow", "block"]), Schema.Null]),
|
|
142
199
|
),
|
|
200
|
+
staleZoneConfiguration: Schema.optional(
|
|
201
|
+
Schema.Union([
|
|
202
|
+
Schema.Struct({
|
|
203
|
+
fightMode: Schema.optional(
|
|
204
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
205
|
+
),
|
|
206
|
+
sbfmLikelyAutomated: Schema.optional(
|
|
207
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
208
|
+
),
|
|
209
|
+
}).pipe(
|
|
210
|
+
Schema.encodeKeys({
|
|
211
|
+
fightMode: "fight_mode",
|
|
212
|
+
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
213
|
+
}),
|
|
214
|
+
),
|
|
215
|
+
Schema.Null,
|
|
216
|
+
]),
|
|
217
|
+
),
|
|
218
|
+
usingLatestModel: Schema.optional(
|
|
219
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
220
|
+
),
|
|
143
221
|
}).pipe(
|
|
144
222
|
Schema.encodeKeys({
|
|
145
|
-
zoneId: "zone_id",
|
|
146
223
|
aiBotsProtection: "ai_bots_protection",
|
|
147
224
|
cfRobotsVariant: "cf_robots_variant",
|
|
148
225
|
crawlerProtection: "crawler_protection",
|
|
@@ -152,10 +229,11 @@ export const GetBotManagementResponse =
|
|
|
152
229
|
sbfmDefinitelyAutomated: "sbfm_definitely_automated",
|
|
153
230
|
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
154
231
|
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
232
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
233
|
+
usingLatestModel: "using_latest_model",
|
|
155
234
|
}),
|
|
156
235
|
),
|
|
157
236
|
Schema.Struct({
|
|
158
|
-
zoneId: Schema.String,
|
|
159
237
|
aiBotsProtection: Schema.optional(
|
|
160
238
|
Schema.Union([
|
|
161
239
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -193,9 +271,21 @@ export const GetBotManagementResponse =
|
|
|
193
271
|
sbfmVerifiedBots: Schema.optional(
|
|
194
272
|
Schema.Union([Schema.Literals(["allow", "block"]), Schema.Null]),
|
|
195
273
|
),
|
|
274
|
+
staleZoneConfiguration: Schema.optional(
|
|
275
|
+
Schema.Union([
|
|
276
|
+
Schema.Struct({
|
|
277
|
+
fightMode: Schema.optional(
|
|
278
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
279
|
+
),
|
|
280
|
+
}).pipe(Schema.encodeKeys({ fightMode: "fight_mode" })),
|
|
281
|
+
Schema.Null,
|
|
282
|
+
]),
|
|
283
|
+
),
|
|
284
|
+
usingLatestModel: Schema.optional(
|
|
285
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
286
|
+
),
|
|
196
287
|
}).pipe(
|
|
197
288
|
Schema.encodeKeys({
|
|
198
|
-
zoneId: "zone_id",
|
|
199
289
|
aiBotsProtection: "ai_bots_protection",
|
|
200
290
|
cfRobotsVariant: "cf_robots_variant",
|
|
201
291
|
crawlerProtection: "crawler_protection",
|
|
@@ -206,10 +296,11 @@ export const GetBotManagementResponse =
|
|
|
206
296
|
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
207
297
|
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
208
298
|
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
299
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
300
|
+
usingLatestModel: "using_latest_model",
|
|
209
301
|
}),
|
|
210
302
|
),
|
|
211
303
|
Schema.Struct({
|
|
212
|
-
zoneId: Schema.String,
|
|
213
304
|
aiBotsProtection: Schema.optional(
|
|
214
305
|
Schema.Union([
|
|
215
306
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -232,12 +323,48 @@ export const GetBotManagementResponse =
|
|
|
232
323
|
isRobotsTxtManaged: Schema.optional(
|
|
233
324
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
234
325
|
),
|
|
326
|
+
staleZoneConfiguration: Schema.optional(
|
|
327
|
+
Schema.Union([
|
|
328
|
+
Schema.Struct({
|
|
329
|
+
fightMode: Schema.optional(
|
|
330
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
331
|
+
),
|
|
332
|
+
optimizeWordpress: Schema.optional(
|
|
333
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
334
|
+
),
|
|
335
|
+
sbfmDefinitelyAutomated: Schema.optional(
|
|
336
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
337
|
+
),
|
|
338
|
+
sbfmLikelyAutomated: Schema.optional(
|
|
339
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
340
|
+
),
|
|
341
|
+
sbfmStaticResourceProtection: Schema.optional(
|
|
342
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
343
|
+
),
|
|
344
|
+
sbfmVerifiedBots: Schema.optional(
|
|
345
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
346
|
+
),
|
|
347
|
+
}).pipe(
|
|
348
|
+
Schema.encodeKeys({
|
|
349
|
+
fightMode: "fight_mode",
|
|
350
|
+
optimizeWordpress: "optimize_wordpress",
|
|
351
|
+
sbfmDefinitelyAutomated: "sbfm_definitely_automated",
|
|
352
|
+
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
353
|
+
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
354
|
+
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
355
|
+
}),
|
|
356
|
+
),
|
|
357
|
+
Schema.Null,
|
|
358
|
+
]),
|
|
359
|
+
),
|
|
235
360
|
suppressSessionScore: Schema.optional(
|
|
236
361
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
237
362
|
),
|
|
363
|
+
usingLatestModel: Schema.optional(
|
|
364
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
365
|
+
),
|
|
238
366
|
}).pipe(
|
|
239
367
|
Schema.encodeKeys({
|
|
240
|
-
zoneId: "zone_id",
|
|
241
368
|
aiBotsProtection: "ai_bots_protection",
|
|
242
369
|
autoUpdateModel: "auto_update_model",
|
|
243
370
|
bmCookieEnabled: "bm_cookie_enabled",
|
|
@@ -245,7 +372,9 @@ export const GetBotManagementResponse =
|
|
|
245
372
|
crawlerProtection: "crawler_protection",
|
|
246
373
|
enableJs: "enable_js",
|
|
247
374
|
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
375
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
248
376
|
suppressSessionScore: "suppress_session_score",
|
|
377
|
+
usingLatestModel: "using_latest_model",
|
|
249
378
|
}),
|
|
250
379
|
),
|
|
251
380
|
]).pipe(
|
|
@@ -309,16 +438,23 @@ export const PutBotManagementRequest =
|
|
|
309
438
|
|
|
310
439
|
export type PutBotManagementResponse =
|
|
311
440
|
| {
|
|
312
|
-
zoneId: string;
|
|
313
441
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
314
442
|
cfRobotsVariant?: "off" | "policy_only" | null;
|
|
315
443
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
316
444
|
enableJs?: boolean | null;
|
|
317
445
|
fightMode?: boolean | null;
|
|
318
446
|
isRobotsTxtManaged?: boolean | null;
|
|
447
|
+
staleZoneConfiguration?: {
|
|
448
|
+
optimizeWordpress?: boolean | null;
|
|
449
|
+
sbfmDefinitelyAutomated?: string | null;
|
|
450
|
+
sbfmLikelyAutomated?: string | null;
|
|
451
|
+
sbfmStaticResourceProtection?: string | null;
|
|
452
|
+
sbfmVerifiedBots?: string | null;
|
|
453
|
+
suppressSessionScore?: boolean | null;
|
|
454
|
+
} | null;
|
|
455
|
+
usingLatestModel?: boolean | null;
|
|
319
456
|
}
|
|
320
457
|
| {
|
|
321
|
-
zoneId: string;
|
|
322
458
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
323
459
|
cfRobotsVariant?: "off" | "policy_only" | null;
|
|
324
460
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
@@ -328,9 +464,13 @@ export type PutBotManagementResponse =
|
|
|
328
464
|
sbfmDefinitelyAutomated?: "allow" | "block" | "managed_challenge" | null;
|
|
329
465
|
sbfmStaticResourceProtection?: boolean | null;
|
|
330
466
|
sbfmVerifiedBots?: "allow" | "block" | null;
|
|
467
|
+
staleZoneConfiguration?: {
|
|
468
|
+
fightMode?: boolean | null;
|
|
469
|
+
sbfmLikelyAutomated?: string | null;
|
|
470
|
+
} | null;
|
|
471
|
+
usingLatestModel?: boolean | null;
|
|
331
472
|
}
|
|
332
473
|
| {
|
|
333
|
-
zoneId: string;
|
|
334
474
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
335
475
|
cfRobotsVariant?: "off" | "policy_only" | null;
|
|
336
476
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
@@ -341,9 +481,10 @@ export type PutBotManagementResponse =
|
|
|
341
481
|
sbfmLikelyAutomated?: "allow" | "block" | "managed_challenge" | null;
|
|
342
482
|
sbfmStaticResourceProtection?: boolean | null;
|
|
343
483
|
sbfmVerifiedBots?: "allow" | "block" | null;
|
|
484
|
+
staleZoneConfiguration?: { fightMode?: boolean | null } | null;
|
|
485
|
+
usingLatestModel?: boolean | null;
|
|
344
486
|
}
|
|
345
487
|
| {
|
|
346
|
-
zoneId: string;
|
|
347
488
|
aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
|
|
348
489
|
autoUpdateModel?: boolean | null;
|
|
349
490
|
bmCookieEnabled?: boolean | null;
|
|
@@ -351,13 +492,21 @@ export type PutBotManagementResponse =
|
|
|
351
492
|
crawlerProtection?: "enabled" | "disabled" | null;
|
|
352
493
|
enableJs?: boolean | null;
|
|
353
494
|
isRobotsTxtManaged?: boolean | null;
|
|
495
|
+
staleZoneConfiguration?: {
|
|
496
|
+
fightMode?: boolean | null;
|
|
497
|
+
optimizeWordpress?: boolean | null;
|
|
498
|
+
sbfmDefinitelyAutomated?: string | null;
|
|
499
|
+
sbfmLikelyAutomated?: string | null;
|
|
500
|
+
sbfmStaticResourceProtection?: string | null;
|
|
501
|
+
sbfmVerifiedBots?: string | null;
|
|
502
|
+
} | null;
|
|
354
503
|
suppressSessionScore?: boolean | null;
|
|
504
|
+
usingLatestModel?: boolean | null;
|
|
355
505
|
};
|
|
356
506
|
|
|
357
507
|
export const PutBotManagementResponse =
|
|
358
508
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
359
509
|
Schema.Struct({
|
|
360
|
-
zoneId: Schema.String,
|
|
361
510
|
aiBotsProtection: Schema.optional(
|
|
362
511
|
Schema.Union([
|
|
363
512
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -375,19 +524,56 @@ export const PutBotManagementResponse =
|
|
|
375
524
|
isRobotsTxtManaged: Schema.optional(
|
|
376
525
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
377
526
|
),
|
|
527
|
+
staleZoneConfiguration: Schema.optional(
|
|
528
|
+
Schema.Union([
|
|
529
|
+
Schema.Struct({
|
|
530
|
+
optimizeWordpress: Schema.optional(
|
|
531
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
532
|
+
),
|
|
533
|
+
sbfmDefinitelyAutomated: Schema.optional(
|
|
534
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
535
|
+
),
|
|
536
|
+
sbfmLikelyAutomated: Schema.optional(
|
|
537
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
538
|
+
),
|
|
539
|
+
sbfmStaticResourceProtection: Schema.optional(
|
|
540
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
541
|
+
),
|
|
542
|
+
sbfmVerifiedBots: Schema.optional(
|
|
543
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
544
|
+
),
|
|
545
|
+
suppressSessionScore: Schema.optional(
|
|
546
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
547
|
+
),
|
|
548
|
+
}).pipe(
|
|
549
|
+
Schema.encodeKeys({
|
|
550
|
+
optimizeWordpress: "optimize_wordpress",
|
|
551
|
+
sbfmDefinitelyAutomated: "sbfm_definitely_automated",
|
|
552
|
+
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
553
|
+
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
554
|
+
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
555
|
+
suppressSessionScore: "suppress_session_score",
|
|
556
|
+
}),
|
|
557
|
+
),
|
|
558
|
+
Schema.Null,
|
|
559
|
+
]),
|
|
560
|
+
),
|
|
561
|
+
usingLatestModel: Schema.optional(
|
|
562
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
563
|
+
),
|
|
378
564
|
}).pipe(
|
|
379
565
|
Schema.encodeKeys({
|
|
380
|
-
zoneId: "zone_id",
|
|
381
566
|
aiBotsProtection: "ai_bots_protection",
|
|
382
567
|
cfRobotsVariant: "cf_robots_variant",
|
|
383
568
|
crawlerProtection: "crawler_protection",
|
|
384
569
|
enableJs: "enable_js",
|
|
385
570
|
fightMode: "fight_mode",
|
|
386
571
|
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
572
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
573
|
+
usingLatestModel: "using_latest_model",
|
|
387
574
|
}),
|
|
388
575
|
),
|
|
389
576
|
Schema.Struct({
|
|
390
|
-
zoneId: Schema.String,
|
|
391
577
|
aiBotsProtection: Schema.optional(
|
|
392
578
|
Schema.Union([
|
|
393
579
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -419,9 +605,29 @@ export const PutBotManagementResponse =
|
|
|
419
605
|
sbfmVerifiedBots: Schema.optional(
|
|
420
606
|
Schema.Union([Schema.Literals(["allow", "block"]), Schema.Null]),
|
|
421
607
|
),
|
|
608
|
+
staleZoneConfiguration: Schema.optional(
|
|
609
|
+
Schema.Union([
|
|
610
|
+
Schema.Struct({
|
|
611
|
+
fightMode: Schema.optional(
|
|
612
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
613
|
+
),
|
|
614
|
+
sbfmLikelyAutomated: Schema.optional(
|
|
615
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
616
|
+
),
|
|
617
|
+
}).pipe(
|
|
618
|
+
Schema.encodeKeys({
|
|
619
|
+
fightMode: "fight_mode",
|
|
620
|
+
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
621
|
+
}),
|
|
622
|
+
),
|
|
623
|
+
Schema.Null,
|
|
624
|
+
]),
|
|
625
|
+
),
|
|
626
|
+
usingLatestModel: Schema.optional(
|
|
627
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
628
|
+
),
|
|
422
629
|
}).pipe(
|
|
423
630
|
Schema.encodeKeys({
|
|
424
|
-
zoneId: "zone_id",
|
|
425
631
|
aiBotsProtection: "ai_bots_protection",
|
|
426
632
|
cfRobotsVariant: "cf_robots_variant",
|
|
427
633
|
crawlerProtection: "crawler_protection",
|
|
@@ -431,10 +637,11 @@ export const PutBotManagementResponse =
|
|
|
431
637
|
sbfmDefinitelyAutomated: "sbfm_definitely_automated",
|
|
432
638
|
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
433
639
|
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
640
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
641
|
+
usingLatestModel: "using_latest_model",
|
|
434
642
|
}),
|
|
435
643
|
),
|
|
436
644
|
Schema.Struct({
|
|
437
|
-
zoneId: Schema.String,
|
|
438
645
|
aiBotsProtection: Schema.optional(
|
|
439
646
|
Schema.Union([
|
|
440
647
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -472,9 +679,21 @@ export const PutBotManagementResponse =
|
|
|
472
679
|
sbfmVerifiedBots: Schema.optional(
|
|
473
680
|
Schema.Union([Schema.Literals(["allow", "block"]), Schema.Null]),
|
|
474
681
|
),
|
|
682
|
+
staleZoneConfiguration: Schema.optional(
|
|
683
|
+
Schema.Union([
|
|
684
|
+
Schema.Struct({
|
|
685
|
+
fightMode: Schema.optional(
|
|
686
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
687
|
+
),
|
|
688
|
+
}).pipe(Schema.encodeKeys({ fightMode: "fight_mode" })),
|
|
689
|
+
Schema.Null,
|
|
690
|
+
]),
|
|
691
|
+
),
|
|
692
|
+
usingLatestModel: Schema.optional(
|
|
693
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
694
|
+
),
|
|
475
695
|
}).pipe(
|
|
476
696
|
Schema.encodeKeys({
|
|
477
|
-
zoneId: "zone_id",
|
|
478
697
|
aiBotsProtection: "ai_bots_protection",
|
|
479
698
|
cfRobotsVariant: "cf_robots_variant",
|
|
480
699
|
crawlerProtection: "crawler_protection",
|
|
@@ -485,10 +704,11 @@ export const PutBotManagementResponse =
|
|
|
485
704
|
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
486
705
|
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
487
706
|
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
707
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
708
|
+
usingLatestModel: "using_latest_model",
|
|
488
709
|
}),
|
|
489
710
|
),
|
|
490
711
|
Schema.Struct({
|
|
491
|
-
zoneId: Schema.String,
|
|
492
712
|
aiBotsProtection: Schema.optional(
|
|
493
713
|
Schema.Union([
|
|
494
714
|
Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
|
|
@@ -511,12 +731,48 @@ export const PutBotManagementResponse =
|
|
|
511
731
|
isRobotsTxtManaged: Schema.optional(
|
|
512
732
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
513
733
|
),
|
|
734
|
+
staleZoneConfiguration: Schema.optional(
|
|
735
|
+
Schema.Union([
|
|
736
|
+
Schema.Struct({
|
|
737
|
+
fightMode: Schema.optional(
|
|
738
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
739
|
+
),
|
|
740
|
+
optimizeWordpress: Schema.optional(
|
|
741
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
742
|
+
),
|
|
743
|
+
sbfmDefinitelyAutomated: Schema.optional(
|
|
744
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
745
|
+
),
|
|
746
|
+
sbfmLikelyAutomated: Schema.optional(
|
|
747
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
748
|
+
),
|
|
749
|
+
sbfmStaticResourceProtection: Schema.optional(
|
|
750
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
751
|
+
),
|
|
752
|
+
sbfmVerifiedBots: Schema.optional(
|
|
753
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
754
|
+
),
|
|
755
|
+
}).pipe(
|
|
756
|
+
Schema.encodeKeys({
|
|
757
|
+
fightMode: "fight_mode",
|
|
758
|
+
optimizeWordpress: "optimize_wordpress",
|
|
759
|
+
sbfmDefinitelyAutomated: "sbfm_definitely_automated",
|
|
760
|
+
sbfmLikelyAutomated: "sbfm_likely_automated",
|
|
761
|
+
sbfmStaticResourceProtection: "sbfm_static_resource_protection",
|
|
762
|
+
sbfmVerifiedBots: "sbfm_verified_bots",
|
|
763
|
+
}),
|
|
764
|
+
),
|
|
765
|
+
Schema.Null,
|
|
766
|
+
]),
|
|
767
|
+
),
|
|
514
768
|
suppressSessionScore: Schema.optional(
|
|
515
769
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
516
770
|
),
|
|
771
|
+
usingLatestModel: Schema.optional(
|
|
772
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
773
|
+
),
|
|
517
774
|
}).pipe(
|
|
518
775
|
Schema.encodeKeys({
|
|
519
|
-
zoneId: "zone_id",
|
|
520
776
|
aiBotsProtection: "ai_bots_protection",
|
|
521
777
|
autoUpdateModel: "auto_update_model",
|
|
522
778
|
bmCookieEnabled: "bm_cookie_enabled",
|
|
@@ -524,7 +780,9 @@ export const PutBotManagementResponse =
|
|
|
524
780
|
crawlerProtection: "crawler_protection",
|
|
525
781
|
enableJs: "enable_js",
|
|
526
782
|
isRobotsTxtManaged: "is_robots_txt_managed",
|
|
783
|
+
staleZoneConfiguration: "stale_zone_configuration",
|
|
527
784
|
suppressSessionScore: "suppress_session_score",
|
|
785
|
+
usingLatestModel: "using_latest_model",
|
|
528
786
|
}),
|
|
529
787
|
),
|
|
530
788
|
]).pipe(
|
|
@@ -40,10 +40,16 @@ export interface SubmitBrandProtectionResponse {
|
|
|
40
40
|
export const SubmitBrandProtectionResponse =
|
|
41
41
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
42
42
|
skippedUrls: Schema.optional(
|
|
43
|
-
Schema.Union([
|
|
43
|
+
Schema.Union([
|
|
44
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
45
|
+
Schema.Null,
|
|
46
|
+
]),
|
|
44
47
|
),
|
|
45
48
|
submittedUrls: Schema.optional(
|
|
46
|
-
Schema.Union([
|
|
49
|
+
Schema.Union([
|
|
50
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
51
|
+
Schema.Null,
|
|
52
|
+
]),
|
|
47
53
|
),
|
|
48
54
|
}).pipe(
|
|
49
55
|
Schema.encodeKeys({
|
|
@@ -89,7 +95,7 @@ export interface UrlInfoBrandProtectionResponse {
|
|
|
89
95
|
|
|
90
96
|
export const UrlInfoBrandProtectionResponse =
|
|
91
97
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
92
|
-
result: Schema.Array(Schema.
|
|
98
|
+
result: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
93
99
|
}) as unknown as Schema.Schema<UrlInfoBrandProtectionResponse>;
|
|
94
100
|
|
|
95
101
|
export type UrlInfoBrandProtectionError = DefaultErrors;
|
|
@@ -251,7 +257,10 @@ export interface GetLogoMatchResponse {
|
|
|
251
257
|
|
|
252
258
|
export const GetLogoMatchResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
253
259
|
matches: Schema.optional(
|
|
254
|
-
Schema.Union([
|
|
260
|
+
Schema.Union([
|
|
261
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
262
|
+
Schema.Null,
|
|
263
|
+
]),
|
|
255
264
|
),
|
|
256
265
|
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
257
266
|
}) as unknown as Schema.Schema<GetLogoMatchResponse>;
|
|
@@ -303,7 +312,10 @@ export interface DownloadLogoMatchResponse {
|
|
|
303
312
|
export const DownloadLogoMatchResponse =
|
|
304
313
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
305
314
|
matches: Schema.optional(
|
|
306
|
-
Schema.Union([
|
|
315
|
+
Schema.Union([
|
|
316
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
317
|
+
Schema.Null,
|
|
318
|
+
]),
|
|
307
319
|
),
|
|
308
320
|
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
309
321
|
}) as unknown as Schema.Schema<DownloadLogoMatchResponse>;
|
|
@@ -360,7 +372,10 @@ export interface GetMatchResponse {
|
|
|
360
372
|
|
|
361
373
|
export const GetMatchResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
362
374
|
matches: Schema.optional(
|
|
363
|
-
Schema.Union([
|
|
375
|
+
Schema.Union([
|
|
376
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
377
|
+
Schema.Null,
|
|
378
|
+
]),
|
|
364
379
|
),
|
|
365
380
|
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
366
381
|
}) as unknown as Schema.Schema<GetMatchResponse>;
|
|
@@ -413,7 +428,10 @@ export interface DownloadMatchResponse {
|
|
|
413
428
|
|
|
414
429
|
export const DownloadMatchResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
415
430
|
matches: Schema.optional(
|
|
416
|
-
Schema.Union([
|
|
431
|
+
Schema.Union([
|
|
432
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
433
|
+
Schema.Null,
|
|
434
|
+
]),
|
|
417
435
|
),
|
|
418
436
|
total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
419
437
|
}) as unknown as Schema.Schema<DownloadMatchResponse>;
|
|
@@ -548,7 +566,9 @@ export interface BulkQueryRequest {
|
|
|
548
566
|
|
|
549
567
|
export const BulkQueryRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
550
568
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
551
|
-
queries: Schema.optional(
|
|
569
|
+
queries: Schema.optional(
|
|
570
|
+
Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
|
|
571
|
+
),
|
|
552
572
|
}).pipe(
|
|
553
573
|
T.Http({
|
|
554
574
|
method: "POST",
|