@distilled.cloud/cloudflare 0.6.1 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
|
@@ -299,22 +299,171 @@ export const ListDiscoveryOperationsRequest =
|
|
|
299
299
|
}),
|
|
300
300
|
) as unknown as Schema.Schema<ListDiscoveryOperationsRequest>;
|
|
301
301
|
|
|
302
|
-
export
|
|
302
|
+
export interface ListDiscoveryOperationsResponse {
|
|
303
|
+
result: {
|
|
304
|
+
id: string;
|
|
305
|
+
endpoint: string;
|
|
306
|
+
host: string;
|
|
307
|
+
lastUpdated: string;
|
|
308
|
+
method:
|
|
309
|
+
| "GET"
|
|
310
|
+
| "POST"
|
|
311
|
+
| "HEAD"
|
|
312
|
+
| "OPTIONS"
|
|
313
|
+
| "PUT"
|
|
314
|
+
| "DELETE"
|
|
315
|
+
| "CONNECT"
|
|
316
|
+
| "PATCH"
|
|
317
|
+
| "TRACE";
|
|
318
|
+
origin: ("ML" | "SessionIdentifier" | "LabelDiscovery")[];
|
|
319
|
+
state: "review" | "saved" | "ignored";
|
|
320
|
+
features?: {
|
|
321
|
+
trafficStats?: {
|
|
322
|
+
lastUpdated: string;
|
|
323
|
+
periodSeconds: number;
|
|
324
|
+
requests: number;
|
|
325
|
+
} | null;
|
|
326
|
+
} | null;
|
|
327
|
+
}[];
|
|
328
|
+
resultInfo: {
|
|
329
|
+
count?: number | null;
|
|
330
|
+
page?: number | null;
|
|
331
|
+
perPage?: number | null;
|
|
332
|
+
totalCount?: number | null;
|
|
333
|
+
};
|
|
334
|
+
}
|
|
303
335
|
|
|
304
336
|
export const ListDiscoveryOperationsResponse =
|
|
305
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
337
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
338
|
+
result: Schema.Array(
|
|
339
|
+
Schema.Struct({
|
|
340
|
+
id: Schema.String,
|
|
341
|
+
endpoint: Schema.String,
|
|
342
|
+
host: Schema.String,
|
|
343
|
+
lastUpdated: Schema.String,
|
|
344
|
+
method: Schema.Literals([
|
|
345
|
+
"GET",
|
|
346
|
+
"POST",
|
|
347
|
+
"HEAD",
|
|
348
|
+
"OPTIONS",
|
|
349
|
+
"PUT",
|
|
350
|
+
"DELETE",
|
|
351
|
+
"CONNECT",
|
|
352
|
+
"PATCH",
|
|
353
|
+
"TRACE",
|
|
354
|
+
]),
|
|
355
|
+
origin: Schema.Array(
|
|
356
|
+
Schema.Literals(["ML", "SessionIdentifier", "LabelDiscovery"]),
|
|
357
|
+
),
|
|
358
|
+
state: Schema.Literals(["review", "saved", "ignored"]),
|
|
359
|
+
features: Schema.optional(
|
|
360
|
+
Schema.Union([
|
|
361
|
+
Schema.Struct({
|
|
362
|
+
trafficStats: Schema.optional(
|
|
363
|
+
Schema.Union([
|
|
364
|
+
Schema.Struct({
|
|
365
|
+
lastUpdated: Schema.String,
|
|
366
|
+
periodSeconds: Schema.Number,
|
|
367
|
+
requests: Schema.Number,
|
|
368
|
+
}).pipe(
|
|
369
|
+
Schema.encodeKeys({
|
|
370
|
+
lastUpdated: "last_updated",
|
|
371
|
+
periodSeconds: "period_seconds",
|
|
372
|
+
requests: "requests",
|
|
373
|
+
}),
|
|
374
|
+
),
|
|
375
|
+
Schema.Null,
|
|
376
|
+
]),
|
|
377
|
+
),
|
|
378
|
+
}).pipe(Schema.encodeKeys({ trafficStats: "traffic_stats" })),
|
|
379
|
+
Schema.Null,
|
|
380
|
+
]),
|
|
381
|
+
),
|
|
382
|
+
}).pipe(
|
|
383
|
+
Schema.encodeKeys({
|
|
384
|
+
id: "id",
|
|
385
|
+
endpoint: "endpoint",
|
|
386
|
+
host: "host",
|
|
387
|
+
lastUpdated: "last_updated",
|
|
388
|
+
method: "method",
|
|
389
|
+
origin: "origin",
|
|
390
|
+
state: "state",
|
|
391
|
+
features: "features",
|
|
392
|
+
}),
|
|
393
|
+
),
|
|
394
|
+
),
|
|
395
|
+
resultInfo: Schema.Struct({
|
|
396
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
397
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
398
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
399
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
400
|
+
}).pipe(
|
|
401
|
+
Schema.encodeKeys({
|
|
402
|
+
count: "count",
|
|
403
|
+
page: "page",
|
|
404
|
+
perPage: "per_page",
|
|
405
|
+
totalCount: "total_count",
|
|
406
|
+
}),
|
|
407
|
+
),
|
|
408
|
+
}).pipe(
|
|
409
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
410
|
+
) as unknown as Schema.Schema<ListDiscoveryOperationsResponse>;
|
|
306
411
|
|
|
307
412
|
export type ListDiscoveryOperationsError = DefaultErrors;
|
|
308
413
|
|
|
309
|
-
export const listDiscoveryOperations: API.
|
|
414
|
+
export const listDiscoveryOperations: API.PaginatedOperationMethod<
|
|
310
415
|
ListDiscoveryOperationsRequest,
|
|
311
416
|
ListDiscoveryOperationsResponse,
|
|
312
417
|
ListDiscoveryOperationsError,
|
|
313
418
|
Credentials | HttpClient.HttpClient
|
|
314
|
-
>
|
|
419
|
+
> & {
|
|
420
|
+
pages: (
|
|
421
|
+
input: ListDiscoveryOperationsRequest,
|
|
422
|
+
) => stream.Stream<
|
|
423
|
+
ListDiscoveryOperationsResponse,
|
|
424
|
+
ListDiscoveryOperationsError,
|
|
425
|
+
Credentials | HttpClient.HttpClient
|
|
426
|
+
>;
|
|
427
|
+
items: (input: ListDiscoveryOperationsRequest) => stream.Stream<
|
|
428
|
+
{
|
|
429
|
+
id: string;
|
|
430
|
+
endpoint: string;
|
|
431
|
+
host: string;
|
|
432
|
+
lastUpdated: string;
|
|
433
|
+
method:
|
|
434
|
+
| "GET"
|
|
435
|
+
| "POST"
|
|
436
|
+
| "HEAD"
|
|
437
|
+
| "OPTIONS"
|
|
438
|
+
| "PUT"
|
|
439
|
+
| "DELETE"
|
|
440
|
+
| "CONNECT"
|
|
441
|
+
| "PATCH"
|
|
442
|
+
| "TRACE";
|
|
443
|
+
origin: ("ML" | "SessionIdentifier" | "LabelDiscovery")[];
|
|
444
|
+
state: "review" | "saved" | "ignored";
|
|
445
|
+
features?: {
|
|
446
|
+
trafficStats?: {
|
|
447
|
+
lastUpdated: string;
|
|
448
|
+
periodSeconds: number;
|
|
449
|
+
requests: number;
|
|
450
|
+
} | null;
|
|
451
|
+
} | null;
|
|
452
|
+
},
|
|
453
|
+
ListDiscoveryOperationsError,
|
|
454
|
+
Credentials | HttpClient.HttpClient
|
|
455
|
+
>;
|
|
456
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
315
457
|
input: ListDiscoveryOperationsRequest,
|
|
316
458
|
output: ListDiscoveryOperationsResponse,
|
|
317
459
|
errors: [],
|
|
460
|
+
pagination: {
|
|
461
|
+
mode: "page",
|
|
462
|
+
inputToken: "page",
|
|
463
|
+
outputToken: "resultInfo.page",
|
|
464
|
+
items: "result",
|
|
465
|
+
pageSize: "perPage",
|
|
466
|
+
} as const,
|
|
318
467
|
}));
|
|
319
468
|
|
|
320
469
|
export interface PatchDiscoveryOperationRequest {
|
|
@@ -380,7 +529,7 @@ export interface BulkPatchDiscoveryOperationsRequest {
|
|
|
380
529
|
export const BulkPatchDiscoveryOperationsRequest =
|
|
381
530
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
382
531
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
383
|
-
body: Schema.
|
|
532
|
+
body: Schema.Record(Schema.String, Schema.Unknown).pipe(T.HttpBody()),
|
|
384
533
|
}).pipe(
|
|
385
534
|
T.Http({
|
|
386
535
|
method: "PATCH",
|
|
@@ -391,7 +540,7 @@ export const BulkPatchDiscoveryOperationsRequest =
|
|
|
391
540
|
export type BulkPatchDiscoveryOperationsResponse = Record<string, unknown>;
|
|
392
541
|
|
|
393
542
|
export const BulkPatchDiscoveryOperationsResponse =
|
|
394
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
543
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Record(Schema.String, Schema.Unknown).pipe(
|
|
395
544
|
T.ResponsePath("result"),
|
|
396
545
|
) as unknown as Schema.Schema<BulkPatchDiscoveryOperationsResponse>;
|
|
397
546
|
|
|
@@ -1800,16 +1949,76 @@ export const DeleteOperationRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
1800
1949
|
) as unknown as Schema.Schema<DeleteOperationRequest>;
|
|
1801
1950
|
|
|
1802
1951
|
export interface DeleteOperationResponse {
|
|
1803
|
-
errors:
|
|
1804
|
-
|
|
1952
|
+
errors: {
|
|
1953
|
+
code: number;
|
|
1954
|
+
message: string;
|
|
1955
|
+
documentationUrl?: string | null;
|
|
1956
|
+
source?: { pointer?: string | null } | null;
|
|
1957
|
+
}[];
|
|
1958
|
+
messages: {
|
|
1959
|
+
code: number;
|
|
1960
|
+
message: string;
|
|
1961
|
+
documentationUrl?: string | null;
|
|
1962
|
+
source?: { pointer?: string | null } | null;
|
|
1963
|
+
}[];
|
|
1805
1964
|
/** Whether the API call was successful. */
|
|
1806
1965
|
success: true;
|
|
1807
1966
|
}
|
|
1808
1967
|
|
|
1809
1968
|
export const DeleteOperationResponse =
|
|
1810
1969
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1811
|
-
errors: Schema.
|
|
1812
|
-
|
|
1970
|
+
errors: Schema.Array(
|
|
1971
|
+
Schema.Struct({
|
|
1972
|
+
code: Schema.Number,
|
|
1973
|
+
message: Schema.String,
|
|
1974
|
+
documentationUrl: Schema.optional(
|
|
1975
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1976
|
+
),
|
|
1977
|
+
source: Schema.optional(
|
|
1978
|
+
Schema.Union([
|
|
1979
|
+
Schema.Struct({
|
|
1980
|
+
pointer: Schema.optional(
|
|
1981
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1982
|
+
),
|
|
1983
|
+
}),
|
|
1984
|
+
Schema.Null,
|
|
1985
|
+
]),
|
|
1986
|
+
),
|
|
1987
|
+
}).pipe(
|
|
1988
|
+
Schema.encodeKeys({
|
|
1989
|
+
code: "code",
|
|
1990
|
+
message: "message",
|
|
1991
|
+
documentationUrl: "documentation_url",
|
|
1992
|
+
source: "source",
|
|
1993
|
+
}),
|
|
1994
|
+
),
|
|
1995
|
+
),
|
|
1996
|
+
messages: Schema.Array(
|
|
1997
|
+
Schema.Struct({
|
|
1998
|
+
code: Schema.Number,
|
|
1999
|
+
message: Schema.String,
|
|
2000
|
+
documentationUrl: Schema.optional(
|
|
2001
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2002
|
+
),
|
|
2003
|
+
source: Schema.optional(
|
|
2004
|
+
Schema.Union([
|
|
2005
|
+
Schema.Struct({
|
|
2006
|
+
pointer: Schema.optional(
|
|
2007
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2008
|
+
),
|
|
2009
|
+
}),
|
|
2010
|
+
Schema.Null,
|
|
2011
|
+
]),
|
|
2012
|
+
),
|
|
2013
|
+
}).pipe(
|
|
2014
|
+
Schema.encodeKeys({
|
|
2015
|
+
code: "code",
|
|
2016
|
+
message: "message",
|
|
2017
|
+
documentationUrl: "documentation_url",
|
|
2018
|
+
source: "source",
|
|
2019
|
+
}),
|
|
2020
|
+
),
|
|
2021
|
+
),
|
|
1813
2022
|
success: Schema.Literal(true),
|
|
1814
2023
|
}) as unknown as Schema.Schema<DeleteOperationResponse>;
|
|
1815
2024
|
|
|
@@ -2350,16 +2559,76 @@ export const BulkDeleteOperationsRequest =
|
|
|
2350
2559
|
) as unknown as Schema.Schema<BulkDeleteOperationsRequest>;
|
|
2351
2560
|
|
|
2352
2561
|
export interface BulkDeleteOperationsResponse {
|
|
2353
|
-
errors:
|
|
2354
|
-
|
|
2562
|
+
errors: {
|
|
2563
|
+
code: number;
|
|
2564
|
+
message: string;
|
|
2565
|
+
documentationUrl?: string | null;
|
|
2566
|
+
source?: { pointer?: string | null } | null;
|
|
2567
|
+
}[];
|
|
2568
|
+
messages: {
|
|
2569
|
+
code: number;
|
|
2570
|
+
message: string;
|
|
2571
|
+
documentationUrl?: string | null;
|
|
2572
|
+
source?: { pointer?: string | null } | null;
|
|
2573
|
+
}[];
|
|
2355
2574
|
/** Whether the API call was successful. */
|
|
2356
2575
|
success: true;
|
|
2357
2576
|
}
|
|
2358
2577
|
|
|
2359
2578
|
export const BulkDeleteOperationsResponse =
|
|
2360
2579
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2361
|
-
errors: Schema.
|
|
2362
|
-
|
|
2580
|
+
errors: Schema.Array(
|
|
2581
|
+
Schema.Struct({
|
|
2582
|
+
code: Schema.Number,
|
|
2583
|
+
message: Schema.String,
|
|
2584
|
+
documentationUrl: Schema.optional(
|
|
2585
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2586
|
+
),
|
|
2587
|
+
source: Schema.optional(
|
|
2588
|
+
Schema.Union([
|
|
2589
|
+
Schema.Struct({
|
|
2590
|
+
pointer: Schema.optional(
|
|
2591
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2592
|
+
),
|
|
2593
|
+
}),
|
|
2594
|
+
Schema.Null,
|
|
2595
|
+
]),
|
|
2596
|
+
),
|
|
2597
|
+
}).pipe(
|
|
2598
|
+
Schema.encodeKeys({
|
|
2599
|
+
code: "code",
|
|
2600
|
+
message: "message",
|
|
2601
|
+
documentationUrl: "documentation_url",
|
|
2602
|
+
source: "source",
|
|
2603
|
+
}),
|
|
2604
|
+
),
|
|
2605
|
+
),
|
|
2606
|
+
messages: Schema.Array(
|
|
2607
|
+
Schema.Struct({
|
|
2608
|
+
code: Schema.Number,
|
|
2609
|
+
message: Schema.String,
|
|
2610
|
+
documentationUrl: Schema.optional(
|
|
2611
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2612
|
+
),
|
|
2613
|
+
source: Schema.optional(
|
|
2614
|
+
Schema.Union([
|
|
2615
|
+
Schema.Struct({
|
|
2616
|
+
pointer: Schema.optional(
|
|
2617
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2618
|
+
),
|
|
2619
|
+
}),
|
|
2620
|
+
Schema.Null,
|
|
2621
|
+
]),
|
|
2622
|
+
),
|
|
2623
|
+
}).pipe(
|
|
2624
|
+
Schema.encodeKeys({
|
|
2625
|
+
code: "code",
|
|
2626
|
+
message: "message",
|
|
2627
|
+
documentationUrl: "documentation_url",
|
|
2628
|
+
source: "source",
|
|
2629
|
+
}),
|
|
2630
|
+
),
|
|
2631
|
+
),
|
|
2363
2632
|
success: Schema.Literal(true),
|
|
2364
2633
|
}) as unknown as Schema.Schema<BulkDeleteOperationsResponse>;
|
|
2365
2634
|
|
|
@@ -2511,13 +2780,13 @@ export interface PatchOperationSchemaValidationRequest {
|
|
|
2511
2780
|
/** Path param: Identifier. */
|
|
2512
2781
|
zoneId: string;
|
|
2513
2782
|
/** Body param: */
|
|
2514
|
-
settingsMultipleRequest: unknown
|
|
2783
|
+
settingsMultipleRequest: Record<string, unknown>;
|
|
2515
2784
|
}
|
|
2516
2785
|
|
|
2517
2786
|
export const PatchOperationSchemaValidationRequest =
|
|
2518
2787
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2519
2788
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2520
|
-
settingsMultipleRequest: Schema.Unknown,
|
|
2789
|
+
settingsMultipleRequest: Schema.Record(Schema.String, Schema.Unknown),
|
|
2521
2790
|
}).pipe(
|
|
2522
2791
|
Schema.encodeKeys({ settingsMultipleRequest: "settings_multiple_request" }),
|
|
2523
2792
|
T.Http({
|
|
@@ -2529,7 +2798,7 @@ export const PatchOperationSchemaValidationRequest =
|
|
|
2529
2798
|
export type PatchOperationSchemaValidationResponse = Record<string, unknown>;
|
|
2530
2799
|
|
|
2531
2800
|
export const PatchOperationSchemaValidationResponse =
|
|
2532
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2801
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Record(Schema.String, Schema.Unknown).pipe(
|
|
2533
2802
|
T.ResponsePath("result"),
|
|
2534
2803
|
) as unknown as Schema.Schema<PatchOperationSchemaValidationResponse>;
|
|
2535
2804
|
|
|
@@ -2619,10 +2888,28 @@ export const GetSettingSchemaValidationRequest =
|
|
|
2619
2888
|
}),
|
|
2620
2889
|
) as unknown as Schema.Schema<GetSettingSchemaValidationRequest>;
|
|
2621
2890
|
|
|
2622
|
-
export
|
|
2891
|
+
export interface GetSettingSchemaValidationResponse {
|
|
2892
|
+
/** The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: - `log` - log request when request does not conform to schema - `blo */
|
|
2893
|
+
validationDefaultMitigationAction?: "none" | "log" | "block" | null;
|
|
2894
|
+
/** When set, this overrides both zone level and operation level mitigation actions. - `none` will skip running schema validation entirely for the request - `null` indicates that no override is in place */
|
|
2895
|
+
validationOverrideMitigationAction?: "none" | null;
|
|
2896
|
+
}
|
|
2623
2897
|
|
|
2624
2898
|
export const GetSettingSchemaValidationResponse =
|
|
2625
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2899
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2900
|
+
validationDefaultMitigationAction: Schema.optional(
|
|
2901
|
+
Schema.Union([Schema.Literals(["none", "log", "block"]), Schema.Null]),
|
|
2902
|
+
),
|
|
2903
|
+
validationOverrideMitigationAction: Schema.optional(
|
|
2904
|
+
Schema.Union([Schema.Literal("none"), Schema.Null]),
|
|
2905
|
+
),
|
|
2906
|
+
}).pipe(
|
|
2907
|
+
Schema.encodeKeys({
|
|
2908
|
+
validationDefaultMitigationAction: "validation_default_mitigation_action",
|
|
2909
|
+
validationOverrideMitigationAction:
|
|
2910
|
+
"validation_override_mitigation_action",
|
|
2911
|
+
}),
|
|
2912
|
+
) as unknown as Schema.Schema<GetSettingSchemaValidationResponse>;
|
|
2626
2913
|
|
|
2627
2914
|
export type GetSettingSchemaValidationError =
|
|
2628
2915
|
| DefaultErrors
|
|
@@ -2675,10 +2962,28 @@ export const PutSettingSchemaValidationRequest =
|
|
|
2675
2962
|
}),
|
|
2676
2963
|
) as unknown as Schema.Schema<PutSettingSchemaValidationRequest>;
|
|
2677
2964
|
|
|
2678
|
-
export
|
|
2965
|
+
export interface PutSettingSchemaValidationResponse {
|
|
2966
|
+
/** The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: - `log` - log request when request does not conform to schema - `blo */
|
|
2967
|
+
validationDefaultMitigationAction?: "none" | "log" | "block" | null;
|
|
2968
|
+
/** When set, this overrides both zone level and operation level mitigation actions. - `none` will skip running schema validation entirely for the request - `null` indicates that no override is in place */
|
|
2969
|
+
validationOverrideMitigationAction?: "none" | null;
|
|
2970
|
+
}
|
|
2679
2971
|
|
|
2680
2972
|
export const PutSettingSchemaValidationResponse =
|
|
2681
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
2973
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2974
|
+
validationDefaultMitigationAction: Schema.optional(
|
|
2975
|
+
Schema.Union([Schema.Literals(["none", "log", "block"]), Schema.Null]),
|
|
2976
|
+
),
|
|
2977
|
+
validationOverrideMitigationAction: Schema.optional(
|
|
2978
|
+
Schema.Union([Schema.Literal("none"), Schema.Null]),
|
|
2979
|
+
),
|
|
2980
|
+
}).pipe(
|
|
2981
|
+
Schema.encodeKeys({
|
|
2982
|
+
validationDefaultMitigationAction: "validation_default_mitigation_action",
|
|
2983
|
+
validationOverrideMitigationAction:
|
|
2984
|
+
"validation_override_mitigation_action",
|
|
2985
|
+
}),
|
|
2986
|
+
) as unknown as Schema.Schema<PutSettingSchemaValidationResponse>;
|
|
2682
2987
|
|
|
2683
2988
|
export type PutSettingSchemaValidationError =
|
|
2684
2989
|
| DefaultErrors
|
|
@@ -2734,10 +3039,28 @@ export const PatchSettingSchemaValidationRequest =
|
|
|
2734
3039
|
}),
|
|
2735
3040
|
) as unknown as Schema.Schema<PatchSettingSchemaValidationRequest>;
|
|
2736
3041
|
|
|
2737
|
-
export
|
|
3042
|
+
export interface PatchSettingSchemaValidationResponse {
|
|
3043
|
+
/** The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: - `log` - log request when request does not conform to schema - `blo */
|
|
3044
|
+
validationDefaultMitigationAction?: "none" | "log" | "block" | null;
|
|
3045
|
+
/** When set, this overrides both zone level and operation level mitigation actions. - `none` will skip running schema validation entirely for the request - `null` indicates that no override is in place */
|
|
3046
|
+
validationOverrideMitigationAction?: "none" | null;
|
|
3047
|
+
}
|
|
2738
3048
|
|
|
2739
3049
|
export const PatchSettingSchemaValidationResponse =
|
|
2740
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
3050
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3051
|
+
validationDefaultMitigationAction: Schema.optional(
|
|
3052
|
+
Schema.Union([Schema.Literals(["none", "log", "block"]), Schema.Null]),
|
|
3053
|
+
),
|
|
3054
|
+
validationOverrideMitigationAction: Schema.optional(
|
|
3055
|
+
Schema.Union([Schema.Literal("none"), Schema.Null]),
|
|
3056
|
+
),
|
|
3057
|
+
}).pipe(
|
|
3058
|
+
Schema.encodeKeys({
|
|
3059
|
+
validationDefaultMitigationAction: "validation_default_mitigation_action",
|
|
3060
|
+
validationOverrideMitigationAction:
|
|
3061
|
+
"validation_override_mitigation_action",
|
|
3062
|
+
}),
|
|
3063
|
+
) as unknown as Schema.Schema<PatchSettingSchemaValidationResponse>;
|
|
2741
3064
|
|
|
2742
3065
|
export type PatchSettingSchemaValidationError =
|
|
2743
3066
|
| DefaultErrors
|
|
@@ -3161,16 +3484,76 @@ export const DeleteUserSchemaRequest =
|
|
|
3161
3484
|
) as unknown as Schema.Schema<DeleteUserSchemaRequest>;
|
|
3162
3485
|
|
|
3163
3486
|
export interface DeleteUserSchemaResponse {
|
|
3164
|
-
errors:
|
|
3165
|
-
|
|
3487
|
+
errors: {
|
|
3488
|
+
code: number;
|
|
3489
|
+
message: string;
|
|
3490
|
+
documentationUrl?: string | null;
|
|
3491
|
+
source?: { pointer?: string | null } | null;
|
|
3492
|
+
}[];
|
|
3493
|
+
messages: {
|
|
3494
|
+
code: number;
|
|
3495
|
+
message: string;
|
|
3496
|
+
documentationUrl?: string | null;
|
|
3497
|
+
source?: { pointer?: string | null } | null;
|
|
3498
|
+
}[];
|
|
3166
3499
|
/** Whether the API call was successful. */
|
|
3167
3500
|
success: true;
|
|
3168
3501
|
}
|
|
3169
3502
|
|
|
3170
3503
|
export const DeleteUserSchemaResponse =
|
|
3171
3504
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3172
|
-
errors: Schema.
|
|
3173
|
-
|
|
3505
|
+
errors: Schema.Array(
|
|
3506
|
+
Schema.Struct({
|
|
3507
|
+
code: Schema.Number,
|
|
3508
|
+
message: Schema.String,
|
|
3509
|
+
documentationUrl: Schema.optional(
|
|
3510
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3511
|
+
),
|
|
3512
|
+
source: Schema.optional(
|
|
3513
|
+
Schema.Union([
|
|
3514
|
+
Schema.Struct({
|
|
3515
|
+
pointer: Schema.optional(
|
|
3516
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3517
|
+
),
|
|
3518
|
+
}),
|
|
3519
|
+
Schema.Null,
|
|
3520
|
+
]),
|
|
3521
|
+
),
|
|
3522
|
+
}).pipe(
|
|
3523
|
+
Schema.encodeKeys({
|
|
3524
|
+
code: "code",
|
|
3525
|
+
message: "message",
|
|
3526
|
+
documentationUrl: "documentation_url",
|
|
3527
|
+
source: "source",
|
|
3528
|
+
}),
|
|
3529
|
+
),
|
|
3530
|
+
),
|
|
3531
|
+
messages: Schema.Array(
|
|
3532
|
+
Schema.Struct({
|
|
3533
|
+
code: Schema.Number,
|
|
3534
|
+
message: Schema.String,
|
|
3535
|
+
documentationUrl: Schema.optional(
|
|
3536
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3537
|
+
),
|
|
3538
|
+
source: Schema.optional(
|
|
3539
|
+
Schema.Union([
|
|
3540
|
+
Schema.Struct({
|
|
3541
|
+
pointer: Schema.optional(
|
|
3542
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3543
|
+
),
|
|
3544
|
+
}),
|
|
3545
|
+
Schema.Null,
|
|
3546
|
+
]),
|
|
3547
|
+
),
|
|
3548
|
+
}).pipe(
|
|
3549
|
+
Schema.encodeKeys({
|
|
3550
|
+
code: "code",
|
|
3551
|
+
message: "message",
|
|
3552
|
+
documentationUrl: "documentation_url",
|
|
3553
|
+
source: "source",
|
|
3554
|
+
}),
|
|
3555
|
+
),
|
|
3556
|
+
),
|
|
3174
3557
|
success: Schema.Literal(true),
|
|
3175
3558
|
}) as unknown as Schema.Schema<DeleteUserSchemaResponse>;
|
|
3176
3559
|
|