@distilled.cloud/cloudflare 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
package/lib/services/dns.js
CHANGED
|
@@ -298,7 +298,7 @@ export const ScanListRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
298
298
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
299
299
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })),
|
|
300
300
|
tags: Schema.Array(Schema.String),
|
|
301
|
-
ttl: Schema.Number,
|
|
301
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
302
302
|
type: Schema.Literal("OPENPGPKEY"),
|
|
303
303
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
304
304
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -382,7 +382,7 @@ export const GetRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
382
382
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
383
383
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })),
|
|
384
384
|
tags: Schema.Array(Schema.String),
|
|
385
|
-
ttl: Schema.Number,
|
|
385
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
386
386
|
type: Schema.Literal("OPENPGPKEY"),
|
|
387
387
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
388
388
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -503,7 +503,7 @@ export const ListRecordsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
503
503
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
504
504
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })),
|
|
505
505
|
tags: Schema.Array(Schema.String),
|
|
506
|
-
ttl: Schema.Number,
|
|
506
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
507
507
|
type: Schema.Literal("OPENPGPKEY"),
|
|
508
508
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
509
509
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -552,7 +552,7 @@ export const listRecords = API.makePaginated(() => ({
|
|
|
552
552
|
export const CreateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
553
553
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
554
554
|
name: Schema.String,
|
|
555
|
-
ttl: Schema.Number,
|
|
555
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
556
556
|
type: Schema.Literal("A"),
|
|
557
557
|
comment: Schema.optional(Schema.String),
|
|
558
558
|
content: Schema.optional(Schema.String),
|
|
@@ -596,7 +596,7 @@ export const CreateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
596
596
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
597
597
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })),
|
|
598
598
|
tags: Schema.Array(Schema.String),
|
|
599
|
-
ttl: Schema.Number,
|
|
599
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
600
600
|
type: Schema.Literal("OPENPGPKEY"),
|
|
601
601
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
602
602
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -627,7 +627,7 @@ export const UpdateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
627
627
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
628
628
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
629
629
|
name: Schema.String,
|
|
630
|
-
ttl: Schema.Number,
|
|
630
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
631
631
|
type: Schema.Literal("A"),
|
|
632
632
|
comment: Schema.optional(Schema.String),
|
|
633
633
|
content: Schema.optional(Schema.String),
|
|
@@ -671,7 +671,7 @@ export const UpdateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
671
671
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
672
672
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })),
|
|
673
673
|
tags: Schema.Array(Schema.String),
|
|
674
|
-
ttl: Schema.Number,
|
|
674
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
675
675
|
type: Schema.Literal("OPENPGPKEY"),
|
|
676
676
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
677
677
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -702,7 +702,7 @@ export const PatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
702
702
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
703
703
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
704
704
|
name: Schema.String,
|
|
705
|
-
ttl: Schema.Number,
|
|
705
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
706
706
|
type: Schema.Literal("A"),
|
|
707
707
|
comment: Schema.optional(Schema.String),
|
|
708
708
|
content: Schema.optional(Schema.String),
|
|
@@ -749,7 +749,7 @@ export const PatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
749
749
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
750
750
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })),
|
|
751
751
|
tags: Schema.Array(Schema.String),
|
|
752
|
-
ttl: Schema.Number,
|
|
752
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
753
753
|
type: Schema.Literal("OPENPGPKEY"),
|
|
754
754
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
755
755
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -798,1114 +798,15 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
798
798
|
}))),
|
|
799
799
|
patches: Schema.optional(Schema.Array(Schema.Union([
|
|
800
800
|
Schema.Struct({
|
|
801
|
-
|
|
802
|
-
name: Schema.String,
|
|
803
|
-
ttl: Schema.Number,
|
|
804
|
-
type: Schema.Literal("A"),
|
|
805
|
-
comment: Schema.optional(Schema.String),
|
|
806
|
-
content: Schema.optional(Schema.String),
|
|
807
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
808
|
-
settings: Schema.optional(Schema.Struct({
|
|
809
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
810
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
811
|
-
}).pipe(Schema.encodeKeys({
|
|
812
|
-
ipv4Only: "ipv4_only",
|
|
813
|
-
ipv6Only: "ipv6_only",
|
|
814
|
-
}))),
|
|
815
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
816
|
-
}).pipe(Schema.encodeKeys({
|
|
817
|
-
zoneId: "zone_id",
|
|
818
|
-
name: "name",
|
|
819
|
-
ttl: "ttl",
|
|
820
|
-
type: "type",
|
|
821
|
-
comment: "comment",
|
|
822
|
-
content: "content",
|
|
823
|
-
proxied: "proxied",
|
|
824
|
-
settings: "settings",
|
|
825
|
-
tags: "tags",
|
|
826
|
-
})),
|
|
827
|
-
Schema.Struct({
|
|
828
|
-
zoneId: Schema.String,
|
|
829
|
-
name: Schema.String,
|
|
830
|
-
ttl: Schema.Number,
|
|
831
|
-
type: Schema.Literal("AAAA"),
|
|
832
|
-
comment: Schema.optional(Schema.String),
|
|
833
|
-
content: Schema.optional(Schema.String),
|
|
834
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
835
|
-
settings: Schema.optional(Schema.Struct({
|
|
836
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
837
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
838
|
-
}).pipe(Schema.encodeKeys({
|
|
839
|
-
ipv4Only: "ipv4_only",
|
|
840
|
-
ipv6Only: "ipv6_only",
|
|
841
|
-
}))),
|
|
842
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
843
|
-
}).pipe(Schema.encodeKeys({
|
|
844
|
-
zoneId: "zone_id",
|
|
845
|
-
name: "name",
|
|
846
|
-
ttl: "ttl",
|
|
847
|
-
type: "type",
|
|
848
|
-
comment: "comment",
|
|
849
|
-
content: "content",
|
|
850
|
-
proxied: "proxied",
|
|
851
|
-
settings: "settings",
|
|
852
|
-
tags: "tags",
|
|
853
|
-
})),
|
|
854
|
-
Schema.Struct({
|
|
855
|
-
zoneId: Schema.String,
|
|
856
|
-
name: Schema.String,
|
|
857
|
-
ttl: Schema.Number,
|
|
858
|
-
type: Schema.Literal("CNAME"),
|
|
859
|
-
comment: Schema.optional(Schema.String),
|
|
860
|
-
content: Schema.optional(Schema.String),
|
|
861
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
862
|
-
settings: Schema.optional(Schema.Struct({
|
|
863
|
-
flattenCname: Schema.optional(Schema.Boolean),
|
|
864
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
865
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
866
|
-
}).pipe(Schema.encodeKeys({
|
|
867
|
-
flattenCname: "flatten_cname",
|
|
868
|
-
ipv4Only: "ipv4_only",
|
|
869
|
-
ipv6Only: "ipv6_only",
|
|
870
|
-
}))),
|
|
871
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
872
|
-
}).pipe(Schema.encodeKeys({
|
|
873
|
-
zoneId: "zone_id",
|
|
874
|
-
name: "name",
|
|
875
|
-
ttl: "ttl",
|
|
876
|
-
type: "type",
|
|
877
|
-
comment: "comment",
|
|
878
|
-
content: "content",
|
|
879
|
-
proxied: "proxied",
|
|
880
|
-
settings: "settings",
|
|
881
|
-
tags: "tags",
|
|
882
|
-
})),
|
|
883
|
-
Schema.Struct({
|
|
884
|
-
zoneId: Schema.String,
|
|
885
|
-
name: Schema.String,
|
|
886
|
-
ttl: Schema.Number,
|
|
887
|
-
type: Schema.Literal("MX"),
|
|
888
|
-
comment: Schema.optional(Schema.String),
|
|
889
|
-
content: Schema.optional(Schema.String),
|
|
890
|
-
priority: Schema.optional(Schema.Number),
|
|
891
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
892
|
-
settings: Schema.optional(Schema.Struct({
|
|
893
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
894
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
895
|
-
}).pipe(Schema.encodeKeys({
|
|
896
|
-
ipv4Only: "ipv4_only",
|
|
897
|
-
ipv6Only: "ipv6_only",
|
|
898
|
-
}))),
|
|
899
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
900
|
-
}).pipe(Schema.encodeKeys({
|
|
901
|
-
zoneId: "zone_id",
|
|
902
|
-
name: "name",
|
|
903
|
-
ttl: "ttl",
|
|
904
|
-
type: "type",
|
|
905
|
-
comment: "comment",
|
|
906
|
-
content: "content",
|
|
907
|
-
priority: "priority",
|
|
908
|
-
proxied: "proxied",
|
|
909
|
-
settings: "settings",
|
|
910
|
-
tags: "tags",
|
|
911
|
-
})),
|
|
912
|
-
Schema.Struct({
|
|
913
|
-
zoneId: Schema.String,
|
|
914
|
-
name: Schema.String,
|
|
915
|
-
ttl: Schema.Number,
|
|
916
|
-
type: Schema.Literal("NS"),
|
|
917
|
-
comment: Schema.optional(Schema.String),
|
|
918
|
-
content: Schema.optional(Schema.String),
|
|
919
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
920
|
-
settings: Schema.optional(Schema.Struct({
|
|
921
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
922
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
923
|
-
}).pipe(Schema.encodeKeys({
|
|
924
|
-
ipv4Only: "ipv4_only",
|
|
925
|
-
ipv6Only: "ipv6_only",
|
|
926
|
-
}))),
|
|
927
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
928
|
-
}).pipe(Schema.encodeKeys({
|
|
929
|
-
zoneId: "zone_id",
|
|
930
|
-
name: "name",
|
|
931
|
-
ttl: "ttl",
|
|
932
|
-
type: "type",
|
|
933
|
-
comment: "comment",
|
|
934
|
-
content: "content",
|
|
935
|
-
proxied: "proxied",
|
|
936
|
-
settings: "settings",
|
|
937
|
-
tags: "tags",
|
|
938
|
-
})),
|
|
939
|
-
Schema.Struct({
|
|
940
|
-
id: Schema.String,
|
|
941
|
-
name: Schema.String,
|
|
942
|
-
ttl: Schema.Number,
|
|
943
|
-
type: Schema.Literal("OPENPGPKEY"),
|
|
944
|
-
comment: Schema.optional(Schema.String),
|
|
945
|
-
content: Schema.optional(Schema.String),
|
|
946
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
947
|
-
settings: Schema.optional(Schema.Struct({
|
|
948
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
949
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
950
|
-
}).pipe(Schema.encodeKeys({
|
|
951
|
-
ipv4Only: "ipv4_only",
|
|
952
|
-
ipv6Only: "ipv6_only",
|
|
953
|
-
}))),
|
|
954
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
955
|
-
}),
|
|
956
|
-
Schema.Struct({
|
|
957
|
-
zoneId: Schema.String,
|
|
958
|
-
name: Schema.String,
|
|
959
|
-
ttl: Schema.Number,
|
|
960
|
-
type: Schema.Literal("PTR"),
|
|
961
|
-
comment: Schema.optional(Schema.String),
|
|
962
|
-
content: Schema.optional(Schema.String),
|
|
963
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
964
|
-
settings: Schema.optional(Schema.Struct({
|
|
965
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
966
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
967
|
-
}).pipe(Schema.encodeKeys({
|
|
968
|
-
ipv4Only: "ipv4_only",
|
|
969
|
-
ipv6Only: "ipv6_only",
|
|
970
|
-
}))),
|
|
971
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
972
|
-
}).pipe(Schema.encodeKeys({
|
|
973
|
-
zoneId: "zone_id",
|
|
974
|
-
name: "name",
|
|
975
|
-
ttl: "ttl",
|
|
976
|
-
type: "type",
|
|
977
|
-
comment: "comment",
|
|
978
|
-
content: "content",
|
|
979
|
-
proxied: "proxied",
|
|
980
|
-
settings: "settings",
|
|
981
|
-
tags: "tags",
|
|
982
|
-
})),
|
|
983
|
-
Schema.Struct({
|
|
984
|
-
zoneId: Schema.String,
|
|
985
|
-
name: Schema.String,
|
|
986
|
-
ttl: Schema.Number,
|
|
987
|
-
type: Schema.Literal("TXT"),
|
|
988
|
-
comment: Schema.optional(Schema.String),
|
|
989
|
-
content: Schema.optional(Schema.String),
|
|
990
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
991
|
-
settings: Schema.optional(Schema.Struct({
|
|
992
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
993
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
994
|
-
}).pipe(Schema.encodeKeys({
|
|
995
|
-
ipv4Only: "ipv4_only",
|
|
996
|
-
ipv6Only: "ipv6_only",
|
|
997
|
-
}))),
|
|
998
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
999
|
-
}).pipe(Schema.encodeKeys({
|
|
1000
|
-
zoneId: "zone_id",
|
|
1001
|
-
name: "name",
|
|
1002
|
-
ttl: "ttl",
|
|
1003
|
-
type: "type",
|
|
1004
|
-
comment: "comment",
|
|
1005
|
-
content: "content",
|
|
1006
|
-
proxied: "proxied",
|
|
1007
|
-
settings: "settings",
|
|
1008
|
-
tags: "tags",
|
|
1009
|
-
})),
|
|
1010
|
-
Schema.Struct({
|
|
1011
|
-
zoneId: Schema.String,
|
|
1012
|
-
name: Schema.String,
|
|
1013
|
-
ttl: Schema.Number,
|
|
1014
|
-
type: Schema.Literal("CAA"),
|
|
1015
|
-
comment: Schema.optional(Schema.String),
|
|
1016
|
-
data: Schema.optional(Schema.Struct({
|
|
1017
|
-
flags: Schema.optional(Schema.Number),
|
|
1018
|
-
tag: Schema.optional(Schema.String),
|
|
1019
|
-
value: Schema.optional(Schema.String),
|
|
1020
|
-
})),
|
|
1021
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1022
|
-
settings: Schema.optional(Schema.Struct({
|
|
1023
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1024
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1025
|
-
}).pipe(Schema.encodeKeys({
|
|
1026
|
-
ipv4Only: "ipv4_only",
|
|
1027
|
-
ipv6Only: "ipv6_only",
|
|
1028
|
-
}))),
|
|
1029
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1030
|
-
}).pipe(Schema.encodeKeys({
|
|
1031
|
-
zoneId: "zone_id",
|
|
1032
|
-
name: "name",
|
|
1033
|
-
ttl: "ttl",
|
|
1034
|
-
type: "type",
|
|
1035
|
-
comment: "comment",
|
|
1036
|
-
data: "data",
|
|
1037
|
-
proxied: "proxied",
|
|
1038
|
-
settings: "settings",
|
|
1039
|
-
tags: "tags",
|
|
1040
|
-
})),
|
|
1041
|
-
Schema.Struct({
|
|
1042
|
-
zoneId: Schema.String,
|
|
1043
|
-
name: Schema.String,
|
|
1044
|
-
ttl: Schema.Number,
|
|
1045
|
-
type: Schema.Literal("CERT"),
|
|
1046
|
-
comment: Schema.optional(Schema.String),
|
|
1047
|
-
data: Schema.optional(Schema.Struct({
|
|
1048
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1049
|
-
certificate: Schema.optional(Schema.String),
|
|
1050
|
-
keyTag: Schema.optional(Schema.Number),
|
|
1051
|
-
type: Schema.optional(Schema.Number),
|
|
1052
|
-
}).pipe(Schema.encodeKeys({
|
|
1053
|
-
algorithm: "algorithm",
|
|
1054
|
-
certificate: "certificate",
|
|
1055
|
-
keyTag: "key_tag",
|
|
1056
|
-
type: "type",
|
|
1057
|
-
}))),
|
|
1058
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1059
|
-
settings: Schema.optional(Schema.Struct({
|
|
1060
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1061
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1062
|
-
}).pipe(Schema.encodeKeys({
|
|
1063
|
-
ipv4Only: "ipv4_only",
|
|
1064
|
-
ipv6Only: "ipv6_only",
|
|
1065
|
-
}))),
|
|
1066
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1067
|
-
}).pipe(Schema.encodeKeys({
|
|
1068
|
-
zoneId: "zone_id",
|
|
1069
|
-
name: "name",
|
|
1070
|
-
ttl: "ttl",
|
|
1071
|
-
type: "type",
|
|
1072
|
-
comment: "comment",
|
|
1073
|
-
data: "data",
|
|
1074
|
-
proxied: "proxied",
|
|
1075
|
-
settings: "settings",
|
|
1076
|
-
tags: "tags",
|
|
1077
|
-
})),
|
|
1078
|
-
Schema.Struct({
|
|
1079
|
-
zoneId: Schema.String,
|
|
1080
|
-
name: Schema.String,
|
|
1081
|
-
ttl: Schema.Number,
|
|
1082
|
-
type: Schema.Literal("DNSKEY"),
|
|
1083
|
-
comment: Schema.optional(Schema.String),
|
|
1084
|
-
data: Schema.optional(Schema.Struct({
|
|
1085
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1086
|
-
flags: Schema.optional(Schema.Number),
|
|
1087
|
-
protocol: Schema.optional(Schema.Number),
|
|
1088
|
-
publicKey: Schema.optional(Schema.String),
|
|
1089
|
-
}).pipe(Schema.encodeKeys({
|
|
1090
|
-
algorithm: "algorithm",
|
|
1091
|
-
flags: "flags",
|
|
1092
|
-
protocol: "protocol",
|
|
1093
|
-
publicKey: "public_key",
|
|
1094
|
-
}))),
|
|
1095
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1096
|
-
settings: Schema.optional(Schema.Struct({
|
|
1097
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1098
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1099
|
-
}).pipe(Schema.encodeKeys({
|
|
1100
|
-
ipv4Only: "ipv4_only",
|
|
1101
|
-
ipv6Only: "ipv6_only",
|
|
1102
|
-
}))),
|
|
1103
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1104
|
-
}).pipe(Schema.encodeKeys({
|
|
1105
|
-
zoneId: "zone_id",
|
|
1106
|
-
name: "name",
|
|
1107
|
-
ttl: "ttl",
|
|
1108
|
-
type: "type",
|
|
1109
|
-
comment: "comment",
|
|
1110
|
-
data: "data",
|
|
1111
|
-
proxied: "proxied",
|
|
1112
|
-
settings: "settings",
|
|
1113
|
-
tags: "tags",
|
|
1114
|
-
})),
|
|
1115
|
-
Schema.Struct({
|
|
1116
|
-
zoneId: Schema.String,
|
|
1117
|
-
name: Schema.String,
|
|
1118
|
-
ttl: Schema.Number,
|
|
1119
|
-
type: Schema.Literal("DS"),
|
|
1120
|
-
comment: Schema.optional(Schema.String),
|
|
1121
|
-
data: Schema.optional(Schema.Struct({
|
|
1122
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1123
|
-
digest: Schema.optional(Schema.String),
|
|
1124
|
-
digestType: Schema.optional(Schema.Number),
|
|
1125
|
-
keyTag: Schema.optional(Schema.Number),
|
|
1126
|
-
}).pipe(Schema.encodeKeys({
|
|
1127
|
-
algorithm: "algorithm",
|
|
1128
|
-
digest: "digest",
|
|
1129
|
-
digestType: "digest_type",
|
|
1130
|
-
keyTag: "key_tag",
|
|
1131
|
-
}))),
|
|
1132
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1133
|
-
settings: Schema.optional(Schema.Struct({
|
|
1134
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1135
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1136
|
-
}).pipe(Schema.encodeKeys({
|
|
1137
|
-
ipv4Only: "ipv4_only",
|
|
1138
|
-
ipv6Only: "ipv6_only",
|
|
1139
|
-
}))),
|
|
1140
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1141
|
-
}).pipe(Schema.encodeKeys({
|
|
1142
|
-
zoneId: "zone_id",
|
|
1143
|
-
name: "name",
|
|
1144
|
-
ttl: "ttl",
|
|
1145
|
-
type: "type",
|
|
1146
|
-
comment: "comment",
|
|
1147
|
-
data: "data",
|
|
1148
|
-
proxied: "proxied",
|
|
1149
|
-
settings: "settings",
|
|
1150
|
-
tags: "tags",
|
|
1151
|
-
})),
|
|
1152
|
-
Schema.Struct({
|
|
1153
|
-
zoneId: Schema.String,
|
|
1154
|
-
name: Schema.String,
|
|
1155
|
-
ttl: Schema.Number,
|
|
1156
|
-
type: Schema.Literal("HTTPS"),
|
|
1157
|
-
comment: Schema.optional(Schema.String),
|
|
1158
|
-
data: Schema.optional(Schema.Struct({
|
|
1159
|
-
priority: Schema.optional(Schema.Number),
|
|
1160
|
-
target: Schema.optional(Schema.String),
|
|
1161
|
-
value: Schema.optional(Schema.String),
|
|
1162
|
-
})),
|
|
1163
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1164
|
-
settings: Schema.optional(Schema.Struct({
|
|
1165
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1166
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1167
|
-
}).pipe(Schema.encodeKeys({
|
|
1168
|
-
ipv4Only: "ipv4_only",
|
|
1169
|
-
ipv6Only: "ipv6_only",
|
|
1170
|
-
}))),
|
|
1171
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1172
|
-
}).pipe(Schema.encodeKeys({
|
|
1173
|
-
zoneId: "zone_id",
|
|
1174
|
-
name: "name",
|
|
1175
|
-
ttl: "ttl",
|
|
1176
|
-
type: "type",
|
|
1177
|
-
comment: "comment",
|
|
1178
|
-
data: "data",
|
|
1179
|
-
proxied: "proxied",
|
|
1180
|
-
settings: "settings",
|
|
1181
|
-
tags: "tags",
|
|
1182
|
-
})),
|
|
1183
|
-
Schema.Struct({
|
|
1184
|
-
zoneId: Schema.String,
|
|
1185
|
-
name: Schema.String,
|
|
1186
|
-
ttl: Schema.Number,
|
|
1187
|
-
type: Schema.Literal("LOC"),
|
|
1188
|
-
comment: Schema.optional(Schema.String),
|
|
1189
|
-
data: Schema.optional(Schema.Struct({
|
|
1190
|
-
altitude: Schema.optional(Schema.Number),
|
|
1191
|
-
latDegrees: Schema.optional(Schema.Number),
|
|
1192
|
-
latDirection: Schema.optional(Schema.Literals(["N", "S"])),
|
|
1193
|
-
latMinutes: Schema.optional(Schema.Number),
|
|
1194
|
-
latSeconds: Schema.optional(Schema.Number),
|
|
1195
|
-
longDegrees: Schema.optional(Schema.Number),
|
|
1196
|
-
longDirection: Schema.optional(Schema.Literals(["E", "W"])),
|
|
1197
|
-
longMinutes: Schema.optional(Schema.Number),
|
|
1198
|
-
longSeconds: Schema.optional(Schema.Number),
|
|
1199
|
-
precisionHorz: Schema.optional(Schema.Number),
|
|
1200
|
-
precisionVert: Schema.optional(Schema.Number),
|
|
1201
|
-
size: Schema.optional(Schema.Number),
|
|
1202
|
-
}).pipe(Schema.encodeKeys({
|
|
1203
|
-
altitude: "altitude",
|
|
1204
|
-
latDegrees: "lat_degrees",
|
|
1205
|
-
latDirection: "lat_direction",
|
|
1206
|
-
latMinutes: "lat_minutes",
|
|
1207
|
-
latSeconds: "lat_seconds",
|
|
1208
|
-
longDegrees: "long_degrees",
|
|
1209
|
-
longDirection: "long_direction",
|
|
1210
|
-
longMinutes: "long_minutes",
|
|
1211
|
-
longSeconds: "long_seconds",
|
|
1212
|
-
precisionHorz: "precision_horz",
|
|
1213
|
-
precisionVert: "precision_vert",
|
|
1214
|
-
size: "size",
|
|
1215
|
-
}))),
|
|
1216
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1217
|
-
settings: Schema.optional(Schema.Struct({
|
|
1218
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1219
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1220
|
-
}).pipe(Schema.encodeKeys({
|
|
1221
|
-
ipv4Only: "ipv4_only",
|
|
1222
|
-
ipv6Only: "ipv6_only",
|
|
1223
|
-
}))),
|
|
1224
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1225
|
-
}).pipe(Schema.encodeKeys({
|
|
1226
|
-
zoneId: "zone_id",
|
|
1227
|
-
name: "name",
|
|
1228
|
-
ttl: "ttl",
|
|
1229
|
-
type: "type",
|
|
1230
|
-
comment: "comment",
|
|
1231
|
-
data: "data",
|
|
1232
|
-
proxied: "proxied",
|
|
1233
|
-
settings: "settings",
|
|
1234
|
-
tags: "tags",
|
|
1235
|
-
})),
|
|
1236
|
-
Schema.Struct({
|
|
1237
|
-
zoneId: Schema.String,
|
|
1238
|
-
name: Schema.String,
|
|
1239
|
-
ttl: Schema.Number,
|
|
1240
|
-
type: Schema.Literal("NAPTR"),
|
|
1241
|
-
comment: Schema.optional(Schema.String),
|
|
1242
|
-
data: Schema.optional(Schema.Struct({
|
|
1243
|
-
flags: Schema.optional(Schema.String),
|
|
1244
|
-
order: Schema.optional(Schema.Number),
|
|
1245
|
-
preference: Schema.optional(Schema.Number),
|
|
1246
|
-
regex: Schema.optional(Schema.String),
|
|
1247
|
-
replacement: Schema.optional(Schema.String),
|
|
1248
|
-
service: Schema.optional(Schema.String),
|
|
1249
|
-
})),
|
|
1250
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1251
|
-
settings: Schema.optional(Schema.Struct({
|
|
1252
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1253
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1254
|
-
}).pipe(Schema.encodeKeys({
|
|
1255
|
-
ipv4Only: "ipv4_only",
|
|
1256
|
-
ipv6Only: "ipv6_only",
|
|
1257
|
-
}))),
|
|
1258
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1259
|
-
}).pipe(Schema.encodeKeys({
|
|
1260
|
-
zoneId: "zone_id",
|
|
1261
|
-
name: "name",
|
|
1262
|
-
ttl: "ttl",
|
|
1263
|
-
type: "type",
|
|
1264
|
-
comment: "comment",
|
|
1265
|
-
data: "data",
|
|
1266
|
-
proxied: "proxied",
|
|
1267
|
-
settings: "settings",
|
|
1268
|
-
tags: "tags",
|
|
1269
|
-
})),
|
|
1270
|
-
Schema.Struct({
|
|
1271
|
-
zoneId: Schema.String,
|
|
1272
|
-
name: Schema.String,
|
|
1273
|
-
ttl: Schema.Number,
|
|
1274
|
-
type: Schema.Literal("SMIMEA"),
|
|
1275
|
-
comment: Schema.optional(Schema.String),
|
|
1276
|
-
data: Schema.optional(Schema.Struct({
|
|
1277
|
-
certificate: Schema.optional(Schema.String),
|
|
1278
|
-
matchingType: Schema.optional(Schema.Number),
|
|
1279
|
-
selector: Schema.optional(Schema.Number),
|
|
1280
|
-
usage: Schema.optional(Schema.Number),
|
|
1281
|
-
}).pipe(Schema.encodeKeys({
|
|
1282
|
-
certificate: "certificate",
|
|
1283
|
-
matchingType: "matching_type",
|
|
1284
|
-
selector: "selector",
|
|
1285
|
-
usage: "usage",
|
|
1286
|
-
}))),
|
|
1287
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1288
|
-
settings: Schema.optional(Schema.Struct({
|
|
1289
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1290
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1291
|
-
}).pipe(Schema.encodeKeys({
|
|
1292
|
-
ipv4Only: "ipv4_only",
|
|
1293
|
-
ipv6Only: "ipv6_only",
|
|
1294
|
-
}))),
|
|
1295
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1296
|
-
}).pipe(Schema.encodeKeys({
|
|
1297
|
-
zoneId: "zone_id",
|
|
1298
|
-
name: "name",
|
|
1299
|
-
ttl: "ttl",
|
|
1300
|
-
type: "type",
|
|
1301
|
-
comment: "comment",
|
|
1302
|
-
data: "data",
|
|
1303
|
-
proxied: "proxied",
|
|
1304
|
-
settings: "settings",
|
|
1305
|
-
tags: "tags",
|
|
1306
|
-
})),
|
|
1307
|
-
Schema.Struct({
|
|
1308
|
-
zoneId: Schema.String,
|
|
1309
|
-
name: Schema.String,
|
|
1310
|
-
ttl: Schema.Number,
|
|
1311
|
-
type: Schema.Literal("SRV"),
|
|
1312
|
-
comment: Schema.optional(Schema.String),
|
|
1313
|
-
data: Schema.optional(Schema.Struct({
|
|
1314
|
-
port: Schema.optional(Schema.Number),
|
|
1315
|
-
priority: Schema.optional(Schema.Number),
|
|
1316
|
-
target: Schema.optional(Schema.String),
|
|
1317
|
-
weight: Schema.optional(Schema.Number),
|
|
1318
|
-
})),
|
|
1319
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1320
|
-
settings: Schema.optional(Schema.Struct({
|
|
1321
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1322
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1323
|
-
}).pipe(Schema.encodeKeys({
|
|
1324
|
-
ipv4Only: "ipv4_only",
|
|
1325
|
-
ipv6Only: "ipv6_only",
|
|
1326
|
-
}))),
|
|
1327
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1328
|
-
}).pipe(Schema.encodeKeys({
|
|
1329
|
-
zoneId: "zone_id",
|
|
1330
|
-
name: "name",
|
|
1331
|
-
ttl: "ttl",
|
|
1332
|
-
type: "type",
|
|
1333
|
-
comment: "comment",
|
|
1334
|
-
data: "data",
|
|
1335
|
-
proxied: "proxied",
|
|
1336
|
-
settings: "settings",
|
|
1337
|
-
tags: "tags",
|
|
1338
|
-
})),
|
|
1339
|
-
Schema.Struct({
|
|
1340
|
-
zoneId: Schema.String,
|
|
1341
|
-
name: Schema.String,
|
|
1342
|
-
ttl: Schema.Number,
|
|
1343
|
-
type: Schema.Literal("SSHFP"),
|
|
1344
|
-
comment: Schema.optional(Schema.String),
|
|
1345
|
-
data: Schema.optional(Schema.Struct({
|
|
1346
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1347
|
-
fingerprint: Schema.optional(Schema.String),
|
|
1348
|
-
type: Schema.optional(Schema.Number),
|
|
1349
|
-
})),
|
|
1350
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1351
|
-
settings: Schema.optional(Schema.Struct({
|
|
1352
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1353
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1354
|
-
}).pipe(Schema.encodeKeys({
|
|
1355
|
-
ipv4Only: "ipv4_only",
|
|
1356
|
-
ipv6Only: "ipv6_only",
|
|
1357
|
-
}))),
|
|
1358
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1359
|
-
}).pipe(Schema.encodeKeys({
|
|
1360
|
-
zoneId: "zone_id",
|
|
1361
|
-
name: "name",
|
|
1362
|
-
ttl: "ttl",
|
|
1363
|
-
type: "type",
|
|
1364
|
-
comment: "comment",
|
|
1365
|
-
data: "data",
|
|
1366
|
-
proxied: "proxied",
|
|
1367
|
-
settings: "settings",
|
|
1368
|
-
tags: "tags",
|
|
1369
|
-
})),
|
|
1370
|
-
Schema.Struct({
|
|
1371
|
-
zoneId: Schema.String,
|
|
1372
|
-
name: Schema.String,
|
|
1373
|
-
ttl: Schema.Number,
|
|
1374
|
-
type: Schema.Literal("SVCB"),
|
|
1375
|
-
comment: Schema.optional(Schema.String),
|
|
1376
|
-
data: Schema.optional(Schema.Struct({
|
|
1377
|
-
priority: Schema.optional(Schema.Number),
|
|
1378
|
-
target: Schema.optional(Schema.String),
|
|
1379
|
-
value: Schema.optional(Schema.String),
|
|
1380
|
-
})),
|
|
1381
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1382
|
-
settings: Schema.optional(Schema.Struct({
|
|
1383
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1384
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1385
|
-
}).pipe(Schema.encodeKeys({
|
|
1386
|
-
ipv4Only: "ipv4_only",
|
|
1387
|
-
ipv6Only: "ipv6_only",
|
|
1388
|
-
}))),
|
|
1389
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1390
|
-
}).pipe(Schema.encodeKeys({
|
|
1391
|
-
zoneId: "zone_id",
|
|
1392
|
-
name: "name",
|
|
1393
|
-
ttl: "ttl",
|
|
1394
|
-
type: "type",
|
|
1395
|
-
comment: "comment",
|
|
1396
|
-
data: "data",
|
|
1397
|
-
proxied: "proxied",
|
|
1398
|
-
settings: "settings",
|
|
1399
|
-
tags: "tags",
|
|
1400
|
-
})),
|
|
1401
|
-
Schema.Struct({
|
|
1402
|
-
zoneId: Schema.String,
|
|
1403
|
-
name: Schema.String,
|
|
1404
|
-
ttl: Schema.Number,
|
|
1405
|
-
type: Schema.Literal("TLSA"),
|
|
1406
|
-
comment: Schema.optional(Schema.String),
|
|
1407
|
-
data: Schema.optional(Schema.Struct({
|
|
1408
|
-
certificate: Schema.optional(Schema.String),
|
|
1409
|
-
matchingType: Schema.optional(Schema.Number),
|
|
1410
|
-
selector: Schema.optional(Schema.Number),
|
|
1411
|
-
usage: Schema.optional(Schema.Number),
|
|
1412
|
-
}).pipe(Schema.encodeKeys({
|
|
1413
|
-
certificate: "certificate",
|
|
1414
|
-
matchingType: "matching_type",
|
|
1415
|
-
selector: "selector",
|
|
1416
|
-
usage: "usage",
|
|
1417
|
-
}))),
|
|
1418
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1419
|
-
settings: Schema.optional(Schema.Struct({
|
|
1420
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1421
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1422
|
-
}).pipe(Schema.encodeKeys({
|
|
1423
|
-
ipv4Only: "ipv4_only",
|
|
1424
|
-
ipv6Only: "ipv6_only",
|
|
1425
|
-
}))),
|
|
1426
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1427
|
-
}).pipe(Schema.encodeKeys({
|
|
1428
|
-
zoneId: "zone_id",
|
|
1429
|
-
name: "name",
|
|
1430
|
-
ttl: "ttl",
|
|
1431
|
-
type: "type",
|
|
1432
|
-
comment: "comment",
|
|
1433
|
-
data: "data",
|
|
1434
|
-
proxied: "proxied",
|
|
1435
|
-
settings: "settings",
|
|
1436
|
-
tags: "tags",
|
|
1437
|
-
})),
|
|
1438
|
-
Schema.Struct({
|
|
1439
|
-
zoneId: Schema.String,
|
|
1440
|
-
name: Schema.String,
|
|
1441
|
-
ttl: Schema.Number,
|
|
1442
|
-
type: Schema.Literal("URI"),
|
|
1443
|
-
comment: Schema.optional(Schema.String),
|
|
1444
|
-
data: Schema.optional(Schema.Struct({
|
|
1445
|
-
target: Schema.optional(Schema.String),
|
|
1446
|
-
weight: Schema.optional(Schema.Number),
|
|
1447
|
-
})),
|
|
1448
|
-
priority: Schema.optional(Schema.Number),
|
|
1449
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1450
|
-
settings: Schema.optional(Schema.Struct({
|
|
1451
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1452
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1453
|
-
}).pipe(Schema.encodeKeys({
|
|
1454
|
-
ipv4Only: "ipv4_only",
|
|
1455
|
-
ipv6Only: "ipv6_only",
|
|
1456
|
-
}))),
|
|
1457
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1458
|
-
}).pipe(Schema.encodeKeys({
|
|
1459
|
-
zoneId: "zone_id",
|
|
1460
|
-
name: "name",
|
|
1461
|
-
ttl: "ttl",
|
|
1462
|
-
type: "type",
|
|
1463
|
-
comment: "comment",
|
|
1464
|
-
data: "data",
|
|
1465
|
-
priority: "priority",
|
|
1466
|
-
proxied: "proxied",
|
|
1467
|
-
settings: "settings",
|
|
1468
|
-
tags: "tags",
|
|
1469
|
-
})),
|
|
1470
|
-
]))),
|
|
1471
|
-
posts: Schema.optional(Schema.Array(Schema.Union([
|
|
1472
|
-
Schema.Struct({
|
|
1473
|
-
name: Schema.String,
|
|
1474
|
-
ttl: Schema.Number,
|
|
1475
|
-
type: Schema.Literal("A"),
|
|
1476
|
-
comment: Schema.optional(Schema.String),
|
|
1477
|
-
content: Schema.optional(Schema.String),
|
|
1478
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1479
|
-
settings: Schema.optional(Schema.Struct({
|
|
1480
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1481
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1482
|
-
}).pipe(Schema.encodeKeys({
|
|
1483
|
-
ipv4Only: "ipv4_only",
|
|
1484
|
-
ipv6Only: "ipv6_only",
|
|
1485
|
-
}))),
|
|
1486
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1487
|
-
}),
|
|
1488
|
-
Schema.Struct({
|
|
1489
|
-
name: Schema.String,
|
|
1490
|
-
ttl: Schema.Number,
|
|
1491
|
-
type: Schema.Literal("AAAA"),
|
|
1492
|
-
comment: Schema.optional(Schema.String),
|
|
1493
|
-
content: Schema.optional(Schema.String),
|
|
1494
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1495
|
-
settings: Schema.optional(Schema.Struct({
|
|
1496
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1497
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1498
|
-
}).pipe(Schema.encodeKeys({
|
|
1499
|
-
ipv4Only: "ipv4_only",
|
|
1500
|
-
ipv6Only: "ipv6_only",
|
|
1501
|
-
}))),
|
|
1502
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1503
|
-
}),
|
|
1504
|
-
Schema.Struct({
|
|
1505
|
-
name: Schema.String,
|
|
1506
|
-
ttl: Schema.Number,
|
|
1507
|
-
type: Schema.Literal("CNAME"),
|
|
1508
|
-
comment: Schema.optional(Schema.String),
|
|
1509
|
-
content: Schema.optional(Schema.String),
|
|
1510
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1511
|
-
settings: Schema.optional(Schema.Struct({
|
|
1512
|
-
flattenCname: Schema.optional(Schema.Boolean),
|
|
1513
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1514
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1515
|
-
}).pipe(Schema.encodeKeys({
|
|
1516
|
-
flattenCname: "flatten_cname",
|
|
1517
|
-
ipv4Only: "ipv4_only",
|
|
1518
|
-
ipv6Only: "ipv6_only",
|
|
1519
|
-
}))),
|
|
1520
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1521
|
-
}),
|
|
1522
|
-
Schema.Struct({
|
|
1523
|
-
name: Schema.String,
|
|
1524
|
-
ttl: Schema.Number,
|
|
1525
|
-
type: Schema.Literal("MX"),
|
|
1526
|
-
comment: Schema.optional(Schema.String),
|
|
1527
|
-
content: Schema.optional(Schema.String),
|
|
1528
|
-
priority: Schema.optional(Schema.Number),
|
|
1529
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1530
|
-
settings: Schema.optional(Schema.Struct({
|
|
1531
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1532
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1533
|
-
}).pipe(Schema.encodeKeys({
|
|
1534
|
-
ipv4Only: "ipv4_only",
|
|
1535
|
-
ipv6Only: "ipv6_only",
|
|
1536
|
-
}))),
|
|
1537
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1538
|
-
}),
|
|
1539
|
-
Schema.Struct({
|
|
1540
|
-
name: Schema.String,
|
|
1541
|
-
ttl: Schema.Number,
|
|
1542
|
-
type: Schema.Literal("NS"),
|
|
1543
|
-
comment: Schema.optional(Schema.String),
|
|
1544
|
-
content: Schema.optional(Schema.String),
|
|
1545
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1546
|
-
settings: Schema.optional(Schema.Struct({
|
|
1547
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1548
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1549
|
-
}).pipe(Schema.encodeKeys({
|
|
1550
|
-
ipv4Only: "ipv4_only",
|
|
1551
|
-
ipv6Only: "ipv6_only",
|
|
1552
|
-
}))),
|
|
1553
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1554
|
-
}),
|
|
1555
|
-
Schema.Struct({
|
|
1556
|
-
name: Schema.String,
|
|
1557
|
-
ttl: Schema.Number,
|
|
1558
|
-
type: Schema.Literal("OPENPGPKEY"),
|
|
1559
|
-
comment: Schema.optional(Schema.String),
|
|
1560
|
-
content: Schema.optional(Schema.String),
|
|
1561
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1562
|
-
settings: Schema.optional(Schema.Struct({
|
|
1563
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1564
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1565
|
-
}).pipe(Schema.encodeKeys({
|
|
1566
|
-
ipv4Only: "ipv4_only",
|
|
1567
|
-
ipv6Only: "ipv6_only",
|
|
1568
|
-
}))),
|
|
1569
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1570
|
-
}),
|
|
1571
|
-
Schema.Struct({
|
|
1572
|
-
name: Schema.String,
|
|
1573
|
-
ttl: Schema.Number,
|
|
1574
|
-
type: Schema.Literal("PTR"),
|
|
1575
|
-
comment: Schema.optional(Schema.String),
|
|
1576
|
-
content: Schema.optional(Schema.String),
|
|
1577
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1578
|
-
settings: Schema.optional(Schema.Struct({
|
|
1579
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1580
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1581
|
-
}).pipe(Schema.encodeKeys({
|
|
1582
|
-
ipv4Only: "ipv4_only",
|
|
1583
|
-
ipv6Only: "ipv6_only",
|
|
1584
|
-
}))),
|
|
1585
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1586
|
-
}),
|
|
1587
|
-
Schema.Struct({
|
|
1588
|
-
name: Schema.String,
|
|
1589
|
-
ttl: Schema.Number,
|
|
1590
|
-
type: Schema.Literal("TXT"),
|
|
1591
|
-
comment: Schema.optional(Schema.String),
|
|
1592
|
-
content: Schema.optional(Schema.String),
|
|
1593
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1594
|
-
settings: Schema.optional(Schema.Struct({
|
|
1595
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1596
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1597
|
-
}).pipe(Schema.encodeKeys({
|
|
1598
|
-
ipv4Only: "ipv4_only",
|
|
1599
|
-
ipv6Only: "ipv6_only",
|
|
1600
|
-
}))),
|
|
1601
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1602
|
-
}),
|
|
1603
|
-
Schema.Struct({
|
|
1604
|
-
name: Schema.String,
|
|
1605
|
-
ttl: Schema.Number,
|
|
1606
|
-
type: Schema.Literal("CAA"),
|
|
1607
|
-
comment: Schema.optional(Schema.String),
|
|
1608
|
-
data: Schema.optional(Schema.Struct({
|
|
1609
|
-
flags: Schema.optional(Schema.Number),
|
|
1610
|
-
tag: Schema.optional(Schema.String),
|
|
1611
|
-
value: Schema.optional(Schema.String),
|
|
1612
|
-
})),
|
|
1613
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1614
|
-
settings: Schema.optional(Schema.Struct({
|
|
1615
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1616
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1617
|
-
}).pipe(Schema.encodeKeys({
|
|
1618
|
-
ipv4Only: "ipv4_only",
|
|
1619
|
-
ipv6Only: "ipv6_only",
|
|
1620
|
-
}))),
|
|
1621
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1622
|
-
}),
|
|
1623
|
-
Schema.Struct({
|
|
1624
|
-
name: Schema.String,
|
|
1625
|
-
ttl: Schema.Number,
|
|
1626
|
-
type: Schema.Literal("CERT"),
|
|
1627
|
-
comment: Schema.optional(Schema.String),
|
|
1628
|
-
data: Schema.optional(Schema.Struct({
|
|
1629
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1630
|
-
certificate: Schema.optional(Schema.String),
|
|
1631
|
-
keyTag: Schema.optional(Schema.Number),
|
|
1632
|
-
type: Schema.optional(Schema.Number),
|
|
1633
|
-
}).pipe(Schema.encodeKeys({
|
|
1634
|
-
algorithm: "algorithm",
|
|
1635
|
-
certificate: "certificate",
|
|
1636
|
-
keyTag: "key_tag",
|
|
1637
|
-
type: "type",
|
|
1638
|
-
}))),
|
|
1639
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1640
|
-
settings: Schema.optional(Schema.Struct({
|
|
1641
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1642
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1643
|
-
}).pipe(Schema.encodeKeys({
|
|
1644
|
-
ipv4Only: "ipv4_only",
|
|
1645
|
-
ipv6Only: "ipv6_only",
|
|
1646
|
-
}))),
|
|
1647
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1648
|
-
}),
|
|
1649
|
-
Schema.Struct({
|
|
1650
|
-
name: Schema.String,
|
|
1651
|
-
ttl: Schema.Number,
|
|
1652
|
-
type: Schema.Literal("DNSKEY"),
|
|
1653
|
-
comment: Schema.optional(Schema.String),
|
|
1654
|
-
data: Schema.optional(Schema.Struct({
|
|
1655
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1656
|
-
flags: Schema.optional(Schema.Number),
|
|
1657
|
-
protocol: Schema.optional(Schema.Number),
|
|
1658
|
-
publicKey: Schema.optional(Schema.String),
|
|
1659
|
-
}).pipe(Schema.encodeKeys({
|
|
1660
|
-
algorithm: "algorithm",
|
|
1661
|
-
flags: "flags",
|
|
1662
|
-
protocol: "protocol",
|
|
1663
|
-
publicKey: "public_key",
|
|
1664
|
-
}))),
|
|
1665
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1666
|
-
settings: Schema.optional(Schema.Struct({
|
|
1667
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1668
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1669
|
-
}).pipe(Schema.encodeKeys({
|
|
1670
|
-
ipv4Only: "ipv4_only",
|
|
1671
|
-
ipv6Only: "ipv6_only",
|
|
1672
|
-
}))),
|
|
1673
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1674
|
-
}),
|
|
1675
|
-
Schema.Struct({
|
|
1676
|
-
name: Schema.String,
|
|
1677
|
-
ttl: Schema.Number,
|
|
1678
|
-
type: Schema.Literal("DS"),
|
|
1679
|
-
comment: Schema.optional(Schema.String),
|
|
1680
|
-
data: Schema.optional(Schema.Struct({
|
|
1681
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1682
|
-
digest: Schema.optional(Schema.String),
|
|
1683
|
-
digestType: Schema.optional(Schema.Number),
|
|
1684
|
-
keyTag: Schema.optional(Schema.Number),
|
|
1685
|
-
}).pipe(Schema.encodeKeys({
|
|
1686
|
-
algorithm: "algorithm",
|
|
1687
|
-
digest: "digest",
|
|
1688
|
-
digestType: "digest_type",
|
|
1689
|
-
keyTag: "key_tag",
|
|
1690
|
-
}))),
|
|
1691
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1692
|
-
settings: Schema.optional(Schema.Struct({
|
|
1693
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1694
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1695
|
-
}).pipe(Schema.encodeKeys({
|
|
1696
|
-
ipv4Only: "ipv4_only",
|
|
1697
|
-
ipv6Only: "ipv6_only",
|
|
1698
|
-
}))),
|
|
1699
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1700
|
-
}),
|
|
1701
|
-
Schema.Struct({
|
|
1702
|
-
name: Schema.String,
|
|
1703
|
-
ttl: Schema.Number,
|
|
1704
|
-
type: Schema.Literal("HTTPS"),
|
|
1705
|
-
comment: Schema.optional(Schema.String),
|
|
1706
|
-
data: Schema.optional(Schema.Struct({
|
|
1707
|
-
priority: Schema.optional(Schema.Number),
|
|
1708
|
-
target: Schema.optional(Schema.String),
|
|
1709
|
-
value: Schema.optional(Schema.String),
|
|
1710
|
-
})),
|
|
1711
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1712
|
-
settings: Schema.optional(Schema.Struct({
|
|
1713
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1714
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1715
|
-
}).pipe(Schema.encodeKeys({
|
|
1716
|
-
ipv4Only: "ipv4_only",
|
|
1717
|
-
ipv6Only: "ipv6_only",
|
|
1718
|
-
}))),
|
|
1719
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1720
|
-
}),
|
|
1721
|
-
Schema.Struct({
|
|
1722
|
-
name: Schema.String,
|
|
1723
|
-
ttl: Schema.Number,
|
|
1724
|
-
type: Schema.Literal("LOC"),
|
|
1725
|
-
comment: Schema.optional(Schema.String),
|
|
1726
|
-
data: Schema.optional(Schema.Struct({
|
|
1727
|
-
altitude: Schema.optional(Schema.Number),
|
|
1728
|
-
latDegrees: Schema.optional(Schema.Number),
|
|
1729
|
-
latDirection: Schema.optional(Schema.Literals(["N", "S"])),
|
|
1730
|
-
latMinutes: Schema.optional(Schema.Number),
|
|
1731
|
-
latSeconds: Schema.optional(Schema.Number),
|
|
1732
|
-
longDegrees: Schema.optional(Schema.Number),
|
|
1733
|
-
longDirection: Schema.optional(Schema.Literals(["E", "W"])),
|
|
1734
|
-
longMinutes: Schema.optional(Schema.Number),
|
|
1735
|
-
longSeconds: Schema.optional(Schema.Number),
|
|
1736
|
-
precisionHorz: Schema.optional(Schema.Number),
|
|
1737
|
-
precisionVert: Schema.optional(Schema.Number),
|
|
1738
|
-
size: Schema.optional(Schema.Number),
|
|
1739
|
-
}).pipe(Schema.encodeKeys({
|
|
1740
|
-
altitude: "altitude",
|
|
1741
|
-
latDegrees: "lat_degrees",
|
|
1742
|
-
latDirection: "lat_direction",
|
|
1743
|
-
latMinutes: "lat_minutes",
|
|
1744
|
-
latSeconds: "lat_seconds",
|
|
1745
|
-
longDegrees: "long_degrees",
|
|
1746
|
-
longDirection: "long_direction",
|
|
1747
|
-
longMinutes: "long_minutes",
|
|
1748
|
-
longSeconds: "long_seconds",
|
|
1749
|
-
precisionHorz: "precision_horz",
|
|
1750
|
-
precisionVert: "precision_vert",
|
|
1751
|
-
size: "size",
|
|
1752
|
-
}))),
|
|
1753
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1754
|
-
settings: Schema.optional(Schema.Struct({
|
|
1755
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1756
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1757
|
-
}).pipe(Schema.encodeKeys({
|
|
1758
|
-
ipv4Only: "ipv4_only",
|
|
1759
|
-
ipv6Only: "ipv6_only",
|
|
1760
|
-
}))),
|
|
1761
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1762
|
-
}),
|
|
1763
|
-
Schema.Struct({
|
|
1764
|
-
name: Schema.String,
|
|
1765
|
-
ttl: Schema.Number,
|
|
1766
|
-
type: Schema.Literal("NAPTR"),
|
|
1767
|
-
comment: Schema.optional(Schema.String),
|
|
1768
|
-
data: Schema.optional(Schema.Struct({
|
|
1769
|
-
flags: Schema.optional(Schema.String),
|
|
1770
|
-
order: Schema.optional(Schema.Number),
|
|
1771
|
-
preference: Schema.optional(Schema.Number),
|
|
1772
|
-
regex: Schema.optional(Schema.String),
|
|
1773
|
-
replacement: Schema.optional(Schema.String),
|
|
1774
|
-
service: Schema.optional(Schema.String),
|
|
1775
|
-
})),
|
|
1776
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1777
|
-
settings: Schema.optional(Schema.Struct({
|
|
1778
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1779
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1780
|
-
}).pipe(Schema.encodeKeys({
|
|
1781
|
-
ipv4Only: "ipv4_only",
|
|
1782
|
-
ipv6Only: "ipv6_only",
|
|
1783
|
-
}))),
|
|
1784
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1785
|
-
}),
|
|
1786
|
-
Schema.Struct({
|
|
1787
|
-
name: Schema.String,
|
|
1788
|
-
ttl: Schema.Number,
|
|
1789
|
-
type: Schema.Literal("SMIMEA"),
|
|
1790
|
-
comment: Schema.optional(Schema.String),
|
|
1791
|
-
data: Schema.optional(Schema.Struct({
|
|
1792
|
-
certificate: Schema.optional(Schema.String),
|
|
1793
|
-
matchingType: Schema.optional(Schema.Number),
|
|
1794
|
-
selector: Schema.optional(Schema.Number),
|
|
1795
|
-
usage: Schema.optional(Schema.Number),
|
|
1796
|
-
}).pipe(Schema.encodeKeys({
|
|
1797
|
-
certificate: "certificate",
|
|
1798
|
-
matchingType: "matching_type",
|
|
1799
|
-
selector: "selector",
|
|
1800
|
-
usage: "usage",
|
|
1801
|
-
}))),
|
|
1802
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1803
|
-
settings: Schema.optional(Schema.Struct({
|
|
1804
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1805
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1806
|
-
}).pipe(Schema.encodeKeys({
|
|
1807
|
-
ipv4Only: "ipv4_only",
|
|
1808
|
-
ipv6Only: "ipv6_only",
|
|
1809
|
-
}))),
|
|
1810
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1811
|
-
}),
|
|
1812
|
-
Schema.Struct({
|
|
1813
|
-
name: Schema.String,
|
|
1814
|
-
ttl: Schema.Number,
|
|
1815
|
-
type: Schema.Literal("SRV"),
|
|
1816
|
-
comment: Schema.optional(Schema.String),
|
|
1817
|
-
data: Schema.optional(Schema.Struct({
|
|
1818
|
-
port: Schema.optional(Schema.Number),
|
|
1819
|
-
priority: Schema.optional(Schema.Number),
|
|
1820
|
-
target: Schema.optional(Schema.String),
|
|
1821
|
-
weight: Schema.optional(Schema.Number),
|
|
1822
|
-
})),
|
|
1823
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1824
|
-
settings: Schema.optional(Schema.Struct({
|
|
1825
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1826
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1827
|
-
}).pipe(Schema.encodeKeys({
|
|
1828
|
-
ipv4Only: "ipv4_only",
|
|
1829
|
-
ipv6Only: "ipv6_only",
|
|
1830
|
-
}))),
|
|
1831
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1832
|
-
}),
|
|
1833
|
-
Schema.Struct({
|
|
1834
|
-
name: Schema.String,
|
|
1835
|
-
ttl: Schema.Number,
|
|
1836
|
-
type: Schema.Literal("SSHFP"),
|
|
1837
|
-
comment: Schema.optional(Schema.String),
|
|
1838
|
-
data: Schema.optional(Schema.Struct({
|
|
1839
|
-
algorithm: Schema.optional(Schema.Number),
|
|
1840
|
-
fingerprint: Schema.optional(Schema.String),
|
|
1841
|
-
type: Schema.optional(Schema.Number),
|
|
1842
|
-
})),
|
|
1843
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1844
|
-
settings: Schema.optional(Schema.Struct({
|
|
1845
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1846
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1847
|
-
}).pipe(Schema.encodeKeys({
|
|
1848
|
-
ipv4Only: "ipv4_only",
|
|
1849
|
-
ipv6Only: "ipv6_only",
|
|
1850
|
-
}))),
|
|
1851
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1852
|
-
}),
|
|
1853
|
-
Schema.Struct({
|
|
1854
|
-
name: Schema.String,
|
|
1855
|
-
ttl: Schema.Number,
|
|
1856
|
-
type: Schema.Literal("SVCB"),
|
|
1857
|
-
comment: Schema.optional(Schema.String),
|
|
1858
|
-
data: Schema.optional(Schema.Struct({
|
|
1859
|
-
priority: Schema.optional(Schema.Number),
|
|
1860
|
-
target: Schema.optional(Schema.String),
|
|
1861
|
-
value: Schema.optional(Schema.String),
|
|
1862
|
-
})),
|
|
1863
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1864
|
-
settings: Schema.optional(Schema.Struct({
|
|
1865
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1866
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1867
|
-
}).pipe(Schema.encodeKeys({
|
|
1868
|
-
ipv4Only: "ipv4_only",
|
|
1869
|
-
ipv6Only: "ipv6_only",
|
|
1870
|
-
}))),
|
|
1871
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1872
|
-
}),
|
|
1873
|
-
Schema.Struct({
|
|
1874
|
-
name: Schema.String,
|
|
1875
|
-
ttl: Schema.Number,
|
|
1876
|
-
type: Schema.Literal("TLSA"),
|
|
1877
|
-
comment: Schema.optional(Schema.String),
|
|
1878
|
-
data: Schema.optional(Schema.Struct({
|
|
1879
|
-
certificate: Schema.optional(Schema.String),
|
|
1880
|
-
matchingType: Schema.optional(Schema.Number),
|
|
1881
|
-
selector: Schema.optional(Schema.Number),
|
|
1882
|
-
usage: Schema.optional(Schema.Number),
|
|
1883
|
-
}).pipe(Schema.encodeKeys({
|
|
1884
|
-
certificate: "certificate",
|
|
1885
|
-
matchingType: "matching_type",
|
|
1886
|
-
selector: "selector",
|
|
1887
|
-
usage: "usage",
|
|
1888
|
-
}))),
|
|
1889
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
1890
|
-
settings: Schema.optional(Schema.Struct({
|
|
1891
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1892
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1893
|
-
}).pipe(Schema.encodeKeys({
|
|
1894
|
-
ipv4Only: "ipv4_only",
|
|
1895
|
-
ipv6Only: "ipv6_only",
|
|
1896
|
-
}))),
|
|
1897
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
801
|
+
id: Schema.String,
|
|
1898
802
|
}),
|
|
1899
803
|
Schema.Struct({
|
|
804
|
+
id: Schema.String,
|
|
1900
805
|
name: Schema.String,
|
|
1901
|
-
ttl: Schema.Number,
|
|
1902
|
-
type: Schema.Literal("
|
|
806
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
807
|
+
type: Schema.Literal("OPENPGPKEY"),
|
|
1903
808
|
comment: Schema.optional(Schema.String),
|
|
1904
|
-
|
|
1905
|
-
target: Schema.optional(Schema.String),
|
|
1906
|
-
weight: Schema.optional(Schema.Number),
|
|
1907
|
-
})),
|
|
1908
|
-
priority: Schema.optional(Schema.Number),
|
|
809
|
+
content: Schema.optional(Schema.String),
|
|
1909
810
|
proxied: Schema.optional(Schema.Boolean),
|
|
1910
811
|
settings: Schema.optional(Schema.Struct({
|
|
1911
812
|
ipv4Only: Schema.optional(Schema.Boolean),
|
|
@@ -1917,11 +818,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1917
818
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1918
819
|
}),
|
|
1919
820
|
]))),
|
|
1920
|
-
|
|
821
|
+
posts: Schema.optional(Schema.Array(Schema.Union([
|
|
1921
822
|
Schema.Struct({
|
|
1922
|
-
zoneId: Schema.String,
|
|
1923
823
|
name: Schema.String,
|
|
1924
|
-
ttl: Schema.Number,
|
|
824
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1925
825
|
type: Schema.Literal("A"),
|
|
1926
826
|
comment: Schema.optional(Schema.String),
|
|
1927
827
|
content: Schema.optional(Schema.String),
|
|
@@ -1934,21 +834,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1934
834
|
ipv6Only: "ipv6_only",
|
|
1935
835
|
}))),
|
|
1936
836
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1937
|
-
})
|
|
1938
|
-
zoneId: "zone_id",
|
|
1939
|
-
name: "name",
|
|
1940
|
-
ttl: "ttl",
|
|
1941
|
-
type: "type",
|
|
1942
|
-
comment: "comment",
|
|
1943
|
-
content: "content",
|
|
1944
|
-
proxied: "proxied",
|
|
1945
|
-
settings: "settings",
|
|
1946
|
-
tags: "tags",
|
|
1947
|
-
})),
|
|
837
|
+
}),
|
|
1948
838
|
Schema.Struct({
|
|
1949
|
-
zoneId: Schema.String,
|
|
1950
839
|
name: Schema.String,
|
|
1951
|
-
ttl: Schema.Number,
|
|
840
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1952
841
|
type: Schema.Literal("AAAA"),
|
|
1953
842
|
comment: Schema.optional(Schema.String),
|
|
1954
843
|
content: Schema.optional(Schema.String),
|
|
@@ -1961,21 +850,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1961
850
|
ipv6Only: "ipv6_only",
|
|
1962
851
|
}))),
|
|
1963
852
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1964
|
-
})
|
|
1965
|
-
zoneId: "zone_id",
|
|
1966
|
-
name: "name",
|
|
1967
|
-
ttl: "ttl",
|
|
1968
|
-
type: "type",
|
|
1969
|
-
comment: "comment",
|
|
1970
|
-
content: "content",
|
|
1971
|
-
proxied: "proxied",
|
|
1972
|
-
settings: "settings",
|
|
1973
|
-
tags: "tags",
|
|
1974
|
-
})),
|
|
853
|
+
}),
|
|
1975
854
|
Schema.Struct({
|
|
1976
|
-
zoneId: Schema.String,
|
|
1977
855
|
name: Schema.String,
|
|
1978
|
-
ttl: Schema.Number,
|
|
856
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1979
857
|
type: Schema.Literal("CNAME"),
|
|
1980
858
|
comment: Schema.optional(Schema.String),
|
|
1981
859
|
content: Schema.optional(Schema.String),
|
|
@@ -1990,21 +868,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1990
868
|
ipv6Only: "ipv6_only",
|
|
1991
869
|
}))),
|
|
1992
870
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1993
|
-
})
|
|
1994
|
-
zoneId: "zone_id",
|
|
1995
|
-
name: "name",
|
|
1996
|
-
ttl: "ttl",
|
|
1997
|
-
type: "type",
|
|
1998
|
-
comment: "comment",
|
|
1999
|
-
content: "content",
|
|
2000
|
-
proxied: "proxied",
|
|
2001
|
-
settings: "settings",
|
|
2002
|
-
tags: "tags",
|
|
2003
|
-
})),
|
|
871
|
+
}),
|
|
2004
872
|
Schema.Struct({
|
|
2005
|
-
zoneId: Schema.String,
|
|
2006
873
|
name: Schema.String,
|
|
2007
|
-
ttl: Schema.Number,
|
|
874
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2008
875
|
type: Schema.Literal("MX"),
|
|
2009
876
|
comment: Schema.optional(Schema.String),
|
|
2010
877
|
content: Schema.optional(Schema.String),
|
|
@@ -2018,22 +885,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2018
885
|
ipv6Only: "ipv6_only",
|
|
2019
886
|
}))),
|
|
2020
887
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2021
|
-
})
|
|
2022
|
-
zoneId: "zone_id",
|
|
2023
|
-
name: "name",
|
|
2024
|
-
ttl: "ttl",
|
|
2025
|
-
type: "type",
|
|
2026
|
-
comment: "comment",
|
|
2027
|
-
content: "content",
|
|
2028
|
-
priority: "priority",
|
|
2029
|
-
proxied: "proxied",
|
|
2030
|
-
settings: "settings",
|
|
2031
|
-
tags: "tags",
|
|
2032
|
-
})),
|
|
888
|
+
}),
|
|
2033
889
|
Schema.Struct({
|
|
2034
|
-
zoneId: Schema.String,
|
|
2035
890
|
name: Schema.String,
|
|
2036
|
-
ttl: Schema.Number,
|
|
891
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2037
892
|
type: Schema.Literal("NS"),
|
|
2038
893
|
comment: Schema.optional(Schema.String),
|
|
2039
894
|
content: Schema.optional(Schema.String),
|
|
@@ -2046,21 +901,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2046
901
|
ipv6Only: "ipv6_only",
|
|
2047
902
|
}))),
|
|
2048
903
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2049
|
-
})
|
|
2050
|
-
zoneId: "zone_id",
|
|
2051
|
-
name: "name",
|
|
2052
|
-
ttl: "ttl",
|
|
2053
|
-
type: "type",
|
|
2054
|
-
comment: "comment",
|
|
2055
|
-
content: "content",
|
|
2056
|
-
proxied: "proxied",
|
|
2057
|
-
settings: "settings",
|
|
2058
|
-
tags: "tags",
|
|
2059
|
-
})),
|
|
904
|
+
}),
|
|
2060
905
|
Schema.Struct({
|
|
2061
|
-
id: Schema.String,
|
|
2062
906
|
name: Schema.String,
|
|
2063
|
-
ttl: Schema.Number,
|
|
907
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2064
908
|
type: Schema.Literal("OPENPGPKEY"),
|
|
2065
909
|
comment: Schema.optional(Schema.String),
|
|
2066
910
|
content: Schema.optional(Schema.String),
|
|
@@ -2075,9 +919,8 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2075
919
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2076
920
|
}),
|
|
2077
921
|
Schema.Struct({
|
|
2078
|
-
zoneId: Schema.String,
|
|
2079
922
|
name: Schema.String,
|
|
2080
|
-
ttl: Schema.Number,
|
|
923
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2081
924
|
type: Schema.Literal("PTR"),
|
|
2082
925
|
comment: Schema.optional(Schema.String),
|
|
2083
926
|
content: Schema.optional(Schema.String),
|
|
@@ -2090,21 +933,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2090
933
|
ipv6Only: "ipv6_only",
|
|
2091
934
|
}))),
|
|
2092
935
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2093
|
-
})
|
|
2094
|
-
zoneId: "zone_id",
|
|
2095
|
-
name: "name",
|
|
2096
|
-
ttl: "ttl",
|
|
2097
|
-
type: "type",
|
|
2098
|
-
comment: "comment",
|
|
2099
|
-
content: "content",
|
|
2100
|
-
proxied: "proxied",
|
|
2101
|
-
settings: "settings",
|
|
2102
|
-
tags: "tags",
|
|
2103
|
-
})),
|
|
936
|
+
}),
|
|
2104
937
|
Schema.Struct({
|
|
2105
|
-
zoneId: Schema.String,
|
|
2106
938
|
name: Schema.String,
|
|
2107
|
-
ttl: Schema.Number,
|
|
939
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2108
940
|
type: Schema.Literal("TXT"),
|
|
2109
941
|
comment: Schema.optional(Schema.String),
|
|
2110
942
|
content: Schema.optional(Schema.String),
|
|
@@ -2117,21 +949,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2117
949
|
ipv6Only: "ipv6_only",
|
|
2118
950
|
}))),
|
|
2119
951
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2120
|
-
})
|
|
2121
|
-
zoneId: "zone_id",
|
|
2122
|
-
name: "name",
|
|
2123
|
-
ttl: "ttl",
|
|
2124
|
-
type: "type",
|
|
2125
|
-
comment: "comment",
|
|
2126
|
-
content: "content",
|
|
2127
|
-
proxied: "proxied",
|
|
2128
|
-
settings: "settings",
|
|
2129
|
-
tags: "tags",
|
|
2130
|
-
})),
|
|
952
|
+
}),
|
|
2131
953
|
Schema.Struct({
|
|
2132
|
-
zoneId: Schema.String,
|
|
2133
954
|
name: Schema.String,
|
|
2134
|
-
ttl: Schema.Number,
|
|
955
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2135
956
|
type: Schema.Literal("CAA"),
|
|
2136
957
|
comment: Schema.optional(Schema.String),
|
|
2137
958
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2148,21 +969,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2148
969
|
ipv6Only: "ipv6_only",
|
|
2149
970
|
}))),
|
|
2150
971
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2151
|
-
})
|
|
2152
|
-
zoneId: "zone_id",
|
|
2153
|
-
name: "name",
|
|
2154
|
-
ttl: "ttl",
|
|
2155
|
-
type: "type",
|
|
2156
|
-
comment: "comment",
|
|
2157
|
-
data: "data",
|
|
2158
|
-
proxied: "proxied",
|
|
2159
|
-
settings: "settings",
|
|
2160
|
-
tags: "tags",
|
|
2161
|
-
})),
|
|
972
|
+
}),
|
|
2162
973
|
Schema.Struct({
|
|
2163
|
-
zoneId: Schema.String,
|
|
2164
974
|
name: Schema.String,
|
|
2165
|
-
ttl: Schema.Number,
|
|
975
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2166
976
|
type: Schema.Literal("CERT"),
|
|
2167
977
|
comment: Schema.optional(Schema.String),
|
|
2168
978
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2185,21 +995,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2185
995
|
ipv6Only: "ipv6_only",
|
|
2186
996
|
}))),
|
|
2187
997
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2188
|
-
})
|
|
2189
|
-
zoneId: "zone_id",
|
|
2190
|
-
name: "name",
|
|
2191
|
-
ttl: "ttl",
|
|
2192
|
-
type: "type",
|
|
2193
|
-
comment: "comment",
|
|
2194
|
-
data: "data",
|
|
2195
|
-
proxied: "proxied",
|
|
2196
|
-
settings: "settings",
|
|
2197
|
-
tags: "tags",
|
|
2198
|
-
})),
|
|
998
|
+
}),
|
|
2199
999
|
Schema.Struct({
|
|
2200
|
-
zoneId: Schema.String,
|
|
2201
1000
|
name: Schema.String,
|
|
2202
|
-
ttl: Schema.Number,
|
|
1001
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2203
1002
|
type: Schema.Literal("DNSKEY"),
|
|
2204
1003
|
comment: Schema.optional(Schema.String),
|
|
2205
1004
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2222,21 +1021,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2222
1021
|
ipv6Only: "ipv6_only",
|
|
2223
1022
|
}))),
|
|
2224
1023
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2225
|
-
})
|
|
2226
|
-
zoneId: "zone_id",
|
|
2227
|
-
name: "name",
|
|
2228
|
-
ttl: "ttl",
|
|
2229
|
-
type: "type",
|
|
2230
|
-
comment: "comment",
|
|
2231
|
-
data: "data",
|
|
2232
|
-
proxied: "proxied",
|
|
2233
|
-
settings: "settings",
|
|
2234
|
-
tags: "tags",
|
|
2235
|
-
})),
|
|
1024
|
+
}),
|
|
2236
1025
|
Schema.Struct({
|
|
2237
|
-
zoneId: Schema.String,
|
|
2238
1026
|
name: Schema.String,
|
|
2239
|
-
ttl: Schema.Number,
|
|
1027
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2240
1028
|
type: Schema.Literal("DS"),
|
|
2241
1029
|
comment: Schema.optional(Schema.String),
|
|
2242
1030
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2259,21 +1047,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2259
1047
|
ipv6Only: "ipv6_only",
|
|
2260
1048
|
}))),
|
|
2261
1049
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2262
|
-
})
|
|
2263
|
-
zoneId: "zone_id",
|
|
2264
|
-
name: "name",
|
|
2265
|
-
ttl: "ttl",
|
|
2266
|
-
type: "type",
|
|
2267
|
-
comment: "comment",
|
|
2268
|
-
data: "data",
|
|
2269
|
-
proxied: "proxied",
|
|
2270
|
-
settings: "settings",
|
|
2271
|
-
tags: "tags",
|
|
2272
|
-
})),
|
|
1050
|
+
}),
|
|
2273
1051
|
Schema.Struct({
|
|
2274
|
-
zoneId: Schema.String,
|
|
2275
1052
|
name: Schema.String,
|
|
2276
|
-
ttl: Schema.Number,
|
|
1053
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2277
1054
|
type: Schema.Literal("HTTPS"),
|
|
2278
1055
|
comment: Schema.optional(Schema.String),
|
|
2279
1056
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2290,21 +1067,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2290
1067
|
ipv6Only: "ipv6_only",
|
|
2291
1068
|
}))),
|
|
2292
1069
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2293
|
-
})
|
|
2294
|
-
zoneId: "zone_id",
|
|
2295
|
-
name: "name",
|
|
2296
|
-
ttl: "ttl",
|
|
2297
|
-
type: "type",
|
|
2298
|
-
comment: "comment",
|
|
2299
|
-
data: "data",
|
|
2300
|
-
proxied: "proxied",
|
|
2301
|
-
settings: "settings",
|
|
2302
|
-
tags: "tags",
|
|
2303
|
-
})),
|
|
1070
|
+
}),
|
|
2304
1071
|
Schema.Struct({
|
|
2305
|
-
zoneId: Schema.String,
|
|
2306
1072
|
name: Schema.String,
|
|
2307
|
-
ttl: Schema.Number,
|
|
1073
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2308
1074
|
type: Schema.Literal("LOC"),
|
|
2309
1075
|
comment: Schema.optional(Schema.String),
|
|
2310
1076
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2343,21 +1109,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2343
1109
|
ipv6Only: "ipv6_only",
|
|
2344
1110
|
}))),
|
|
2345
1111
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2346
|
-
})
|
|
2347
|
-
zoneId: "zone_id",
|
|
2348
|
-
name: "name",
|
|
2349
|
-
ttl: "ttl",
|
|
2350
|
-
type: "type",
|
|
2351
|
-
comment: "comment",
|
|
2352
|
-
data: "data",
|
|
2353
|
-
proxied: "proxied",
|
|
2354
|
-
settings: "settings",
|
|
2355
|
-
tags: "tags",
|
|
2356
|
-
})),
|
|
1112
|
+
}),
|
|
2357
1113
|
Schema.Struct({
|
|
2358
|
-
zoneId: Schema.String,
|
|
2359
1114
|
name: Schema.String,
|
|
2360
|
-
ttl: Schema.Number,
|
|
1115
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2361
1116
|
type: Schema.Literal("NAPTR"),
|
|
2362
1117
|
comment: Schema.optional(Schema.String),
|
|
2363
1118
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2377,21 +1132,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2377
1132
|
ipv6Only: "ipv6_only",
|
|
2378
1133
|
}))),
|
|
2379
1134
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2380
|
-
})
|
|
2381
|
-
zoneId: "zone_id",
|
|
2382
|
-
name: "name",
|
|
2383
|
-
ttl: "ttl",
|
|
2384
|
-
type: "type",
|
|
2385
|
-
comment: "comment",
|
|
2386
|
-
data: "data",
|
|
2387
|
-
proxied: "proxied",
|
|
2388
|
-
settings: "settings",
|
|
2389
|
-
tags: "tags",
|
|
2390
|
-
})),
|
|
1135
|
+
}),
|
|
2391
1136
|
Schema.Struct({
|
|
2392
|
-
zoneId: Schema.String,
|
|
2393
1137
|
name: Schema.String,
|
|
2394
|
-
ttl: Schema.Number,
|
|
1138
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2395
1139
|
type: Schema.Literal("SMIMEA"),
|
|
2396
1140
|
comment: Schema.optional(Schema.String),
|
|
2397
1141
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2414,21 +1158,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2414
1158
|
ipv6Only: "ipv6_only",
|
|
2415
1159
|
}))),
|
|
2416
1160
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2417
|
-
})
|
|
2418
|
-
zoneId: "zone_id",
|
|
2419
|
-
name: "name",
|
|
2420
|
-
ttl: "ttl",
|
|
2421
|
-
type: "type",
|
|
2422
|
-
comment: "comment",
|
|
2423
|
-
data: "data",
|
|
2424
|
-
proxied: "proxied",
|
|
2425
|
-
settings: "settings",
|
|
2426
|
-
tags: "tags",
|
|
2427
|
-
})),
|
|
1161
|
+
}),
|
|
2428
1162
|
Schema.Struct({
|
|
2429
|
-
zoneId: Schema.String,
|
|
2430
1163
|
name: Schema.String,
|
|
2431
|
-
ttl: Schema.Number,
|
|
1164
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2432
1165
|
type: Schema.Literal("SRV"),
|
|
2433
1166
|
comment: Schema.optional(Schema.String),
|
|
2434
1167
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2446,21 +1179,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2446
1179
|
ipv6Only: "ipv6_only",
|
|
2447
1180
|
}))),
|
|
2448
1181
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2449
|
-
})
|
|
2450
|
-
zoneId: "zone_id",
|
|
2451
|
-
name: "name",
|
|
2452
|
-
ttl: "ttl",
|
|
2453
|
-
type: "type",
|
|
2454
|
-
comment: "comment",
|
|
2455
|
-
data: "data",
|
|
2456
|
-
proxied: "proxied",
|
|
2457
|
-
settings: "settings",
|
|
2458
|
-
tags: "tags",
|
|
2459
|
-
})),
|
|
1182
|
+
}),
|
|
2460
1183
|
Schema.Struct({
|
|
2461
|
-
zoneId: Schema.String,
|
|
2462
1184
|
name: Schema.String,
|
|
2463
|
-
ttl: Schema.Number,
|
|
1185
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2464
1186
|
type: Schema.Literal("SSHFP"),
|
|
2465
1187
|
comment: Schema.optional(Schema.String),
|
|
2466
1188
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2477,21 +1199,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2477
1199
|
ipv6Only: "ipv6_only",
|
|
2478
1200
|
}))),
|
|
2479
1201
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2480
|
-
})
|
|
2481
|
-
zoneId: "zone_id",
|
|
2482
|
-
name: "name",
|
|
2483
|
-
ttl: "ttl",
|
|
2484
|
-
type: "type",
|
|
2485
|
-
comment: "comment",
|
|
2486
|
-
data: "data",
|
|
2487
|
-
proxied: "proxied",
|
|
2488
|
-
settings: "settings",
|
|
2489
|
-
tags: "tags",
|
|
2490
|
-
})),
|
|
1202
|
+
}),
|
|
2491
1203
|
Schema.Struct({
|
|
2492
|
-
zoneId: Schema.String,
|
|
2493
1204
|
name: Schema.String,
|
|
2494
|
-
ttl: Schema.Number,
|
|
1205
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2495
1206
|
type: Schema.Literal("SVCB"),
|
|
2496
1207
|
comment: Schema.optional(Schema.String),
|
|
2497
1208
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2508,21 +1219,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2508
1219
|
ipv6Only: "ipv6_only",
|
|
2509
1220
|
}))),
|
|
2510
1221
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2511
|
-
})
|
|
2512
|
-
zoneId: "zone_id",
|
|
2513
|
-
name: "name",
|
|
2514
|
-
ttl: "ttl",
|
|
2515
|
-
type: "type",
|
|
2516
|
-
comment: "comment",
|
|
2517
|
-
data: "data",
|
|
2518
|
-
proxied: "proxied",
|
|
2519
|
-
settings: "settings",
|
|
2520
|
-
tags: "tags",
|
|
2521
|
-
})),
|
|
1222
|
+
}),
|
|
2522
1223
|
Schema.Struct({
|
|
2523
|
-
zoneId: Schema.String,
|
|
2524
1224
|
name: Schema.String,
|
|
2525
|
-
ttl: Schema.Number,
|
|
1225
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2526
1226
|
type: Schema.Literal("TLSA"),
|
|
2527
1227
|
comment: Schema.optional(Schema.String),
|
|
2528
1228
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2545,21 +1245,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2545
1245
|
ipv6Only: "ipv6_only",
|
|
2546
1246
|
}))),
|
|
2547
1247
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2548
|
-
})
|
|
2549
|
-
zoneId: "zone_id",
|
|
2550
|
-
name: "name",
|
|
2551
|
-
ttl: "ttl",
|
|
2552
|
-
type: "type",
|
|
2553
|
-
comment: "comment",
|
|
2554
|
-
data: "data",
|
|
2555
|
-
proxied: "proxied",
|
|
2556
|
-
settings: "settings",
|
|
2557
|
-
tags: "tags",
|
|
2558
|
-
})),
|
|
1248
|
+
}),
|
|
2559
1249
|
Schema.Struct({
|
|
2560
|
-
zoneId: Schema.String,
|
|
2561
1250
|
name: Schema.String,
|
|
2562
|
-
ttl: Schema.Number,
|
|
1251
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2563
1252
|
type: Schema.Literal("URI"),
|
|
2564
1253
|
comment: Schema.optional(Schema.String),
|
|
2565
1254
|
data: Schema.optional(Schema.Struct({
|
|
@@ -2576,18 +1265,29 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2576
1265
|
ipv6Only: "ipv6_only",
|
|
2577
1266
|
}))),
|
|
2578
1267
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2579
|
-
})
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
1268
|
+
}),
|
|
1269
|
+
]))),
|
|
1270
|
+
puts: Schema.optional(Schema.Array(Schema.Union([
|
|
1271
|
+
Schema.Struct({
|
|
1272
|
+
id: Schema.String,
|
|
1273
|
+
}),
|
|
1274
|
+
Schema.Struct({
|
|
1275
|
+
id: Schema.String,
|
|
1276
|
+
name: Schema.String,
|
|
1277
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1278
|
+
type: Schema.Literal("OPENPGPKEY"),
|
|
1279
|
+
comment: Schema.optional(Schema.String),
|
|
1280
|
+
content: Schema.optional(Schema.String),
|
|
1281
|
+
proxied: Schema.optional(Schema.Boolean),
|
|
1282
|
+
settings: Schema.optional(Schema.Struct({
|
|
1283
|
+
ipv4Only: Schema.optional(Schema.Boolean),
|
|
1284
|
+
ipv6Only: Schema.optional(Schema.Boolean),
|
|
1285
|
+
}).pipe(Schema.encodeKeys({
|
|
1286
|
+
ipv4Only: "ipv4_only",
|
|
1287
|
+
ipv6Only: "ipv6_only",
|
|
1288
|
+
}))),
|
|
1289
|
+
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
1290
|
+
}),
|
|
2591
1291
|
]))),
|
|
2592
1292
|
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/dns_records/batch" }));
|
|
2593
1293
|
export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -2628,7 +1328,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2628
1328
|
ipv6Only: "ipv6_only",
|
|
2629
1329
|
})),
|
|
2630
1330
|
tags: Schema.Array(Schema.String),
|
|
2631
|
-
ttl: Schema.Number,
|
|
1331
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2632
1332
|
type: Schema.Literal("OPENPGPKEY"),
|
|
2633
1333
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2634
1334
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2689,7 +1389,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2689
1389
|
ipv6Only: "ipv6_only",
|
|
2690
1390
|
})),
|
|
2691
1391
|
tags: Schema.Array(Schema.String),
|
|
2692
|
-
ttl: Schema.Number,
|
|
1392
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2693
1393
|
type: Schema.Literal("OPENPGPKEY"),
|
|
2694
1394
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2695
1395
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2750,7 +1450,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2750
1450
|
ipv6Only: "ipv6_only",
|
|
2751
1451
|
})),
|
|
2752
1452
|
tags: Schema.Array(Schema.String),
|
|
2753
|
-
ttl: Schema.Number,
|
|
1453
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2754
1454
|
type: Schema.Literal("OPENPGPKEY"),
|
|
2755
1455
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2756
1456
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2811,7 +1511,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2811
1511
|
ipv6Only: "ipv6_only",
|
|
2812
1512
|
})),
|
|
2813
1513
|
tags: Schema.Array(Schema.String),
|
|
2814
|
-
ttl: Schema.Number,
|
|
1514
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2815
1515
|
type: Schema.Literal("OPENPGPKEY"),
|
|
2816
1516
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2817
1517
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2845,7 +1545,7 @@ export const ExportRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2845
1545
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2846
1546
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dns_records/export" }));
|
|
2847
1547
|
export const ExportRecordResponse =
|
|
2848
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1548
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
2849
1549
|
export const exportRecord = API.make(() => ({
|
|
2850
1550
|
input: ExportRecordRequest,
|
|
2851
1551
|
output: ExportRecordResponse,
|
|
@@ -2898,7 +1598,7 @@ export const ScanReviewRecordRequest =
|
|
|
2898
1598
|
accepts: Schema.optional(Schema.Array(Schema.Union([
|
|
2899
1599
|
Schema.Struct({
|
|
2900
1600
|
name: Schema.String,
|
|
2901
|
-
ttl: Schema.Number,
|
|
1601
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2902
1602
|
type: Schema.Literal("A"),
|
|
2903
1603
|
comment: Schema.optional(Schema.String),
|
|
2904
1604
|
content: Schema.optional(Schema.String),
|
|
@@ -2914,7 +1614,7 @@ export const ScanReviewRecordRequest =
|
|
|
2914
1614
|
}),
|
|
2915
1615
|
Schema.Struct({
|
|
2916
1616
|
name: Schema.String,
|
|
2917
|
-
ttl: Schema.Number,
|
|
1617
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2918
1618
|
type: Schema.Literal("AAAA"),
|
|
2919
1619
|
comment: Schema.optional(Schema.String),
|
|
2920
1620
|
content: Schema.optional(Schema.String),
|
|
@@ -2930,7 +1630,7 @@ export const ScanReviewRecordRequest =
|
|
|
2930
1630
|
}),
|
|
2931
1631
|
Schema.Struct({
|
|
2932
1632
|
name: Schema.String,
|
|
2933
|
-
ttl: Schema.Number,
|
|
1633
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2934
1634
|
type: Schema.Literal("CNAME"),
|
|
2935
1635
|
comment: Schema.optional(Schema.String),
|
|
2936
1636
|
content: Schema.optional(Schema.String),
|
|
@@ -2948,7 +1648,7 @@ export const ScanReviewRecordRequest =
|
|
|
2948
1648
|
}),
|
|
2949
1649
|
Schema.Struct({
|
|
2950
1650
|
name: Schema.String,
|
|
2951
|
-
ttl: Schema.Number,
|
|
1651
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2952
1652
|
type: Schema.Literal("MX"),
|
|
2953
1653
|
comment: Schema.optional(Schema.String),
|
|
2954
1654
|
content: Schema.optional(Schema.String),
|
|
@@ -2965,7 +1665,7 @@ export const ScanReviewRecordRequest =
|
|
|
2965
1665
|
}),
|
|
2966
1666
|
Schema.Struct({
|
|
2967
1667
|
name: Schema.String,
|
|
2968
|
-
ttl: Schema.Number,
|
|
1668
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2969
1669
|
type: Schema.Literal("NS"),
|
|
2970
1670
|
comment: Schema.optional(Schema.String),
|
|
2971
1671
|
content: Schema.optional(Schema.String),
|
|
@@ -2981,7 +1681,7 @@ export const ScanReviewRecordRequest =
|
|
|
2981
1681
|
}),
|
|
2982
1682
|
Schema.Struct({
|
|
2983
1683
|
name: Schema.String,
|
|
2984
|
-
ttl: Schema.Number,
|
|
1684
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2985
1685
|
type: Schema.Literal("OPENPGPKEY"),
|
|
2986
1686
|
comment: Schema.optional(Schema.String),
|
|
2987
1687
|
content: Schema.optional(Schema.String),
|
|
@@ -2997,7 +1697,7 @@ export const ScanReviewRecordRequest =
|
|
|
2997
1697
|
}),
|
|
2998
1698
|
Schema.Struct({
|
|
2999
1699
|
name: Schema.String,
|
|
3000
|
-
ttl: Schema.Number,
|
|
1700
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3001
1701
|
type: Schema.Literal("PTR"),
|
|
3002
1702
|
comment: Schema.optional(Schema.String),
|
|
3003
1703
|
content: Schema.optional(Schema.String),
|
|
@@ -3013,7 +1713,7 @@ export const ScanReviewRecordRequest =
|
|
|
3013
1713
|
}),
|
|
3014
1714
|
Schema.Struct({
|
|
3015
1715
|
name: Schema.String,
|
|
3016
|
-
ttl: Schema.Number,
|
|
1716
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3017
1717
|
type: Schema.Literal("TXT"),
|
|
3018
1718
|
comment: Schema.optional(Schema.String),
|
|
3019
1719
|
content: Schema.optional(Schema.String),
|
|
@@ -3029,7 +1729,7 @@ export const ScanReviewRecordRequest =
|
|
|
3029
1729
|
}),
|
|
3030
1730
|
Schema.Struct({
|
|
3031
1731
|
name: Schema.String,
|
|
3032
|
-
ttl: Schema.Number,
|
|
1732
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3033
1733
|
type: Schema.Literal("CAA"),
|
|
3034
1734
|
comment: Schema.optional(Schema.String),
|
|
3035
1735
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3049,7 +1749,7 @@ export const ScanReviewRecordRequest =
|
|
|
3049
1749
|
}),
|
|
3050
1750
|
Schema.Struct({
|
|
3051
1751
|
name: Schema.String,
|
|
3052
|
-
ttl: Schema.Number,
|
|
1752
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3053
1753
|
type: Schema.Literal("CERT"),
|
|
3054
1754
|
comment: Schema.optional(Schema.String),
|
|
3055
1755
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3075,7 +1775,7 @@ export const ScanReviewRecordRequest =
|
|
|
3075
1775
|
}),
|
|
3076
1776
|
Schema.Struct({
|
|
3077
1777
|
name: Schema.String,
|
|
3078
|
-
ttl: Schema.Number,
|
|
1778
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3079
1779
|
type: Schema.Literal("DNSKEY"),
|
|
3080
1780
|
comment: Schema.optional(Schema.String),
|
|
3081
1781
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3101,7 +1801,7 @@ export const ScanReviewRecordRequest =
|
|
|
3101
1801
|
}),
|
|
3102
1802
|
Schema.Struct({
|
|
3103
1803
|
name: Schema.String,
|
|
3104
|
-
ttl: Schema.Number,
|
|
1804
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3105
1805
|
type: Schema.Literal("DS"),
|
|
3106
1806
|
comment: Schema.optional(Schema.String),
|
|
3107
1807
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3127,7 +1827,7 @@ export const ScanReviewRecordRequest =
|
|
|
3127
1827
|
}),
|
|
3128
1828
|
Schema.Struct({
|
|
3129
1829
|
name: Schema.String,
|
|
3130
|
-
ttl: Schema.Number,
|
|
1830
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3131
1831
|
type: Schema.Literal("HTTPS"),
|
|
3132
1832
|
comment: Schema.optional(Schema.String),
|
|
3133
1833
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3147,7 +1847,7 @@ export const ScanReviewRecordRequest =
|
|
|
3147
1847
|
}),
|
|
3148
1848
|
Schema.Struct({
|
|
3149
1849
|
name: Schema.String,
|
|
3150
|
-
ttl: Schema.Number,
|
|
1850
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3151
1851
|
type: Schema.Literal("LOC"),
|
|
3152
1852
|
comment: Schema.optional(Schema.String),
|
|
3153
1853
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3189,7 +1889,7 @@ export const ScanReviewRecordRequest =
|
|
|
3189
1889
|
}),
|
|
3190
1890
|
Schema.Struct({
|
|
3191
1891
|
name: Schema.String,
|
|
3192
|
-
ttl: Schema.Number,
|
|
1892
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3193
1893
|
type: Schema.Literal("NAPTR"),
|
|
3194
1894
|
comment: Schema.optional(Schema.String),
|
|
3195
1895
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3212,7 +1912,7 @@ export const ScanReviewRecordRequest =
|
|
|
3212
1912
|
}),
|
|
3213
1913
|
Schema.Struct({
|
|
3214
1914
|
name: Schema.String,
|
|
3215
|
-
ttl: Schema.Number,
|
|
1915
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3216
1916
|
type: Schema.Literal("SMIMEA"),
|
|
3217
1917
|
comment: Schema.optional(Schema.String),
|
|
3218
1918
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3238,7 +1938,7 @@ export const ScanReviewRecordRequest =
|
|
|
3238
1938
|
}),
|
|
3239
1939
|
Schema.Struct({
|
|
3240
1940
|
name: Schema.String,
|
|
3241
|
-
ttl: Schema.Number,
|
|
1941
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3242
1942
|
type: Schema.Literal("SRV"),
|
|
3243
1943
|
comment: Schema.optional(Schema.String),
|
|
3244
1944
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3259,7 +1959,7 @@ export const ScanReviewRecordRequest =
|
|
|
3259
1959
|
}),
|
|
3260
1960
|
Schema.Struct({
|
|
3261
1961
|
name: Schema.String,
|
|
3262
|
-
ttl: Schema.Number,
|
|
1962
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3263
1963
|
type: Schema.Literal("SSHFP"),
|
|
3264
1964
|
comment: Schema.optional(Schema.String),
|
|
3265
1965
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3279,7 +1979,7 @@ export const ScanReviewRecordRequest =
|
|
|
3279
1979
|
}),
|
|
3280
1980
|
Schema.Struct({
|
|
3281
1981
|
name: Schema.String,
|
|
3282
|
-
ttl: Schema.Number,
|
|
1982
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3283
1983
|
type: Schema.Literal("SVCB"),
|
|
3284
1984
|
comment: Schema.optional(Schema.String),
|
|
3285
1985
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3299,7 +1999,7 @@ export const ScanReviewRecordRequest =
|
|
|
3299
1999
|
}),
|
|
3300
2000
|
Schema.Struct({
|
|
3301
2001
|
name: Schema.String,
|
|
3302
|
-
ttl: Schema.Number,
|
|
2002
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3303
2003
|
type: Schema.Literal("TLSA"),
|
|
3304
2004
|
comment: Schema.optional(Schema.String),
|
|
3305
2005
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3325,7 +2025,7 @@ export const ScanReviewRecordRequest =
|
|
|
3325
2025
|
}),
|
|
3326
2026
|
Schema.Struct({
|
|
3327
2027
|
name: Schema.String,
|
|
3328
|
-
ttl: Schema.Number,
|
|
2028
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3329
2029
|
type: Schema.Literal("URI"),
|
|
3330
2030
|
comment: Schema.optional(Schema.String),
|
|
3331
2031
|
data: Schema.optional(Schema.Struct({
|
|
@@ -3390,7 +2090,7 @@ export const ScanReviewRecordResponse =
|
|
|
3390
2090
|
ipv6Only: "ipv6_only",
|
|
3391
2091
|
})),
|
|
3392
2092
|
tags: Schema.Array(Schema.String),
|
|
3393
|
-
ttl: Schema.Number,
|
|
2093
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3394
2094
|
type: Schema.Literal("OPENPGPKEY"),
|
|
3395
2095
|
commentModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3396
2096
|
tagsModifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3435,15 +2135,12 @@ export const GetSettingAccountResponse =
|
|
|
3435
2135
|
}).pipe(Schema.encodeKeys({ referenceZoneId: "reference_zone_id" })),
|
|
3436
2136
|
multiProvider: Schema.Boolean,
|
|
3437
2137
|
nameservers: Schema.Struct({
|
|
3438
|
-
type: Schema.
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
]),
|
|
3445
|
-
Schema.Null,
|
|
3446
|
-
])),
|
|
2138
|
+
type: Schema.Literals([
|
|
2139
|
+
"cloudflare.standard",
|
|
2140
|
+
"cloudflare.standard.random",
|
|
2141
|
+
"custom.account",
|
|
2142
|
+
"custom.tenant",
|
|
2143
|
+
]),
|
|
3447
2144
|
}),
|
|
3448
2145
|
nsTtl: Schema.Number,
|
|
3449
2146
|
secondaryOverrides: Schema.Boolean,
|
|
@@ -3544,15 +2241,12 @@ export const PatchSettingAccountResponse =
|
|
|
3544
2241
|
}).pipe(Schema.encodeKeys({ referenceZoneId: "reference_zone_id" })),
|
|
3545
2242
|
multiProvider: Schema.Boolean,
|
|
3546
2243
|
nameservers: Schema.Struct({
|
|
3547
|
-
type: Schema.
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
]),
|
|
3554
|
-
Schema.Null,
|
|
3555
|
-
])),
|
|
2244
|
+
type: Schema.Literals([
|
|
2245
|
+
"cloudflare.standard",
|
|
2246
|
+
"cloudflare.standard.random",
|
|
2247
|
+
"custom.account",
|
|
2248
|
+
"custom.tenant",
|
|
2249
|
+
]),
|
|
3556
2250
|
}),
|
|
3557
2251
|
nsTtl: Schema.Number,
|
|
3558
2252
|
secondaryOverrides: Schema.Boolean,
|
|
@@ -4356,7 +3050,7 @@ export const GetZoneTransferOutgoingStatusRequest =
|
|
|
4356
3050
|
path: "/zones/{zone_id}/secondary_dns/outgoing/status",
|
|
4357
3051
|
}));
|
|
4358
3052
|
export const GetZoneTransferOutgoingStatusResponse =
|
|
4359
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
3053
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String.pipe(T.ResponsePath("result"));
|
|
4360
3054
|
export const getZoneTransferOutgoingStatus = API.make(() => ({
|
|
4361
3055
|
input: GetZoneTransferOutgoingStatusRequest,
|
|
4362
3056
|
output: GetZoneTransferOutgoingStatusResponse,
|