@distilled.cloud/cloudflare 0.16.2 → 0.16.3
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 +2 -0
- 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 +10 -0
- 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 +2 -0
- 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 +12881 -1198
- 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 +14 -0
- 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/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 +2 -0
- package/lib/services/magic-cloud-networking.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 +6 -0
- 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/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/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 +1 -0
- 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 +4 -0
- 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.d.ts +6 -0
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +6 -0
- 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 +6 -0
- 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 +46 -0
- package/lib/services/zero-trust.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 +4 -0
- package/src/services/aisearch.ts +16 -0
- package/src/services/alerting.ts +4 -0
- package/src/services/api-gateway.ts +20 -0
- package/src/services/audit-logs.ts +4 -0
- package/src/services/client-certificates.ts +4 -0
- package/src/services/connectivity.ts +4 -0
- 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 +25303 -2299
- 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 +28 -0
- package/src/services/healthchecks.ts +4 -0
- 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 +4 -0
- 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 +12 -0
- package/src/services/queues.ts +4 -0
- package/src/services/rate-limits.ts +4 -0
- package/src/services/resource-sharing.ts +12 -0
- package/src/services/rules.ts +2 -0
- 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 +8 -0
- package/src/services/turnstile.ts +4 -0
- package/src/services/waiting-rooms.ts +4 -0
- package/src/services/workers.ts +12 -0
- package/src/services/workflows.ts +12 -0
- package/src/services/zero-trust.ts +92 -0
|
@@ -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
|
),
|
|
@@ -1509,12 +1509,16 @@ export const getSink: API.OperationMethod<
|
|
|
1509
1509
|
export interface ListSinksRequest {
|
|
1510
1510
|
/** Path param: Specifies the public ID of the account. */
|
|
1511
1511
|
accountId: string;
|
|
1512
|
+
page?: number;
|
|
1513
|
+
perPage?: number;
|
|
1512
1514
|
/** Query param: */
|
|
1513
1515
|
pipelineId?: string;
|
|
1514
1516
|
}
|
|
1515
1517
|
|
|
1516
1518
|
export const ListSinksRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1517
1519
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1520
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1521
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1518
1522
|
pipelineId: Schema.optional(Schema.String).pipe(T.HttpQuery("pipeline_id")),
|
|
1519
1523
|
}).pipe(
|
|
1520
1524
|
T.Http({ method: "GET", path: "/accounts/{account_id}/pipelines/v1/sinks" }),
|
|
@@ -4081,12 +4085,16 @@ export const getStream: API.OperationMethod<
|
|
|
4081
4085
|
export interface ListStreamsRequest {
|
|
4082
4086
|
/** Path param: Specifies the public ID of the account. */
|
|
4083
4087
|
accountId: string;
|
|
4088
|
+
page?: number;
|
|
4089
|
+
perPage?: number;
|
|
4084
4090
|
/** Query param: Specifies the public ID of the pipeline. */
|
|
4085
4091
|
pipelineId?: string;
|
|
4086
4092
|
}
|
|
4087
4093
|
|
|
4088
4094
|
export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4089
4095
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4096
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4097
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4090
4098
|
pipelineId: Schema.optional(Schema.String).pipe(T.HttpQuery("pipeline_id")),
|
|
4091
4099
|
}).pipe(
|
|
4092
4100
|
T.Http({
|
|
@@ -5920,10 +5928,14 @@ export const getV1Pipeline: API.OperationMethod<
|
|
|
5920
5928
|
export interface ListV1PipelineRequest {
|
|
5921
5929
|
/** Path param: Specifies the public ID of the account. */
|
|
5922
5930
|
accountId: string;
|
|
5931
|
+
page?: number;
|
|
5932
|
+
perPage?: number;
|
|
5923
5933
|
}
|
|
5924
5934
|
|
|
5925
5935
|
export const ListV1PipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5926
5936
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5937
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
5938
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
5927
5939
|
}).pipe(
|
|
5928
5940
|
T.Http({
|
|
5929
5941
|
method: "GET",
|
package/src/services/queues.ts
CHANGED
|
@@ -3243,6 +3243,8 @@ export const getSubscription: API.OperationMethod<
|
|
|
3243
3243
|
export interface ListSubscriptionsRequest {
|
|
3244
3244
|
/** Path param: A Resource identifier. */
|
|
3245
3245
|
accountId: string;
|
|
3246
|
+
page?: number;
|
|
3247
|
+
perPage?: number;
|
|
3246
3248
|
/** Query param: Sort direction */
|
|
3247
3249
|
direction?: "asc" | "desc";
|
|
3248
3250
|
/** Query param: Field to sort by */
|
|
@@ -3252,6 +3254,8 @@ export interface ListSubscriptionsRequest {
|
|
|
3252
3254
|
export const ListSubscriptionsRequest =
|
|
3253
3255
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3254
3256
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3257
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3258
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
3255
3259
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
3256
3260
|
T.HttpQuery("direction"),
|
|
3257
3261
|
),
|
|
@@ -208,10 +208,14 @@ export const getRateLimit: API.OperationMethod<
|
|
|
208
208
|
export interface ListRateLimitsRequest {
|
|
209
209
|
/** Path param: Defines an identifier. */
|
|
210
210
|
zoneId: string;
|
|
211
|
+
page?: number;
|
|
212
|
+
perPage?: number;
|
|
211
213
|
}
|
|
212
214
|
|
|
213
215
|
export const ListRateLimitsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
214
216
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
217
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
218
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
215
219
|
}).pipe(
|
|
216
220
|
T.Http({ method: "GET", path: "/zones/{zone_id}/rate_limits" }),
|
|
217
221
|
) as unknown as Schema.Schema<ListRateLimitsRequest>;
|
|
@@ -127,6 +127,8 @@ export interface ListRecipientsRequest {
|
|
|
127
127
|
shareId: string;
|
|
128
128
|
/** Path param: Account identifier. */
|
|
129
129
|
accountId: string;
|
|
130
|
+
page?: number;
|
|
131
|
+
perPage?: number;
|
|
130
132
|
/** Query param: Include resources in the response. */
|
|
131
133
|
includeResources?: boolean;
|
|
132
134
|
}
|
|
@@ -134,6 +136,8 @@ export interface ListRecipientsRequest {
|
|
|
134
136
|
export const ListRecipientsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
135
137
|
shareId: Schema.String.pipe(T.HttpPath("shareId")),
|
|
136
138
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
139
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
140
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
137
141
|
includeResources: Schema.optional(Schema.Boolean).pipe(
|
|
138
142
|
T.HttpQuery("include_resources"),
|
|
139
143
|
),
|
|
@@ -574,6 +578,8 @@ export interface ListResourcesRequest {
|
|
|
574
578
|
shareId: string;
|
|
575
579
|
/** Path param: Account identifier. */
|
|
576
580
|
accountId: string;
|
|
581
|
+
page?: number;
|
|
582
|
+
perPage?: number;
|
|
577
583
|
/** Query param: Filter share resources by resource_type. */
|
|
578
584
|
resourceType?:
|
|
579
585
|
| "custom-ruleset"
|
|
@@ -589,6 +595,8 @@ export interface ListResourcesRequest {
|
|
|
589
595
|
export const ListResourcesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
590
596
|
shareId: Schema.String.pipe(T.HttpPath("shareId")),
|
|
591
597
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
598
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
599
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
592
600
|
resourceType: Schema.optional(
|
|
593
601
|
Schema.Literals([
|
|
594
602
|
"custom-ruleset",
|
|
@@ -1201,6 +1209,8 @@ export const getResourceSharing: API.OperationMethod<
|
|
|
1201
1209
|
export interface ListResourceSharingsRequest {
|
|
1202
1210
|
/** Path param: Account identifier. */
|
|
1203
1211
|
accountId: string;
|
|
1212
|
+
page?: number;
|
|
1213
|
+
perPage?: number;
|
|
1204
1214
|
/** Query param: Direction to sort objects. */
|
|
1205
1215
|
direction?: "asc" | "desc";
|
|
1206
1216
|
/** Query param: Include recipient counts in the response. */
|
|
@@ -1229,6 +1239,8 @@ export interface ListResourceSharingsRequest {
|
|
|
1229
1239
|
export const ListResourceSharingsRequest =
|
|
1230
1240
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1231
1241
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1242
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1243
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1232
1244
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
1233
1245
|
T.HttpQuery("direction"),
|
|
1234
1246
|
),
|
package/src/services/rules.ts
CHANGED
|
@@ -593,6 +593,7 @@ export interface ListListItemsRequest {
|
|
|
593
593
|
listId: string;
|
|
594
594
|
/** Path param: The Account ID for this resource. */
|
|
595
595
|
accountId: string;
|
|
596
|
+
cursor?: string;
|
|
596
597
|
/** Query param: Amount of results to include in each paginated response. A non-negative 32 bit integer. */
|
|
597
598
|
perPage?: number;
|
|
598
599
|
/** Query param: A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and */
|
|
@@ -602,6 +603,7 @@ export interface ListListItemsRequest {
|
|
|
602
603
|
export const ListListItemsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
603
604
|
listId: Schema.String.pipe(T.HttpPath("listId")),
|
|
604
605
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
606
|
+
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
605
607
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
606
608
|
search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
|
|
607
609
|
}).pipe(
|
package/src/services/rum.ts
CHANGED
|
@@ -622,12 +622,16 @@ export const getSiteInfo: API.OperationMethod<
|
|
|
622
622
|
export interface ListSiteInfosRequest {
|
|
623
623
|
/** Path param: Identifier. */
|
|
624
624
|
accountId: string;
|
|
625
|
+
page?: number;
|
|
626
|
+
perPage?: number;
|
|
625
627
|
/** Query param: The property used to sort the list of results. */
|
|
626
628
|
orderBy?: "host" | "created";
|
|
627
629
|
}
|
|
628
630
|
|
|
629
631
|
export const ListSiteInfosRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
630
632
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
633
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
634
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
631
635
|
orderBy: Schema.optional(Schema.Literals(["host", "created"])).pipe(
|
|
632
636
|
T.HttpQuery("order_by"),
|
|
633
637
|
),
|