@distilled.cloud/cloudflare 0.16.2 → 0.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +26 -8
- package/lib/client/api.js.map +1 -1
- package/lib/retry.d.ts +23 -4
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +26 -7
- package/lib/retry.js.map +1 -1
- package/lib/services/abuse-reports.d.ts +4 -0
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +4 -0
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +7 -0
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +7 -0
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +24 -14
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +32 -44
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +2 -0
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +27 -25
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +8 -0
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +8 -0
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +2 -0
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +2 -0
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +10 -0
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +94 -84
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +2 -0
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +2 -0
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/client-certificates.d.ts +2 -0
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +2 -0
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/connectivity.d.ts +2 -0
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +14 -12
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +2 -0
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +2 -0
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +2 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +2 -0
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +2 -0
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +2 -0
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +2 -0
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +2 -0
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +6405 -714
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +12738 -1055
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +3 -0
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +3 -0
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +4 -0
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +4 -0
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +14 -0
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +14 -0
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +2 -0
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +2 -0
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +14 -0
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +90 -76
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +2 -0
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +2 -0
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hyperdrive.js +26 -26
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +6 -0
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +6 -0
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +2 -0
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +2 -0
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -0
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +4 -0
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts +3 -0
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +3 -0
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +2 -0
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +2 -0
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +2 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +9 -7
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-transit.js +8 -8
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +2 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +6 -4
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +57 -2
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +172 -4
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/pages.d.ts +4 -0
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +4 -0
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +6 -0
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +107 -101
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +2 -0
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +2 -0
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.js +32 -32
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +2 -0
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +2 -0
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.js +5 -5
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +6 -0
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +6 -0
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +1 -0
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +5 -4
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rum.d.ts +2 -0
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +2 -0
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +4 -0
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +4 -0
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +4 -0
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +4 -0
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/snippets.d.ts +2 -0
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +2 -0
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +2 -0
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +2 -0
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +2 -0
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +2 -0
- package/lib/services/speed.js.map +1 -1
- package/lib/services/token-validation.d.ts +4 -0
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +88 -84
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +2 -0
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +2 -0
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +2 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +2 -0
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/workers-for-platforms.js +438 -438
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +6 -0
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +1225 -1219
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +6 -0
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +15 -9
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zero-trust.d.ts +46 -0
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +4013 -3967
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.js +50 -50
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/client/api.ts +38 -8
- package/src/retry.ts +32 -10
- package/src/services/abuse-reports.ts +8 -0
- package/src/services/accounts.ts +14 -0
- package/src/services/ai-gateway.ts +83 -66
- package/src/services/ai.ts +39 -35
- package/src/services/aisearch.ts +16 -0
- package/src/services/alerting.ts +4 -0
- package/src/services/api-gateway.ts +150 -130
- package/src/services/audit-logs.ts +4 -0
- package/src/services/client-certificates.ts +4 -0
- package/src/services/connectivity.ts +16 -12
- package/src/services/custom-certificates.ts +4 -0
- package/src/services/custom-hostnames.ts +4 -0
- package/src/services/d1.ts +4 -0
- package/src/services/dns-firewall.ts +4 -0
- package/src/services/dns.ts +25325 -2321
- package/src/services/durable-objects.ts +6 -0
- package/src/services/email-routing.ts +8 -0
- package/src/services/email-security.ts +28 -0
- package/src/services/filters.ts +4 -0
- package/src/services/firewall.ts +108 -80
- package/src/services/healthchecks.ts +4 -0
- package/src/services/hyperdrive.ts +28 -28
- package/src/services/iam.ts +12 -0
- package/src/services/images.ts +4 -0
- package/src/services/intel.ts +8 -0
- package/src/services/kv.ts +6 -0
- package/src/services/load-balancers.ts +4 -0
- package/src/services/magic-cloud-networking.ts +12 -8
- package/src/services/magic-transit.ts +8 -8
- package/src/services/origin-ca-certificates.ts +7 -4
- package/src/services/origin-tls-client-auth.ts +319 -6
- package/src/services/pages.ts +8 -0
- package/src/services/pipelines.ts +161 -149
- package/src/services/queues.ts +4 -0
- package/src/services/radar.ts +32 -32
- package/src/services/rate-limits.ts +4 -0
- package/src/services/realtime-kit.ts +5 -5
- package/src/services/resource-sharing.ts +12 -0
- package/src/services/rules.ts +6 -4
- package/src/services/rum.ts +4 -0
- package/src/services/schema-validation.ts +8 -0
- package/src/services/secrets-store.ts +8 -0
- package/src/services/snippets.ts +4 -0
- package/src/services/spectrum.ts +4 -0
- package/src/services/speed.ts +4 -0
- package/src/services/token-validation.ts +92 -84
- package/src/services/turnstile.ts +4 -0
- package/src/services/waiting-rooms.ts +4 -0
- package/src/services/workers-for-platforms.ts +555 -555
- package/src/services/workers.ts +1534 -1522
- package/src/services/workflows.ts +21 -9
- package/src/services/zero-trust.ts +5862 -5770
- package/src/services/zones.ts +74 -74
|
@@ -188,11 +188,37 @@ export const PutHostnameRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
188
188
|
|
|
189
189
|
export interface PutHostnameResponse {
|
|
190
190
|
result: {
|
|
191
|
-
id?: string | null;
|
|
192
191
|
certId?: string | null;
|
|
192
|
+
certStatus?:
|
|
193
|
+
| "initializing"
|
|
194
|
+
| "pending_deployment"
|
|
195
|
+
| "pending_deletion"
|
|
196
|
+
| "active"
|
|
197
|
+
| "deleted"
|
|
198
|
+
| "deployment_timed_out"
|
|
199
|
+
| "deletion_timed_out"
|
|
200
|
+
| null;
|
|
201
|
+
certUpdatedAt?: string | null;
|
|
202
|
+
certUploadedOn?: string | null;
|
|
193
203
|
certificate?: string | null;
|
|
204
|
+
createdAt?: string | null;
|
|
194
205
|
enabled?: boolean | null;
|
|
206
|
+
expiresOn?: string | null;
|
|
195
207
|
hostname?: string | null;
|
|
208
|
+
issuer?: string | null;
|
|
209
|
+
serialNumber?: string | null;
|
|
210
|
+
signature?: string | null;
|
|
211
|
+
status?:
|
|
212
|
+
| "initializing"
|
|
213
|
+
| "pending_deployment"
|
|
214
|
+
| "pending_deletion"
|
|
215
|
+
| "active"
|
|
216
|
+
| "deleted"
|
|
217
|
+
| "deployment_timed_out"
|
|
218
|
+
| "deletion_timed_out"
|
|
219
|
+
| null;
|
|
220
|
+
updatedAt?: string | null;
|
|
221
|
+
id?: string | null;
|
|
196
222
|
privateKey?: string | null;
|
|
197
223
|
}[];
|
|
198
224
|
}
|
|
@@ -200,19 +226,69 @@ export interface PutHostnameResponse {
|
|
|
200
226
|
export const PutHostnameResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
201
227
|
result: Schema.Array(
|
|
202
228
|
Schema.Struct({
|
|
203
|
-
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
204
229
|
certId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
230
|
+
certStatus: Schema.optional(
|
|
231
|
+
Schema.Union([
|
|
232
|
+
Schema.Literals([
|
|
233
|
+
"initializing",
|
|
234
|
+
"pending_deployment",
|
|
235
|
+
"pending_deletion",
|
|
236
|
+
"active",
|
|
237
|
+
"deleted",
|
|
238
|
+
"deployment_timed_out",
|
|
239
|
+
"deletion_timed_out",
|
|
240
|
+
]),
|
|
241
|
+
Schema.Null,
|
|
242
|
+
]),
|
|
243
|
+
),
|
|
244
|
+
certUpdatedAt: Schema.optional(
|
|
245
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
246
|
+
),
|
|
247
|
+
certUploadedOn: Schema.optional(
|
|
248
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
249
|
+
),
|
|
205
250
|
certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
251
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
206
252
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
253
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
207
254
|
hostname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
255
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
256
|
+
serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
257
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
258
|
+
status: Schema.optional(
|
|
259
|
+
Schema.Union([
|
|
260
|
+
Schema.Literals([
|
|
261
|
+
"initializing",
|
|
262
|
+
"pending_deployment",
|
|
263
|
+
"pending_deletion",
|
|
264
|
+
"active",
|
|
265
|
+
"deleted",
|
|
266
|
+
"deployment_timed_out",
|
|
267
|
+
"deletion_timed_out",
|
|
268
|
+
]),
|
|
269
|
+
Schema.Null,
|
|
270
|
+
]),
|
|
271
|
+
),
|
|
272
|
+
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
273
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
208
274
|
privateKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
209
275
|
}).pipe(
|
|
210
276
|
Schema.encodeKeys({
|
|
211
|
-
id: "id",
|
|
212
277
|
certId: "cert_id",
|
|
278
|
+
certStatus: "cert_status",
|
|
279
|
+
certUpdatedAt: "cert_updated_at",
|
|
280
|
+
certUploadedOn: "cert_uploaded_on",
|
|
213
281
|
certificate: "certificate",
|
|
282
|
+
createdAt: "created_at",
|
|
214
283
|
enabled: "enabled",
|
|
284
|
+
expiresOn: "expires_on",
|
|
215
285
|
hostname: "hostname",
|
|
286
|
+
issuer: "issuer",
|
|
287
|
+
serialNumber: "serial_number",
|
|
288
|
+
signature: "signature",
|
|
289
|
+
status: "status",
|
|
290
|
+
updatedAt: "updated_at",
|
|
291
|
+
id: "id",
|
|
216
292
|
privateKey: "private_key",
|
|
217
293
|
}),
|
|
218
294
|
),
|
|
@@ -354,11 +430,37 @@ export const ListHostnameCertificatesRequest =
|
|
|
354
430
|
|
|
355
431
|
export interface ListHostnameCertificatesResponse {
|
|
356
432
|
result: {
|
|
357
|
-
id?: string | null;
|
|
358
433
|
certId?: string | null;
|
|
434
|
+
certStatus?:
|
|
435
|
+
| "initializing"
|
|
436
|
+
| "pending_deployment"
|
|
437
|
+
| "pending_deletion"
|
|
438
|
+
| "active"
|
|
439
|
+
| "deleted"
|
|
440
|
+
| "deployment_timed_out"
|
|
441
|
+
| "deletion_timed_out"
|
|
442
|
+
| null;
|
|
443
|
+
certUpdatedAt?: string | null;
|
|
444
|
+
certUploadedOn?: string | null;
|
|
359
445
|
certificate?: string | null;
|
|
446
|
+
createdAt?: string | null;
|
|
360
447
|
enabled?: boolean | null;
|
|
448
|
+
expiresOn?: string | null;
|
|
361
449
|
hostname?: string | null;
|
|
450
|
+
issuer?: string | null;
|
|
451
|
+
serialNumber?: string | null;
|
|
452
|
+
signature?: string | null;
|
|
453
|
+
status?:
|
|
454
|
+
| "initializing"
|
|
455
|
+
| "pending_deployment"
|
|
456
|
+
| "pending_deletion"
|
|
457
|
+
| "active"
|
|
458
|
+
| "deleted"
|
|
459
|
+
| "deployment_timed_out"
|
|
460
|
+
| "deletion_timed_out"
|
|
461
|
+
| null;
|
|
462
|
+
updatedAt?: string | null;
|
|
463
|
+
id?: string | null;
|
|
362
464
|
privateKey?: string | null;
|
|
363
465
|
}[];
|
|
364
466
|
}
|
|
@@ -367,23 +469,75 @@ export const ListHostnameCertificatesResponse =
|
|
|
367
469
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
368
470
|
result: Schema.Array(
|
|
369
471
|
Schema.Struct({
|
|
370
|
-
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
371
472
|
certId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
473
|
+
certStatus: Schema.optional(
|
|
474
|
+
Schema.Union([
|
|
475
|
+
Schema.Literals([
|
|
476
|
+
"initializing",
|
|
477
|
+
"pending_deployment",
|
|
478
|
+
"pending_deletion",
|
|
479
|
+
"active",
|
|
480
|
+
"deleted",
|
|
481
|
+
"deployment_timed_out",
|
|
482
|
+
"deletion_timed_out",
|
|
483
|
+
]),
|
|
484
|
+
Schema.Null,
|
|
485
|
+
]),
|
|
486
|
+
),
|
|
487
|
+
certUpdatedAt: Schema.optional(
|
|
488
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
489
|
+
),
|
|
490
|
+
certUploadedOn: Schema.optional(
|
|
491
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
492
|
+
),
|
|
372
493
|
certificate: Schema.optional(
|
|
373
494
|
Schema.Union([Schema.String, Schema.Null]),
|
|
374
495
|
),
|
|
496
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
375
497
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
498
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
376
499
|
hostname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
500
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
501
|
+
serialNumber: Schema.optional(
|
|
502
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
503
|
+
),
|
|
504
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
505
|
+
status: Schema.optional(
|
|
506
|
+
Schema.Union([
|
|
507
|
+
Schema.Literals([
|
|
508
|
+
"initializing",
|
|
509
|
+
"pending_deployment",
|
|
510
|
+
"pending_deletion",
|
|
511
|
+
"active",
|
|
512
|
+
"deleted",
|
|
513
|
+
"deployment_timed_out",
|
|
514
|
+
"deletion_timed_out",
|
|
515
|
+
]),
|
|
516
|
+
Schema.Null,
|
|
517
|
+
]),
|
|
518
|
+
),
|
|
519
|
+
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
520
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
377
521
|
privateKey: Schema.optional(
|
|
378
522
|
Schema.Union([SensitiveString, Schema.Null]),
|
|
379
523
|
),
|
|
380
524
|
}).pipe(
|
|
381
525
|
Schema.encodeKeys({
|
|
382
|
-
id: "id",
|
|
383
526
|
certId: "cert_id",
|
|
527
|
+
certStatus: "cert_status",
|
|
528
|
+
certUpdatedAt: "cert_updated_at",
|
|
529
|
+
certUploadedOn: "cert_uploaded_on",
|
|
384
530
|
certificate: "certificate",
|
|
531
|
+
createdAt: "created_at",
|
|
385
532
|
enabled: "enabled",
|
|
533
|
+
expiresOn: "expires_on",
|
|
386
534
|
hostname: "hostname",
|
|
535
|
+
issuer: "issuer",
|
|
536
|
+
serialNumber: "serial_number",
|
|
537
|
+
signature: "signature",
|
|
538
|
+
status: "status",
|
|
539
|
+
updatedAt: "updated_at",
|
|
540
|
+
id: "id",
|
|
387
541
|
privateKey: "private_key",
|
|
388
542
|
}),
|
|
389
543
|
),
|
|
@@ -635,6 +789,24 @@ export interface GetOriginTlsClientAuthResponse {
|
|
|
635
789
|
id?: string | null;
|
|
636
790
|
/** The zone's leaf certificate. */
|
|
637
791
|
certificate?: string | null;
|
|
792
|
+
/** When the certificate from the authority expires. */
|
|
793
|
+
expiresOn?: string | null;
|
|
794
|
+
/** The certificate authority that issued the certificate. */
|
|
795
|
+
issuer?: string | null;
|
|
796
|
+
/** The type of hash used for the certificate. */
|
|
797
|
+
signature?: string | null;
|
|
798
|
+
/** Status of the certificate activation. */
|
|
799
|
+
status?:
|
|
800
|
+
| "initializing"
|
|
801
|
+
| "pending_deployment"
|
|
802
|
+
| "pending_deletion"
|
|
803
|
+
| "active"
|
|
804
|
+
| "deleted"
|
|
805
|
+
| "deployment_timed_out"
|
|
806
|
+
| "deletion_timed_out"
|
|
807
|
+
| null;
|
|
808
|
+
/** This is the time the certificate was uploaded. */
|
|
809
|
+
uploadedOn?: string | null;
|
|
638
810
|
/** Indicates whether zone-level authenticated origin pulls is enabled. */
|
|
639
811
|
enabled?: boolean | null;
|
|
640
812
|
/** The zone's private key. */
|
|
@@ -645,6 +817,24 @@ export const GetOriginTlsClientAuthResponse =
|
|
|
645
817
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
646
818
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
647
819
|
certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
820
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
821
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
822
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
823
|
+
status: Schema.optional(
|
|
824
|
+
Schema.Union([
|
|
825
|
+
Schema.Literals([
|
|
826
|
+
"initializing",
|
|
827
|
+
"pending_deployment",
|
|
828
|
+
"pending_deletion",
|
|
829
|
+
"active",
|
|
830
|
+
"deleted",
|
|
831
|
+
"deployment_timed_out",
|
|
832
|
+
"deletion_timed_out",
|
|
833
|
+
]),
|
|
834
|
+
Schema.Null,
|
|
835
|
+
]),
|
|
836
|
+
),
|
|
837
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
648
838
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
649
839
|
privateKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
650
840
|
})
|
|
@@ -652,6 +842,11 @@ export const GetOriginTlsClientAuthResponse =
|
|
|
652
842
|
Schema.encodeKeys({
|
|
653
843
|
id: "id",
|
|
654
844
|
certificate: "certificate",
|
|
845
|
+
expiresOn: "expires_on",
|
|
846
|
+
issuer: "issuer",
|
|
847
|
+
signature: "signature",
|
|
848
|
+
status: "status",
|
|
849
|
+
uploadedOn: "uploaded_on",
|
|
655
850
|
enabled: "enabled",
|
|
656
851
|
privateKey: "private_key",
|
|
657
852
|
}),
|
|
@@ -689,6 +884,19 @@ export interface ListOriginTlsClientAuthsResponse {
|
|
|
689
884
|
result: {
|
|
690
885
|
id?: string | null;
|
|
691
886
|
certificate?: string | null;
|
|
887
|
+
expiresOn?: string | null;
|
|
888
|
+
issuer?: string | null;
|
|
889
|
+
signature?: string | null;
|
|
890
|
+
status?:
|
|
891
|
+
| "initializing"
|
|
892
|
+
| "pending_deployment"
|
|
893
|
+
| "pending_deletion"
|
|
894
|
+
| "active"
|
|
895
|
+
| "deleted"
|
|
896
|
+
| "deployment_timed_out"
|
|
897
|
+
| "deletion_timed_out"
|
|
898
|
+
| null;
|
|
899
|
+
uploadedOn?: string | null;
|
|
692
900
|
enabled?: boolean | null;
|
|
693
901
|
privateKey?: string | null;
|
|
694
902
|
}[];
|
|
@@ -702,6 +910,24 @@ export const ListOriginTlsClientAuthsResponse =
|
|
|
702
910
|
certificate: Schema.optional(
|
|
703
911
|
Schema.Union([Schema.String, Schema.Null]),
|
|
704
912
|
),
|
|
913
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
914
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
915
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
916
|
+
status: Schema.optional(
|
|
917
|
+
Schema.Union([
|
|
918
|
+
Schema.Literals([
|
|
919
|
+
"initializing",
|
|
920
|
+
"pending_deployment",
|
|
921
|
+
"pending_deletion",
|
|
922
|
+
"active",
|
|
923
|
+
"deleted",
|
|
924
|
+
"deployment_timed_out",
|
|
925
|
+
"deletion_timed_out",
|
|
926
|
+
]),
|
|
927
|
+
Schema.Null,
|
|
928
|
+
]),
|
|
929
|
+
),
|
|
930
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
705
931
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
706
932
|
privateKey: Schema.optional(
|
|
707
933
|
Schema.Union([SensitiveString, Schema.Null]),
|
|
@@ -710,6 +936,11 @@ export const ListOriginTlsClientAuthsResponse =
|
|
|
710
936
|
Schema.encodeKeys({
|
|
711
937
|
id: "id",
|
|
712
938
|
certificate: "certificate",
|
|
939
|
+
expiresOn: "expires_on",
|
|
940
|
+
issuer: "issuer",
|
|
941
|
+
signature: "signature",
|
|
942
|
+
status: "status",
|
|
943
|
+
uploadedOn: "uploaded_on",
|
|
713
944
|
enabled: "enabled",
|
|
714
945
|
privateKey: "private_key",
|
|
715
946
|
}),
|
|
@@ -761,6 +992,24 @@ export interface CreateOriginTlsClientAuthResponse {
|
|
|
761
992
|
id?: string | null;
|
|
762
993
|
/** The zone's leaf certificate. */
|
|
763
994
|
certificate?: string | null;
|
|
995
|
+
/** When the certificate from the authority expires. */
|
|
996
|
+
expiresOn?: string | null;
|
|
997
|
+
/** The certificate authority that issued the certificate. */
|
|
998
|
+
issuer?: string | null;
|
|
999
|
+
/** The type of hash used for the certificate. */
|
|
1000
|
+
signature?: string | null;
|
|
1001
|
+
/** Status of the certificate activation. */
|
|
1002
|
+
status?:
|
|
1003
|
+
| "initializing"
|
|
1004
|
+
| "pending_deployment"
|
|
1005
|
+
| "pending_deletion"
|
|
1006
|
+
| "active"
|
|
1007
|
+
| "deleted"
|
|
1008
|
+
| "deployment_timed_out"
|
|
1009
|
+
| "deletion_timed_out"
|
|
1010
|
+
| null;
|
|
1011
|
+
/** This is the time the certificate was uploaded. */
|
|
1012
|
+
uploadedOn?: string | null;
|
|
764
1013
|
/** Indicates whether zone-level authenticated origin pulls is enabled. */
|
|
765
1014
|
enabled?: boolean | null;
|
|
766
1015
|
/** The zone's private key. */
|
|
@@ -771,6 +1020,24 @@ export const CreateOriginTlsClientAuthResponse =
|
|
|
771
1020
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
772
1021
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
773
1022
|
certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1023
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1024
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1025
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1026
|
+
status: Schema.optional(
|
|
1027
|
+
Schema.Union([
|
|
1028
|
+
Schema.Literals([
|
|
1029
|
+
"initializing",
|
|
1030
|
+
"pending_deployment",
|
|
1031
|
+
"pending_deletion",
|
|
1032
|
+
"active",
|
|
1033
|
+
"deleted",
|
|
1034
|
+
"deployment_timed_out",
|
|
1035
|
+
"deletion_timed_out",
|
|
1036
|
+
]),
|
|
1037
|
+
Schema.Null,
|
|
1038
|
+
]),
|
|
1039
|
+
),
|
|
1040
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
774
1041
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
775
1042
|
privateKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
776
1043
|
})
|
|
@@ -778,6 +1045,11 @@ export const CreateOriginTlsClientAuthResponse =
|
|
|
778
1045
|
Schema.encodeKeys({
|
|
779
1046
|
id: "id",
|
|
780
1047
|
certificate: "certificate",
|
|
1048
|
+
expiresOn: "expires_on",
|
|
1049
|
+
issuer: "issuer",
|
|
1050
|
+
signature: "signature",
|
|
1051
|
+
status: "status",
|
|
1052
|
+
uploadedOn: "uploaded_on",
|
|
781
1053
|
enabled: "enabled",
|
|
782
1054
|
privateKey: "private_key",
|
|
783
1055
|
}),
|
|
@@ -821,6 +1093,24 @@ export interface DeleteOriginTlsClientAuthResponse {
|
|
|
821
1093
|
id?: string | null;
|
|
822
1094
|
/** The zone's leaf certificate. */
|
|
823
1095
|
certificate?: string | null;
|
|
1096
|
+
/** When the certificate from the authority expires. */
|
|
1097
|
+
expiresOn?: string | null;
|
|
1098
|
+
/** The certificate authority that issued the certificate. */
|
|
1099
|
+
issuer?: string | null;
|
|
1100
|
+
/** The type of hash used for the certificate. */
|
|
1101
|
+
signature?: string | null;
|
|
1102
|
+
/** Status of the certificate activation. */
|
|
1103
|
+
status?:
|
|
1104
|
+
| "initializing"
|
|
1105
|
+
| "pending_deployment"
|
|
1106
|
+
| "pending_deletion"
|
|
1107
|
+
| "active"
|
|
1108
|
+
| "deleted"
|
|
1109
|
+
| "deployment_timed_out"
|
|
1110
|
+
| "deletion_timed_out"
|
|
1111
|
+
| null;
|
|
1112
|
+
/** This is the time the certificate was uploaded. */
|
|
1113
|
+
uploadedOn?: string | null;
|
|
824
1114
|
/** Indicates whether zone-level authenticated origin pulls is enabled. */
|
|
825
1115
|
enabled?: boolean | null;
|
|
826
1116
|
/** The zone's private key. */
|
|
@@ -831,6 +1121,24 @@ export const DeleteOriginTlsClientAuthResponse =
|
|
|
831
1121
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
832
1122
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
833
1123
|
certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1124
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1125
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1126
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1127
|
+
status: Schema.optional(
|
|
1128
|
+
Schema.Union([
|
|
1129
|
+
Schema.Literals([
|
|
1130
|
+
"initializing",
|
|
1131
|
+
"pending_deployment",
|
|
1132
|
+
"pending_deletion",
|
|
1133
|
+
"active",
|
|
1134
|
+
"deleted",
|
|
1135
|
+
"deployment_timed_out",
|
|
1136
|
+
"deletion_timed_out",
|
|
1137
|
+
]),
|
|
1138
|
+
Schema.Null,
|
|
1139
|
+
]),
|
|
1140
|
+
),
|
|
1141
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
834
1142
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
835
1143
|
privateKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
836
1144
|
})
|
|
@@ -838,6 +1146,11 @@ export const DeleteOriginTlsClientAuthResponse =
|
|
|
838
1146
|
Schema.encodeKeys({
|
|
839
1147
|
id: "id",
|
|
840
1148
|
certificate: "certificate",
|
|
1149
|
+
expiresOn: "expires_on",
|
|
1150
|
+
issuer: "issuer",
|
|
1151
|
+
signature: "signature",
|
|
1152
|
+
status: "status",
|
|
1153
|
+
uploadedOn: "uploaded_on",
|
|
841
1154
|
enabled: "enabled",
|
|
842
1155
|
privateKey: "private_key",
|
|
843
1156
|
}),
|
package/src/services/pages.ts
CHANGED
|
@@ -1018,10 +1018,14 @@ export const getProject: API.OperationMethod<
|
|
|
1018
1018
|
export interface ListProjectsRequest {
|
|
1019
1019
|
/** Path param: Identifier. */
|
|
1020
1020
|
accountId: string;
|
|
1021
|
+
page?: number;
|
|
1022
|
+
perPage?: number;
|
|
1021
1023
|
}
|
|
1022
1024
|
|
|
1023
1025
|
export const ListProjectsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1024
1026
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1027
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1028
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1025
1029
|
}).pipe(
|
|
1026
1030
|
T.Http({ method: "GET", path: "/accounts/{account_id}/pages/projects" }),
|
|
1027
1031
|
) as unknown as Schema.Schema<ListProjectsRequest>;
|
|
@@ -4895,6 +4899,8 @@ export interface ListProjectDeploymentsRequest {
|
|
|
4895
4899
|
projectName: string;
|
|
4896
4900
|
/** Path param: Identifier. */
|
|
4897
4901
|
accountId: string;
|
|
4902
|
+
page?: number;
|
|
4903
|
+
perPage?: number;
|
|
4898
4904
|
/** Query param: What type of deployments to fetch. */
|
|
4899
4905
|
env?: "production" | "preview";
|
|
4900
4906
|
}
|
|
@@ -4903,6 +4909,8 @@ export const ListProjectDeploymentsRequest =
|
|
|
4903
4909
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4904
4910
|
projectName: Schema.String.pipe(T.HttpPath("projectName")),
|
|
4905
4911
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4912
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4913
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4906
4914
|
env: Schema.optional(Schema.Literals(["production", "preview"])).pipe(
|
|
4907
4915
|
T.HttpQuery("env"),
|
|
4908
4916
|
),
|