@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
package/src/services/spectrum.ts
CHANGED
|
@@ -213,8 +213,8 @@ export const GetAnalyticEventBytimeResponse =
|
|
|
213
213
|
}),
|
|
214
214
|
),
|
|
215
215
|
dataLag: Schema.Number,
|
|
216
|
-
max: Schema.
|
|
217
|
-
min: Schema.
|
|
216
|
+
max: Schema.Record(Schema.String, Schema.Unknown),
|
|
217
|
+
min: Schema.Record(Schema.String, Schema.Unknown),
|
|
218
218
|
query: Schema.Struct({
|
|
219
219
|
dimensions: Schema.optional(
|
|
220
220
|
Schema.Union([
|
|
@@ -249,7 +249,7 @@ export const GetAnalyticEventBytimeResponse =
|
|
|
249
249
|
until: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
250
250
|
}),
|
|
251
251
|
rows: Schema.Number,
|
|
252
|
-
totals: Schema.
|
|
252
|
+
totals: Schema.Record(Schema.String, Schema.Unknown),
|
|
253
253
|
timeIntervals: Schema.optional(
|
|
254
254
|
Schema.Union([Schema.Array(Schema.Array(Schema.String)), Schema.Null]),
|
|
255
255
|
),
|
|
@@ -404,8 +404,8 @@ export const GetAnalyticEventSummaryResponse =
|
|
|
404
404
|
}),
|
|
405
405
|
),
|
|
406
406
|
dataLag: Schema.Number,
|
|
407
|
-
max: Schema.
|
|
408
|
-
min: Schema.
|
|
407
|
+
max: Schema.Record(Schema.String, Schema.Unknown),
|
|
408
|
+
min: Schema.Record(Schema.String, Schema.Unknown),
|
|
409
409
|
query: Schema.Struct({
|
|
410
410
|
dimensions: Schema.optional(
|
|
411
411
|
Schema.Union([
|
|
@@ -440,7 +440,7 @@ export const GetAnalyticEventSummaryResponse =
|
|
|
440
440
|
until: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
441
441
|
}),
|
|
442
442
|
rows: Schema.Number,
|
|
443
|
-
totals: Schema.
|
|
443
|
+
totals: Schema.Record(Schema.String, Schema.Unknown),
|
|
444
444
|
timeIntervals: Schema.optional(
|
|
445
445
|
Schema.Union([Schema.Array(Schema.Array(Schema.String)), Schema.Null]),
|
|
446
446
|
),
|
|
@@ -495,23 +495,33 @@ export type GetAppResponse =
|
|
|
495
495
|
| {
|
|
496
496
|
id: string;
|
|
497
497
|
createdOn: string;
|
|
498
|
-
dns:
|
|
498
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
499
499
|
modifiedOn: string;
|
|
500
500
|
protocol: string;
|
|
501
501
|
trafficType: "direct" | "http" | "https";
|
|
502
502
|
argoSmartRouting?: boolean | null;
|
|
503
|
-
edgeIps?:
|
|
503
|
+
edgeIps?:
|
|
504
|
+
| {
|
|
505
|
+
connectivity?: "all" | "ipv4" | "ipv6" | null;
|
|
506
|
+
type?: "dynamic" | null;
|
|
507
|
+
}
|
|
508
|
+
| { ips?: string[] | null; type?: "static" | null }
|
|
509
|
+
| null;
|
|
504
510
|
ipFirewall?: boolean | null;
|
|
505
511
|
originDirect?: string[] | null;
|
|
506
|
-
originDns?:
|
|
507
|
-
|
|
512
|
+
originDns?: {
|
|
513
|
+
name?: string | null;
|
|
514
|
+
ttl?: number | null;
|
|
515
|
+
type?: "" | "A" | "AAAA" | "SRV" | null;
|
|
516
|
+
} | null;
|
|
517
|
+
originPort?: number | string | null;
|
|
508
518
|
proxyProtocol?: "off" | "v1" | "v2" | "simple" | null;
|
|
509
519
|
tls?: "off" | "flexible" | "full" | "strict" | null;
|
|
510
520
|
}
|
|
511
521
|
| {
|
|
512
522
|
id: string;
|
|
513
523
|
createdOn: string;
|
|
514
|
-
dns:
|
|
524
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
515
525
|
modifiedOn: string;
|
|
516
526
|
protocol: string;
|
|
517
527
|
originDirect?: string[] | null;
|
|
@@ -521,21 +531,65 @@ export const GetAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
521
531
|
Schema.Struct({
|
|
522
532
|
id: Schema.String,
|
|
523
533
|
createdOn: Schema.String,
|
|
524
|
-
dns: Schema.
|
|
534
|
+
dns: Schema.Struct({
|
|
535
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
536
|
+
type: Schema.optional(
|
|
537
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
538
|
+
),
|
|
539
|
+
}),
|
|
525
540
|
modifiedOn: Schema.String,
|
|
526
541
|
protocol: Schema.String,
|
|
527
542
|
trafficType: Schema.Literals(["direct", "http", "https"]),
|
|
528
543
|
argoSmartRouting: Schema.optional(
|
|
529
544
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
530
545
|
),
|
|
531
|
-
edgeIps: Schema.optional(
|
|
546
|
+
edgeIps: Schema.optional(
|
|
547
|
+
Schema.Union([
|
|
548
|
+
Schema.Union([
|
|
549
|
+
Schema.Struct({
|
|
550
|
+
connectivity: Schema.optional(
|
|
551
|
+
Schema.Union([
|
|
552
|
+
Schema.Literals(["all", "ipv4", "ipv6"]),
|
|
553
|
+
Schema.Null,
|
|
554
|
+
]),
|
|
555
|
+
),
|
|
556
|
+
type: Schema.optional(
|
|
557
|
+
Schema.Union([Schema.Literal("dynamic"), Schema.Null]),
|
|
558
|
+
),
|
|
559
|
+
}),
|
|
560
|
+
Schema.Struct({
|
|
561
|
+
ips: Schema.optional(
|
|
562
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
563
|
+
),
|
|
564
|
+
type: Schema.optional(
|
|
565
|
+
Schema.Union([Schema.Literal("static"), Schema.Null]),
|
|
566
|
+
),
|
|
567
|
+
}),
|
|
568
|
+
]),
|
|
569
|
+
Schema.Null,
|
|
570
|
+
]),
|
|
571
|
+
),
|
|
532
572
|
ipFirewall: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
533
573
|
originDirect: Schema.optional(
|
|
534
574
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
535
575
|
),
|
|
536
|
-
originDns: Schema.optional(
|
|
576
|
+
originDns: Schema.optional(
|
|
577
|
+
Schema.Union([
|
|
578
|
+
Schema.Struct({
|
|
579
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
580
|
+
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
581
|
+
type: Schema.optional(
|
|
582
|
+
Schema.Union([
|
|
583
|
+
Schema.Literals(["", "A", "AAAA", "SRV"]),
|
|
584
|
+
Schema.Null,
|
|
585
|
+
]),
|
|
586
|
+
),
|
|
587
|
+
}),
|
|
588
|
+
Schema.Null,
|
|
589
|
+
]),
|
|
590
|
+
),
|
|
537
591
|
originPort: Schema.optional(
|
|
538
|
-
Schema.Union([Schema.Union([Schema.
|
|
592
|
+
Schema.Union([Schema.Union([Schema.Number, Schema.String]), Schema.Null]),
|
|
539
593
|
),
|
|
540
594
|
proxyProtocol: Schema.optional(
|
|
541
595
|
Schema.Union([
|
|
@@ -570,7 +624,12 @@ export const GetAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
570
624
|
Schema.Struct({
|
|
571
625
|
id: Schema.String,
|
|
572
626
|
createdOn: Schema.String,
|
|
573
|
-
dns: Schema.
|
|
627
|
+
dns: Schema.Struct({
|
|
628
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
629
|
+
type: Schema.optional(
|
|
630
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
631
|
+
),
|
|
632
|
+
}),
|
|
574
633
|
modifiedOn: Schema.String,
|
|
575
634
|
protocol: Schema.String,
|
|
576
635
|
originDirect: Schema.optional(
|
|
@@ -627,23 +686,33 @@ export interface ListAppsResponse {
|
|
|
627
686
|
| {
|
|
628
687
|
id: string;
|
|
629
688
|
createdOn: string;
|
|
630
|
-
dns:
|
|
689
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
631
690
|
modifiedOn: string;
|
|
632
691
|
protocol: string;
|
|
633
692
|
trafficType: "direct" | "http" | "https";
|
|
634
693
|
argoSmartRouting?: boolean | null;
|
|
635
|
-
edgeIps?:
|
|
694
|
+
edgeIps?:
|
|
695
|
+
| {
|
|
696
|
+
connectivity?: "all" | "ipv4" | "ipv6" | null;
|
|
697
|
+
type?: "dynamic" | null;
|
|
698
|
+
}
|
|
699
|
+
| { ips?: string[] | null; type?: "static" | null }
|
|
700
|
+
| null;
|
|
636
701
|
ipFirewall?: boolean | null;
|
|
637
702
|
originDirect?: string[] | null;
|
|
638
|
-
originDns?:
|
|
639
|
-
|
|
703
|
+
originDns?: {
|
|
704
|
+
name?: string | null;
|
|
705
|
+
ttl?: number | null;
|
|
706
|
+
type?: "" | "A" | "AAAA" | "SRV" | null;
|
|
707
|
+
} | null;
|
|
708
|
+
originPort?: number | string | null;
|
|
640
709
|
proxyProtocol?: "off" | "v1" | "v2" | "simple" | null;
|
|
641
710
|
tls?: "off" | "flexible" | "full" | "strict" | null;
|
|
642
711
|
}
|
|
643
712
|
| {
|
|
644
713
|
id: string;
|
|
645
714
|
createdOn: string;
|
|
646
|
-
dns:
|
|
715
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
647
716
|
modifiedOn: string;
|
|
648
717
|
protocol: string;
|
|
649
718
|
originDirect?: string[] | null;
|
|
@@ -663,24 +732,68 @@ export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
663
732
|
Schema.Struct({
|
|
664
733
|
id: Schema.String,
|
|
665
734
|
createdOn: Schema.String,
|
|
666
|
-
dns: Schema.
|
|
735
|
+
dns: Schema.Struct({
|
|
736
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
737
|
+
type: Schema.optional(
|
|
738
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
739
|
+
),
|
|
740
|
+
}),
|
|
667
741
|
modifiedOn: Schema.String,
|
|
668
742
|
protocol: Schema.String,
|
|
669
743
|
trafficType: Schema.Literals(["direct", "http", "https"]),
|
|
670
744
|
argoSmartRouting: Schema.optional(
|
|
671
745
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
672
746
|
),
|
|
673
|
-
edgeIps: Schema.optional(
|
|
747
|
+
edgeIps: Schema.optional(
|
|
748
|
+
Schema.Union([
|
|
749
|
+
Schema.Union([
|
|
750
|
+
Schema.Struct({
|
|
751
|
+
connectivity: Schema.optional(
|
|
752
|
+
Schema.Union([
|
|
753
|
+
Schema.Literals(["all", "ipv4", "ipv6"]),
|
|
754
|
+
Schema.Null,
|
|
755
|
+
]),
|
|
756
|
+
),
|
|
757
|
+
type: Schema.optional(
|
|
758
|
+
Schema.Union([Schema.Literal("dynamic"), Schema.Null]),
|
|
759
|
+
),
|
|
760
|
+
}),
|
|
761
|
+
Schema.Struct({
|
|
762
|
+
ips: Schema.optional(
|
|
763
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
764
|
+
),
|
|
765
|
+
type: Schema.optional(
|
|
766
|
+
Schema.Union([Schema.Literal("static"), Schema.Null]),
|
|
767
|
+
),
|
|
768
|
+
}),
|
|
769
|
+
]),
|
|
770
|
+
Schema.Null,
|
|
771
|
+
]),
|
|
772
|
+
),
|
|
674
773
|
ipFirewall: Schema.optional(
|
|
675
774
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
676
775
|
),
|
|
677
776
|
originDirect: Schema.optional(
|
|
678
777
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
679
778
|
),
|
|
680
|
-
originDns: Schema.optional(
|
|
779
|
+
originDns: Schema.optional(
|
|
780
|
+
Schema.Union([
|
|
781
|
+
Schema.Struct({
|
|
782
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
783
|
+
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
784
|
+
type: Schema.optional(
|
|
785
|
+
Schema.Union([
|
|
786
|
+
Schema.Literals(["", "A", "AAAA", "SRV"]),
|
|
787
|
+
Schema.Null,
|
|
788
|
+
]),
|
|
789
|
+
),
|
|
790
|
+
}),
|
|
791
|
+
Schema.Null,
|
|
792
|
+
]),
|
|
793
|
+
),
|
|
681
794
|
originPort: Schema.optional(
|
|
682
795
|
Schema.Union([
|
|
683
|
-
Schema.Union([Schema.
|
|
796
|
+
Schema.Union([Schema.Number, Schema.String]),
|
|
684
797
|
Schema.Null,
|
|
685
798
|
]),
|
|
686
799
|
),
|
|
@@ -717,7 +830,12 @@ export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
717
830
|
Schema.Struct({
|
|
718
831
|
id: Schema.String,
|
|
719
832
|
createdOn: Schema.String,
|
|
720
|
-
dns: Schema.
|
|
833
|
+
dns: Schema.Struct({
|
|
834
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
835
|
+
type: Schema.optional(
|
|
836
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
837
|
+
),
|
|
838
|
+
}),
|
|
721
839
|
modifiedOn: Schema.String,
|
|
722
840
|
protocol: Schema.String,
|
|
723
841
|
originDirect: Schema.optional(
|
|
@@ -771,23 +889,33 @@ export const listApps: API.PaginatedOperationMethod<
|
|
|
771
889
|
| {
|
|
772
890
|
id: string;
|
|
773
891
|
createdOn: string;
|
|
774
|
-
dns:
|
|
892
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
775
893
|
modifiedOn: string;
|
|
776
894
|
protocol: string;
|
|
777
895
|
trafficType: "direct" | "http" | "https";
|
|
778
896
|
argoSmartRouting?: boolean | null;
|
|
779
|
-
edgeIps?:
|
|
897
|
+
edgeIps?:
|
|
898
|
+
| {
|
|
899
|
+
connectivity?: "all" | "ipv4" | "ipv6" | null;
|
|
900
|
+
type?: "dynamic" | null;
|
|
901
|
+
}
|
|
902
|
+
| { ips?: string[] | null; type?: "static" | null }
|
|
903
|
+
| null;
|
|
780
904
|
ipFirewall?: boolean | null;
|
|
781
905
|
originDirect?: string[] | null;
|
|
782
|
-
originDns?:
|
|
783
|
-
|
|
906
|
+
originDns?: {
|
|
907
|
+
name?: string | null;
|
|
908
|
+
ttl?: number | null;
|
|
909
|
+
type?: "" | "A" | "AAAA" | "SRV" | null;
|
|
910
|
+
} | null;
|
|
911
|
+
originPort?: number | string | null;
|
|
784
912
|
proxyProtocol?: "off" | "v1" | "v2" | "simple" | null;
|
|
785
913
|
tls?: "off" | "flexible" | "full" | "strict" | null;
|
|
786
914
|
}
|
|
787
915
|
| {
|
|
788
916
|
id: string;
|
|
789
917
|
createdOn: string;
|
|
790
|
-
dns:
|
|
918
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
791
919
|
modifiedOn: string;
|
|
792
920
|
protocol: string;
|
|
793
921
|
originDirect?: string[] | null;
|
|
@@ -812,7 +940,7 @@ export interface CreateAppRequest {
|
|
|
812
940
|
/** Path param: Zone identifier. */
|
|
813
941
|
zoneId: string;
|
|
814
942
|
/** Body param: The name and type of DNS record for the Spectrum application. */
|
|
815
|
-
dns:
|
|
943
|
+
dns: { name?: string; type?: "CNAME" | "ADDRESS" };
|
|
816
944
|
/** Body param: The port configuration at Cloudflare's edge. May specify a single port, for example `"tcp/1000"`, or a range of ports, for example `"tcp/1000-2000"`. */
|
|
817
945
|
protocol: string;
|
|
818
946
|
/** Body param: Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the `protocol */
|
|
@@ -820,15 +948,17 @@ export interface CreateAppRequest {
|
|
|
820
948
|
/** Body param: Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct". */
|
|
821
949
|
argoSmartRouting?: boolean;
|
|
822
950
|
/** Body param: The anycast edge IP configuration for the hostname of this application. */
|
|
823
|
-
edgeIps?:
|
|
951
|
+
edgeIps?:
|
|
952
|
+
| { connectivity?: "all" | "ipv4" | "ipv6"; type?: "dynamic" }
|
|
953
|
+
| { ips?: string[]; type?: "static" };
|
|
824
954
|
/** Body param: Enables IP Access Rules for this application. Notes: Only available for TCP applications. */
|
|
825
955
|
ipFirewall?: boolean;
|
|
826
956
|
/** Body param: List of origin IP addresses. Array may contain multiple IP addresses for load balancing. */
|
|
827
957
|
originDirect?: string[];
|
|
828
958
|
/** Body param: The name and type of DNS record for the Spectrum application. */
|
|
829
|
-
originDns?:
|
|
959
|
+
originDns?: { name?: string; ttl?: number; type?: "" | "A" | "AAAA" | "SRV" };
|
|
830
960
|
/** Body param: The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example `1000`, or a string to specify a range of */
|
|
831
|
-
originPort?:
|
|
961
|
+
originPort?: number | string;
|
|
832
962
|
/** Body param: Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Proto */
|
|
833
963
|
proxyProtocol?: "off" | "v1" | "v2" | "simple";
|
|
834
964
|
/** Body param: The type of TLS termination associated with the application. */
|
|
@@ -837,15 +967,35 @@ export interface CreateAppRequest {
|
|
|
837
967
|
|
|
838
968
|
export const CreateAppRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
839
969
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
840
|
-
dns: Schema.
|
|
970
|
+
dns: Schema.Struct({
|
|
971
|
+
name: Schema.optional(Schema.String),
|
|
972
|
+
type: Schema.optional(Schema.Literals(["CNAME", "ADDRESS"])),
|
|
973
|
+
}),
|
|
841
974
|
protocol: Schema.String,
|
|
842
975
|
trafficType: Schema.Literals(["direct", "http", "https"]),
|
|
843
976
|
argoSmartRouting: Schema.optional(Schema.Boolean),
|
|
844
|
-
edgeIps: Schema.optional(
|
|
977
|
+
edgeIps: Schema.optional(
|
|
978
|
+
Schema.Union([
|
|
979
|
+
Schema.Struct({
|
|
980
|
+
connectivity: Schema.optional(Schema.Literals(["all", "ipv4", "ipv6"])),
|
|
981
|
+
type: Schema.optional(Schema.Literal("dynamic")),
|
|
982
|
+
}),
|
|
983
|
+
Schema.Struct({
|
|
984
|
+
ips: Schema.optional(Schema.Array(Schema.String)),
|
|
985
|
+
type: Schema.optional(Schema.Literal("static")),
|
|
986
|
+
}),
|
|
987
|
+
]),
|
|
988
|
+
),
|
|
845
989
|
ipFirewall: Schema.optional(Schema.Boolean),
|
|
846
990
|
originDirect: Schema.optional(Schema.Array(Schema.String)),
|
|
847
|
-
originDns: Schema.optional(
|
|
848
|
-
|
|
991
|
+
originDns: Schema.optional(
|
|
992
|
+
Schema.Struct({
|
|
993
|
+
name: Schema.optional(Schema.String),
|
|
994
|
+
ttl: Schema.optional(Schema.Number),
|
|
995
|
+
type: Schema.optional(Schema.Literals(["", "A", "AAAA", "SRV"])),
|
|
996
|
+
}),
|
|
997
|
+
),
|
|
998
|
+
originPort: Schema.optional(Schema.Union([Schema.Number, Schema.String])),
|
|
849
999
|
proxyProtocol: Schema.optional(
|
|
850
1000
|
Schema.Literals(["off", "v1", "v2", "simple"]),
|
|
851
1001
|
),
|
|
@@ -871,23 +1021,33 @@ export type CreateAppResponse =
|
|
|
871
1021
|
| {
|
|
872
1022
|
id: string;
|
|
873
1023
|
createdOn: string;
|
|
874
|
-
dns:
|
|
1024
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
875
1025
|
modifiedOn: string;
|
|
876
1026
|
protocol: string;
|
|
877
1027
|
trafficType: "direct" | "http" | "https";
|
|
878
1028
|
argoSmartRouting?: boolean | null;
|
|
879
|
-
edgeIps?:
|
|
1029
|
+
edgeIps?:
|
|
1030
|
+
| {
|
|
1031
|
+
connectivity?: "all" | "ipv4" | "ipv6" | null;
|
|
1032
|
+
type?: "dynamic" | null;
|
|
1033
|
+
}
|
|
1034
|
+
| { ips?: string[] | null; type?: "static" | null }
|
|
1035
|
+
| null;
|
|
880
1036
|
ipFirewall?: boolean | null;
|
|
881
1037
|
originDirect?: string[] | null;
|
|
882
|
-
originDns?:
|
|
883
|
-
|
|
1038
|
+
originDns?: {
|
|
1039
|
+
name?: string | null;
|
|
1040
|
+
ttl?: number | null;
|
|
1041
|
+
type?: "" | "A" | "AAAA" | "SRV" | null;
|
|
1042
|
+
} | null;
|
|
1043
|
+
originPort?: number | string | null;
|
|
884
1044
|
proxyProtocol?: "off" | "v1" | "v2" | "simple" | null;
|
|
885
1045
|
tls?: "off" | "flexible" | "full" | "strict" | null;
|
|
886
1046
|
}
|
|
887
1047
|
| {
|
|
888
1048
|
id: string;
|
|
889
1049
|
createdOn: string;
|
|
890
|
-
dns:
|
|
1050
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
891
1051
|
modifiedOn: string;
|
|
892
1052
|
protocol: string;
|
|
893
1053
|
originDirect?: string[] | null;
|
|
@@ -897,21 +1057,65 @@ export const CreateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
897
1057
|
Schema.Struct({
|
|
898
1058
|
id: Schema.String,
|
|
899
1059
|
createdOn: Schema.String,
|
|
900
|
-
dns: Schema.
|
|
1060
|
+
dns: Schema.Struct({
|
|
1061
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1062
|
+
type: Schema.optional(
|
|
1063
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
1064
|
+
),
|
|
1065
|
+
}),
|
|
901
1066
|
modifiedOn: Schema.String,
|
|
902
1067
|
protocol: Schema.String,
|
|
903
1068
|
trafficType: Schema.Literals(["direct", "http", "https"]),
|
|
904
1069
|
argoSmartRouting: Schema.optional(
|
|
905
1070
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
906
1071
|
),
|
|
907
|
-
edgeIps: Schema.optional(
|
|
1072
|
+
edgeIps: Schema.optional(
|
|
1073
|
+
Schema.Union([
|
|
1074
|
+
Schema.Union([
|
|
1075
|
+
Schema.Struct({
|
|
1076
|
+
connectivity: Schema.optional(
|
|
1077
|
+
Schema.Union([
|
|
1078
|
+
Schema.Literals(["all", "ipv4", "ipv6"]),
|
|
1079
|
+
Schema.Null,
|
|
1080
|
+
]),
|
|
1081
|
+
),
|
|
1082
|
+
type: Schema.optional(
|
|
1083
|
+
Schema.Union([Schema.Literal("dynamic"), Schema.Null]),
|
|
1084
|
+
),
|
|
1085
|
+
}),
|
|
1086
|
+
Schema.Struct({
|
|
1087
|
+
ips: Schema.optional(
|
|
1088
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1089
|
+
),
|
|
1090
|
+
type: Schema.optional(
|
|
1091
|
+
Schema.Union([Schema.Literal("static"), Schema.Null]),
|
|
1092
|
+
),
|
|
1093
|
+
}),
|
|
1094
|
+
]),
|
|
1095
|
+
Schema.Null,
|
|
1096
|
+
]),
|
|
1097
|
+
),
|
|
908
1098
|
ipFirewall: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
909
1099
|
originDirect: Schema.optional(
|
|
910
1100
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
911
1101
|
),
|
|
912
|
-
originDns: Schema.optional(
|
|
1102
|
+
originDns: Schema.optional(
|
|
1103
|
+
Schema.Union([
|
|
1104
|
+
Schema.Struct({
|
|
1105
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1106
|
+
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1107
|
+
type: Schema.optional(
|
|
1108
|
+
Schema.Union([
|
|
1109
|
+
Schema.Literals(["", "A", "AAAA", "SRV"]),
|
|
1110
|
+
Schema.Null,
|
|
1111
|
+
]),
|
|
1112
|
+
),
|
|
1113
|
+
}),
|
|
1114
|
+
Schema.Null,
|
|
1115
|
+
]),
|
|
1116
|
+
),
|
|
913
1117
|
originPort: Schema.optional(
|
|
914
|
-
Schema.Union([Schema.Union([Schema.
|
|
1118
|
+
Schema.Union([Schema.Union([Schema.Number, Schema.String]), Schema.Null]),
|
|
915
1119
|
),
|
|
916
1120
|
proxyProtocol: Schema.optional(
|
|
917
1121
|
Schema.Union([
|
|
@@ -946,7 +1150,12 @@ export const CreateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
946
1150
|
Schema.Struct({
|
|
947
1151
|
id: Schema.String,
|
|
948
1152
|
createdOn: Schema.String,
|
|
949
|
-
dns: Schema.
|
|
1153
|
+
dns: Schema.Struct({
|
|
1154
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1155
|
+
type: Schema.optional(
|
|
1156
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
1157
|
+
),
|
|
1158
|
+
}),
|
|
950
1159
|
modifiedOn: Schema.String,
|
|
951
1160
|
protocol: Schema.String,
|
|
952
1161
|
originDirect: Schema.optional(
|
|
@@ -984,7 +1193,7 @@ export interface UpdateAppRequest {
|
|
|
984
1193
|
/** Path param: Zone identifier. */
|
|
985
1194
|
zoneId: string;
|
|
986
1195
|
/** Body param: The name and type of DNS record for the Spectrum application. */
|
|
987
|
-
dns:
|
|
1196
|
+
dns: { name?: string; type?: "CNAME" | "ADDRESS" };
|
|
988
1197
|
/** Body param: The port configuration at Cloudflare's edge. May specify a single port, for example `"tcp/1000"`, or a range of ports, for example `"tcp/1000-2000"`. */
|
|
989
1198
|
protocol: string;
|
|
990
1199
|
/** Body param: Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the `protocol */
|
|
@@ -992,15 +1201,17 @@ export interface UpdateAppRequest {
|
|
|
992
1201
|
/** Body param: Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct". */
|
|
993
1202
|
argoSmartRouting?: boolean;
|
|
994
1203
|
/** Body param: The anycast edge IP configuration for the hostname of this application. */
|
|
995
|
-
edgeIps?:
|
|
1204
|
+
edgeIps?:
|
|
1205
|
+
| { connectivity?: "all" | "ipv4" | "ipv6"; type?: "dynamic" }
|
|
1206
|
+
| { ips?: string[]; type?: "static" };
|
|
996
1207
|
/** Body param: Enables IP Access Rules for this application. Notes: Only available for TCP applications. */
|
|
997
1208
|
ipFirewall?: boolean;
|
|
998
1209
|
/** Body param: List of origin IP addresses. Array may contain multiple IP addresses for load balancing. */
|
|
999
1210
|
originDirect?: string[];
|
|
1000
1211
|
/** Body param: The name and type of DNS record for the Spectrum application. */
|
|
1001
|
-
originDns?:
|
|
1212
|
+
originDns?: { name?: string; ttl?: number; type?: "" | "A" | "AAAA" | "SRV" };
|
|
1002
1213
|
/** Body param: The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example `1000`, or a string to specify a range of */
|
|
1003
|
-
originPort?:
|
|
1214
|
+
originPort?: number | string;
|
|
1004
1215
|
/** Body param: Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Proto */
|
|
1005
1216
|
proxyProtocol?: "off" | "v1" | "v2" | "simple";
|
|
1006
1217
|
/** Body param: The type of TLS termination associated with the application. */
|
|
@@ -1010,15 +1221,35 @@ export interface UpdateAppRequest {
|
|
|
1010
1221
|
export const UpdateAppRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1011
1222
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
1012
1223
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1013
|
-
dns: Schema.
|
|
1224
|
+
dns: Schema.Struct({
|
|
1225
|
+
name: Schema.optional(Schema.String),
|
|
1226
|
+
type: Schema.optional(Schema.Literals(["CNAME", "ADDRESS"])),
|
|
1227
|
+
}),
|
|
1014
1228
|
protocol: Schema.String,
|
|
1015
1229
|
trafficType: Schema.Literals(["direct", "http", "https"]),
|
|
1016
1230
|
argoSmartRouting: Schema.optional(Schema.Boolean),
|
|
1017
|
-
edgeIps: Schema.optional(
|
|
1231
|
+
edgeIps: Schema.optional(
|
|
1232
|
+
Schema.Union([
|
|
1233
|
+
Schema.Struct({
|
|
1234
|
+
connectivity: Schema.optional(Schema.Literals(["all", "ipv4", "ipv6"])),
|
|
1235
|
+
type: Schema.optional(Schema.Literal("dynamic")),
|
|
1236
|
+
}),
|
|
1237
|
+
Schema.Struct({
|
|
1238
|
+
ips: Schema.optional(Schema.Array(Schema.String)),
|
|
1239
|
+
type: Schema.optional(Schema.Literal("static")),
|
|
1240
|
+
}),
|
|
1241
|
+
]),
|
|
1242
|
+
),
|
|
1018
1243
|
ipFirewall: Schema.optional(Schema.Boolean),
|
|
1019
1244
|
originDirect: Schema.optional(Schema.Array(Schema.String)),
|
|
1020
|
-
originDns: Schema.optional(
|
|
1021
|
-
|
|
1245
|
+
originDns: Schema.optional(
|
|
1246
|
+
Schema.Struct({
|
|
1247
|
+
name: Schema.optional(Schema.String),
|
|
1248
|
+
ttl: Schema.optional(Schema.Number),
|
|
1249
|
+
type: Schema.optional(Schema.Literals(["", "A", "AAAA", "SRV"])),
|
|
1250
|
+
}),
|
|
1251
|
+
),
|
|
1252
|
+
originPort: Schema.optional(Schema.Union([Schema.Number, Schema.String])),
|
|
1022
1253
|
proxyProtocol: Schema.optional(
|
|
1023
1254
|
Schema.Literals(["off", "v1", "v2", "simple"]),
|
|
1024
1255
|
),
|
|
@@ -1044,23 +1275,33 @@ export type UpdateAppResponse =
|
|
|
1044
1275
|
| {
|
|
1045
1276
|
id: string;
|
|
1046
1277
|
createdOn: string;
|
|
1047
|
-
dns:
|
|
1278
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
1048
1279
|
modifiedOn: string;
|
|
1049
1280
|
protocol: string;
|
|
1050
1281
|
trafficType: "direct" | "http" | "https";
|
|
1051
1282
|
argoSmartRouting?: boolean | null;
|
|
1052
|
-
edgeIps?:
|
|
1283
|
+
edgeIps?:
|
|
1284
|
+
| {
|
|
1285
|
+
connectivity?: "all" | "ipv4" | "ipv6" | null;
|
|
1286
|
+
type?: "dynamic" | null;
|
|
1287
|
+
}
|
|
1288
|
+
| { ips?: string[] | null; type?: "static" | null }
|
|
1289
|
+
| null;
|
|
1053
1290
|
ipFirewall?: boolean | null;
|
|
1054
1291
|
originDirect?: string[] | null;
|
|
1055
|
-
originDns?:
|
|
1056
|
-
|
|
1292
|
+
originDns?: {
|
|
1293
|
+
name?: string | null;
|
|
1294
|
+
ttl?: number | null;
|
|
1295
|
+
type?: "" | "A" | "AAAA" | "SRV" | null;
|
|
1296
|
+
} | null;
|
|
1297
|
+
originPort?: number | string | null;
|
|
1057
1298
|
proxyProtocol?: "off" | "v1" | "v2" | "simple" | null;
|
|
1058
1299
|
tls?: "off" | "flexible" | "full" | "strict" | null;
|
|
1059
1300
|
}
|
|
1060
1301
|
| {
|
|
1061
1302
|
id: string;
|
|
1062
1303
|
createdOn: string;
|
|
1063
|
-
dns:
|
|
1304
|
+
dns: { name?: string | null; type?: "CNAME" | "ADDRESS" | null };
|
|
1064
1305
|
modifiedOn: string;
|
|
1065
1306
|
protocol: string;
|
|
1066
1307
|
originDirect?: string[] | null;
|
|
@@ -1070,21 +1311,65 @@ export const UpdateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1070
1311
|
Schema.Struct({
|
|
1071
1312
|
id: Schema.String,
|
|
1072
1313
|
createdOn: Schema.String,
|
|
1073
|
-
dns: Schema.
|
|
1314
|
+
dns: Schema.Struct({
|
|
1315
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1316
|
+
type: Schema.optional(
|
|
1317
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
1318
|
+
),
|
|
1319
|
+
}),
|
|
1074
1320
|
modifiedOn: Schema.String,
|
|
1075
1321
|
protocol: Schema.String,
|
|
1076
1322
|
trafficType: Schema.Literals(["direct", "http", "https"]),
|
|
1077
1323
|
argoSmartRouting: Schema.optional(
|
|
1078
1324
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1079
1325
|
),
|
|
1080
|
-
edgeIps: Schema.optional(
|
|
1326
|
+
edgeIps: Schema.optional(
|
|
1327
|
+
Schema.Union([
|
|
1328
|
+
Schema.Union([
|
|
1329
|
+
Schema.Struct({
|
|
1330
|
+
connectivity: Schema.optional(
|
|
1331
|
+
Schema.Union([
|
|
1332
|
+
Schema.Literals(["all", "ipv4", "ipv6"]),
|
|
1333
|
+
Schema.Null,
|
|
1334
|
+
]),
|
|
1335
|
+
),
|
|
1336
|
+
type: Schema.optional(
|
|
1337
|
+
Schema.Union([Schema.Literal("dynamic"), Schema.Null]),
|
|
1338
|
+
),
|
|
1339
|
+
}),
|
|
1340
|
+
Schema.Struct({
|
|
1341
|
+
ips: Schema.optional(
|
|
1342
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1343
|
+
),
|
|
1344
|
+
type: Schema.optional(
|
|
1345
|
+
Schema.Union([Schema.Literal("static"), Schema.Null]),
|
|
1346
|
+
),
|
|
1347
|
+
}),
|
|
1348
|
+
]),
|
|
1349
|
+
Schema.Null,
|
|
1350
|
+
]),
|
|
1351
|
+
),
|
|
1081
1352
|
ipFirewall: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1082
1353
|
originDirect: Schema.optional(
|
|
1083
1354
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1084
1355
|
),
|
|
1085
|
-
originDns: Schema.optional(
|
|
1356
|
+
originDns: Schema.optional(
|
|
1357
|
+
Schema.Union([
|
|
1358
|
+
Schema.Struct({
|
|
1359
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1360
|
+
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1361
|
+
type: Schema.optional(
|
|
1362
|
+
Schema.Union([
|
|
1363
|
+
Schema.Literals(["", "A", "AAAA", "SRV"]),
|
|
1364
|
+
Schema.Null,
|
|
1365
|
+
]),
|
|
1366
|
+
),
|
|
1367
|
+
}),
|
|
1368
|
+
Schema.Null,
|
|
1369
|
+
]),
|
|
1370
|
+
),
|
|
1086
1371
|
originPort: Schema.optional(
|
|
1087
|
-
Schema.Union([Schema.Union([Schema.
|
|
1372
|
+
Schema.Union([Schema.Union([Schema.Number, Schema.String]), Schema.Null]),
|
|
1088
1373
|
),
|
|
1089
1374
|
proxyProtocol: Schema.optional(
|
|
1090
1375
|
Schema.Union([
|
|
@@ -1119,7 +1404,12 @@ export const UpdateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1119
1404
|
Schema.Struct({
|
|
1120
1405
|
id: Schema.String,
|
|
1121
1406
|
createdOn: Schema.String,
|
|
1122
|
-
dns: Schema.
|
|
1407
|
+
dns: Schema.Struct({
|
|
1408
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1409
|
+
type: Schema.optional(
|
|
1410
|
+
Schema.Union([Schema.Literals(["CNAME", "ADDRESS"]), Schema.Null]),
|
|
1411
|
+
),
|
|
1412
|
+
}),
|
|
1123
1413
|
modifiedOn: Schema.String,
|
|
1124
1414
|
protocol: Schema.String,
|
|
1125
1415
|
originDirect: Schema.optional(
|