@distilled.cloud/cloudflare 0.6.0 → 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
package/lib/services/speed.js
CHANGED
|
@@ -54,13 +54,168 @@ export const ListAvailabilitiesResponse =
|
|
|
54
54
|
}),
|
|
55
55
|
Schema.Null,
|
|
56
56
|
])),
|
|
57
|
-
regions: Schema.optional(Schema.Union([
|
|
57
|
+
regions: Schema.optional(Schema.Union([
|
|
58
|
+
Schema.Array(Schema.Struct({
|
|
59
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
60
|
+
value: Schema.optional(Schema.Union([
|
|
61
|
+
Schema.Literals([
|
|
62
|
+
"asia-east1",
|
|
63
|
+
"asia-northeast1",
|
|
64
|
+
"asia-northeast2",
|
|
65
|
+
"asia-south1",
|
|
66
|
+
"asia-southeast1",
|
|
67
|
+
"australia-southeast1",
|
|
68
|
+
"europe-north1",
|
|
69
|
+
"europe-southwest1",
|
|
70
|
+
"europe-west1",
|
|
71
|
+
"europe-west2",
|
|
72
|
+
"europe-west3",
|
|
73
|
+
"europe-west4",
|
|
74
|
+
"europe-west8",
|
|
75
|
+
"europe-west9",
|
|
76
|
+
"me-west1",
|
|
77
|
+
"southamerica-east1",
|
|
78
|
+
"us-central1",
|
|
79
|
+
"us-east1",
|
|
80
|
+
"us-east4",
|
|
81
|
+
"us-south1",
|
|
82
|
+
"us-west1",
|
|
83
|
+
]),
|
|
84
|
+
Schema.Null,
|
|
85
|
+
])),
|
|
86
|
+
})),
|
|
87
|
+
Schema.Null,
|
|
88
|
+
])),
|
|
58
89
|
regionsPerPlan: Schema.optional(Schema.Union([
|
|
59
90
|
Schema.Struct({
|
|
60
|
-
business: Schema.optional(Schema.Union([
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
91
|
+
business: Schema.optional(Schema.Union([
|
|
92
|
+
Schema.Array(Schema.Struct({
|
|
93
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
94
|
+
value: Schema.optional(Schema.Union([
|
|
95
|
+
Schema.Literals([
|
|
96
|
+
"asia-east1",
|
|
97
|
+
"asia-northeast1",
|
|
98
|
+
"asia-northeast2",
|
|
99
|
+
"asia-south1",
|
|
100
|
+
"asia-southeast1",
|
|
101
|
+
"australia-southeast1",
|
|
102
|
+
"europe-north1",
|
|
103
|
+
"europe-southwest1",
|
|
104
|
+
"europe-west1",
|
|
105
|
+
"europe-west2",
|
|
106
|
+
"europe-west3",
|
|
107
|
+
"europe-west4",
|
|
108
|
+
"europe-west8",
|
|
109
|
+
"europe-west9",
|
|
110
|
+
"me-west1",
|
|
111
|
+
"southamerica-east1",
|
|
112
|
+
"us-central1",
|
|
113
|
+
"us-east1",
|
|
114
|
+
"us-east4",
|
|
115
|
+
"us-south1",
|
|
116
|
+
"us-west1",
|
|
117
|
+
]),
|
|
118
|
+
Schema.Null,
|
|
119
|
+
])),
|
|
120
|
+
})),
|
|
121
|
+
Schema.Null,
|
|
122
|
+
])),
|
|
123
|
+
enterprise: Schema.optional(Schema.Union([
|
|
124
|
+
Schema.Array(Schema.Struct({
|
|
125
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
126
|
+
value: Schema.optional(Schema.Union([
|
|
127
|
+
Schema.Literals([
|
|
128
|
+
"asia-east1",
|
|
129
|
+
"asia-northeast1",
|
|
130
|
+
"asia-northeast2",
|
|
131
|
+
"asia-south1",
|
|
132
|
+
"asia-southeast1",
|
|
133
|
+
"australia-southeast1",
|
|
134
|
+
"europe-north1",
|
|
135
|
+
"europe-southwest1",
|
|
136
|
+
"europe-west1",
|
|
137
|
+
"europe-west2",
|
|
138
|
+
"europe-west3",
|
|
139
|
+
"europe-west4",
|
|
140
|
+
"europe-west8",
|
|
141
|
+
"europe-west9",
|
|
142
|
+
"me-west1",
|
|
143
|
+
"southamerica-east1",
|
|
144
|
+
"us-central1",
|
|
145
|
+
"us-east1",
|
|
146
|
+
"us-east4",
|
|
147
|
+
"us-south1",
|
|
148
|
+
"us-west1",
|
|
149
|
+
]),
|
|
150
|
+
Schema.Null,
|
|
151
|
+
])),
|
|
152
|
+
})),
|
|
153
|
+
Schema.Null,
|
|
154
|
+
])),
|
|
155
|
+
free: Schema.optional(Schema.Union([
|
|
156
|
+
Schema.Array(Schema.Struct({
|
|
157
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
158
|
+
value: Schema.optional(Schema.Union([
|
|
159
|
+
Schema.Literals([
|
|
160
|
+
"asia-east1",
|
|
161
|
+
"asia-northeast1",
|
|
162
|
+
"asia-northeast2",
|
|
163
|
+
"asia-south1",
|
|
164
|
+
"asia-southeast1",
|
|
165
|
+
"australia-southeast1",
|
|
166
|
+
"europe-north1",
|
|
167
|
+
"europe-southwest1",
|
|
168
|
+
"europe-west1",
|
|
169
|
+
"europe-west2",
|
|
170
|
+
"europe-west3",
|
|
171
|
+
"europe-west4",
|
|
172
|
+
"europe-west8",
|
|
173
|
+
"europe-west9",
|
|
174
|
+
"me-west1",
|
|
175
|
+
"southamerica-east1",
|
|
176
|
+
"us-central1",
|
|
177
|
+
"us-east1",
|
|
178
|
+
"us-east4",
|
|
179
|
+
"us-south1",
|
|
180
|
+
"us-west1",
|
|
181
|
+
]),
|
|
182
|
+
Schema.Null,
|
|
183
|
+
])),
|
|
184
|
+
})),
|
|
185
|
+
Schema.Null,
|
|
186
|
+
])),
|
|
187
|
+
pro: Schema.optional(Schema.Union([
|
|
188
|
+
Schema.Array(Schema.Struct({
|
|
189
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
190
|
+
value: Schema.optional(Schema.Union([
|
|
191
|
+
Schema.Literals([
|
|
192
|
+
"asia-east1",
|
|
193
|
+
"asia-northeast1",
|
|
194
|
+
"asia-northeast2",
|
|
195
|
+
"asia-south1",
|
|
196
|
+
"asia-southeast1",
|
|
197
|
+
"australia-southeast1",
|
|
198
|
+
"europe-north1",
|
|
199
|
+
"europe-southwest1",
|
|
200
|
+
"europe-west1",
|
|
201
|
+
"europe-west2",
|
|
202
|
+
"europe-west3",
|
|
203
|
+
"europe-west4",
|
|
204
|
+
"europe-west8",
|
|
205
|
+
"europe-west9",
|
|
206
|
+
"me-west1",
|
|
207
|
+
"southamerica-east1",
|
|
208
|
+
"us-central1",
|
|
209
|
+
"us-east1",
|
|
210
|
+
"us-east4",
|
|
211
|
+
"us-south1",
|
|
212
|
+
"us-west1",
|
|
213
|
+
]),
|
|
214
|
+
Schema.Null,
|
|
215
|
+
])),
|
|
216
|
+
})),
|
|
217
|
+
Schema.Null,
|
|
218
|
+
])),
|
|
64
219
|
}),
|
|
65
220
|
Schema.Null,
|
|
66
221
|
])),
|
|
@@ -75,9 +230,161 @@ export const ListPagesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
75
230
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/speed_api/pages" }));
|
|
76
231
|
export const ListPagesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
77
232
|
result: Schema.Array(Schema.Struct({
|
|
78
|
-
region: Schema.optional(Schema.Union([
|
|
233
|
+
region: Schema.optional(Schema.Union([
|
|
234
|
+
Schema.Struct({
|
|
235
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
236
|
+
value: Schema.optional(Schema.Union([
|
|
237
|
+
Schema.Literals([
|
|
238
|
+
"asia-east1",
|
|
239
|
+
"asia-northeast1",
|
|
240
|
+
"asia-northeast2",
|
|
241
|
+
"asia-south1",
|
|
242
|
+
"asia-southeast1",
|
|
243
|
+
"australia-southeast1",
|
|
244
|
+
"europe-north1",
|
|
245
|
+
"europe-southwest1",
|
|
246
|
+
"europe-west1",
|
|
247
|
+
"europe-west2",
|
|
248
|
+
"europe-west3",
|
|
249
|
+
"europe-west4",
|
|
250
|
+
"europe-west8",
|
|
251
|
+
"europe-west9",
|
|
252
|
+
"me-west1",
|
|
253
|
+
"southamerica-east1",
|
|
254
|
+
"us-central1",
|
|
255
|
+
"us-east1",
|
|
256
|
+
"us-east4",
|
|
257
|
+
"us-south1",
|
|
258
|
+
"us-west1",
|
|
259
|
+
]),
|
|
260
|
+
Schema.Null,
|
|
261
|
+
])),
|
|
262
|
+
}),
|
|
263
|
+
Schema.Null,
|
|
264
|
+
])),
|
|
79
265
|
scheduleFrequency: Schema.optional(Schema.Union([Schema.Literals(["DAILY", "WEEKLY"]), Schema.Null])),
|
|
80
|
-
tests: Schema.optional(Schema.Union([
|
|
266
|
+
tests: Schema.optional(Schema.Union([
|
|
267
|
+
Schema.Array(Schema.Struct({
|
|
268
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
269
|
+
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
270
|
+
desktopReport: Schema.optional(Schema.Union([
|
|
271
|
+
Schema.Struct({
|
|
272
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
273
|
+
deviceType: Schema.optional(Schema.Union([
|
|
274
|
+
Schema.Literals(["DESKTOP", "MOBILE"]),
|
|
275
|
+
Schema.Null,
|
|
276
|
+
])),
|
|
277
|
+
error: Schema.optional(Schema.Union([
|
|
278
|
+
Schema.Struct({
|
|
279
|
+
code: Schema.optional(Schema.Union([
|
|
280
|
+
Schema.Literals([
|
|
281
|
+
"NOT_REACHABLE",
|
|
282
|
+
"DNS_FAILURE",
|
|
283
|
+
"NOT_HTML",
|
|
284
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
285
|
+
"UNKNOWN",
|
|
286
|
+
]),
|
|
287
|
+
Schema.Null,
|
|
288
|
+
])),
|
|
289
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
290
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
291
|
+
}),
|
|
292
|
+
Schema.Null,
|
|
293
|
+
])),
|
|
294
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
295
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
296
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
297
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
298
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
299
|
+
state: Schema.optional(Schema.Union([
|
|
300
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
301
|
+
Schema.Null,
|
|
302
|
+
])),
|
|
303
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
304
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
305
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
306
|
+
}),
|
|
307
|
+
Schema.Null,
|
|
308
|
+
])),
|
|
309
|
+
mobileReport: Schema.optional(Schema.Union([
|
|
310
|
+
Schema.Struct({
|
|
311
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
312
|
+
deviceType: Schema.optional(Schema.Union([
|
|
313
|
+
Schema.Literals(["DESKTOP", "MOBILE"]),
|
|
314
|
+
Schema.Null,
|
|
315
|
+
])),
|
|
316
|
+
error: Schema.optional(Schema.Union([
|
|
317
|
+
Schema.Struct({
|
|
318
|
+
code: Schema.optional(Schema.Union([
|
|
319
|
+
Schema.Literals([
|
|
320
|
+
"NOT_REACHABLE",
|
|
321
|
+
"DNS_FAILURE",
|
|
322
|
+
"NOT_HTML",
|
|
323
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
324
|
+
"UNKNOWN",
|
|
325
|
+
]),
|
|
326
|
+
Schema.Null,
|
|
327
|
+
])),
|
|
328
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
329
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
330
|
+
}),
|
|
331
|
+
Schema.Null,
|
|
332
|
+
])),
|
|
333
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
334
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
335
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
336
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
337
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
338
|
+
state: Schema.optional(Schema.Union([
|
|
339
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
340
|
+
Schema.Null,
|
|
341
|
+
])),
|
|
342
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
343
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
344
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
345
|
+
}),
|
|
346
|
+
Schema.Null,
|
|
347
|
+
])),
|
|
348
|
+
region: Schema.optional(Schema.Union([
|
|
349
|
+
Schema.Struct({
|
|
350
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
351
|
+
value: Schema.optional(Schema.Union([
|
|
352
|
+
Schema.Literals([
|
|
353
|
+
"asia-east1",
|
|
354
|
+
"asia-northeast1",
|
|
355
|
+
"asia-northeast2",
|
|
356
|
+
"asia-south1",
|
|
357
|
+
"asia-southeast1",
|
|
358
|
+
"australia-southeast1",
|
|
359
|
+
"europe-north1",
|
|
360
|
+
"europe-southwest1",
|
|
361
|
+
"europe-west1",
|
|
362
|
+
"europe-west2",
|
|
363
|
+
"europe-west3",
|
|
364
|
+
"europe-west4",
|
|
365
|
+
"europe-west8",
|
|
366
|
+
"europe-west9",
|
|
367
|
+
"me-west1",
|
|
368
|
+
"southamerica-east1",
|
|
369
|
+
"us-central1",
|
|
370
|
+
"us-east1",
|
|
371
|
+
"us-east4",
|
|
372
|
+
"us-south1",
|
|
373
|
+
"us-west1",
|
|
374
|
+
]),
|
|
375
|
+
Schema.Null,
|
|
376
|
+
])),
|
|
377
|
+
}),
|
|
378
|
+
Schema.Null,
|
|
379
|
+
])),
|
|
380
|
+
scheduleFrequency: Schema.optional(Schema.Union([
|
|
381
|
+
Schema.Literals(["DAILY", "WEEKLY"]),
|
|
382
|
+
Schema.Null,
|
|
383
|
+
])),
|
|
384
|
+
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
385
|
+
})),
|
|
386
|
+
Schema.Null,
|
|
387
|
+
])),
|
|
81
388
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
82
389
|
})),
|
|
83
390
|
});
|
|
@@ -125,8 +432,40 @@ export const TrendPageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
125
432
|
method: "GET",
|
|
126
433
|
path: "/zones/{zone_id}/speed_api/pages/{url}/trend",
|
|
127
434
|
}));
|
|
128
|
-
export const TrendPageResponse =
|
|
129
|
-
|
|
435
|
+
export const TrendPageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
436
|
+
cls: Schema.optional(Schema.Union([
|
|
437
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
438
|
+
Schema.Null,
|
|
439
|
+
])),
|
|
440
|
+
fcp: Schema.optional(Schema.Union([
|
|
441
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
442
|
+
Schema.Null,
|
|
443
|
+
])),
|
|
444
|
+
lcp: Schema.optional(Schema.Union([
|
|
445
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
446
|
+
Schema.Null,
|
|
447
|
+
])),
|
|
448
|
+
performanceScore: Schema.optional(Schema.Union([
|
|
449
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
450
|
+
Schema.Null,
|
|
451
|
+
])),
|
|
452
|
+
si: Schema.optional(Schema.Union([
|
|
453
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
454
|
+
Schema.Null,
|
|
455
|
+
])),
|
|
456
|
+
tbt: Schema.optional(Schema.Union([
|
|
457
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
458
|
+
Schema.Null,
|
|
459
|
+
])),
|
|
460
|
+
ttfb: Schema.optional(Schema.Union([
|
|
461
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
462
|
+
Schema.Null,
|
|
463
|
+
])),
|
|
464
|
+
tti: Schema.optional(Schema.Union([
|
|
465
|
+
Schema.Array(Schema.Union([Schema.Number, Schema.Null])),
|
|
466
|
+
Schema.Null,
|
|
467
|
+
])),
|
|
468
|
+
}).pipe(T.ResponsePath("result"));
|
|
130
469
|
export const trendPage = API.make(() => ({
|
|
131
470
|
input: TrendPageRequest,
|
|
132
471
|
output: TrendPageResponse,
|
|
@@ -143,9 +482,110 @@ export const GetPageTestRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
143
482
|
export const GetPageTestResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
144
483
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
145
484
|
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
146
|
-
desktopReport: Schema.optional(Schema.Union([
|
|
147
|
-
|
|
148
|
-
|
|
485
|
+
desktopReport: Schema.optional(Schema.Union([
|
|
486
|
+
Schema.Struct({
|
|
487
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
488
|
+
deviceType: Schema.optional(Schema.Union([Schema.Literals(["DESKTOP", "MOBILE"]), Schema.Null])),
|
|
489
|
+
error: Schema.optional(Schema.Union([
|
|
490
|
+
Schema.Struct({
|
|
491
|
+
code: Schema.optional(Schema.Union([
|
|
492
|
+
Schema.Literals([
|
|
493
|
+
"NOT_REACHABLE",
|
|
494
|
+
"DNS_FAILURE",
|
|
495
|
+
"NOT_HTML",
|
|
496
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
497
|
+
"UNKNOWN",
|
|
498
|
+
]),
|
|
499
|
+
Schema.Null,
|
|
500
|
+
])),
|
|
501
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
502
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
503
|
+
}),
|
|
504
|
+
Schema.Null,
|
|
505
|
+
])),
|
|
506
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
507
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
508
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
509
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
510
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
511
|
+
state: Schema.optional(Schema.Union([
|
|
512
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
513
|
+
Schema.Null,
|
|
514
|
+
])),
|
|
515
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
516
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
517
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
518
|
+
}),
|
|
519
|
+
Schema.Null,
|
|
520
|
+
])),
|
|
521
|
+
mobileReport: Schema.optional(Schema.Union([
|
|
522
|
+
Schema.Struct({
|
|
523
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
524
|
+
deviceType: Schema.optional(Schema.Union([Schema.Literals(["DESKTOP", "MOBILE"]), Schema.Null])),
|
|
525
|
+
error: Schema.optional(Schema.Union([
|
|
526
|
+
Schema.Struct({
|
|
527
|
+
code: Schema.optional(Schema.Union([
|
|
528
|
+
Schema.Literals([
|
|
529
|
+
"NOT_REACHABLE",
|
|
530
|
+
"DNS_FAILURE",
|
|
531
|
+
"NOT_HTML",
|
|
532
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
533
|
+
"UNKNOWN",
|
|
534
|
+
]),
|
|
535
|
+
Schema.Null,
|
|
536
|
+
])),
|
|
537
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
538
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
539
|
+
}),
|
|
540
|
+
Schema.Null,
|
|
541
|
+
])),
|
|
542
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
543
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
544
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
545
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
546
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
547
|
+
state: Schema.optional(Schema.Union([
|
|
548
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
549
|
+
Schema.Null,
|
|
550
|
+
])),
|
|
551
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
552
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
553
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
554
|
+
}),
|
|
555
|
+
Schema.Null,
|
|
556
|
+
])),
|
|
557
|
+
region: Schema.optional(Schema.Union([
|
|
558
|
+
Schema.Struct({
|
|
559
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
560
|
+
value: Schema.optional(Schema.Union([
|
|
561
|
+
Schema.Literals([
|
|
562
|
+
"asia-east1",
|
|
563
|
+
"asia-northeast1",
|
|
564
|
+
"asia-northeast2",
|
|
565
|
+
"asia-south1",
|
|
566
|
+
"asia-southeast1",
|
|
567
|
+
"australia-southeast1",
|
|
568
|
+
"europe-north1",
|
|
569
|
+
"europe-southwest1",
|
|
570
|
+
"europe-west1",
|
|
571
|
+
"europe-west2",
|
|
572
|
+
"europe-west3",
|
|
573
|
+
"europe-west4",
|
|
574
|
+
"europe-west8",
|
|
575
|
+
"europe-west9",
|
|
576
|
+
"me-west1",
|
|
577
|
+
"southamerica-east1",
|
|
578
|
+
"us-central1",
|
|
579
|
+
"us-east1",
|
|
580
|
+
"us-east4",
|
|
581
|
+
"us-south1",
|
|
582
|
+
"us-west1",
|
|
583
|
+
]),
|
|
584
|
+
Schema.Null,
|
|
585
|
+
])),
|
|
586
|
+
}),
|
|
587
|
+
Schema.Null,
|
|
588
|
+
])),
|
|
149
589
|
scheduleFrequency: Schema.optional(Schema.Union([Schema.Literals(["DAILY", "WEEKLY"]), Schema.Null])),
|
|
150
590
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
151
591
|
}).pipe(T.ResponsePath("result"));
|
|
@@ -188,9 +628,116 @@ export const ListPageTestsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
188
628
|
result: Schema.Array(Schema.Struct({
|
|
189
629
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
190
630
|
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
191
|
-
desktopReport: Schema.optional(Schema.Union([
|
|
192
|
-
|
|
193
|
-
|
|
631
|
+
desktopReport: Schema.optional(Schema.Union([
|
|
632
|
+
Schema.Struct({
|
|
633
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
634
|
+
deviceType: Schema.optional(Schema.Union([
|
|
635
|
+
Schema.Literals(["DESKTOP", "MOBILE"]),
|
|
636
|
+
Schema.Null,
|
|
637
|
+
])),
|
|
638
|
+
error: Schema.optional(Schema.Union([
|
|
639
|
+
Schema.Struct({
|
|
640
|
+
code: Schema.optional(Schema.Union([
|
|
641
|
+
Schema.Literals([
|
|
642
|
+
"NOT_REACHABLE",
|
|
643
|
+
"DNS_FAILURE",
|
|
644
|
+
"NOT_HTML",
|
|
645
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
646
|
+
"UNKNOWN",
|
|
647
|
+
]),
|
|
648
|
+
Schema.Null,
|
|
649
|
+
])),
|
|
650
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
651
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
652
|
+
}),
|
|
653
|
+
Schema.Null,
|
|
654
|
+
])),
|
|
655
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
656
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
657
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
658
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
659
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
660
|
+
state: Schema.optional(Schema.Union([
|
|
661
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
662
|
+
Schema.Null,
|
|
663
|
+
])),
|
|
664
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
665
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
666
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
667
|
+
}),
|
|
668
|
+
Schema.Null,
|
|
669
|
+
])),
|
|
670
|
+
mobileReport: Schema.optional(Schema.Union([
|
|
671
|
+
Schema.Struct({
|
|
672
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
673
|
+
deviceType: Schema.optional(Schema.Union([
|
|
674
|
+
Schema.Literals(["DESKTOP", "MOBILE"]),
|
|
675
|
+
Schema.Null,
|
|
676
|
+
])),
|
|
677
|
+
error: Schema.optional(Schema.Union([
|
|
678
|
+
Schema.Struct({
|
|
679
|
+
code: Schema.optional(Schema.Union([
|
|
680
|
+
Schema.Literals([
|
|
681
|
+
"NOT_REACHABLE",
|
|
682
|
+
"DNS_FAILURE",
|
|
683
|
+
"NOT_HTML",
|
|
684
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
685
|
+
"UNKNOWN",
|
|
686
|
+
]),
|
|
687
|
+
Schema.Null,
|
|
688
|
+
])),
|
|
689
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
690
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
691
|
+
}),
|
|
692
|
+
Schema.Null,
|
|
693
|
+
])),
|
|
694
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
695
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
696
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
697
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
698
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
699
|
+
state: Schema.optional(Schema.Union([
|
|
700
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
701
|
+
Schema.Null,
|
|
702
|
+
])),
|
|
703
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
704
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
705
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
706
|
+
}),
|
|
707
|
+
Schema.Null,
|
|
708
|
+
])),
|
|
709
|
+
region: Schema.optional(Schema.Union([
|
|
710
|
+
Schema.Struct({
|
|
711
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
712
|
+
value: Schema.optional(Schema.Union([
|
|
713
|
+
Schema.Literals([
|
|
714
|
+
"asia-east1",
|
|
715
|
+
"asia-northeast1",
|
|
716
|
+
"asia-northeast2",
|
|
717
|
+
"asia-south1",
|
|
718
|
+
"asia-southeast1",
|
|
719
|
+
"australia-southeast1",
|
|
720
|
+
"europe-north1",
|
|
721
|
+
"europe-southwest1",
|
|
722
|
+
"europe-west1",
|
|
723
|
+
"europe-west2",
|
|
724
|
+
"europe-west3",
|
|
725
|
+
"europe-west4",
|
|
726
|
+
"europe-west8",
|
|
727
|
+
"europe-west9",
|
|
728
|
+
"me-west1",
|
|
729
|
+
"southamerica-east1",
|
|
730
|
+
"us-central1",
|
|
731
|
+
"us-east1",
|
|
732
|
+
"us-east4",
|
|
733
|
+
"us-south1",
|
|
734
|
+
"us-west1",
|
|
735
|
+
]),
|
|
736
|
+
Schema.Null,
|
|
737
|
+
])),
|
|
738
|
+
}),
|
|
739
|
+
Schema.Null,
|
|
740
|
+
])),
|
|
194
741
|
scheduleFrequency: Schema.optional(Schema.Union([Schema.Literals(["DAILY", "WEEKLY"]), Schema.Null])),
|
|
195
742
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
196
743
|
})),
|
|
@@ -251,9 +798,110 @@ export const CreatePageTestRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
251
798
|
export const CreatePageTestResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
252
799
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
253
800
|
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
254
|
-
desktopReport: Schema.optional(Schema.Union([
|
|
255
|
-
|
|
256
|
-
|
|
801
|
+
desktopReport: Schema.optional(Schema.Union([
|
|
802
|
+
Schema.Struct({
|
|
803
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
804
|
+
deviceType: Schema.optional(Schema.Union([Schema.Literals(["DESKTOP", "MOBILE"]), Schema.Null])),
|
|
805
|
+
error: Schema.optional(Schema.Union([
|
|
806
|
+
Schema.Struct({
|
|
807
|
+
code: Schema.optional(Schema.Union([
|
|
808
|
+
Schema.Literals([
|
|
809
|
+
"NOT_REACHABLE",
|
|
810
|
+
"DNS_FAILURE",
|
|
811
|
+
"NOT_HTML",
|
|
812
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
813
|
+
"UNKNOWN",
|
|
814
|
+
]),
|
|
815
|
+
Schema.Null,
|
|
816
|
+
])),
|
|
817
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
818
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
819
|
+
}),
|
|
820
|
+
Schema.Null,
|
|
821
|
+
])),
|
|
822
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
823
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
824
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
825
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
826
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
827
|
+
state: Schema.optional(Schema.Union([
|
|
828
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
829
|
+
Schema.Null,
|
|
830
|
+
])),
|
|
831
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
832
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
833
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
834
|
+
}),
|
|
835
|
+
Schema.Null,
|
|
836
|
+
])),
|
|
837
|
+
mobileReport: Schema.optional(Schema.Union([
|
|
838
|
+
Schema.Struct({
|
|
839
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
840
|
+
deviceType: Schema.optional(Schema.Union([Schema.Literals(["DESKTOP", "MOBILE"]), Schema.Null])),
|
|
841
|
+
error: Schema.optional(Schema.Union([
|
|
842
|
+
Schema.Struct({
|
|
843
|
+
code: Schema.optional(Schema.Union([
|
|
844
|
+
Schema.Literals([
|
|
845
|
+
"NOT_REACHABLE",
|
|
846
|
+
"DNS_FAILURE",
|
|
847
|
+
"NOT_HTML",
|
|
848
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
849
|
+
"UNKNOWN",
|
|
850
|
+
]),
|
|
851
|
+
Schema.Null,
|
|
852
|
+
])),
|
|
853
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
854
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
855
|
+
}),
|
|
856
|
+
Schema.Null,
|
|
857
|
+
])),
|
|
858
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
859
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
860
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
861
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
862
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
863
|
+
state: Schema.optional(Schema.Union([
|
|
864
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
865
|
+
Schema.Null,
|
|
866
|
+
])),
|
|
867
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
868
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
869
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
870
|
+
}),
|
|
871
|
+
Schema.Null,
|
|
872
|
+
])),
|
|
873
|
+
region: Schema.optional(Schema.Union([
|
|
874
|
+
Schema.Struct({
|
|
875
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
876
|
+
value: Schema.optional(Schema.Union([
|
|
877
|
+
Schema.Literals([
|
|
878
|
+
"asia-east1",
|
|
879
|
+
"asia-northeast1",
|
|
880
|
+
"asia-northeast2",
|
|
881
|
+
"asia-south1",
|
|
882
|
+
"asia-southeast1",
|
|
883
|
+
"australia-southeast1",
|
|
884
|
+
"europe-north1",
|
|
885
|
+
"europe-southwest1",
|
|
886
|
+
"europe-west1",
|
|
887
|
+
"europe-west2",
|
|
888
|
+
"europe-west3",
|
|
889
|
+
"europe-west4",
|
|
890
|
+
"europe-west8",
|
|
891
|
+
"europe-west9",
|
|
892
|
+
"me-west1",
|
|
893
|
+
"southamerica-east1",
|
|
894
|
+
"us-central1",
|
|
895
|
+
"us-east1",
|
|
896
|
+
"us-east4",
|
|
897
|
+
"us-south1",
|
|
898
|
+
"us-west1",
|
|
899
|
+
]),
|
|
900
|
+
Schema.Null,
|
|
901
|
+
])),
|
|
902
|
+
}),
|
|
903
|
+
Schema.Null,
|
|
904
|
+
])),
|
|
257
905
|
scheduleFrequency: Schema.optional(Schema.Union([Schema.Literals(["DAILY", "WEEKLY"]), Schema.Null])),
|
|
258
906
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
259
907
|
}).pipe(T.ResponsePath("result"));
|
|
@@ -423,7 +1071,125 @@ export const CreateScheduleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
423
1071
|
}),
|
|
424
1072
|
Schema.Null,
|
|
425
1073
|
])),
|
|
426
|
-
test: Schema.optional(Schema.Union([
|
|
1074
|
+
test: Schema.optional(Schema.Union([
|
|
1075
|
+
Schema.Struct({
|
|
1076
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1077
|
+
date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1078
|
+
desktopReport: Schema.optional(Schema.Union([
|
|
1079
|
+
Schema.Struct({
|
|
1080
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1081
|
+
deviceType: Schema.optional(Schema.Union([
|
|
1082
|
+
Schema.Literals(["DESKTOP", "MOBILE"]),
|
|
1083
|
+
Schema.Null,
|
|
1084
|
+
])),
|
|
1085
|
+
error: Schema.optional(Schema.Union([
|
|
1086
|
+
Schema.Struct({
|
|
1087
|
+
code: Schema.optional(Schema.Union([
|
|
1088
|
+
Schema.Literals([
|
|
1089
|
+
"NOT_REACHABLE",
|
|
1090
|
+
"DNS_FAILURE",
|
|
1091
|
+
"NOT_HTML",
|
|
1092
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
1093
|
+
"UNKNOWN",
|
|
1094
|
+
]),
|
|
1095
|
+
Schema.Null,
|
|
1096
|
+
])),
|
|
1097
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1098
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1099
|
+
}),
|
|
1100
|
+
Schema.Null,
|
|
1101
|
+
])),
|
|
1102
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1103
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1104
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1105
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1106
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1107
|
+
state: Schema.optional(Schema.Union([
|
|
1108
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
1109
|
+
Schema.Null,
|
|
1110
|
+
])),
|
|
1111
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1112
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1113
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1114
|
+
}),
|
|
1115
|
+
Schema.Null,
|
|
1116
|
+
])),
|
|
1117
|
+
mobileReport: Schema.optional(Schema.Union([
|
|
1118
|
+
Schema.Struct({
|
|
1119
|
+
cls: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1120
|
+
deviceType: Schema.optional(Schema.Union([
|
|
1121
|
+
Schema.Literals(["DESKTOP", "MOBILE"]),
|
|
1122
|
+
Schema.Null,
|
|
1123
|
+
])),
|
|
1124
|
+
error: Schema.optional(Schema.Union([
|
|
1125
|
+
Schema.Struct({
|
|
1126
|
+
code: Schema.optional(Schema.Union([
|
|
1127
|
+
Schema.Literals([
|
|
1128
|
+
"NOT_REACHABLE",
|
|
1129
|
+
"DNS_FAILURE",
|
|
1130
|
+
"NOT_HTML",
|
|
1131
|
+
"LIGHTHOUSE_TIMEOUT",
|
|
1132
|
+
"UNKNOWN",
|
|
1133
|
+
]),
|
|
1134
|
+
Schema.Null,
|
|
1135
|
+
])),
|
|
1136
|
+
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1137
|
+
finalDisplayedUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1138
|
+
}),
|
|
1139
|
+
Schema.Null,
|
|
1140
|
+
])),
|
|
1141
|
+
fcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1142
|
+
jsonReportUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1143
|
+
lcp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1144
|
+
performanceScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1145
|
+
si: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1146
|
+
state: Schema.optional(Schema.Union([
|
|
1147
|
+
Schema.Literals(["RUNNING", "COMPLETE", "FAILED"]),
|
|
1148
|
+
Schema.Null,
|
|
1149
|
+
])),
|
|
1150
|
+
tbt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1151
|
+
ttfb: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1152
|
+
tti: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1153
|
+
}),
|
|
1154
|
+
Schema.Null,
|
|
1155
|
+
])),
|
|
1156
|
+
region: Schema.optional(Schema.Union([
|
|
1157
|
+
Schema.Struct({
|
|
1158
|
+
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1159
|
+
value: Schema.optional(Schema.Union([
|
|
1160
|
+
Schema.Literals([
|
|
1161
|
+
"asia-east1",
|
|
1162
|
+
"asia-northeast1",
|
|
1163
|
+
"asia-northeast2",
|
|
1164
|
+
"asia-south1",
|
|
1165
|
+
"asia-southeast1",
|
|
1166
|
+
"australia-southeast1",
|
|
1167
|
+
"europe-north1",
|
|
1168
|
+
"europe-southwest1",
|
|
1169
|
+
"europe-west1",
|
|
1170
|
+
"europe-west2",
|
|
1171
|
+
"europe-west3",
|
|
1172
|
+
"europe-west4",
|
|
1173
|
+
"europe-west8",
|
|
1174
|
+
"europe-west9",
|
|
1175
|
+
"me-west1",
|
|
1176
|
+
"southamerica-east1",
|
|
1177
|
+
"us-central1",
|
|
1178
|
+
"us-east1",
|
|
1179
|
+
"us-east4",
|
|
1180
|
+
"us-south1",
|
|
1181
|
+
"us-west1",
|
|
1182
|
+
]),
|
|
1183
|
+
Schema.Null,
|
|
1184
|
+
])),
|
|
1185
|
+
}),
|
|
1186
|
+
Schema.Null,
|
|
1187
|
+
])),
|
|
1188
|
+
scheduleFrequency: Schema.optional(Schema.Union([Schema.Literals(["DAILY", "WEEKLY"]), Schema.Null])),
|
|
1189
|
+
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1190
|
+
}),
|
|
1191
|
+
Schema.Null,
|
|
1192
|
+
])),
|
|
427
1193
|
}).pipe(T.ResponsePath("result"));
|
|
428
1194
|
export const createSchedule = API.make(() => ({
|
|
429
1195
|
input: CreateScheduleRequest,
|