@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/src/services/dns.ts
CHANGED
|
@@ -624,7 +624,7 @@ export interface ScanListRecordResponse {
|
|
|
624
624
|
proxied: boolean;
|
|
625
625
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
626
626
|
tags: string[];
|
|
627
|
-
ttl: number;
|
|
627
|
+
ttl: number | "1";
|
|
628
628
|
type: "OPENPGPKEY";
|
|
629
629
|
commentModifiedOn?: string | null;
|
|
630
630
|
tagsModifiedOn?: string | null;
|
|
@@ -680,7 +680,7 @@ export const ScanListRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
680
680
|
Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" }),
|
|
681
681
|
),
|
|
682
682
|
tags: Schema.Array(Schema.String),
|
|
683
|
-
ttl: Schema.Number,
|
|
683
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
684
684
|
type: Schema.Literal("OPENPGPKEY"),
|
|
685
685
|
commentModifiedOn: Schema.optional(
|
|
686
686
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -749,7 +749,7 @@ export const scanListRecord: API.PaginatedOperationMethod<
|
|
|
749
749
|
proxied: boolean;
|
|
750
750
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
751
751
|
tags: string[];
|
|
752
|
-
ttl: number;
|
|
752
|
+
ttl: number | "1";
|
|
753
753
|
type: "OPENPGPKEY";
|
|
754
754
|
commentModifiedOn?: string | null;
|
|
755
755
|
tagsModifiedOn?: string | null;
|
|
@@ -848,7 +848,7 @@ export type GetRecordResponse =
|
|
|
848
848
|
proxied: boolean;
|
|
849
849
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
850
850
|
tags: string[];
|
|
851
|
-
ttl: number;
|
|
851
|
+
ttl: number | "1";
|
|
852
852
|
type: "OPENPGPKEY";
|
|
853
853
|
commentModifiedOn?: string | null;
|
|
854
854
|
tagsModifiedOn?: string | null;
|
|
@@ -893,7 +893,7 @@ export const GetRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
893
893
|
Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" }),
|
|
894
894
|
),
|
|
895
895
|
tags: Schema.Array(Schema.String),
|
|
896
|
-
ttl: Schema.Number,
|
|
896
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
897
897
|
type: Schema.Literal("OPENPGPKEY"),
|
|
898
898
|
commentModifiedOn: Schema.optional(
|
|
899
899
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1111,7 +1111,7 @@ export interface ListRecordsResponse {
|
|
|
1111
1111
|
proxied: boolean;
|
|
1112
1112
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
1113
1113
|
tags: string[];
|
|
1114
|
-
ttl: number;
|
|
1114
|
+
ttl: number | "1";
|
|
1115
1115
|
type: "OPENPGPKEY";
|
|
1116
1116
|
commentModifiedOn?: string | null;
|
|
1117
1117
|
tagsModifiedOn?: string | null;
|
|
@@ -1172,7 +1172,7 @@ export const ListRecordsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1172
1172
|
Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" }),
|
|
1173
1173
|
),
|
|
1174
1174
|
tags: Schema.Array(Schema.String),
|
|
1175
|
-
ttl: Schema.Number,
|
|
1175
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1176
1176
|
type: Schema.Literal("OPENPGPKEY"),
|
|
1177
1177
|
commentModifiedOn: Schema.optional(
|
|
1178
1178
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1255,7 +1255,7 @@ export const listRecords: API.PaginatedOperationMethod<
|
|
|
1255
1255
|
proxied: boolean;
|
|
1256
1256
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
1257
1257
|
tags: string[];
|
|
1258
|
-
ttl: number;
|
|
1258
|
+
ttl: number | "1";
|
|
1259
1259
|
type: "OPENPGPKEY";
|
|
1260
1260
|
commentModifiedOn?: string | null;
|
|
1261
1261
|
tagsModifiedOn?: string | null;
|
|
@@ -1282,7 +1282,7 @@ export interface CreateRecordRequest {
|
|
|
1282
1282
|
/** Body param: Complete DNS record name, including the zone name, in Punycode. */
|
|
1283
1283
|
name: string;
|
|
1284
1284
|
/** Body param: Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. */
|
|
1285
|
-
ttl: number;
|
|
1285
|
+
ttl: number | "1";
|
|
1286
1286
|
/** Body param: Record type. */
|
|
1287
1287
|
type: "A";
|
|
1288
1288
|
/** Body param: Comments or notes about the DNS record. This field has no effect on DNS responses. */
|
|
@@ -1300,7 +1300,7 @@ export interface CreateRecordRequest {
|
|
|
1300
1300
|
export const CreateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1301
1301
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1302
1302
|
name: Schema.String,
|
|
1303
|
-
ttl: Schema.Number,
|
|
1303
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1304
1304
|
type: Schema.Literal("A"),
|
|
1305
1305
|
comment: Schema.optional(Schema.String),
|
|
1306
1306
|
content: Schema.optional(Schema.String),
|
|
@@ -1340,7 +1340,7 @@ export type CreateRecordResponse =
|
|
|
1340
1340
|
proxied: boolean;
|
|
1341
1341
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
1342
1342
|
tags: string[];
|
|
1343
|
-
ttl: number;
|
|
1343
|
+
ttl: number | "1";
|
|
1344
1344
|
type: "OPENPGPKEY";
|
|
1345
1345
|
commentModifiedOn?: string | null;
|
|
1346
1346
|
tagsModifiedOn?: string | null;
|
|
@@ -1385,7 +1385,7 @@ export const CreateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1385
1385
|
Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" }),
|
|
1386
1386
|
),
|
|
1387
1387
|
tags: Schema.Array(Schema.String),
|
|
1388
|
-
ttl: Schema.Number,
|
|
1388
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1389
1389
|
type: Schema.Literal("OPENPGPKEY"),
|
|
1390
1390
|
commentModifiedOn: Schema.optional(
|
|
1391
1391
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1434,7 +1434,7 @@ export interface UpdateRecordRequest {
|
|
|
1434
1434
|
/** Body param: Complete DNS record name, including the zone name, in Punycode. */
|
|
1435
1435
|
name: string;
|
|
1436
1436
|
/** Body param: Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. */
|
|
1437
|
-
ttl: number;
|
|
1437
|
+
ttl: number | "1";
|
|
1438
1438
|
/** Body param: Record type. */
|
|
1439
1439
|
type: "A";
|
|
1440
1440
|
/** Body param: Comments or notes about the DNS record. This field has no effect on DNS responses. */
|
|
@@ -1453,7 +1453,7 @@ export const UpdateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1453
1453
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
1454
1454
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1455
1455
|
name: Schema.String,
|
|
1456
|
-
ttl: Schema.Number,
|
|
1456
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1457
1457
|
type: Schema.Literal("A"),
|
|
1458
1458
|
comment: Schema.optional(Schema.String),
|
|
1459
1459
|
content: Schema.optional(Schema.String),
|
|
@@ -1493,7 +1493,7 @@ export type UpdateRecordResponse =
|
|
|
1493
1493
|
proxied: boolean;
|
|
1494
1494
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
1495
1495
|
tags: string[];
|
|
1496
|
-
ttl: number;
|
|
1496
|
+
ttl: number | "1";
|
|
1497
1497
|
type: "OPENPGPKEY";
|
|
1498
1498
|
commentModifiedOn?: string | null;
|
|
1499
1499
|
tagsModifiedOn?: string | null;
|
|
@@ -1538,7 +1538,7 @@ export const UpdateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1538
1538
|
Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" }),
|
|
1539
1539
|
),
|
|
1540
1540
|
tags: Schema.Array(Schema.String),
|
|
1541
|
-
ttl: Schema.Number,
|
|
1541
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1542
1542
|
type: Schema.Literal("OPENPGPKEY"),
|
|
1543
1543
|
commentModifiedOn: Schema.optional(
|
|
1544
1544
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1587,7 +1587,7 @@ export interface PatchRecordRequest {
|
|
|
1587
1587
|
/** Body param: Complete DNS record name, including the zone name, in Punycode. */
|
|
1588
1588
|
name: string;
|
|
1589
1589
|
/** Body param: Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. */
|
|
1590
|
-
ttl: number;
|
|
1590
|
+
ttl: number | "1";
|
|
1591
1591
|
/** Body param: Record type. */
|
|
1592
1592
|
type: "A";
|
|
1593
1593
|
/** Body param: Comments or notes about the DNS record. This field has no effect on DNS responses. */
|
|
@@ -1606,7 +1606,7 @@ export const PatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1606
1606
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
1607
1607
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1608
1608
|
name: Schema.String,
|
|
1609
|
-
ttl: Schema.Number,
|
|
1609
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1610
1610
|
type: Schema.Literal("A"),
|
|
1611
1611
|
comment: Schema.optional(Schema.String),
|
|
1612
1612
|
content: Schema.optional(Schema.String),
|
|
@@ -1649,7 +1649,7 @@ export type PatchRecordResponse =
|
|
|
1649
1649
|
proxied: boolean;
|
|
1650
1650
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
1651
1651
|
tags: string[];
|
|
1652
|
-
ttl: number;
|
|
1652
|
+
ttl: number | "1";
|
|
1653
1653
|
type: "OPENPGPKEY";
|
|
1654
1654
|
commentModifiedOn?: string | null;
|
|
1655
1655
|
tagsModifiedOn?: string | null;
|
|
@@ -1694,7 +1694,7 @@ export const PatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
1694
1694
|
Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" }),
|
|
1695
1695
|
),
|
|
1696
1696
|
tags: Schema.Array(Schema.String),
|
|
1697
|
-
ttl: Schema.Number,
|
|
1697
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1698
1698
|
type: Schema.Literal("OPENPGPKEY"),
|
|
1699
1699
|
commentModifiedOn: Schema.optional(
|
|
1700
1700
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1783,70 +1783,11 @@ export interface BatchRecordRequest {
|
|
|
1783
1783
|
deletes?: { id: string }[];
|
|
1784
1784
|
/** Body param: */
|
|
1785
1785
|
patches?: (
|
|
1786
|
-
| {
|
|
1787
|
-
zoneId: string;
|
|
1788
|
-
name: string;
|
|
1789
|
-
ttl: number;
|
|
1790
|
-
type: "A";
|
|
1791
|
-
comment?: string;
|
|
1792
|
-
content?: string;
|
|
1793
|
-
proxied?: boolean;
|
|
1794
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1795
|
-
tags?: string[];
|
|
1796
|
-
}
|
|
1797
|
-
| {
|
|
1798
|
-
zoneId: string;
|
|
1799
|
-
name: string;
|
|
1800
|
-
ttl: number;
|
|
1801
|
-
type: "AAAA";
|
|
1802
|
-
comment?: string;
|
|
1803
|
-
content?: string;
|
|
1804
|
-
proxied?: boolean;
|
|
1805
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1806
|
-
tags?: string[];
|
|
1807
|
-
}
|
|
1808
|
-
| {
|
|
1809
|
-
zoneId: string;
|
|
1810
|
-
name: string;
|
|
1811
|
-
ttl: number;
|
|
1812
|
-
type: "CNAME";
|
|
1813
|
-
comment?: string;
|
|
1814
|
-
content?: string;
|
|
1815
|
-
proxied?: boolean;
|
|
1816
|
-
settings?: {
|
|
1817
|
-
flattenCname?: boolean;
|
|
1818
|
-
ipv4Only?: boolean;
|
|
1819
|
-
ipv6Only?: boolean;
|
|
1820
|
-
};
|
|
1821
|
-
tags?: string[];
|
|
1822
|
-
}
|
|
1823
|
-
| {
|
|
1824
|
-
zoneId: string;
|
|
1825
|
-
name: string;
|
|
1826
|
-
ttl: number;
|
|
1827
|
-
type: "MX";
|
|
1828
|
-
comment?: string;
|
|
1829
|
-
content?: string;
|
|
1830
|
-
priority?: number;
|
|
1831
|
-
proxied?: boolean;
|
|
1832
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1833
|
-
tags?: string[];
|
|
1834
|
-
}
|
|
1835
|
-
| {
|
|
1836
|
-
zoneId: string;
|
|
1837
|
-
name: string;
|
|
1838
|
-
ttl: number;
|
|
1839
|
-
type: "NS";
|
|
1840
|
-
comment?: string;
|
|
1841
|
-
content?: string;
|
|
1842
|
-
proxied?: boolean;
|
|
1843
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1844
|
-
tags?: string[];
|
|
1845
|
-
}
|
|
1786
|
+
| { id: string }
|
|
1846
1787
|
| {
|
|
1847
1788
|
id: string;
|
|
1848
1789
|
name: string;
|
|
1849
|
-
ttl: number;
|
|
1790
|
+
ttl: number | "1";
|
|
1850
1791
|
type: "OPENPGPKEY";
|
|
1851
1792
|
comment?: string;
|
|
1852
1793
|
content?: string;
|
|
@@ -1854,228 +1795,12 @@ export interface BatchRecordRequest {
|
|
|
1854
1795
|
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1855
1796
|
tags?: string[];
|
|
1856
1797
|
}
|
|
1857
|
-
| {
|
|
1858
|
-
zoneId: string;
|
|
1859
|
-
name: string;
|
|
1860
|
-
ttl: number;
|
|
1861
|
-
type: "PTR";
|
|
1862
|
-
comment?: string;
|
|
1863
|
-
content?: string;
|
|
1864
|
-
proxied?: boolean;
|
|
1865
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1866
|
-
tags?: string[];
|
|
1867
|
-
}
|
|
1868
|
-
| {
|
|
1869
|
-
zoneId: string;
|
|
1870
|
-
name: string;
|
|
1871
|
-
ttl: number;
|
|
1872
|
-
type: "TXT";
|
|
1873
|
-
comment?: string;
|
|
1874
|
-
content?: string;
|
|
1875
|
-
proxied?: boolean;
|
|
1876
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1877
|
-
tags?: string[];
|
|
1878
|
-
}
|
|
1879
|
-
| {
|
|
1880
|
-
zoneId: string;
|
|
1881
|
-
name: string;
|
|
1882
|
-
ttl: number;
|
|
1883
|
-
type: "CAA";
|
|
1884
|
-
comment?: string;
|
|
1885
|
-
data?: { flags?: number; tag?: string; value?: string };
|
|
1886
|
-
proxied?: boolean;
|
|
1887
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1888
|
-
tags?: string[];
|
|
1889
|
-
}
|
|
1890
|
-
| {
|
|
1891
|
-
zoneId: string;
|
|
1892
|
-
name: string;
|
|
1893
|
-
ttl: number;
|
|
1894
|
-
type: "CERT";
|
|
1895
|
-
comment?: string;
|
|
1896
|
-
data?: {
|
|
1897
|
-
algorithm?: number;
|
|
1898
|
-
certificate?: string;
|
|
1899
|
-
keyTag?: number;
|
|
1900
|
-
type?: number;
|
|
1901
|
-
};
|
|
1902
|
-
proxied?: boolean;
|
|
1903
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1904
|
-
tags?: string[];
|
|
1905
|
-
}
|
|
1906
|
-
| {
|
|
1907
|
-
zoneId: string;
|
|
1908
|
-
name: string;
|
|
1909
|
-
ttl: number;
|
|
1910
|
-
type: "DNSKEY";
|
|
1911
|
-
comment?: string;
|
|
1912
|
-
data?: {
|
|
1913
|
-
algorithm?: number;
|
|
1914
|
-
flags?: number;
|
|
1915
|
-
protocol?: number;
|
|
1916
|
-
publicKey?: string;
|
|
1917
|
-
};
|
|
1918
|
-
proxied?: boolean;
|
|
1919
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1920
|
-
tags?: string[];
|
|
1921
|
-
}
|
|
1922
|
-
| {
|
|
1923
|
-
zoneId: string;
|
|
1924
|
-
name: string;
|
|
1925
|
-
ttl: number;
|
|
1926
|
-
type: "DS";
|
|
1927
|
-
comment?: string;
|
|
1928
|
-
data?: {
|
|
1929
|
-
algorithm?: number;
|
|
1930
|
-
digest?: string;
|
|
1931
|
-
digestType?: number;
|
|
1932
|
-
keyTag?: number;
|
|
1933
|
-
};
|
|
1934
|
-
proxied?: boolean;
|
|
1935
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1936
|
-
tags?: string[];
|
|
1937
|
-
}
|
|
1938
|
-
| {
|
|
1939
|
-
zoneId: string;
|
|
1940
|
-
name: string;
|
|
1941
|
-
ttl: number;
|
|
1942
|
-
type: "HTTPS";
|
|
1943
|
-
comment?: string;
|
|
1944
|
-
data?: { priority?: number; target?: string; value?: string };
|
|
1945
|
-
proxied?: boolean;
|
|
1946
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1947
|
-
tags?: string[];
|
|
1948
|
-
}
|
|
1949
|
-
| {
|
|
1950
|
-
zoneId: string;
|
|
1951
|
-
name: string;
|
|
1952
|
-
ttl: number;
|
|
1953
|
-
type: "LOC";
|
|
1954
|
-
comment?: string;
|
|
1955
|
-
data?: {
|
|
1956
|
-
altitude?: number;
|
|
1957
|
-
latDegrees?: number;
|
|
1958
|
-
latDirection?: "N" | "S";
|
|
1959
|
-
latMinutes?: number;
|
|
1960
|
-
latSeconds?: number;
|
|
1961
|
-
longDegrees?: number;
|
|
1962
|
-
longDirection?: "E" | "W";
|
|
1963
|
-
longMinutes?: number;
|
|
1964
|
-
longSeconds?: number;
|
|
1965
|
-
precisionHorz?: number;
|
|
1966
|
-
precisionVert?: number;
|
|
1967
|
-
size?: number;
|
|
1968
|
-
};
|
|
1969
|
-
proxied?: boolean;
|
|
1970
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1971
|
-
tags?: string[];
|
|
1972
|
-
}
|
|
1973
|
-
| {
|
|
1974
|
-
zoneId: string;
|
|
1975
|
-
name: string;
|
|
1976
|
-
ttl: number;
|
|
1977
|
-
type: "NAPTR";
|
|
1978
|
-
comment?: string;
|
|
1979
|
-
data?: {
|
|
1980
|
-
flags?: string;
|
|
1981
|
-
order?: number;
|
|
1982
|
-
preference?: number;
|
|
1983
|
-
regex?: string;
|
|
1984
|
-
replacement?: string;
|
|
1985
|
-
service?: string;
|
|
1986
|
-
};
|
|
1987
|
-
proxied?: boolean;
|
|
1988
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
1989
|
-
tags?: string[];
|
|
1990
|
-
}
|
|
1991
|
-
| {
|
|
1992
|
-
zoneId: string;
|
|
1993
|
-
name: string;
|
|
1994
|
-
ttl: number;
|
|
1995
|
-
type: "SMIMEA";
|
|
1996
|
-
comment?: string;
|
|
1997
|
-
data?: {
|
|
1998
|
-
certificate?: string;
|
|
1999
|
-
matchingType?: number;
|
|
2000
|
-
selector?: number;
|
|
2001
|
-
usage?: number;
|
|
2002
|
-
};
|
|
2003
|
-
proxied?: boolean;
|
|
2004
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2005
|
-
tags?: string[];
|
|
2006
|
-
}
|
|
2007
|
-
| {
|
|
2008
|
-
zoneId: string;
|
|
2009
|
-
name: string;
|
|
2010
|
-
ttl: number;
|
|
2011
|
-
type: "SRV";
|
|
2012
|
-
comment?: string;
|
|
2013
|
-
data?: {
|
|
2014
|
-
port?: number;
|
|
2015
|
-
priority?: number;
|
|
2016
|
-
target?: string;
|
|
2017
|
-
weight?: number;
|
|
2018
|
-
};
|
|
2019
|
-
proxied?: boolean;
|
|
2020
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2021
|
-
tags?: string[];
|
|
2022
|
-
}
|
|
2023
|
-
| {
|
|
2024
|
-
zoneId: string;
|
|
2025
|
-
name: string;
|
|
2026
|
-
ttl: number;
|
|
2027
|
-
type: "SSHFP";
|
|
2028
|
-
comment?: string;
|
|
2029
|
-
data?: { algorithm?: number; fingerprint?: string; type?: number };
|
|
2030
|
-
proxied?: boolean;
|
|
2031
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2032
|
-
tags?: string[];
|
|
2033
|
-
}
|
|
2034
|
-
| {
|
|
2035
|
-
zoneId: string;
|
|
2036
|
-
name: string;
|
|
2037
|
-
ttl: number;
|
|
2038
|
-
type: "SVCB";
|
|
2039
|
-
comment?: string;
|
|
2040
|
-
data?: { priority?: number; target?: string; value?: string };
|
|
2041
|
-
proxied?: boolean;
|
|
2042
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2043
|
-
tags?: string[];
|
|
2044
|
-
}
|
|
2045
|
-
| {
|
|
2046
|
-
zoneId: string;
|
|
2047
|
-
name: string;
|
|
2048
|
-
ttl: number;
|
|
2049
|
-
type: "TLSA";
|
|
2050
|
-
comment?: string;
|
|
2051
|
-
data?: {
|
|
2052
|
-
certificate?: string;
|
|
2053
|
-
matchingType?: number;
|
|
2054
|
-
selector?: number;
|
|
2055
|
-
usage?: number;
|
|
2056
|
-
};
|
|
2057
|
-
proxied?: boolean;
|
|
2058
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2059
|
-
tags?: string[];
|
|
2060
|
-
}
|
|
2061
|
-
| {
|
|
2062
|
-
zoneId: string;
|
|
2063
|
-
name: string;
|
|
2064
|
-
ttl: number;
|
|
2065
|
-
type: "URI";
|
|
2066
|
-
comment?: string;
|
|
2067
|
-
data?: { target?: string; weight?: number };
|
|
2068
|
-
priority?: number;
|
|
2069
|
-
proxied?: boolean;
|
|
2070
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2071
|
-
tags?: string[];
|
|
2072
|
-
}
|
|
2073
1798
|
)[];
|
|
2074
1799
|
/** Body param: */
|
|
2075
1800
|
posts?: (
|
|
2076
1801
|
| {
|
|
2077
1802
|
name: string;
|
|
2078
|
-
ttl: number;
|
|
1803
|
+
ttl: number | "1";
|
|
2079
1804
|
type: "A";
|
|
2080
1805
|
comment?: string;
|
|
2081
1806
|
content?: string;
|
|
@@ -2085,7 +1810,7 @@ export interface BatchRecordRequest {
|
|
|
2085
1810
|
}
|
|
2086
1811
|
| {
|
|
2087
1812
|
name: string;
|
|
2088
|
-
ttl: number;
|
|
1813
|
+
ttl: number | "1";
|
|
2089
1814
|
type: "AAAA";
|
|
2090
1815
|
comment?: string;
|
|
2091
1816
|
content?: string;
|
|
@@ -2095,7 +1820,7 @@ export interface BatchRecordRequest {
|
|
|
2095
1820
|
}
|
|
2096
1821
|
| {
|
|
2097
1822
|
name: string;
|
|
2098
|
-
ttl: number;
|
|
1823
|
+
ttl: number | "1";
|
|
2099
1824
|
type: "CNAME";
|
|
2100
1825
|
comment?: string;
|
|
2101
1826
|
content?: string;
|
|
@@ -2109,7 +1834,7 @@ export interface BatchRecordRequest {
|
|
|
2109
1834
|
}
|
|
2110
1835
|
| {
|
|
2111
1836
|
name: string;
|
|
2112
|
-
ttl: number;
|
|
1837
|
+
ttl: number | "1";
|
|
2113
1838
|
type: "MX";
|
|
2114
1839
|
comment?: string;
|
|
2115
1840
|
content?: string;
|
|
@@ -2120,7 +1845,7 @@ export interface BatchRecordRequest {
|
|
|
2120
1845
|
}
|
|
2121
1846
|
| {
|
|
2122
1847
|
name: string;
|
|
2123
|
-
ttl: number;
|
|
1848
|
+
ttl: number | "1";
|
|
2124
1849
|
type: "NS";
|
|
2125
1850
|
comment?: string;
|
|
2126
1851
|
content?: string;
|
|
@@ -2130,7 +1855,7 @@ export interface BatchRecordRequest {
|
|
|
2130
1855
|
}
|
|
2131
1856
|
| {
|
|
2132
1857
|
name: string;
|
|
2133
|
-
ttl: number;
|
|
1858
|
+
ttl: number | "1";
|
|
2134
1859
|
type: "OPENPGPKEY";
|
|
2135
1860
|
comment?: string;
|
|
2136
1861
|
content?: string;
|
|
@@ -2140,7 +1865,7 @@ export interface BatchRecordRequest {
|
|
|
2140
1865
|
}
|
|
2141
1866
|
| {
|
|
2142
1867
|
name: string;
|
|
2143
|
-
ttl: number;
|
|
1868
|
+
ttl: number | "1";
|
|
2144
1869
|
type: "PTR";
|
|
2145
1870
|
comment?: string;
|
|
2146
1871
|
content?: string;
|
|
@@ -2150,7 +1875,7 @@ export interface BatchRecordRequest {
|
|
|
2150
1875
|
}
|
|
2151
1876
|
| {
|
|
2152
1877
|
name: string;
|
|
2153
|
-
ttl: number;
|
|
1878
|
+
ttl: number | "1";
|
|
2154
1879
|
type: "TXT";
|
|
2155
1880
|
comment?: string;
|
|
2156
1881
|
content?: string;
|
|
@@ -2160,7 +1885,7 @@ export interface BatchRecordRequest {
|
|
|
2160
1885
|
}
|
|
2161
1886
|
| {
|
|
2162
1887
|
name: string;
|
|
2163
|
-
ttl: number;
|
|
1888
|
+
ttl: number | "1";
|
|
2164
1889
|
type: "CAA";
|
|
2165
1890
|
comment?: string;
|
|
2166
1891
|
data?: { flags?: number; tag?: string; value?: string };
|
|
@@ -2170,7 +1895,7 @@ export interface BatchRecordRequest {
|
|
|
2170
1895
|
}
|
|
2171
1896
|
| {
|
|
2172
1897
|
name: string;
|
|
2173
|
-
ttl: number;
|
|
1898
|
+
ttl: number | "1";
|
|
2174
1899
|
type: "CERT";
|
|
2175
1900
|
comment?: string;
|
|
2176
1901
|
data?: {
|
|
@@ -2185,7 +1910,7 @@ export interface BatchRecordRequest {
|
|
|
2185
1910
|
}
|
|
2186
1911
|
| {
|
|
2187
1912
|
name: string;
|
|
2188
|
-
ttl: number;
|
|
1913
|
+
ttl: number | "1";
|
|
2189
1914
|
type: "DNSKEY";
|
|
2190
1915
|
comment?: string;
|
|
2191
1916
|
data?: {
|
|
@@ -2200,7 +1925,7 @@ export interface BatchRecordRequest {
|
|
|
2200
1925
|
}
|
|
2201
1926
|
| {
|
|
2202
1927
|
name: string;
|
|
2203
|
-
ttl: number;
|
|
1928
|
+
ttl: number | "1";
|
|
2204
1929
|
type: "DS";
|
|
2205
1930
|
comment?: string;
|
|
2206
1931
|
data?: {
|
|
@@ -2215,7 +1940,7 @@ export interface BatchRecordRequest {
|
|
|
2215
1940
|
}
|
|
2216
1941
|
| {
|
|
2217
1942
|
name: string;
|
|
2218
|
-
ttl: number;
|
|
1943
|
+
ttl: number | "1";
|
|
2219
1944
|
type: "HTTPS";
|
|
2220
1945
|
comment?: string;
|
|
2221
1946
|
data?: { priority?: number; target?: string; value?: string };
|
|
@@ -2225,7 +1950,7 @@ export interface BatchRecordRequest {
|
|
|
2225
1950
|
}
|
|
2226
1951
|
| {
|
|
2227
1952
|
name: string;
|
|
2228
|
-
ttl: number;
|
|
1953
|
+
ttl: number | "1";
|
|
2229
1954
|
type: "LOC";
|
|
2230
1955
|
comment?: string;
|
|
2231
1956
|
data?: {
|
|
@@ -2248,7 +1973,7 @@ export interface BatchRecordRequest {
|
|
|
2248
1973
|
}
|
|
2249
1974
|
| {
|
|
2250
1975
|
name: string;
|
|
2251
|
-
ttl: number;
|
|
1976
|
+
ttl: number | "1";
|
|
2252
1977
|
type: "NAPTR";
|
|
2253
1978
|
comment?: string;
|
|
2254
1979
|
data?: {
|
|
@@ -2265,7 +1990,7 @@ export interface BatchRecordRequest {
|
|
|
2265
1990
|
}
|
|
2266
1991
|
| {
|
|
2267
1992
|
name: string;
|
|
2268
|
-
ttl: number;
|
|
1993
|
+
ttl: number | "1";
|
|
2269
1994
|
type: "SMIMEA";
|
|
2270
1995
|
comment?: string;
|
|
2271
1996
|
data?: {
|
|
@@ -2280,7 +2005,7 @@ export interface BatchRecordRequest {
|
|
|
2280
2005
|
}
|
|
2281
2006
|
| {
|
|
2282
2007
|
name: string;
|
|
2283
|
-
ttl: number;
|
|
2008
|
+
ttl: number | "1";
|
|
2284
2009
|
type: "SRV";
|
|
2285
2010
|
comment?: string;
|
|
2286
2011
|
data?: {
|
|
@@ -2295,7 +2020,7 @@ export interface BatchRecordRequest {
|
|
|
2295
2020
|
}
|
|
2296
2021
|
| {
|
|
2297
2022
|
name: string;
|
|
2298
|
-
ttl: number;
|
|
2023
|
+
ttl: number | "1";
|
|
2299
2024
|
type: "SSHFP";
|
|
2300
2025
|
comment?: string;
|
|
2301
2026
|
data?: { algorithm?: number; fingerprint?: string; type?: number };
|
|
@@ -2305,7 +2030,7 @@ export interface BatchRecordRequest {
|
|
|
2305
2030
|
}
|
|
2306
2031
|
| {
|
|
2307
2032
|
name: string;
|
|
2308
|
-
ttl: number;
|
|
2033
|
+
ttl: number | "1";
|
|
2309
2034
|
type: "SVCB";
|
|
2310
2035
|
comment?: string;
|
|
2311
2036
|
data?: { priority?: number; target?: string; value?: string };
|
|
@@ -2315,7 +2040,7 @@ export interface BatchRecordRequest {
|
|
|
2315
2040
|
}
|
|
2316
2041
|
| {
|
|
2317
2042
|
name: string;
|
|
2318
|
-
ttl: number;
|
|
2043
|
+
ttl: number | "1";
|
|
2319
2044
|
type: "TLSA";
|
|
2320
2045
|
comment?: string;
|
|
2321
2046
|
data?: {
|
|
@@ -2330,7 +2055,7 @@ export interface BatchRecordRequest {
|
|
|
2330
2055
|
}
|
|
2331
2056
|
| {
|
|
2332
2057
|
name: string;
|
|
2333
|
-
ttl: number;
|
|
2058
|
+
ttl: number | "1";
|
|
2334
2059
|
type: "URI";
|
|
2335
2060
|
comment?: string;
|
|
2336
2061
|
data?: { target?: string; weight?: number };
|
|
@@ -2342,1701 +2067,43 @@ export interface BatchRecordRequest {
|
|
|
2342
2067
|
)[];
|
|
2343
2068
|
/** Body param: */
|
|
2344
2069
|
puts?: (
|
|
2070
|
+
| { id: string }
|
|
2345
2071
|
| {
|
|
2346
|
-
|
|
2347
|
-
name: string;
|
|
2348
|
-
ttl: number;
|
|
2349
|
-
type: "A";
|
|
2350
|
-
comment?: string;
|
|
2351
|
-
content?: string;
|
|
2352
|
-
proxied?: boolean;
|
|
2353
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2354
|
-
tags?: string[];
|
|
2355
|
-
}
|
|
2356
|
-
| {
|
|
2357
|
-
zoneId: string;
|
|
2072
|
+
id: string;
|
|
2358
2073
|
name: string;
|
|
2359
|
-
ttl: number;
|
|
2360
|
-
type: "
|
|
2074
|
+
ttl: number | "1";
|
|
2075
|
+
type: "OPENPGPKEY";
|
|
2361
2076
|
comment?: string;
|
|
2362
2077
|
content?: string;
|
|
2363
2078
|
proxied?: boolean;
|
|
2364
2079
|
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2365
2080
|
tags?: string[];
|
|
2366
2081
|
}
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
| {
|
|
2383
|
-
zoneId: string;
|
|
2384
|
-
name: string;
|
|
2385
|
-
ttl: number;
|
|
2386
|
-
type: "MX";
|
|
2387
|
-
comment?: string;
|
|
2388
|
-
content?: string;
|
|
2389
|
-
priority?: number;
|
|
2390
|
-
proxied?: boolean;
|
|
2391
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2392
|
-
tags?: string[];
|
|
2393
|
-
}
|
|
2394
|
-
| {
|
|
2395
|
-
zoneId: string;
|
|
2396
|
-
name: string;
|
|
2397
|
-
ttl: number;
|
|
2398
|
-
type: "NS";
|
|
2399
|
-
comment?: string;
|
|
2400
|
-
content?: string;
|
|
2401
|
-
proxied?: boolean;
|
|
2402
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2403
|
-
tags?: string[];
|
|
2404
|
-
}
|
|
2405
|
-
| {
|
|
2406
|
-
id: string;
|
|
2407
|
-
name: string;
|
|
2408
|
-
ttl: number;
|
|
2409
|
-
type: "OPENPGPKEY";
|
|
2410
|
-
comment?: string;
|
|
2411
|
-
content?: string;
|
|
2412
|
-
proxied?: boolean;
|
|
2413
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2414
|
-
tags?: string[];
|
|
2415
|
-
}
|
|
2416
|
-
| {
|
|
2417
|
-
zoneId: string;
|
|
2418
|
-
name: string;
|
|
2419
|
-
ttl: number;
|
|
2420
|
-
type: "PTR";
|
|
2421
|
-
comment?: string;
|
|
2422
|
-
content?: string;
|
|
2423
|
-
proxied?: boolean;
|
|
2424
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2425
|
-
tags?: string[];
|
|
2426
|
-
}
|
|
2427
|
-
| {
|
|
2428
|
-
zoneId: string;
|
|
2429
|
-
name: string;
|
|
2430
|
-
ttl: number;
|
|
2431
|
-
type: "TXT";
|
|
2432
|
-
comment?: string;
|
|
2433
|
-
content?: string;
|
|
2434
|
-
proxied?: boolean;
|
|
2435
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2436
|
-
tags?: string[];
|
|
2437
|
-
}
|
|
2438
|
-
| {
|
|
2439
|
-
zoneId: string;
|
|
2440
|
-
name: string;
|
|
2441
|
-
ttl: number;
|
|
2442
|
-
type: "CAA";
|
|
2443
|
-
comment?: string;
|
|
2444
|
-
data?: { flags?: number; tag?: string; value?: string };
|
|
2445
|
-
proxied?: boolean;
|
|
2446
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2447
|
-
tags?: string[];
|
|
2448
|
-
}
|
|
2449
|
-
| {
|
|
2450
|
-
zoneId: string;
|
|
2451
|
-
name: string;
|
|
2452
|
-
ttl: number;
|
|
2453
|
-
type: "CERT";
|
|
2454
|
-
comment?: string;
|
|
2455
|
-
data?: {
|
|
2456
|
-
algorithm?: number;
|
|
2457
|
-
certificate?: string;
|
|
2458
|
-
keyTag?: number;
|
|
2459
|
-
type?: number;
|
|
2460
|
-
};
|
|
2461
|
-
proxied?: boolean;
|
|
2462
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2463
|
-
tags?: string[];
|
|
2464
|
-
}
|
|
2465
|
-
| {
|
|
2466
|
-
zoneId: string;
|
|
2467
|
-
name: string;
|
|
2468
|
-
ttl: number;
|
|
2469
|
-
type: "DNSKEY";
|
|
2470
|
-
comment?: string;
|
|
2471
|
-
data?: {
|
|
2472
|
-
algorithm?: number;
|
|
2473
|
-
flags?: number;
|
|
2474
|
-
protocol?: number;
|
|
2475
|
-
publicKey?: string;
|
|
2476
|
-
};
|
|
2477
|
-
proxied?: boolean;
|
|
2478
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2479
|
-
tags?: string[];
|
|
2480
|
-
}
|
|
2481
|
-
| {
|
|
2482
|
-
zoneId: string;
|
|
2483
|
-
name: string;
|
|
2484
|
-
ttl: number;
|
|
2485
|
-
type: "DS";
|
|
2486
|
-
comment?: string;
|
|
2487
|
-
data?: {
|
|
2488
|
-
algorithm?: number;
|
|
2489
|
-
digest?: string;
|
|
2490
|
-
digestType?: number;
|
|
2491
|
-
keyTag?: number;
|
|
2492
|
-
};
|
|
2493
|
-
proxied?: boolean;
|
|
2494
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2495
|
-
tags?: string[];
|
|
2496
|
-
}
|
|
2497
|
-
| {
|
|
2498
|
-
zoneId: string;
|
|
2499
|
-
name: string;
|
|
2500
|
-
ttl: number;
|
|
2501
|
-
type: "HTTPS";
|
|
2502
|
-
comment?: string;
|
|
2503
|
-
data?: { priority?: number; target?: string; value?: string };
|
|
2504
|
-
proxied?: boolean;
|
|
2505
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2506
|
-
tags?: string[];
|
|
2507
|
-
}
|
|
2508
|
-
| {
|
|
2509
|
-
zoneId: string;
|
|
2510
|
-
name: string;
|
|
2511
|
-
ttl: number;
|
|
2512
|
-
type: "LOC";
|
|
2513
|
-
comment?: string;
|
|
2514
|
-
data?: {
|
|
2515
|
-
altitude?: number;
|
|
2516
|
-
latDegrees?: number;
|
|
2517
|
-
latDirection?: "N" | "S";
|
|
2518
|
-
latMinutes?: number;
|
|
2519
|
-
latSeconds?: number;
|
|
2520
|
-
longDegrees?: number;
|
|
2521
|
-
longDirection?: "E" | "W";
|
|
2522
|
-
longMinutes?: number;
|
|
2523
|
-
longSeconds?: number;
|
|
2524
|
-
precisionHorz?: number;
|
|
2525
|
-
precisionVert?: number;
|
|
2526
|
-
size?: number;
|
|
2527
|
-
};
|
|
2528
|
-
proxied?: boolean;
|
|
2529
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2530
|
-
tags?: string[];
|
|
2531
|
-
}
|
|
2532
|
-
| {
|
|
2533
|
-
zoneId: string;
|
|
2534
|
-
name: string;
|
|
2535
|
-
ttl: number;
|
|
2536
|
-
type: "NAPTR";
|
|
2537
|
-
comment?: string;
|
|
2538
|
-
data?: {
|
|
2539
|
-
flags?: string;
|
|
2540
|
-
order?: number;
|
|
2541
|
-
preference?: number;
|
|
2542
|
-
regex?: string;
|
|
2543
|
-
replacement?: string;
|
|
2544
|
-
service?: string;
|
|
2545
|
-
};
|
|
2546
|
-
proxied?: boolean;
|
|
2547
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2548
|
-
tags?: string[];
|
|
2549
|
-
}
|
|
2550
|
-
| {
|
|
2551
|
-
zoneId: string;
|
|
2552
|
-
name: string;
|
|
2553
|
-
ttl: number;
|
|
2554
|
-
type: "SMIMEA";
|
|
2555
|
-
comment?: string;
|
|
2556
|
-
data?: {
|
|
2557
|
-
certificate?: string;
|
|
2558
|
-
matchingType?: number;
|
|
2559
|
-
selector?: number;
|
|
2560
|
-
usage?: number;
|
|
2561
|
-
};
|
|
2562
|
-
proxied?: boolean;
|
|
2563
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2564
|
-
tags?: string[];
|
|
2565
|
-
}
|
|
2566
|
-
| {
|
|
2567
|
-
zoneId: string;
|
|
2568
|
-
name: string;
|
|
2569
|
-
ttl: number;
|
|
2570
|
-
type: "SRV";
|
|
2571
|
-
comment?: string;
|
|
2572
|
-
data?: {
|
|
2573
|
-
port?: number;
|
|
2574
|
-
priority?: number;
|
|
2575
|
-
target?: string;
|
|
2576
|
-
weight?: number;
|
|
2577
|
-
};
|
|
2578
|
-
proxied?: boolean;
|
|
2579
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2580
|
-
tags?: string[];
|
|
2581
|
-
}
|
|
2582
|
-
| {
|
|
2583
|
-
zoneId: string;
|
|
2584
|
-
name: string;
|
|
2585
|
-
ttl: number;
|
|
2586
|
-
type: "SSHFP";
|
|
2587
|
-
comment?: string;
|
|
2588
|
-
data?: { algorithm?: number; fingerprint?: string; type?: number };
|
|
2589
|
-
proxied?: boolean;
|
|
2590
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2591
|
-
tags?: string[];
|
|
2592
|
-
}
|
|
2593
|
-
| {
|
|
2594
|
-
zoneId: string;
|
|
2595
|
-
name: string;
|
|
2596
|
-
ttl: number;
|
|
2597
|
-
type: "SVCB";
|
|
2598
|
-
comment?: string;
|
|
2599
|
-
data?: { priority?: number; target?: string; value?: string };
|
|
2600
|
-
proxied?: boolean;
|
|
2601
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2602
|
-
tags?: string[];
|
|
2603
|
-
}
|
|
2604
|
-
| {
|
|
2605
|
-
zoneId: string;
|
|
2606
|
-
name: string;
|
|
2607
|
-
ttl: number;
|
|
2608
|
-
type: "TLSA";
|
|
2609
|
-
comment?: string;
|
|
2610
|
-
data?: {
|
|
2611
|
-
certificate?: string;
|
|
2612
|
-
matchingType?: number;
|
|
2613
|
-
selector?: number;
|
|
2614
|
-
usage?: number;
|
|
2615
|
-
};
|
|
2616
|
-
proxied?: boolean;
|
|
2617
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2618
|
-
tags?: string[];
|
|
2619
|
-
}
|
|
2620
|
-
| {
|
|
2621
|
-
zoneId: string;
|
|
2622
|
-
name: string;
|
|
2623
|
-
ttl: number;
|
|
2624
|
-
type: "URI";
|
|
2625
|
-
comment?: string;
|
|
2626
|
-
data?: { target?: string; weight?: number };
|
|
2627
|
-
priority?: number;
|
|
2628
|
-
proxied?: boolean;
|
|
2629
|
-
settings?: { ipv4Only?: boolean; ipv6Only?: boolean };
|
|
2630
|
-
tags?: string[];
|
|
2631
|
-
}
|
|
2632
|
-
)[];
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
|
-
export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2636
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2637
|
-
deletes: Schema.optional(
|
|
2638
|
-
Schema.Array(
|
|
2639
|
-
Schema.Struct({
|
|
2640
|
-
id: Schema.String,
|
|
2641
|
-
}),
|
|
2642
|
-
),
|
|
2643
|
-
),
|
|
2644
|
-
patches: Schema.optional(
|
|
2645
|
-
Schema.Array(
|
|
2646
|
-
Schema.Union([
|
|
2647
|
-
Schema.Struct({
|
|
2648
|
-
zoneId: Schema.String,
|
|
2649
|
-
name: Schema.String,
|
|
2650
|
-
ttl: Schema.Number,
|
|
2651
|
-
type: Schema.Literal("A"),
|
|
2652
|
-
comment: Schema.optional(Schema.String),
|
|
2653
|
-
content: Schema.optional(Schema.String),
|
|
2654
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2655
|
-
settings: Schema.optional(
|
|
2656
|
-
Schema.Struct({
|
|
2657
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2658
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2659
|
-
}).pipe(
|
|
2660
|
-
Schema.encodeKeys({
|
|
2661
|
-
ipv4Only: "ipv4_only",
|
|
2662
|
-
ipv6Only: "ipv6_only",
|
|
2663
|
-
}),
|
|
2664
|
-
),
|
|
2665
|
-
),
|
|
2666
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2667
|
-
}).pipe(
|
|
2668
|
-
Schema.encodeKeys({
|
|
2669
|
-
zoneId: "zone_id",
|
|
2670
|
-
name: "name",
|
|
2671
|
-
ttl: "ttl",
|
|
2672
|
-
type: "type",
|
|
2673
|
-
comment: "comment",
|
|
2674
|
-
content: "content",
|
|
2675
|
-
proxied: "proxied",
|
|
2676
|
-
settings: "settings",
|
|
2677
|
-
tags: "tags",
|
|
2678
|
-
}),
|
|
2679
|
-
),
|
|
2680
|
-
Schema.Struct({
|
|
2681
|
-
zoneId: Schema.String,
|
|
2682
|
-
name: Schema.String,
|
|
2683
|
-
ttl: Schema.Number,
|
|
2684
|
-
type: Schema.Literal("AAAA"),
|
|
2685
|
-
comment: Schema.optional(Schema.String),
|
|
2686
|
-
content: Schema.optional(Schema.String),
|
|
2687
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2688
|
-
settings: Schema.optional(
|
|
2689
|
-
Schema.Struct({
|
|
2690
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2691
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2692
|
-
}).pipe(
|
|
2693
|
-
Schema.encodeKeys({
|
|
2694
|
-
ipv4Only: "ipv4_only",
|
|
2695
|
-
ipv6Only: "ipv6_only",
|
|
2696
|
-
}),
|
|
2697
|
-
),
|
|
2698
|
-
),
|
|
2699
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2700
|
-
}).pipe(
|
|
2701
|
-
Schema.encodeKeys({
|
|
2702
|
-
zoneId: "zone_id",
|
|
2703
|
-
name: "name",
|
|
2704
|
-
ttl: "ttl",
|
|
2705
|
-
type: "type",
|
|
2706
|
-
comment: "comment",
|
|
2707
|
-
content: "content",
|
|
2708
|
-
proxied: "proxied",
|
|
2709
|
-
settings: "settings",
|
|
2710
|
-
tags: "tags",
|
|
2711
|
-
}),
|
|
2712
|
-
),
|
|
2713
|
-
Schema.Struct({
|
|
2714
|
-
zoneId: Schema.String,
|
|
2715
|
-
name: Schema.String,
|
|
2716
|
-
ttl: Schema.Number,
|
|
2717
|
-
type: Schema.Literal("CNAME"),
|
|
2718
|
-
comment: Schema.optional(Schema.String),
|
|
2719
|
-
content: Schema.optional(Schema.String),
|
|
2720
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2721
|
-
settings: Schema.optional(
|
|
2722
|
-
Schema.Struct({
|
|
2723
|
-
flattenCname: Schema.optional(Schema.Boolean),
|
|
2724
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2725
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2726
|
-
}).pipe(
|
|
2727
|
-
Schema.encodeKeys({
|
|
2728
|
-
flattenCname: "flatten_cname",
|
|
2729
|
-
ipv4Only: "ipv4_only",
|
|
2730
|
-
ipv6Only: "ipv6_only",
|
|
2731
|
-
}),
|
|
2732
|
-
),
|
|
2733
|
-
),
|
|
2734
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2735
|
-
}).pipe(
|
|
2736
|
-
Schema.encodeKeys({
|
|
2737
|
-
zoneId: "zone_id",
|
|
2738
|
-
name: "name",
|
|
2739
|
-
ttl: "ttl",
|
|
2740
|
-
type: "type",
|
|
2741
|
-
comment: "comment",
|
|
2742
|
-
content: "content",
|
|
2743
|
-
proxied: "proxied",
|
|
2744
|
-
settings: "settings",
|
|
2745
|
-
tags: "tags",
|
|
2746
|
-
}),
|
|
2747
|
-
),
|
|
2748
|
-
Schema.Struct({
|
|
2749
|
-
zoneId: Schema.String,
|
|
2750
|
-
name: Schema.String,
|
|
2751
|
-
ttl: Schema.Number,
|
|
2752
|
-
type: Schema.Literal("MX"),
|
|
2753
|
-
comment: Schema.optional(Schema.String),
|
|
2754
|
-
content: Schema.optional(Schema.String),
|
|
2755
|
-
priority: Schema.optional(Schema.Number),
|
|
2756
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2757
|
-
settings: Schema.optional(
|
|
2758
|
-
Schema.Struct({
|
|
2759
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2760
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2761
|
-
}).pipe(
|
|
2762
|
-
Schema.encodeKeys({
|
|
2763
|
-
ipv4Only: "ipv4_only",
|
|
2764
|
-
ipv6Only: "ipv6_only",
|
|
2765
|
-
}),
|
|
2766
|
-
),
|
|
2767
|
-
),
|
|
2768
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2769
|
-
}).pipe(
|
|
2770
|
-
Schema.encodeKeys({
|
|
2771
|
-
zoneId: "zone_id",
|
|
2772
|
-
name: "name",
|
|
2773
|
-
ttl: "ttl",
|
|
2774
|
-
type: "type",
|
|
2775
|
-
comment: "comment",
|
|
2776
|
-
content: "content",
|
|
2777
|
-
priority: "priority",
|
|
2778
|
-
proxied: "proxied",
|
|
2779
|
-
settings: "settings",
|
|
2780
|
-
tags: "tags",
|
|
2781
|
-
}),
|
|
2782
|
-
),
|
|
2783
|
-
Schema.Struct({
|
|
2784
|
-
zoneId: Schema.String,
|
|
2785
|
-
name: Schema.String,
|
|
2786
|
-
ttl: Schema.Number,
|
|
2787
|
-
type: Schema.Literal("NS"),
|
|
2788
|
-
comment: Schema.optional(Schema.String),
|
|
2789
|
-
content: Schema.optional(Schema.String),
|
|
2790
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2791
|
-
settings: Schema.optional(
|
|
2792
|
-
Schema.Struct({
|
|
2793
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2794
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2795
|
-
}).pipe(
|
|
2796
|
-
Schema.encodeKeys({
|
|
2797
|
-
ipv4Only: "ipv4_only",
|
|
2798
|
-
ipv6Only: "ipv6_only",
|
|
2799
|
-
}),
|
|
2800
|
-
),
|
|
2801
|
-
),
|
|
2802
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2803
|
-
}).pipe(
|
|
2804
|
-
Schema.encodeKeys({
|
|
2805
|
-
zoneId: "zone_id",
|
|
2806
|
-
name: "name",
|
|
2807
|
-
ttl: "ttl",
|
|
2808
|
-
type: "type",
|
|
2809
|
-
comment: "comment",
|
|
2810
|
-
content: "content",
|
|
2811
|
-
proxied: "proxied",
|
|
2812
|
-
settings: "settings",
|
|
2813
|
-
tags: "tags",
|
|
2814
|
-
}),
|
|
2815
|
-
),
|
|
2816
|
-
Schema.Struct({
|
|
2817
|
-
id: Schema.String,
|
|
2818
|
-
name: Schema.String,
|
|
2819
|
-
ttl: Schema.Number,
|
|
2820
|
-
type: Schema.Literal("OPENPGPKEY"),
|
|
2821
|
-
comment: Schema.optional(Schema.String),
|
|
2822
|
-
content: Schema.optional(Schema.String),
|
|
2823
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2824
|
-
settings: Schema.optional(
|
|
2825
|
-
Schema.Struct({
|
|
2826
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2827
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2828
|
-
}).pipe(
|
|
2829
|
-
Schema.encodeKeys({
|
|
2830
|
-
ipv4Only: "ipv4_only",
|
|
2831
|
-
ipv6Only: "ipv6_only",
|
|
2832
|
-
}),
|
|
2833
|
-
),
|
|
2834
|
-
),
|
|
2835
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2836
|
-
}),
|
|
2837
|
-
Schema.Struct({
|
|
2838
|
-
zoneId: Schema.String,
|
|
2839
|
-
name: Schema.String,
|
|
2840
|
-
ttl: Schema.Number,
|
|
2841
|
-
type: Schema.Literal("PTR"),
|
|
2842
|
-
comment: Schema.optional(Schema.String),
|
|
2843
|
-
content: Schema.optional(Schema.String),
|
|
2844
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2845
|
-
settings: Schema.optional(
|
|
2846
|
-
Schema.Struct({
|
|
2847
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2848
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2849
|
-
}).pipe(
|
|
2850
|
-
Schema.encodeKeys({
|
|
2851
|
-
ipv4Only: "ipv4_only",
|
|
2852
|
-
ipv6Only: "ipv6_only",
|
|
2853
|
-
}),
|
|
2854
|
-
),
|
|
2855
|
-
),
|
|
2856
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2857
|
-
}).pipe(
|
|
2858
|
-
Schema.encodeKeys({
|
|
2859
|
-
zoneId: "zone_id",
|
|
2860
|
-
name: "name",
|
|
2861
|
-
ttl: "ttl",
|
|
2862
|
-
type: "type",
|
|
2863
|
-
comment: "comment",
|
|
2864
|
-
content: "content",
|
|
2865
|
-
proxied: "proxied",
|
|
2866
|
-
settings: "settings",
|
|
2867
|
-
tags: "tags",
|
|
2868
|
-
}),
|
|
2869
|
-
),
|
|
2870
|
-
Schema.Struct({
|
|
2871
|
-
zoneId: Schema.String,
|
|
2872
|
-
name: Schema.String,
|
|
2873
|
-
ttl: Schema.Number,
|
|
2874
|
-
type: Schema.Literal("TXT"),
|
|
2875
|
-
comment: Schema.optional(Schema.String),
|
|
2876
|
-
content: Schema.optional(Schema.String),
|
|
2877
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2878
|
-
settings: Schema.optional(
|
|
2879
|
-
Schema.Struct({
|
|
2880
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2881
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2882
|
-
}).pipe(
|
|
2883
|
-
Schema.encodeKeys({
|
|
2884
|
-
ipv4Only: "ipv4_only",
|
|
2885
|
-
ipv6Only: "ipv6_only",
|
|
2886
|
-
}),
|
|
2887
|
-
),
|
|
2888
|
-
),
|
|
2889
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2890
|
-
}).pipe(
|
|
2891
|
-
Schema.encodeKeys({
|
|
2892
|
-
zoneId: "zone_id",
|
|
2893
|
-
name: "name",
|
|
2894
|
-
ttl: "ttl",
|
|
2895
|
-
type: "type",
|
|
2896
|
-
comment: "comment",
|
|
2897
|
-
content: "content",
|
|
2898
|
-
proxied: "proxied",
|
|
2899
|
-
settings: "settings",
|
|
2900
|
-
tags: "tags",
|
|
2901
|
-
}),
|
|
2902
|
-
),
|
|
2903
|
-
Schema.Struct({
|
|
2904
|
-
zoneId: Schema.String,
|
|
2905
|
-
name: Schema.String,
|
|
2906
|
-
ttl: Schema.Number,
|
|
2907
|
-
type: Schema.Literal("CAA"),
|
|
2908
|
-
comment: Schema.optional(Schema.String),
|
|
2909
|
-
data: Schema.optional(
|
|
2910
|
-
Schema.Struct({
|
|
2911
|
-
flags: Schema.optional(Schema.Number),
|
|
2912
|
-
tag: Schema.optional(Schema.String),
|
|
2913
|
-
value: Schema.optional(Schema.String),
|
|
2914
|
-
}),
|
|
2915
|
-
),
|
|
2916
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2917
|
-
settings: Schema.optional(
|
|
2918
|
-
Schema.Struct({
|
|
2919
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2920
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2921
|
-
}).pipe(
|
|
2922
|
-
Schema.encodeKeys({
|
|
2923
|
-
ipv4Only: "ipv4_only",
|
|
2924
|
-
ipv6Only: "ipv6_only",
|
|
2925
|
-
}),
|
|
2926
|
-
),
|
|
2927
|
-
),
|
|
2928
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2929
|
-
}).pipe(
|
|
2930
|
-
Schema.encodeKeys({
|
|
2931
|
-
zoneId: "zone_id",
|
|
2932
|
-
name: "name",
|
|
2933
|
-
ttl: "ttl",
|
|
2934
|
-
type: "type",
|
|
2935
|
-
comment: "comment",
|
|
2936
|
-
data: "data",
|
|
2937
|
-
proxied: "proxied",
|
|
2938
|
-
settings: "settings",
|
|
2939
|
-
tags: "tags",
|
|
2940
|
-
}),
|
|
2941
|
-
),
|
|
2942
|
-
Schema.Struct({
|
|
2943
|
-
zoneId: Schema.String,
|
|
2944
|
-
name: Schema.String,
|
|
2945
|
-
ttl: Schema.Number,
|
|
2946
|
-
type: Schema.Literal("CERT"),
|
|
2947
|
-
comment: Schema.optional(Schema.String),
|
|
2948
|
-
data: Schema.optional(
|
|
2949
|
-
Schema.Struct({
|
|
2950
|
-
algorithm: Schema.optional(Schema.Number),
|
|
2951
|
-
certificate: Schema.optional(Schema.String),
|
|
2952
|
-
keyTag: Schema.optional(Schema.Number),
|
|
2953
|
-
type: Schema.optional(Schema.Number),
|
|
2954
|
-
}).pipe(
|
|
2955
|
-
Schema.encodeKeys({
|
|
2956
|
-
algorithm: "algorithm",
|
|
2957
|
-
certificate: "certificate",
|
|
2958
|
-
keyTag: "key_tag",
|
|
2959
|
-
type: "type",
|
|
2960
|
-
}),
|
|
2961
|
-
),
|
|
2962
|
-
),
|
|
2963
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
2964
|
-
settings: Schema.optional(
|
|
2965
|
-
Schema.Struct({
|
|
2966
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2967
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2968
|
-
}).pipe(
|
|
2969
|
-
Schema.encodeKeys({
|
|
2970
|
-
ipv4Only: "ipv4_only",
|
|
2971
|
-
ipv6Only: "ipv6_only",
|
|
2972
|
-
}),
|
|
2973
|
-
),
|
|
2974
|
-
),
|
|
2975
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2976
|
-
}).pipe(
|
|
2977
|
-
Schema.encodeKeys({
|
|
2978
|
-
zoneId: "zone_id",
|
|
2979
|
-
name: "name",
|
|
2980
|
-
ttl: "ttl",
|
|
2981
|
-
type: "type",
|
|
2982
|
-
comment: "comment",
|
|
2983
|
-
data: "data",
|
|
2984
|
-
proxied: "proxied",
|
|
2985
|
-
settings: "settings",
|
|
2986
|
-
tags: "tags",
|
|
2987
|
-
}),
|
|
2988
|
-
),
|
|
2989
|
-
Schema.Struct({
|
|
2990
|
-
zoneId: Schema.String,
|
|
2991
|
-
name: Schema.String,
|
|
2992
|
-
ttl: Schema.Number,
|
|
2993
|
-
type: Schema.Literal("DNSKEY"),
|
|
2994
|
-
comment: Schema.optional(Schema.String),
|
|
2995
|
-
data: Schema.optional(
|
|
2996
|
-
Schema.Struct({
|
|
2997
|
-
algorithm: Schema.optional(Schema.Number),
|
|
2998
|
-
flags: Schema.optional(Schema.Number),
|
|
2999
|
-
protocol: Schema.optional(Schema.Number),
|
|
3000
|
-
publicKey: Schema.optional(Schema.String),
|
|
3001
|
-
}).pipe(
|
|
3002
|
-
Schema.encodeKeys({
|
|
3003
|
-
algorithm: "algorithm",
|
|
3004
|
-
flags: "flags",
|
|
3005
|
-
protocol: "protocol",
|
|
3006
|
-
publicKey: "public_key",
|
|
3007
|
-
}),
|
|
3008
|
-
),
|
|
3009
|
-
),
|
|
3010
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3011
|
-
settings: Schema.optional(
|
|
3012
|
-
Schema.Struct({
|
|
3013
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3014
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3015
|
-
}).pipe(
|
|
3016
|
-
Schema.encodeKeys({
|
|
3017
|
-
ipv4Only: "ipv4_only",
|
|
3018
|
-
ipv6Only: "ipv6_only",
|
|
3019
|
-
}),
|
|
3020
|
-
),
|
|
3021
|
-
),
|
|
3022
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3023
|
-
}).pipe(
|
|
3024
|
-
Schema.encodeKeys({
|
|
3025
|
-
zoneId: "zone_id",
|
|
3026
|
-
name: "name",
|
|
3027
|
-
ttl: "ttl",
|
|
3028
|
-
type: "type",
|
|
3029
|
-
comment: "comment",
|
|
3030
|
-
data: "data",
|
|
3031
|
-
proxied: "proxied",
|
|
3032
|
-
settings: "settings",
|
|
3033
|
-
tags: "tags",
|
|
3034
|
-
}),
|
|
3035
|
-
),
|
|
3036
|
-
Schema.Struct({
|
|
3037
|
-
zoneId: Schema.String,
|
|
3038
|
-
name: Schema.String,
|
|
3039
|
-
ttl: Schema.Number,
|
|
3040
|
-
type: Schema.Literal("DS"),
|
|
3041
|
-
comment: Schema.optional(Schema.String),
|
|
3042
|
-
data: Schema.optional(
|
|
3043
|
-
Schema.Struct({
|
|
3044
|
-
algorithm: Schema.optional(Schema.Number),
|
|
3045
|
-
digest: Schema.optional(Schema.String),
|
|
3046
|
-
digestType: Schema.optional(Schema.Number),
|
|
3047
|
-
keyTag: Schema.optional(Schema.Number),
|
|
3048
|
-
}).pipe(
|
|
3049
|
-
Schema.encodeKeys({
|
|
3050
|
-
algorithm: "algorithm",
|
|
3051
|
-
digest: "digest",
|
|
3052
|
-
digestType: "digest_type",
|
|
3053
|
-
keyTag: "key_tag",
|
|
3054
|
-
}),
|
|
3055
|
-
),
|
|
3056
|
-
),
|
|
3057
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3058
|
-
settings: Schema.optional(
|
|
3059
|
-
Schema.Struct({
|
|
3060
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3061
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3062
|
-
}).pipe(
|
|
3063
|
-
Schema.encodeKeys({
|
|
3064
|
-
ipv4Only: "ipv4_only",
|
|
3065
|
-
ipv6Only: "ipv6_only",
|
|
3066
|
-
}),
|
|
3067
|
-
),
|
|
3068
|
-
),
|
|
3069
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3070
|
-
}).pipe(
|
|
3071
|
-
Schema.encodeKeys({
|
|
3072
|
-
zoneId: "zone_id",
|
|
3073
|
-
name: "name",
|
|
3074
|
-
ttl: "ttl",
|
|
3075
|
-
type: "type",
|
|
3076
|
-
comment: "comment",
|
|
3077
|
-
data: "data",
|
|
3078
|
-
proxied: "proxied",
|
|
3079
|
-
settings: "settings",
|
|
3080
|
-
tags: "tags",
|
|
3081
|
-
}),
|
|
3082
|
-
),
|
|
3083
|
-
Schema.Struct({
|
|
3084
|
-
zoneId: Schema.String,
|
|
3085
|
-
name: Schema.String,
|
|
3086
|
-
ttl: Schema.Number,
|
|
3087
|
-
type: Schema.Literal("HTTPS"),
|
|
3088
|
-
comment: Schema.optional(Schema.String),
|
|
3089
|
-
data: Schema.optional(
|
|
3090
|
-
Schema.Struct({
|
|
3091
|
-
priority: Schema.optional(Schema.Number),
|
|
3092
|
-
target: Schema.optional(Schema.String),
|
|
3093
|
-
value: Schema.optional(Schema.String),
|
|
3094
|
-
}),
|
|
3095
|
-
),
|
|
3096
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3097
|
-
settings: Schema.optional(
|
|
3098
|
-
Schema.Struct({
|
|
3099
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3100
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3101
|
-
}).pipe(
|
|
3102
|
-
Schema.encodeKeys({
|
|
3103
|
-
ipv4Only: "ipv4_only",
|
|
3104
|
-
ipv6Only: "ipv6_only",
|
|
3105
|
-
}),
|
|
3106
|
-
),
|
|
3107
|
-
),
|
|
3108
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3109
|
-
}).pipe(
|
|
3110
|
-
Schema.encodeKeys({
|
|
3111
|
-
zoneId: "zone_id",
|
|
3112
|
-
name: "name",
|
|
3113
|
-
ttl: "ttl",
|
|
3114
|
-
type: "type",
|
|
3115
|
-
comment: "comment",
|
|
3116
|
-
data: "data",
|
|
3117
|
-
proxied: "proxied",
|
|
3118
|
-
settings: "settings",
|
|
3119
|
-
tags: "tags",
|
|
3120
|
-
}),
|
|
3121
|
-
),
|
|
3122
|
-
Schema.Struct({
|
|
3123
|
-
zoneId: Schema.String,
|
|
3124
|
-
name: Schema.String,
|
|
3125
|
-
ttl: Schema.Number,
|
|
3126
|
-
type: Schema.Literal("LOC"),
|
|
3127
|
-
comment: Schema.optional(Schema.String),
|
|
3128
|
-
data: Schema.optional(
|
|
3129
|
-
Schema.Struct({
|
|
3130
|
-
altitude: Schema.optional(Schema.Number),
|
|
3131
|
-
latDegrees: Schema.optional(Schema.Number),
|
|
3132
|
-
latDirection: Schema.optional(Schema.Literals(["N", "S"])),
|
|
3133
|
-
latMinutes: Schema.optional(Schema.Number),
|
|
3134
|
-
latSeconds: Schema.optional(Schema.Number),
|
|
3135
|
-
longDegrees: Schema.optional(Schema.Number),
|
|
3136
|
-
longDirection: Schema.optional(Schema.Literals(["E", "W"])),
|
|
3137
|
-
longMinutes: Schema.optional(Schema.Number),
|
|
3138
|
-
longSeconds: Schema.optional(Schema.Number),
|
|
3139
|
-
precisionHorz: Schema.optional(Schema.Number),
|
|
3140
|
-
precisionVert: Schema.optional(Schema.Number),
|
|
3141
|
-
size: Schema.optional(Schema.Number),
|
|
3142
|
-
}).pipe(
|
|
3143
|
-
Schema.encodeKeys({
|
|
3144
|
-
altitude: "altitude",
|
|
3145
|
-
latDegrees: "lat_degrees",
|
|
3146
|
-
latDirection: "lat_direction",
|
|
3147
|
-
latMinutes: "lat_minutes",
|
|
3148
|
-
latSeconds: "lat_seconds",
|
|
3149
|
-
longDegrees: "long_degrees",
|
|
3150
|
-
longDirection: "long_direction",
|
|
3151
|
-
longMinutes: "long_minutes",
|
|
3152
|
-
longSeconds: "long_seconds",
|
|
3153
|
-
precisionHorz: "precision_horz",
|
|
3154
|
-
precisionVert: "precision_vert",
|
|
3155
|
-
size: "size",
|
|
3156
|
-
}),
|
|
3157
|
-
),
|
|
3158
|
-
),
|
|
3159
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3160
|
-
settings: Schema.optional(
|
|
3161
|
-
Schema.Struct({
|
|
3162
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3163
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3164
|
-
}).pipe(
|
|
3165
|
-
Schema.encodeKeys({
|
|
3166
|
-
ipv4Only: "ipv4_only",
|
|
3167
|
-
ipv6Only: "ipv6_only",
|
|
3168
|
-
}),
|
|
3169
|
-
),
|
|
3170
|
-
),
|
|
3171
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3172
|
-
}).pipe(
|
|
3173
|
-
Schema.encodeKeys({
|
|
3174
|
-
zoneId: "zone_id",
|
|
3175
|
-
name: "name",
|
|
3176
|
-
ttl: "ttl",
|
|
3177
|
-
type: "type",
|
|
3178
|
-
comment: "comment",
|
|
3179
|
-
data: "data",
|
|
3180
|
-
proxied: "proxied",
|
|
3181
|
-
settings: "settings",
|
|
3182
|
-
tags: "tags",
|
|
3183
|
-
}),
|
|
3184
|
-
),
|
|
3185
|
-
Schema.Struct({
|
|
3186
|
-
zoneId: Schema.String,
|
|
3187
|
-
name: Schema.String,
|
|
3188
|
-
ttl: Schema.Number,
|
|
3189
|
-
type: Schema.Literal("NAPTR"),
|
|
3190
|
-
comment: Schema.optional(Schema.String),
|
|
3191
|
-
data: Schema.optional(
|
|
3192
|
-
Schema.Struct({
|
|
3193
|
-
flags: Schema.optional(Schema.String),
|
|
3194
|
-
order: Schema.optional(Schema.Number),
|
|
3195
|
-
preference: Schema.optional(Schema.Number),
|
|
3196
|
-
regex: Schema.optional(Schema.String),
|
|
3197
|
-
replacement: Schema.optional(Schema.String),
|
|
3198
|
-
service: Schema.optional(Schema.String),
|
|
3199
|
-
}),
|
|
3200
|
-
),
|
|
3201
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3202
|
-
settings: Schema.optional(
|
|
3203
|
-
Schema.Struct({
|
|
3204
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3205
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3206
|
-
}).pipe(
|
|
3207
|
-
Schema.encodeKeys({
|
|
3208
|
-
ipv4Only: "ipv4_only",
|
|
3209
|
-
ipv6Only: "ipv6_only",
|
|
3210
|
-
}),
|
|
3211
|
-
),
|
|
3212
|
-
),
|
|
3213
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3214
|
-
}).pipe(
|
|
3215
|
-
Schema.encodeKeys({
|
|
3216
|
-
zoneId: "zone_id",
|
|
3217
|
-
name: "name",
|
|
3218
|
-
ttl: "ttl",
|
|
3219
|
-
type: "type",
|
|
3220
|
-
comment: "comment",
|
|
3221
|
-
data: "data",
|
|
3222
|
-
proxied: "proxied",
|
|
3223
|
-
settings: "settings",
|
|
3224
|
-
tags: "tags",
|
|
3225
|
-
}),
|
|
3226
|
-
),
|
|
3227
|
-
Schema.Struct({
|
|
3228
|
-
zoneId: Schema.String,
|
|
3229
|
-
name: Schema.String,
|
|
3230
|
-
ttl: Schema.Number,
|
|
3231
|
-
type: Schema.Literal("SMIMEA"),
|
|
3232
|
-
comment: Schema.optional(Schema.String),
|
|
3233
|
-
data: Schema.optional(
|
|
3234
|
-
Schema.Struct({
|
|
3235
|
-
certificate: Schema.optional(Schema.String),
|
|
3236
|
-
matchingType: Schema.optional(Schema.Number),
|
|
3237
|
-
selector: Schema.optional(Schema.Number),
|
|
3238
|
-
usage: Schema.optional(Schema.Number),
|
|
3239
|
-
}).pipe(
|
|
3240
|
-
Schema.encodeKeys({
|
|
3241
|
-
certificate: "certificate",
|
|
3242
|
-
matchingType: "matching_type",
|
|
3243
|
-
selector: "selector",
|
|
3244
|
-
usage: "usage",
|
|
3245
|
-
}),
|
|
3246
|
-
),
|
|
3247
|
-
),
|
|
3248
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3249
|
-
settings: Schema.optional(
|
|
3250
|
-
Schema.Struct({
|
|
3251
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3252
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3253
|
-
}).pipe(
|
|
3254
|
-
Schema.encodeKeys({
|
|
3255
|
-
ipv4Only: "ipv4_only",
|
|
3256
|
-
ipv6Only: "ipv6_only",
|
|
3257
|
-
}),
|
|
3258
|
-
),
|
|
3259
|
-
),
|
|
3260
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3261
|
-
}).pipe(
|
|
3262
|
-
Schema.encodeKeys({
|
|
3263
|
-
zoneId: "zone_id",
|
|
3264
|
-
name: "name",
|
|
3265
|
-
ttl: "ttl",
|
|
3266
|
-
type: "type",
|
|
3267
|
-
comment: "comment",
|
|
3268
|
-
data: "data",
|
|
3269
|
-
proxied: "proxied",
|
|
3270
|
-
settings: "settings",
|
|
3271
|
-
tags: "tags",
|
|
3272
|
-
}),
|
|
3273
|
-
),
|
|
3274
|
-
Schema.Struct({
|
|
3275
|
-
zoneId: Schema.String,
|
|
3276
|
-
name: Schema.String,
|
|
3277
|
-
ttl: Schema.Number,
|
|
3278
|
-
type: Schema.Literal("SRV"),
|
|
3279
|
-
comment: Schema.optional(Schema.String),
|
|
3280
|
-
data: Schema.optional(
|
|
3281
|
-
Schema.Struct({
|
|
3282
|
-
port: Schema.optional(Schema.Number),
|
|
3283
|
-
priority: Schema.optional(Schema.Number),
|
|
3284
|
-
target: Schema.optional(Schema.String),
|
|
3285
|
-
weight: Schema.optional(Schema.Number),
|
|
3286
|
-
}),
|
|
3287
|
-
),
|
|
3288
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3289
|
-
settings: Schema.optional(
|
|
3290
|
-
Schema.Struct({
|
|
3291
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3292
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3293
|
-
}).pipe(
|
|
3294
|
-
Schema.encodeKeys({
|
|
3295
|
-
ipv4Only: "ipv4_only",
|
|
3296
|
-
ipv6Only: "ipv6_only",
|
|
3297
|
-
}),
|
|
3298
|
-
),
|
|
3299
|
-
),
|
|
3300
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3301
|
-
}).pipe(
|
|
3302
|
-
Schema.encodeKeys({
|
|
3303
|
-
zoneId: "zone_id",
|
|
3304
|
-
name: "name",
|
|
3305
|
-
ttl: "ttl",
|
|
3306
|
-
type: "type",
|
|
3307
|
-
comment: "comment",
|
|
3308
|
-
data: "data",
|
|
3309
|
-
proxied: "proxied",
|
|
3310
|
-
settings: "settings",
|
|
3311
|
-
tags: "tags",
|
|
3312
|
-
}),
|
|
3313
|
-
),
|
|
3314
|
-
Schema.Struct({
|
|
3315
|
-
zoneId: Schema.String,
|
|
3316
|
-
name: Schema.String,
|
|
3317
|
-
ttl: Schema.Number,
|
|
3318
|
-
type: Schema.Literal("SSHFP"),
|
|
3319
|
-
comment: Schema.optional(Schema.String),
|
|
3320
|
-
data: Schema.optional(
|
|
3321
|
-
Schema.Struct({
|
|
3322
|
-
algorithm: Schema.optional(Schema.Number),
|
|
3323
|
-
fingerprint: Schema.optional(Schema.String),
|
|
3324
|
-
type: Schema.optional(Schema.Number),
|
|
3325
|
-
}),
|
|
3326
|
-
),
|
|
3327
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3328
|
-
settings: Schema.optional(
|
|
3329
|
-
Schema.Struct({
|
|
3330
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3331
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3332
|
-
}).pipe(
|
|
3333
|
-
Schema.encodeKeys({
|
|
3334
|
-
ipv4Only: "ipv4_only",
|
|
3335
|
-
ipv6Only: "ipv6_only",
|
|
3336
|
-
}),
|
|
3337
|
-
),
|
|
3338
|
-
),
|
|
3339
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3340
|
-
}).pipe(
|
|
3341
|
-
Schema.encodeKeys({
|
|
3342
|
-
zoneId: "zone_id",
|
|
3343
|
-
name: "name",
|
|
3344
|
-
ttl: "ttl",
|
|
3345
|
-
type: "type",
|
|
3346
|
-
comment: "comment",
|
|
3347
|
-
data: "data",
|
|
3348
|
-
proxied: "proxied",
|
|
3349
|
-
settings: "settings",
|
|
3350
|
-
tags: "tags",
|
|
3351
|
-
}),
|
|
3352
|
-
),
|
|
3353
|
-
Schema.Struct({
|
|
3354
|
-
zoneId: Schema.String,
|
|
3355
|
-
name: Schema.String,
|
|
3356
|
-
ttl: Schema.Number,
|
|
3357
|
-
type: Schema.Literal("SVCB"),
|
|
3358
|
-
comment: Schema.optional(Schema.String),
|
|
3359
|
-
data: Schema.optional(
|
|
3360
|
-
Schema.Struct({
|
|
3361
|
-
priority: Schema.optional(Schema.Number),
|
|
3362
|
-
target: Schema.optional(Schema.String),
|
|
3363
|
-
value: Schema.optional(Schema.String),
|
|
3364
|
-
}),
|
|
3365
|
-
),
|
|
3366
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3367
|
-
settings: Schema.optional(
|
|
3368
|
-
Schema.Struct({
|
|
3369
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3370
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3371
|
-
}).pipe(
|
|
3372
|
-
Schema.encodeKeys({
|
|
3373
|
-
ipv4Only: "ipv4_only",
|
|
3374
|
-
ipv6Only: "ipv6_only",
|
|
3375
|
-
}),
|
|
3376
|
-
),
|
|
3377
|
-
),
|
|
3378
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3379
|
-
}).pipe(
|
|
3380
|
-
Schema.encodeKeys({
|
|
3381
|
-
zoneId: "zone_id",
|
|
3382
|
-
name: "name",
|
|
3383
|
-
ttl: "ttl",
|
|
3384
|
-
type: "type",
|
|
3385
|
-
comment: "comment",
|
|
3386
|
-
data: "data",
|
|
3387
|
-
proxied: "proxied",
|
|
3388
|
-
settings: "settings",
|
|
3389
|
-
tags: "tags",
|
|
3390
|
-
}),
|
|
3391
|
-
),
|
|
3392
|
-
Schema.Struct({
|
|
3393
|
-
zoneId: Schema.String,
|
|
3394
|
-
name: Schema.String,
|
|
3395
|
-
ttl: Schema.Number,
|
|
3396
|
-
type: Schema.Literal("TLSA"),
|
|
3397
|
-
comment: Schema.optional(Schema.String),
|
|
3398
|
-
data: Schema.optional(
|
|
3399
|
-
Schema.Struct({
|
|
3400
|
-
certificate: Schema.optional(Schema.String),
|
|
3401
|
-
matchingType: Schema.optional(Schema.Number),
|
|
3402
|
-
selector: Schema.optional(Schema.Number),
|
|
3403
|
-
usage: Schema.optional(Schema.Number),
|
|
3404
|
-
}).pipe(
|
|
3405
|
-
Schema.encodeKeys({
|
|
3406
|
-
certificate: "certificate",
|
|
3407
|
-
matchingType: "matching_type",
|
|
3408
|
-
selector: "selector",
|
|
3409
|
-
usage: "usage",
|
|
3410
|
-
}),
|
|
3411
|
-
),
|
|
3412
|
-
),
|
|
3413
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3414
|
-
settings: Schema.optional(
|
|
3415
|
-
Schema.Struct({
|
|
3416
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3417
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3418
|
-
}).pipe(
|
|
3419
|
-
Schema.encodeKeys({
|
|
3420
|
-
ipv4Only: "ipv4_only",
|
|
3421
|
-
ipv6Only: "ipv6_only",
|
|
3422
|
-
}),
|
|
3423
|
-
),
|
|
3424
|
-
),
|
|
3425
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3426
|
-
}).pipe(
|
|
3427
|
-
Schema.encodeKeys({
|
|
3428
|
-
zoneId: "zone_id",
|
|
3429
|
-
name: "name",
|
|
3430
|
-
ttl: "ttl",
|
|
3431
|
-
type: "type",
|
|
3432
|
-
comment: "comment",
|
|
3433
|
-
data: "data",
|
|
3434
|
-
proxied: "proxied",
|
|
3435
|
-
settings: "settings",
|
|
3436
|
-
tags: "tags",
|
|
3437
|
-
}),
|
|
3438
|
-
),
|
|
3439
|
-
Schema.Struct({
|
|
3440
|
-
zoneId: Schema.String,
|
|
3441
|
-
name: Schema.String,
|
|
3442
|
-
ttl: Schema.Number,
|
|
3443
|
-
type: Schema.Literal("URI"),
|
|
3444
|
-
comment: Schema.optional(Schema.String),
|
|
3445
|
-
data: Schema.optional(
|
|
3446
|
-
Schema.Struct({
|
|
3447
|
-
target: Schema.optional(Schema.String),
|
|
3448
|
-
weight: Schema.optional(Schema.Number),
|
|
3449
|
-
}),
|
|
3450
|
-
),
|
|
3451
|
-
priority: Schema.optional(Schema.Number),
|
|
3452
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3453
|
-
settings: Schema.optional(
|
|
3454
|
-
Schema.Struct({
|
|
3455
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3456
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3457
|
-
}).pipe(
|
|
3458
|
-
Schema.encodeKeys({
|
|
3459
|
-
ipv4Only: "ipv4_only",
|
|
3460
|
-
ipv6Only: "ipv6_only",
|
|
3461
|
-
}),
|
|
3462
|
-
),
|
|
3463
|
-
),
|
|
3464
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3465
|
-
}).pipe(
|
|
3466
|
-
Schema.encodeKeys({
|
|
3467
|
-
zoneId: "zone_id",
|
|
3468
|
-
name: "name",
|
|
3469
|
-
ttl: "ttl",
|
|
3470
|
-
type: "type",
|
|
3471
|
-
comment: "comment",
|
|
3472
|
-
data: "data",
|
|
3473
|
-
priority: "priority",
|
|
3474
|
-
proxied: "proxied",
|
|
3475
|
-
settings: "settings",
|
|
3476
|
-
tags: "tags",
|
|
3477
|
-
}),
|
|
3478
|
-
),
|
|
3479
|
-
]),
|
|
3480
|
-
),
|
|
3481
|
-
),
|
|
3482
|
-
posts: Schema.optional(
|
|
3483
|
-
Schema.Array(
|
|
3484
|
-
Schema.Union([
|
|
3485
|
-
Schema.Struct({
|
|
3486
|
-
name: Schema.String,
|
|
3487
|
-
ttl: Schema.Number,
|
|
3488
|
-
type: Schema.Literal("A"),
|
|
3489
|
-
comment: Schema.optional(Schema.String),
|
|
3490
|
-
content: Schema.optional(Schema.String),
|
|
3491
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3492
|
-
settings: Schema.optional(
|
|
3493
|
-
Schema.Struct({
|
|
3494
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3495
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3496
|
-
}).pipe(
|
|
3497
|
-
Schema.encodeKeys({
|
|
3498
|
-
ipv4Only: "ipv4_only",
|
|
3499
|
-
ipv6Only: "ipv6_only",
|
|
3500
|
-
}),
|
|
3501
|
-
),
|
|
3502
|
-
),
|
|
3503
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3504
|
-
}),
|
|
3505
|
-
Schema.Struct({
|
|
3506
|
-
name: Schema.String,
|
|
3507
|
-
ttl: Schema.Number,
|
|
3508
|
-
type: Schema.Literal("AAAA"),
|
|
3509
|
-
comment: Schema.optional(Schema.String),
|
|
3510
|
-
content: Schema.optional(Schema.String),
|
|
3511
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3512
|
-
settings: Schema.optional(
|
|
3513
|
-
Schema.Struct({
|
|
3514
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3515
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3516
|
-
}).pipe(
|
|
3517
|
-
Schema.encodeKeys({
|
|
3518
|
-
ipv4Only: "ipv4_only",
|
|
3519
|
-
ipv6Only: "ipv6_only",
|
|
3520
|
-
}),
|
|
3521
|
-
),
|
|
3522
|
-
),
|
|
3523
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3524
|
-
}),
|
|
3525
|
-
Schema.Struct({
|
|
3526
|
-
name: Schema.String,
|
|
3527
|
-
ttl: Schema.Number,
|
|
3528
|
-
type: Schema.Literal("CNAME"),
|
|
3529
|
-
comment: Schema.optional(Schema.String),
|
|
3530
|
-
content: Schema.optional(Schema.String),
|
|
3531
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3532
|
-
settings: Schema.optional(
|
|
3533
|
-
Schema.Struct({
|
|
3534
|
-
flattenCname: Schema.optional(Schema.Boolean),
|
|
3535
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3536
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3537
|
-
}).pipe(
|
|
3538
|
-
Schema.encodeKeys({
|
|
3539
|
-
flattenCname: "flatten_cname",
|
|
3540
|
-
ipv4Only: "ipv4_only",
|
|
3541
|
-
ipv6Only: "ipv6_only",
|
|
3542
|
-
}),
|
|
3543
|
-
),
|
|
3544
|
-
),
|
|
3545
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3546
|
-
}),
|
|
3547
|
-
Schema.Struct({
|
|
3548
|
-
name: Schema.String,
|
|
3549
|
-
ttl: Schema.Number,
|
|
3550
|
-
type: Schema.Literal("MX"),
|
|
3551
|
-
comment: Schema.optional(Schema.String),
|
|
3552
|
-
content: Schema.optional(Schema.String),
|
|
3553
|
-
priority: Schema.optional(Schema.Number),
|
|
3554
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3555
|
-
settings: Schema.optional(
|
|
3556
|
-
Schema.Struct({
|
|
3557
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3558
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3559
|
-
}).pipe(
|
|
3560
|
-
Schema.encodeKeys({
|
|
3561
|
-
ipv4Only: "ipv4_only",
|
|
3562
|
-
ipv6Only: "ipv6_only",
|
|
3563
|
-
}),
|
|
3564
|
-
),
|
|
3565
|
-
),
|
|
3566
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3567
|
-
}),
|
|
3568
|
-
Schema.Struct({
|
|
3569
|
-
name: Schema.String,
|
|
3570
|
-
ttl: Schema.Number,
|
|
3571
|
-
type: Schema.Literal("NS"),
|
|
3572
|
-
comment: Schema.optional(Schema.String),
|
|
3573
|
-
content: Schema.optional(Schema.String),
|
|
3574
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3575
|
-
settings: Schema.optional(
|
|
3576
|
-
Schema.Struct({
|
|
3577
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3578
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3579
|
-
}).pipe(
|
|
3580
|
-
Schema.encodeKeys({
|
|
3581
|
-
ipv4Only: "ipv4_only",
|
|
3582
|
-
ipv6Only: "ipv6_only",
|
|
3583
|
-
}),
|
|
3584
|
-
),
|
|
3585
|
-
),
|
|
3586
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3587
|
-
}),
|
|
3588
|
-
Schema.Struct({
|
|
3589
|
-
name: Schema.String,
|
|
3590
|
-
ttl: Schema.Number,
|
|
3591
|
-
type: Schema.Literal("OPENPGPKEY"),
|
|
3592
|
-
comment: Schema.optional(Schema.String),
|
|
3593
|
-
content: Schema.optional(Schema.String),
|
|
3594
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3595
|
-
settings: Schema.optional(
|
|
3596
|
-
Schema.Struct({
|
|
3597
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3598
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3599
|
-
}).pipe(
|
|
3600
|
-
Schema.encodeKeys({
|
|
3601
|
-
ipv4Only: "ipv4_only",
|
|
3602
|
-
ipv6Only: "ipv6_only",
|
|
3603
|
-
}),
|
|
3604
|
-
),
|
|
3605
|
-
),
|
|
3606
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3607
|
-
}),
|
|
3608
|
-
Schema.Struct({
|
|
3609
|
-
name: Schema.String,
|
|
3610
|
-
ttl: Schema.Number,
|
|
3611
|
-
type: Schema.Literal("PTR"),
|
|
3612
|
-
comment: Schema.optional(Schema.String),
|
|
3613
|
-
content: Schema.optional(Schema.String),
|
|
3614
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3615
|
-
settings: Schema.optional(
|
|
3616
|
-
Schema.Struct({
|
|
3617
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3618
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3619
|
-
}).pipe(
|
|
3620
|
-
Schema.encodeKeys({
|
|
3621
|
-
ipv4Only: "ipv4_only",
|
|
3622
|
-
ipv6Only: "ipv6_only",
|
|
3623
|
-
}),
|
|
3624
|
-
),
|
|
3625
|
-
),
|
|
3626
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3627
|
-
}),
|
|
3628
|
-
Schema.Struct({
|
|
3629
|
-
name: Schema.String,
|
|
3630
|
-
ttl: Schema.Number,
|
|
3631
|
-
type: Schema.Literal("TXT"),
|
|
3632
|
-
comment: Schema.optional(Schema.String),
|
|
3633
|
-
content: Schema.optional(Schema.String),
|
|
3634
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3635
|
-
settings: Schema.optional(
|
|
3636
|
-
Schema.Struct({
|
|
3637
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3638
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3639
|
-
}).pipe(
|
|
3640
|
-
Schema.encodeKeys({
|
|
3641
|
-
ipv4Only: "ipv4_only",
|
|
3642
|
-
ipv6Only: "ipv6_only",
|
|
3643
|
-
}),
|
|
3644
|
-
),
|
|
3645
|
-
),
|
|
3646
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3647
|
-
}),
|
|
3648
|
-
Schema.Struct({
|
|
3649
|
-
name: Schema.String,
|
|
3650
|
-
ttl: Schema.Number,
|
|
3651
|
-
type: Schema.Literal("CAA"),
|
|
3652
|
-
comment: Schema.optional(Schema.String),
|
|
3653
|
-
data: Schema.optional(
|
|
3654
|
-
Schema.Struct({
|
|
3655
|
-
flags: Schema.optional(Schema.Number),
|
|
3656
|
-
tag: Schema.optional(Schema.String),
|
|
3657
|
-
value: Schema.optional(Schema.String),
|
|
3658
|
-
}),
|
|
3659
|
-
),
|
|
3660
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3661
|
-
settings: Schema.optional(
|
|
3662
|
-
Schema.Struct({
|
|
3663
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3664
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3665
|
-
}).pipe(
|
|
3666
|
-
Schema.encodeKeys({
|
|
3667
|
-
ipv4Only: "ipv4_only",
|
|
3668
|
-
ipv6Only: "ipv6_only",
|
|
3669
|
-
}),
|
|
3670
|
-
),
|
|
3671
|
-
),
|
|
3672
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3673
|
-
}),
|
|
3674
|
-
Schema.Struct({
|
|
3675
|
-
name: Schema.String,
|
|
3676
|
-
ttl: Schema.Number,
|
|
3677
|
-
type: Schema.Literal("CERT"),
|
|
3678
|
-
comment: Schema.optional(Schema.String),
|
|
3679
|
-
data: Schema.optional(
|
|
3680
|
-
Schema.Struct({
|
|
3681
|
-
algorithm: Schema.optional(Schema.Number),
|
|
3682
|
-
certificate: Schema.optional(Schema.String),
|
|
3683
|
-
keyTag: Schema.optional(Schema.Number),
|
|
3684
|
-
type: Schema.optional(Schema.Number),
|
|
3685
|
-
}).pipe(
|
|
3686
|
-
Schema.encodeKeys({
|
|
3687
|
-
algorithm: "algorithm",
|
|
3688
|
-
certificate: "certificate",
|
|
3689
|
-
keyTag: "key_tag",
|
|
3690
|
-
type: "type",
|
|
3691
|
-
}),
|
|
3692
|
-
),
|
|
3693
|
-
),
|
|
3694
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3695
|
-
settings: Schema.optional(
|
|
3696
|
-
Schema.Struct({
|
|
3697
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3698
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3699
|
-
}).pipe(
|
|
3700
|
-
Schema.encodeKeys({
|
|
3701
|
-
ipv4Only: "ipv4_only",
|
|
3702
|
-
ipv6Only: "ipv6_only",
|
|
3703
|
-
}),
|
|
3704
|
-
),
|
|
3705
|
-
),
|
|
3706
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3707
|
-
}),
|
|
3708
|
-
Schema.Struct({
|
|
3709
|
-
name: Schema.String,
|
|
3710
|
-
ttl: Schema.Number,
|
|
3711
|
-
type: Schema.Literal("DNSKEY"),
|
|
3712
|
-
comment: Schema.optional(Schema.String),
|
|
3713
|
-
data: Schema.optional(
|
|
3714
|
-
Schema.Struct({
|
|
3715
|
-
algorithm: Schema.optional(Schema.Number),
|
|
3716
|
-
flags: Schema.optional(Schema.Number),
|
|
3717
|
-
protocol: Schema.optional(Schema.Number),
|
|
3718
|
-
publicKey: Schema.optional(Schema.String),
|
|
3719
|
-
}).pipe(
|
|
3720
|
-
Schema.encodeKeys({
|
|
3721
|
-
algorithm: "algorithm",
|
|
3722
|
-
flags: "flags",
|
|
3723
|
-
protocol: "protocol",
|
|
3724
|
-
publicKey: "public_key",
|
|
3725
|
-
}),
|
|
3726
|
-
),
|
|
3727
|
-
),
|
|
3728
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3729
|
-
settings: Schema.optional(
|
|
3730
|
-
Schema.Struct({
|
|
3731
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3732
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3733
|
-
}).pipe(
|
|
3734
|
-
Schema.encodeKeys({
|
|
3735
|
-
ipv4Only: "ipv4_only",
|
|
3736
|
-
ipv6Only: "ipv6_only",
|
|
3737
|
-
}),
|
|
3738
|
-
),
|
|
3739
|
-
),
|
|
3740
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3741
|
-
}),
|
|
3742
|
-
Schema.Struct({
|
|
3743
|
-
name: Schema.String,
|
|
3744
|
-
ttl: Schema.Number,
|
|
3745
|
-
type: Schema.Literal("DS"),
|
|
3746
|
-
comment: Schema.optional(Schema.String),
|
|
3747
|
-
data: Schema.optional(
|
|
3748
|
-
Schema.Struct({
|
|
3749
|
-
algorithm: Schema.optional(Schema.Number),
|
|
3750
|
-
digest: Schema.optional(Schema.String),
|
|
3751
|
-
digestType: Schema.optional(Schema.Number),
|
|
3752
|
-
keyTag: Schema.optional(Schema.Number),
|
|
3753
|
-
}).pipe(
|
|
3754
|
-
Schema.encodeKeys({
|
|
3755
|
-
algorithm: "algorithm",
|
|
3756
|
-
digest: "digest",
|
|
3757
|
-
digestType: "digest_type",
|
|
3758
|
-
keyTag: "key_tag",
|
|
3759
|
-
}),
|
|
3760
|
-
),
|
|
3761
|
-
),
|
|
3762
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3763
|
-
settings: Schema.optional(
|
|
3764
|
-
Schema.Struct({
|
|
3765
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3766
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3767
|
-
}).pipe(
|
|
3768
|
-
Schema.encodeKeys({
|
|
3769
|
-
ipv4Only: "ipv4_only",
|
|
3770
|
-
ipv6Only: "ipv6_only",
|
|
3771
|
-
}),
|
|
3772
|
-
),
|
|
3773
|
-
),
|
|
3774
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3775
|
-
}),
|
|
3776
|
-
Schema.Struct({
|
|
3777
|
-
name: Schema.String,
|
|
3778
|
-
ttl: Schema.Number,
|
|
3779
|
-
type: Schema.Literal("HTTPS"),
|
|
3780
|
-
comment: Schema.optional(Schema.String),
|
|
3781
|
-
data: Schema.optional(
|
|
3782
|
-
Schema.Struct({
|
|
3783
|
-
priority: Schema.optional(Schema.Number),
|
|
3784
|
-
target: Schema.optional(Schema.String),
|
|
3785
|
-
value: Schema.optional(Schema.String),
|
|
3786
|
-
}),
|
|
3787
|
-
),
|
|
3788
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3789
|
-
settings: Schema.optional(
|
|
3790
|
-
Schema.Struct({
|
|
3791
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3792
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3793
|
-
}).pipe(
|
|
3794
|
-
Schema.encodeKeys({
|
|
3795
|
-
ipv4Only: "ipv4_only",
|
|
3796
|
-
ipv6Only: "ipv6_only",
|
|
3797
|
-
}),
|
|
3798
|
-
),
|
|
3799
|
-
),
|
|
3800
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3801
|
-
}),
|
|
3802
|
-
Schema.Struct({
|
|
3803
|
-
name: Schema.String,
|
|
3804
|
-
ttl: Schema.Number,
|
|
3805
|
-
type: Schema.Literal("LOC"),
|
|
3806
|
-
comment: Schema.optional(Schema.String),
|
|
3807
|
-
data: Schema.optional(
|
|
3808
|
-
Schema.Struct({
|
|
3809
|
-
altitude: Schema.optional(Schema.Number),
|
|
3810
|
-
latDegrees: Schema.optional(Schema.Number),
|
|
3811
|
-
latDirection: Schema.optional(Schema.Literals(["N", "S"])),
|
|
3812
|
-
latMinutes: Schema.optional(Schema.Number),
|
|
3813
|
-
latSeconds: Schema.optional(Schema.Number),
|
|
3814
|
-
longDegrees: Schema.optional(Schema.Number),
|
|
3815
|
-
longDirection: Schema.optional(Schema.Literals(["E", "W"])),
|
|
3816
|
-
longMinutes: Schema.optional(Schema.Number),
|
|
3817
|
-
longSeconds: Schema.optional(Schema.Number),
|
|
3818
|
-
precisionHorz: Schema.optional(Schema.Number),
|
|
3819
|
-
precisionVert: Schema.optional(Schema.Number),
|
|
3820
|
-
size: Schema.optional(Schema.Number),
|
|
3821
|
-
}).pipe(
|
|
3822
|
-
Schema.encodeKeys({
|
|
3823
|
-
altitude: "altitude",
|
|
3824
|
-
latDegrees: "lat_degrees",
|
|
3825
|
-
latDirection: "lat_direction",
|
|
3826
|
-
latMinutes: "lat_minutes",
|
|
3827
|
-
latSeconds: "lat_seconds",
|
|
3828
|
-
longDegrees: "long_degrees",
|
|
3829
|
-
longDirection: "long_direction",
|
|
3830
|
-
longMinutes: "long_minutes",
|
|
3831
|
-
longSeconds: "long_seconds",
|
|
3832
|
-
precisionHorz: "precision_horz",
|
|
3833
|
-
precisionVert: "precision_vert",
|
|
3834
|
-
size: "size",
|
|
3835
|
-
}),
|
|
3836
|
-
),
|
|
3837
|
-
),
|
|
3838
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3839
|
-
settings: Schema.optional(
|
|
3840
|
-
Schema.Struct({
|
|
3841
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3842
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3843
|
-
}).pipe(
|
|
3844
|
-
Schema.encodeKeys({
|
|
3845
|
-
ipv4Only: "ipv4_only",
|
|
3846
|
-
ipv6Only: "ipv6_only",
|
|
3847
|
-
}),
|
|
3848
|
-
),
|
|
3849
|
-
),
|
|
3850
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3851
|
-
}),
|
|
3852
|
-
Schema.Struct({
|
|
3853
|
-
name: Schema.String,
|
|
3854
|
-
ttl: Schema.Number,
|
|
3855
|
-
type: Schema.Literal("NAPTR"),
|
|
3856
|
-
comment: Schema.optional(Schema.String),
|
|
3857
|
-
data: Schema.optional(
|
|
3858
|
-
Schema.Struct({
|
|
3859
|
-
flags: Schema.optional(Schema.String),
|
|
3860
|
-
order: Schema.optional(Schema.Number),
|
|
3861
|
-
preference: Schema.optional(Schema.Number),
|
|
3862
|
-
regex: Schema.optional(Schema.String),
|
|
3863
|
-
replacement: Schema.optional(Schema.String),
|
|
3864
|
-
service: Schema.optional(Schema.String),
|
|
3865
|
-
}),
|
|
3866
|
-
),
|
|
3867
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3868
|
-
settings: Schema.optional(
|
|
3869
|
-
Schema.Struct({
|
|
3870
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3871
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3872
|
-
}).pipe(
|
|
3873
|
-
Schema.encodeKeys({
|
|
3874
|
-
ipv4Only: "ipv4_only",
|
|
3875
|
-
ipv6Only: "ipv6_only",
|
|
3876
|
-
}),
|
|
3877
|
-
),
|
|
3878
|
-
),
|
|
3879
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3880
|
-
}),
|
|
3881
|
-
Schema.Struct({
|
|
3882
|
-
name: Schema.String,
|
|
3883
|
-
ttl: Schema.Number,
|
|
3884
|
-
type: Schema.Literal("SMIMEA"),
|
|
3885
|
-
comment: Schema.optional(Schema.String),
|
|
3886
|
-
data: Schema.optional(
|
|
3887
|
-
Schema.Struct({
|
|
3888
|
-
certificate: Schema.optional(Schema.String),
|
|
3889
|
-
matchingType: Schema.optional(Schema.Number),
|
|
3890
|
-
selector: Schema.optional(Schema.Number),
|
|
3891
|
-
usage: Schema.optional(Schema.Number),
|
|
3892
|
-
}).pipe(
|
|
3893
|
-
Schema.encodeKeys({
|
|
3894
|
-
certificate: "certificate",
|
|
3895
|
-
matchingType: "matching_type",
|
|
3896
|
-
selector: "selector",
|
|
3897
|
-
usage: "usage",
|
|
3898
|
-
}),
|
|
3899
|
-
),
|
|
3900
|
-
),
|
|
3901
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3902
|
-
settings: Schema.optional(
|
|
3903
|
-
Schema.Struct({
|
|
3904
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3905
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3906
|
-
}).pipe(
|
|
3907
|
-
Schema.encodeKeys({
|
|
3908
|
-
ipv4Only: "ipv4_only",
|
|
3909
|
-
ipv6Only: "ipv6_only",
|
|
3910
|
-
}),
|
|
3911
|
-
),
|
|
3912
|
-
),
|
|
3913
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3914
|
-
}),
|
|
3915
|
-
Schema.Struct({
|
|
3916
|
-
name: Schema.String,
|
|
3917
|
-
ttl: Schema.Number,
|
|
3918
|
-
type: Schema.Literal("SRV"),
|
|
3919
|
-
comment: Schema.optional(Schema.String),
|
|
3920
|
-
data: Schema.optional(
|
|
3921
|
-
Schema.Struct({
|
|
3922
|
-
port: Schema.optional(Schema.Number),
|
|
3923
|
-
priority: Schema.optional(Schema.Number),
|
|
3924
|
-
target: Schema.optional(Schema.String),
|
|
3925
|
-
weight: Schema.optional(Schema.Number),
|
|
3926
|
-
}),
|
|
3927
|
-
),
|
|
3928
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3929
|
-
settings: Schema.optional(
|
|
3930
|
-
Schema.Struct({
|
|
3931
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3932
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3933
|
-
}).pipe(
|
|
3934
|
-
Schema.encodeKeys({
|
|
3935
|
-
ipv4Only: "ipv4_only",
|
|
3936
|
-
ipv6Only: "ipv6_only",
|
|
3937
|
-
}),
|
|
3938
|
-
),
|
|
3939
|
-
),
|
|
3940
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3941
|
-
}),
|
|
3942
|
-
Schema.Struct({
|
|
3943
|
-
name: Schema.String,
|
|
3944
|
-
ttl: Schema.Number,
|
|
3945
|
-
type: Schema.Literal("SSHFP"),
|
|
3946
|
-
comment: Schema.optional(Schema.String),
|
|
3947
|
-
data: Schema.optional(
|
|
3948
|
-
Schema.Struct({
|
|
3949
|
-
algorithm: Schema.optional(Schema.Number),
|
|
3950
|
-
fingerprint: Schema.optional(Schema.String),
|
|
3951
|
-
type: Schema.optional(Schema.Number),
|
|
3952
|
-
}),
|
|
3953
|
-
),
|
|
3954
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3955
|
-
settings: Schema.optional(
|
|
3956
|
-
Schema.Struct({
|
|
3957
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3958
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3959
|
-
}).pipe(
|
|
3960
|
-
Schema.encodeKeys({
|
|
3961
|
-
ipv4Only: "ipv4_only",
|
|
3962
|
-
ipv6Only: "ipv6_only",
|
|
3963
|
-
}),
|
|
3964
|
-
),
|
|
3965
|
-
),
|
|
3966
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3967
|
-
}),
|
|
3968
|
-
Schema.Struct({
|
|
3969
|
-
name: Schema.String,
|
|
3970
|
-
ttl: Schema.Number,
|
|
3971
|
-
type: Schema.Literal("SVCB"),
|
|
3972
|
-
comment: Schema.optional(Schema.String),
|
|
3973
|
-
data: Schema.optional(
|
|
3974
|
-
Schema.Struct({
|
|
3975
|
-
priority: Schema.optional(Schema.Number),
|
|
3976
|
-
target: Schema.optional(Schema.String),
|
|
3977
|
-
value: Schema.optional(Schema.String),
|
|
3978
|
-
}),
|
|
3979
|
-
),
|
|
3980
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
3981
|
-
settings: Schema.optional(
|
|
3982
|
-
Schema.Struct({
|
|
3983
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3984
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3985
|
-
}).pipe(
|
|
3986
|
-
Schema.encodeKeys({
|
|
3987
|
-
ipv4Only: "ipv4_only",
|
|
3988
|
-
ipv6Only: "ipv6_only",
|
|
3989
|
-
}),
|
|
3990
|
-
),
|
|
3991
|
-
),
|
|
3992
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3993
|
-
}),
|
|
2082
|
+
)[];
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2086
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2087
|
+
deletes: Schema.optional(
|
|
2088
|
+
Schema.Array(
|
|
2089
|
+
Schema.Struct({
|
|
2090
|
+
id: Schema.String,
|
|
2091
|
+
}),
|
|
2092
|
+
),
|
|
2093
|
+
),
|
|
2094
|
+
patches: Schema.optional(
|
|
2095
|
+
Schema.Array(
|
|
2096
|
+
Schema.Union([
|
|
3994
2097
|
Schema.Struct({
|
|
3995
|
-
|
|
3996
|
-
ttl: Schema.Number,
|
|
3997
|
-
type: Schema.Literal("TLSA"),
|
|
3998
|
-
comment: Schema.optional(Schema.String),
|
|
3999
|
-
data: Schema.optional(
|
|
4000
|
-
Schema.Struct({
|
|
4001
|
-
certificate: Schema.optional(Schema.String),
|
|
4002
|
-
matchingType: Schema.optional(Schema.Number),
|
|
4003
|
-
selector: Schema.optional(Schema.Number),
|
|
4004
|
-
usage: Schema.optional(Schema.Number),
|
|
4005
|
-
}).pipe(
|
|
4006
|
-
Schema.encodeKeys({
|
|
4007
|
-
certificate: "certificate",
|
|
4008
|
-
matchingType: "matching_type",
|
|
4009
|
-
selector: "selector",
|
|
4010
|
-
usage: "usage",
|
|
4011
|
-
}),
|
|
4012
|
-
),
|
|
4013
|
-
),
|
|
4014
|
-
proxied: Schema.optional(Schema.Boolean),
|
|
4015
|
-
settings: Schema.optional(
|
|
4016
|
-
Schema.Struct({
|
|
4017
|
-
ipv4Only: Schema.optional(Schema.Boolean),
|
|
4018
|
-
ipv6Only: Schema.optional(Schema.Boolean),
|
|
4019
|
-
}).pipe(
|
|
4020
|
-
Schema.encodeKeys({
|
|
4021
|
-
ipv4Only: "ipv4_only",
|
|
4022
|
-
ipv6Only: "ipv6_only",
|
|
4023
|
-
}),
|
|
4024
|
-
),
|
|
4025
|
-
),
|
|
4026
|
-
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2098
|
+
id: Schema.String,
|
|
4027
2099
|
}),
|
|
4028
2100
|
Schema.Struct({
|
|
2101
|
+
id: Schema.String,
|
|
4029
2102
|
name: Schema.String,
|
|
4030
|
-
ttl: Schema.Number,
|
|
4031
|
-
type: Schema.Literal("
|
|
2103
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2104
|
+
type: Schema.Literal("OPENPGPKEY"),
|
|
4032
2105
|
comment: Schema.optional(Schema.String),
|
|
4033
|
-
|
|
4034
|
-
Schema.Struct({
|
|
4035
|
-
target: Schema.optional(Schema.String),
|
|
4036
|
-
weight: Schema.optional(Schema.Number),
|
|
4037
|
-
}),
|
|
4038
|
-
),
|
|
4039
|
-
priority: Schema.optional(Schema.Number),
|
|
2106
|
+
content: Schema.optional(Schema.String),
|
|
4040
2107
|
proxied: Schema.optional(Schema.Boolean),
|
|
4041
2108
|
settings: Schema.optional(
|
|
4042
2109
|
Schema.Struct({
|
|
@@ -4054,13 +2121,12 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4054
2121
|
]),
|
|
4055
2122
|
),
|
|
4056
2123
|
),
|
|
4057
|
-
|
|
2124
|
+
posts: Schema.optional(
|
|
4058
2125
|
Schema.Array(
|
|
4059
2126
|
Schema.Union([
|
|
4060
2127
|
Schema.Struct({
|
|
4061
|
-
zoneId: Schema.String,
|
|
4062
2128
|
name: Schema.String,
|
|
4063
|
-
ttl: Schema.Number,
|
|
2129
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4064
2130
|
type: Schema.Literal("A"),
|
|
4065
2131
|
comment: Schema.optional(Schema.String),
|
|
4066
2132
|
content: Schema.optional(Schema.String),
|
|
@@ -4077,23 +2143,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4077
2143
|
),
|
|
4078
2144
|
),
|
|
4079
2145
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4080
|
-
})
|
|
4081
|
-
Schema.encodeKeys({
|
|
4082
|
-
zoneId: "zone_id",
|
|
4083
|
-
name: "name",
|
|
4084
|
-
ttl: "ttl",
|
|
4085
|
-
type: "type",
|
|
4086
|
-
comment: "comment",
|
|
4087
|
-
content: "content",
|
|
4088
|
-
proxied: "proxied",
|
|
4089
|
-
settings: "settings",
|
|
4090
|
-
tags: "tags",
|
|
4091
|
-
}),
|
|
4092
|
-
),
|
|
2146
|
+
}),
|
|
4093
2147
|
Schema.Struct({
|
|
4094
|
-
zoneId: Schema.String,
|
|
4095
2148
|
name: Schema.String,
|
|
4096
|
-
ttl: Schema.Number,
|
|
2149
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4097
2150
|
type: Schema.Literal("AAAA"),
|
|
4098
2151
|
comment: Schema.optional(Schema.String),
|
|
4099
2152
|
content: Schema.optional(Schema.String),
|
|
@@ -4110,23 +2163,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4110
2163
|
),
|
|
4111
2164
|
),
|
|
4112
2165
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4113
|
-
})
|
|
4114
|
-
Schema.encodeKeys({
|
|
4115
|
-
zoneId: "zone_id",
|
|
4116
|
-
name: "name",
|
|
4117
|
-
ttl: "ttl",
|
|
4118
|
-
type: "type",
|
|
4119
|
-
comment: "comment",
|
|
4120
|
-
content: "content",
|
|
4121
|
-
proxied: "proxied",
|
|
4122
|
-
settings: "settings",
|
|
4123
|
-
tags: "tags",
|
|
4124
|
-
}),
|
|
4125
|
-
),
|
|
2166
|
+
}),
|
|
4126
2167
|
Schema.Struct({
|
|
4127
|
-
zoneId: Schema.String,
|
|
4128
2168
|
name: Schema.String,
|
|
4129
|
-
ttl: Schema.Number,
|
|
2169
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4130
2170
|
type: Schema.Literal("CNAME"),
|
|
4131
2171
|
comment: Schema.optional(Schema.String),
|
|
4132
2172
|
content: Schema.optional(Schema.String),
|
|
@@ -4145,23 +2185,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4145
2185
|
),
|
|
4146
2186
|
),
|
|
4147
2187
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4148
|
-
})
|
|
4149
|
-
Schema.encodeKeys({
|
|
4150
|
-
zoneId: "zone_id",
|
|
4151
|
-
name: "name",
|
|
4152
|
-
ttl: "ttl",
|
|
4153
|
-
type: "type",
|
|
4154
|
-
comment: "comment",
|
|
4155
|
-
content: "content",
|
|
4156
|
-
proxied: "proxied",
|
|
4157
|
-
settings: "settings",
|
|
4158
|
-
tags: "tags",
|
|
4159
|
-
}),
|
|
4160
|
-
),
|
|
2188
|
+
}),
|
|
4161
2189
|
Schema.Struct({
|
|
4162
|
-
zoneId: Schema.String,
|
|
4163
2190
|
name: Schema.String,
|
|
4164
|
-
ttl: Schema.Number,
|
|
2191
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4165
2192
|
type: Schema.Literal("MX"),
|
|
4166
2193
|
comment: Schema.optional(Schema.String),
|
|
4167
2194
|
content: Schema.optional(Schema.String),
|
|
@@ -4179,24 +2206,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4179
2206
|
),
|
|
4180
2207
|
),
|
|
4181
2208
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4182
|
-
})
|
|
4183
|
-
Schema.encodeKeys({
|
|
4184
|
-
zoneId: "zone_id",
|
|
4185
|
-
name: "name",
|
|
4186
|
-
ttl: "ttl",
|
|
4187
|
-
type: "type",
|
|
4188
|
-
comment: "comment",
|
|
4189
|
-
content: "content",
|
|
4190
|
-
priority: "priority",
|
|
4191
|
-
proxied: "proxied",
|
|
4192
|
-
settings: "settings",
|
|
4193
|
-
tags: "tags",
|
|
4194
|
-
}),
|
|
4195
|
-
),
|
|
2209
|
+
}),
|
|
4196
2210
|
Schema.Struct({
|
|
4197
|
-
zoneId: Schema.String,
|
|
4198
2211
|
name: Schema.String,
|
|
4199
|
-
ttl: Schema.Number,
|
|
2212
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4200
2213
|
type: Schema.Literal("NS"),
|
|
4201
2214
|
comment: Schema.optional(Schema.String),
|
|
4202
2215
|
content: Schema.optional(Schema.String),
|
|
@@ -4213,23 +2226,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4213
2226
|
),
|
|
4214
2227
|
),
|
|
4215
2228
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4216
|
-
})
|
|
4217
|
-
Schema.encodeKeys({
|
|
4218
|
-
zoneId: "zone_id",
|
|
4219
|
-
name: "name",
|
|
4220
|
-
ttl: "ttl",
|
|
4221
|
-
type: "type",
|
|
4222
|
-
comment: "comment",
|
|
4223
|
-
content: "content",
|
|
4224
|
-
proxied: "proxied",
|
|
4225
|
-
settings: "settings",
|
|
4226
|
-
tags: "tags",
|
|
4227
|
-
}),
|
|
4228
|
-
),
|
|
2229
|
+
}),
|
|
4229
2230
|
Schema.Struct({
|
|
4230
|
-
id: Schema.String,
|
|
4231
2231
|
name: Schema.String,
|
|
4232
|
-
ttl: Schema.Number,
|
|
2232
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4233
2233
|
type: Schema.Literal("OPENPGPKEY"),
|
|
4234
2234
|
comment: Schema.optional(Schema.String),
|
|
4235
2235
|
content: Schema.optional(Schema.String),
|
|
@@ -4248,9 +2248,8 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4248
2248
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4249
2249
|
}),
|
|
4250
2250
|
Schema.Struct({
|
|
4251
|
-
zoneId: Schema.String,
|
|
4252
2251
|
name: Schema.String,
|
|
4253
|
-
ttl: Schema.Number,
|
|
2252
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4254
2253
|
type: Schema.Literal("PTR"),
|
|
4255
2254
|
comment: Schema.optional(Schema.String),
|
|
4256
2255
|
content: Schema.optional(Schema.String),
|
|
@@ -4267,23 +2266,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4267
2266
|
),
|
|
4268
2267
|
),
|
|
4269
2268
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4270
|
-
})
|
|
4271
|
-
Schema.encodeKeys({
|
|
4272
|
-
zoneId: "zone_id",
|
|
4273
|
-
name: "name",
|
|
4274
|
-
ttl: "ttl",
|
|
4275
|
-
type: "type",
|
|
4276
|
-
comment: "comment",
|
|
4277
|
-
content: "content",
|
|
4278
|
-
proxied: "proxied",
|
|
4279
|
-
settings: "settings",
|
|
4280
|
-
tags: "tags",
|
|
4281
|
-
}),
|
|
4282
|
-
),
|
|
2269
|
+
}),
|
|
4283
2270
|
Schema.Struct({
|
|
4284
|
-
zoneId: Schema.String,
|
|
4285
2271
|
name: Schema.String,
|
|
4286
|
-
ttl: Schema.Number,
|
|
2272
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4287
2273
|
type: Schema.Literal("TXT"),
|
|
4288
2274
|
comment: Schema.optional(Schema.String),
|
|
4289
2275
|
content: Schema.optional(Schema.String),
|
|
@@ -4300,23 +2286,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4300
2286
|
),
|
|
4301
2287
|
),
|
|
4302
2288
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4303
|
-
})
|
|
4304
|
-
Schema.encodeKeys({
|
|
4305
|
-
zoneId: "zone_id",
|
|
4306
|
-
name: "name",
|
|
4307
|
-
ttl: "ttl",
|
|
4308
|
-
type: "type",
|
|
4309
|
-
comment: "comment",
|
|
4310
|
-
content: "content",
|
|
4311
|
-
proxied: "proxied",
|
|
4312
|
-
settings: "settings",
|
|
4313
|
-
tags: "tags",
|
|
4314
|
-
}),
|
|
4315
|
-
),
|
|
2289
|
+
}),
|
|
4316
2290
|
Schema.Struct({
|
|
4317
|
-
zoneId: Schema.String,
|
|
4318
2291
|
name: Schema.String,
|
|
4319
|
-
ttl: Schema.Number,
|
|
2292
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4320
2293
|
type: Schema.Literal("CAA"),
|
|
4321
2294
|
comment: Schema.optional(Schema.String),
|
|
4322
2295
|
data: Schema.optional(
|
|
@@ -4339,23 +2312,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4339
2312
|
),
|
|
4340
2313
|
),
|
|
4341
2314
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4342
|
-
})
|
|
4343
|
-
Schema.encodeKeys({
|
|
4344
|
-
zoneId: "zone_id",
|
|
4345
|
-
name: "name",
|
|
4346
|
-
ttl: "ttl",
|
|
4347
|
-
type: "type",
|
|
4348
|
-
comment: "comment",
|
|
4349
|
-
data: "data",
|
|
4350
|
-
proxied: "proxied",
|
|
4351
|
-
settings: "settings",
|
|
4352
|
-
tags: "tags",
|
|
4353
|
-
}),
|
|
4354
|
-
),
|
|
2315
|
+
}),
|
|
4355
2316
|
Schema.Struct({
|
|
4356
|
-
zoneId: Schema.String,
|
|
4357
2317
|
name: Schema.String,
|
|
4358
|
-
ttl: Schema.Number,
|
|
2318
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4359
2319
|
type: Schema.Literal("CERT"),
|
|
4360
2320
|
comment: Schema.optional(Schema.String),
|
|
4361
2321
|
data: Schema.optional(
|
|
@@ -4386,23 +2346,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4386
2346
|
),
|
|
4387
2347
|
),
|
|
4388
2348
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4389
|
-
})
|
|
4390
|
-
Schema.encodeKeys({
|
|
4391
|
-
zoneId: "zone_id",
|
|
4392
|
-
name: "name",
|
|
4393
|
-
ttl: "ttl",
|
|
4394
|
-
type: "type",
|
|
4395
|
-
comment: "comment",
|
|
4396
|
-
data: "data",
|
|
4397
|
-
proxied: "proxied",
|
|
4398
|
-
settings: "settings",
|
|
4399
|
-
tags: "tags",
|
|
4400
|
-
}),
|
|
4401
|
-
),
|
|
2349
|
+
}),
|
|
4402
2350
|
Schema.Struct({
|
|
4403
|
-
zoneId: Schema.String,
|
|
4404
2351
|
name: Schema.String,
|
|
4405
|
-
ttl: Schema.Number,
|
|
2352
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4406
2353
|
type: Schema.Literal("DNSKEY"),
|
|
4407
2354
|
comment: Schema.optional(Schema.String),
|
|
4408
2355
|
data: Schema.optional(
|
|
@@ -4433,23 +2380,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4433
2380
|
),
|
|
4434
2381
|
),
|
|
4435
2382
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4436
|
-
})
|
|
4437
|
-
Schema.encodeKeys({
|
|
4438
|
-
zoneId: "zone_id",
|
|
4439
|
-
name: "name",
|
|
4440
|
-
ttl: "ttl",
|
|
4441
|
-
type: "type",
|
|
4442
|
-
comment: "comment",
|
|
4443
|
-
data: "data",
|
|
4444
|
-
proxied: "proxied",
|
|
4445
|
-
settings: "settings",
|
|
4446
|
-
tags: "tags",
|
|
4447
|
-
}),
|
|
4448
|
-
),
|
|
2383
|
+
}),
|
|
4449
2384
|
Schema.Struct({
|
|
4450
|
-
zoneId: Schema.String,
|
|
4451
2385
|
name: Schema.String,
|
|
4452
|
-
ttl: Schema.Number,
|
|
2386
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4453
2387
|
type: Schema.Literal("DS"),
|
|
4454
2388
|
comment: Schema.optional(Schema.String),
|
|
4455
2389
|
data: Schema.optional(
|
|
@@ -4480,23 +2414,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4480
2414
|
),
|
|
4481
2415
|
),
|
|
4482
2416
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4483
|
-
})
|
|
4484
|
-
Schema.encodeKeys({
|
|
4485
|
-
zoneId: "zone_id",
|
|
4486
|
-
name: "name",
|
|
4487
|
-
ttl: "ttl",
|
|
4488
|
-
type: "type",
|
|
4489
|
-
comment: "comment",
|
|
4490
|
-
data: "data",
|
|
4491
|
-
proxied: "proxied",
|
|
4492
|
-
settings: "settings",
|
|
4493
|
-
tags: "tags",
|
|
4494
|
-
}),
|
|
4495
|
-
),
|
|
2417
|
+
}),
|
|
4496
2418
|
Schema.Struct({
|
|
4497
|
-
zoneId: Schema.String,
|
|
4498
2419
|
name: Schema.String,
|
|
4499
|
-
ttl: Schema.Number,
|
|
2420
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4500
2421
|
type: Schema.Literal("HTTPS"),
|
|
4501
2422
|
comment: Schema.optional(Schema.String),
|
|
4502
2423
|
data: Schema.optional(
|
|
@@ -4519,23 +2440,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4519
2440
|
),
|
|
4520
2441
|
),
|
|
4521
2442
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4522
|
-
})
|
|
4523
|
-
Schema.encodeKeys({
|
|
4524
|
-
zoneId: "zone_id",
|
|
4525
|
-
name: "name",
|
|
4526
|
-
ttl: "ttl",
|
|
4527
|
-
type: "type",
|
|
4528
|
-
comment: "comment",
|
|
4529
|
-
data: "data",
|
|
4530
|
-
proxied: "proxied",
|
|
4531
|
-
settings: "settings",
|
|
4532
|
-
tags: "tags",
|
|
4533
|
-
}),
|
|
4534
|
-
),
|
|
2443
|
+
}),
|
|
4535
2444
|
Schema.Struct({
|
|
4536
|
-
zoneId: Schema.String,
|
|
4537
2445
|
name: Schema.String,
|
|
4538
|
-
ttl: Schema.Number,
|
|
2446
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4539
2447
|
type: Schema.Literal("LOC"),
|
|
4540
2448
|
comment: Schema.optional(Schema.String),
|
|
4541
2449
|
data: Schema.optional(
|
|
@@ -4582,23 +2490,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4582
2490
|
),
|
|
4583
2491
|
),
|
|
4584
2492
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4585
|
-
})
|
|
4586
|
-
Schema.encodeKeys({
|
|
4587
|
-
zoneId: "zone_id",
|
|
4588
|
-
name: "name",
|
|
4589
|
-
ttl: "ttl",
|
|
4590
|
-
type: "type",
|
|
4591
|
-
comment: "comment",
|
|
4592
|
-
data: "data",
|
|
4593
|
-
proxied: "proxied",
|
|
4594
|
-
settings: "settings",
|
|
4595
|
-
tags: "tags",
|
|
4596
|
-
}),
|
|
4597
|
-
),
|
|
2493
|
+
}),
|
|
4598
2494
|
Schema.Struct({
|
|
4599
|
-
zoneId: Schema.String,
|
|
4600
2495
|
name: Schema.String,
|
|
4601
|
-
ttl: Schema.Number,
|
|
2496
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4602
2497
|
type: Schema.Literal("NAPTR"),
|
|
4603
2498
|
comment: Schema.optional(Schema.String),
|
|
4604
2499
|
data: Schema.optional(
|
|
@@ -4624,23 +2519,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4624
2519
|
),
|
|
4625
2520
|
),
|
|
4626
2521
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4627
|
-
})
|
|
4628
|
-
Schema.encodeKeys({
|
|
4629
|
-
zoneId: "zone_id",
|
|
4630
|
-
name: "name",
|
|
4631
|
-
ttl: "ttl",
|
|
4632
|
-
type: "type",
|
|
4633
|
-
comment: "comment",
|
|
4634
|
-
data: "data",
|
|
4635
|
-
proxied: "proxied",
|
|
4636
|
-
settings: "settings",
|
|
4637
|
-
tags: "tags",
|
|
4638
|
-
}),
|
|
4639
|
-
),
|
|
2522
|
+
}),
|
|
4640
2523
|
Schema.Struct({
|
|
4641
|
-
zoneId: Schema.String,
|
|
4642
2524
|
name: Schema.String,
|
|
4643
|
-
ttl: Schema.Number,
|
|
2525
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4644
2526
|
type: Schema.Literal("SMIMEA"),
|
|
4645
2527
|
comment: Schema.optional(Schema.String),
|
|
4646
2528
|
data: Schema.optional(
|
|
@@ -4671,23 +2553,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4671
2553
|
),
|
|
4672
2554
|
),
|
|
4673
2555
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4674
|
-
})
|
|
4675
|
-
Schema.encodeKeys({
|
|
4676
|
-
zoneId: "zone_id",
|
|
4677
|
-
name: "name",
|
|
4678
|
-
ttl: "ttl",
|
|
4679
|
-
type: "type",
|
|
4680
|
-
comment: "comment",
|
|
4681
|
-
data: "data",
|
|
4682
|
-
proxied: "proxied",
|
|
4683
|
-
settings: "settings",
|
|
4684
|
-
tags: "tags",
|
|
4685
|
-
}),
|
|
4686
|
-
),
|
|
2556
|
+
}),
|
|
4687
2557
|
Schema.Struct({
|
|
4688
|
-
zoneId: Schema.String,
|
|
4689
2558
|
name: Schema.String,
|
|
4690
|
-
ttl: Schema.Number,
|
|
2559
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4691
2560
|
type: Schema.Literal("SRV"),
|
|
4692
2561
|
comment: Schema.optional(Schema.String),
|
|
4693
2562
|
data: Schema.optional(
|
|
@@ -4711,23 +2580,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4711
2580
|
),
|
|
4712
2581
|
),
|
|
4713
2582
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4714
|
-
})
|
|
4715
|
-
Schema.encodeKeys({
|
|
4716
|
-
zoneId: "zone_id",
|
|
4717
|
-
name: "name",
|
|
4718
|
-
ttl: "ttl",
|
|
4719
|
-
type: "type",
|
|
4720
|
-
comment: "comment",
|
|
4721
|
-
data: "data",
|
|
4722
|
-
proxied: "proxied",
|
|
4723
|
-
settings: "settings",
|
|
4724
|
-
tags: "tags",
|
|
4725
|
-
}),
|
|
4726
|
-
),
|
|
2583
|
+
}),
|
|
4727
2584
|
Schema.Struct({
|
|
4728
|
-
zoneId: Schema.String,
|
|
4729
2585
|
name: Schema.String,
|
|
4730
|
-
ttl: Schema.Number,
|
|
2586
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4731
2587
|
type: Schema.Literal("SSHFP"),
|
|
4732
2588
|
comment: Schema.optional(Schema.String),
|
|
4733
2589
|
data: Schema.optional(
|
|
@@ -4750,23 +2606,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4750
2606
|
),
|
|
4751
2607
|
),
|
|
4752
2608
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4753
|
-
})
|
|
4754
|
-
Schema.encodeKeys({
|
|
4755
|
-
zoneId: "zone_id",
|
|
4756
|
-
name: "name",
|
|
4757
|
-
ttl: "ttl",
|
|
4758
|
-
type: "type",
|
|
4759
|
-
comment: "comment",
|
|
4760
|
-
data: "data",
|
|
4761
|
-
proxied: "proxied",
|
|
4762
|
-
settings: "settings",
|
|
4763
|
-
tags: "tags",
|
|
4764
|
-
}),
|
|
4765
|
-
),
|
|
2609
|
+
}),
|
|
4766
2610
|
Schema.Struct({
|
|
4767
|
-
zoneId: Schema.String,
|
|
4768
2611
|
name: Schema.String,
|
|
4769
|
-
ttl: Schema.Number,
|
|
2612
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4770
2613
|
type: Schema.Literal("SVCB"),
|
|
4771
2614
|
comment: Schema.optional(Schema.String),
|
|
4772
2615
|
data: Schema.optional(
|
|
@@ -4789,23 +2632,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4789
2632
|
),
|
|
4790
2633
|
),
|
|
4791
2634
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4792
|
-
})
|
|
4793
|
-
Schema.encodeKeys({
|
|
4794
|
-
zoneId: "zone_id",
|
|
4795
|
-
name: "name",
|
|
4796
|
-
ttl: "ttl",
|
|
4797
|
-
type: "type",
|
|
4798
|
-
comment: "comment",
|
|
4799
|
-
data: "data",
|
|
4800
|
-
proxied: "proxied",
|
|
4801
|
-
settings: "settings",
|
|
4802
|
-
tags: "tags",
|
|
4803
|
-
}),
|
|
4804
|
-
),
|
|
2635
|
+
}),
|
|
4805
2636
|
Schema.Struct({
|
|
4806
|
-
zoneId: Schema.String,
|
|
4807
2637
|
name: Schema.String,
|
|
4808
|
-
ttl: Schema.Number,
|
|
2638
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4809
2639
|
type: Schema.Literal("TLSA"),
|
|
4810
2640
|
comment: Schema.optional(Schema.String),
|
|
4811
2641
|
data: Schema.optional(
|
|
@@ -4836,23 +2666,10 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4836
2666
|
),
|
|
4837
2667
|
),
|
|
4838
2668
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4839
|
-
})
|
|
4840
|
-
Schema.encodeKeys({
|
|
4841
|
-
zoneId: "zone_id",
|
|
4842
|
-
name: "name",
|
|
4843
|
-
ttl: "ttl",
|
|
4844
|
-
type: "type",
|
|
4845
|
-
comment: "comment",
|
|
4846
|
-
data: "data",
|
|
4847
|
-
proxied: "proxied",
|
|
4848
|
-
settings: "settings",
|
|
4849
|
-
tags: "tags",
|
|
4850
|
-
}),
|
|
4851
|
-
),
|
|
2669
|
+
}),
|
|
4852
2670
|
Schema.Struct({
|
|
4853
|
-
zoneId: Schema.String,
|
|
4854
2671
|
name: Schema.String,
|
|
4855
|
-
ttl: Schema.Number,
|
|
2672
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4856
2673
|
type: Schema.Literal("URI"),
|
|
4857
2674
|
comment: Schema.optional(Schema.String),
|
|
4858
2675
|
data: Schema.optional(
|
|
@@ -4875,20 +2692,37 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4875
2692
|
),
|
|
4876
2693
|
),
|
|
4877
2694
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4878
|
-
})
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
2695
|
+
}),
|
|
2696
|
+
]),
|
|
2697
|
+
),
|
|
2698
|
+
),
|
|
2699
|
+
puts: Schema.optional(
|
|
2700
|
+
Schema.Array(
|
|
2701
|
+
Schema.Union([
|
|
2702
|
+
Schema.Struct({
|
|
2703
|
+
id: Schema.String,
|
|
2704
|
+
}),
|
|
2705
|
+
Schema.Struct({
|
|
2706
|
+
id: Schema.String,
|
|
2707
|
+
name: Schema.String,
|
|
2708
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
2709
|
+
type: Schema.Literal("OPENPGPKEY"),
|
|
2710
|
+
comment: Schema.optional(Schema.String),
|
|
2711
|
+
content: Schema.optional(Schema.String),
|
|
2712
|
+
proxied: Schema.optional(Schema.Boolean),
|
|
2713
|
+
settings: Schema.optional(
|
|
2714
|
+
Schema.Struct({
|
|
2715
|
+
ipv4Only: Schema.optional(Schema.Boolean),
|
|
2716
|
+
ipv6Only: Schema.optional(Schema.Boolean),
|
|
2717
|
+
}).pipe(
|
|
2718
|
+
Schema.encodeKeys({
|
|
2719
|
+
ipv4Only: "ipv4_only",
|
|
2720
|
+
ipv6Only: "ipv6_only",
|
|
2721
|
+
}),
|
|
2722
|
+
),
|
|
2723
|
+
),
|
|
2724
|
+
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
2725
|
+
}),
|
|
4892
2726
|
]),
|
|
4893
2727
|
),
|
|
4894
2728
|
),
|
|
@@ -4920,7 +2754,7 @@ export interface BatchRecordResponse {
|
|
|
4920
2754
|
proxied: boolean;
|
|
4921
2755
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
4922
2756
|
tags: string[];
|
|
4923
|
-
ttl: number;
|
|
2757
|
+
ttl: number | "1";
|
|
4924
2758
|
type: "OPENPGPKEY";
|
|
4925
2759
|
commentModifiedOn?: string | null;
|
|
4926
2760
|
tagsModifiedOn?: string | null;
|
|
@@ -4950,7 +2784,7 @@ export interface BatchRecordResponse {
|
|
|
4950
2784
|
proxied: boolean;
|
|
4951
2785
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
4952
2786
|
tags: string[];
|
|
4953
|
-
ttl: number;
|
|
2787
|
+
ttl: number | "1";
|
|
4954
2788
|
type: "OPENPGPKEY";
|
|
4955
2789
|
commentModifiedOn?: string | null;
|
|
4956
2790
|
tagsModifiedOn?: string | null;
|
|
@@ -4980,7 +2814,7 @@ export interface BatchRecordResponse {
|
|
|
4980
2814
|
proxied: boolean;
|
|
4981
2815
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
4982
2816
|
tags: string[];
|
|
4983
|
-
ttl: number;
|
|
2817
|
+
ttl: number | "1";
|
|
4984
2818
|
type: "OPENPGPKEY";
|
|
4985
2819
|
commentModifiedOn?: string | null;
|
|
4986
2820
|
tagsModifiedOn?: string | null;
|
|
@@ -5010,7 +2844,7 @@ export interface BatchRecordResponse {
|
|
|
5010
2844
|
proxied: boolean;
|
|
5011
2845
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
5012
2846
|
tags: string[];
|
|
5013
|
-
ttl: number;
|
|
2847
|
+
ttl: number | "1";
|
|
5014
2848
|
type: "OPENPGPKEY";
|
|
5015
2849
|
commentModifiedOn?: string | null;
|
|
5016
2850
|
tagsModifiedOn?: string | null;
|
|
@@ -5071,7 +2905,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5071
2905
|
}),
|
|
5072
2906
|
),
|
|
5073
2907
|
tags: Schema.Array(Schema.String),
|
|
5074
|
-
ttl: Schema.Number,
|
|
2908
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5075
2909
|
type: Schema.Literal("OPENPGPKEY"),
|
|
5076
2910
|
commentModifiedOn: Schema.optional(
|
|
5077
2911
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -5154,7 +2988,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5154
2988
|
}),
|
|
5155
2989
|
),
|
|
5156
2990
|
tags: Schema.Array(Schema.String),
|
|
5157
|
-
ttl: Schema.Number,
|
|
2991
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5158
2992
|
type: Schema.Literal("OPENPGPKEY"),
|
|
5159
2993
|
commentModifiedOn: Schema.optional(
|
|
5160
2994
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -5237,7 +3071,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5237
3071
|
}),
|
|
5238
3072
|
),
|
|
5239
3073
|
tags: Schema.Array(Schema.String),
|
|
5240
|
-
ttl: Schema.Number,
|
|
3074
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5241
3075
|
type: Schema.Literal("OPENPGPKEY"),
|
|
5242
3076
|
commentModifiedOn: Schema.optional(
|
|
5243
3077
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -5320,7 +3154,7 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5320
3154
|
}),
|
|
5321
3155
|
),
|
|
5322
3156
|
tags: Schema.Array(Schema.String),
|
|
5323
|
-
ttl: Schema.Number,
|
|
3157
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5324
3158
|
type: Schema.Literal("OPENPGPKEY"),
|
|
5325
3159
|
commentModifiedOn: Schema.optional(
|
|
5326
3160
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -5380,10 +3214,10 @@ export const ExportRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5380
3214
|
T.Http({ method: "GET", path: "/zones/{zone_id}/dns_records/export" }),
|
|
5381
3215
|
) as unknown as Schema.Schema<ExportRecordRequest>;
|
|
5382
3216
|
|
|
5383
|
-
export type ExportRecordResponse =
|
|
3217
|
+
export type ExportRecordResponse = string;
|
|
5384
3218
|
|
|
5385
3219
|
export const ExportRecordResponse =
|
|
5386
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
3220
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String as unknown as Schema.Schema<ExportRecordResponse>;
|
|
5387
3221
|
|
|
5388
3222
|
export type ExportRecordError = DefaultErrors;
|
|
5389
3223
|
|
|
@@ -5516,7 +3350,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5516
3350
|
accepts?: (
|
|
5517
3351
|
| {
|
|
5518
3352
|
name: string;
|
|
5519
|
-
ttl: number;
|
|
3353
|
+
ttl: number | "1";
|
|
5520
3354
|
type: "A";
|
|
5521
3355
|
comment?: string;
|
|
5522
3356
|
content?: string;
|
|
@@ -5526,7 +3360,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5526
3360
|
}
|
|
5527
3361
|
| {
|
|
5528
3362
|
name: string;
|
|
5529
|
-
ttl: number;
|
|
3363
|
+
ttl: number | "1";
|
|
5530
3364
|
type: "AAAA";
|
|
5531
3365
|
comment?: string;
|
|
5532
3366
|
content?: string;
|
|
@@ -5536,7 +3370,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5536
3370
|
}
|
|
5537
3371
|
| {
|
|
5538
3372
|
name: string;
|
|
5539
|
-
ttl: number;
|
|
3373
|
+
ttl: number | "1";
|
|
5540
3374
|
type: "CNAME";
|
|
5541
3375
|
comment?: string;
|
|
5542
3376
|
content?: string;
|
|
@@ -5550,7 +3384,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5550
3384
|
}
|
|
5551
3385
|
| {
|
|
5552
3386
|
name: string;
|
|
5553
|
-
ttl: number;
|
|
3387
|
+
ttl: number | "1";
|
|
5554
3388
|
type: "MX";
|
|
5555
3389
|
comment?: string;
|
|
5556
3390
|
content?: string;
|
|
@@ -5561,7 +3395,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5561
3395
|
}
|
|
5562
3396
|
| {
|
|
5563
3397
|
name: string;
|
|
5564
|
-
ttl: number;
|
|
3398
|
+
ttl: number | "1";
|
|
5565
3399
|
type: "NS";
|
|
5566
3400
|
comment?: string;
|
|
5567
3401
|
content?: string;
|
|
@@ -5571,7 +3405,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5571
3405
|
}
|
|
5572
3406
|
| {
|
|
5573
3407
|
name: string;
|
|
5574
|
-
ttl: number;
|
|
3408
|
+
ttl: number | "1";
|
|
5575
3409
|
type: "OPENPGPKEY";
|
|
5576
3410
|
comment?: string;
|
|
5577
3411
|
content?: string;
|
|
@@ -5581,7 +3415,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5581
3415
|
}
|
|
5582
3416
|
| {
|
|
5583
3417
|
name: string;
|
|
5584
|
-
ttl: number;
|
|
3418
|
+
ttl: number | "1";
|
|
5585
3419
|
type: "PTR";
|
|
5586
3420
|
comment?: string;
|
|
5587
3421
|
content?: string;
|
|
@@ -5591,7 +3425,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5591
3425
|
}
|
|
5592
3426
|
| {
|
|
5593
3427
|
name: string;
|
|
5594
|
-
ttl: number;
|
|
3428
|
+
ttl: number | "1";
|
|
5595
3429
|
type: "TXT";
|
|
5596
3430
|
comment?: string;
|
|
5597
3431
|
content?: string;
|
|
@@ -5601,7 +3435,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5601
3435
|
}
|
|
5602
3436
|
| {
|
|
5603
3437
|
name: string;
|
|
5604
|
-
ttl: number;
|
|
3438
|
+
ttl: number | "1";
|
|
5605
3439
|
type: "CAA";
|
|
5606
3440
|
comment?: string;
|
|
5607
3441
|
data?: { flags?: number; tag?: string; value?: string };
|
|
@@ -5611,7 +3445,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5611
3445
|
}
|
|
5612
3446
|
| {
|
|
5613
3447
|
name: string;
|
|
5614
|
-
ttl: number;
|
|
3448
|
+
ttl: number | "1";
|
|
5615
3449
|
type: "CERT";
|
|
5616
3450
|
comment?: string;
|
|
5617
3451
|
data?: {
|
|
@@ -5626,7 +3460,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5626
3460
|
}
|
|
5627
3461
|
| {
|
|
5628
3462
|
name: string;
|
|
5629
|
-
ttl: number;
|
|
3463
|
+
ttl: number | "1";
|
|
5630
3464
|
type: "DNSKEY";
|
|
5631
3465
|
comment?: string;
|
|
5632
3466
|
data?: {
|
|
@@ -5641,7 +3475,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5641
3475
|
}
|
|
5642
3476
|
| {
|
|
5643
3477
|
name: string;
|
|
5644
|
-
ttl: number;
|
|
3478
|
+
ttl: number | "1";
|
|
5645
3479
|
type: "DS";
|
|
5646
3480
|
comment?: string;
|
|
5647
3481
|
data?: {
|
|
@@ -5656,7 +3490,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5656
3490
|
}
|
|
5657
3491
|
| {
|
|
5658
3492
|
name: string;
|
|
5659
|
-
ttl: number;
|
|
3493
|
+
ttl: number | "1";
|
|
5660
3494
|
type: "HTTPS";
|
|
5661
3495
|
comment?: string;
|
|
5662
3496
|
data?: { priority?: number; target?: string; value?: string };
|
|
@@ -5666,7 +3500,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5666
3500
|
}
|
|
5667
3501
|
| {
|
|
5668
3502
|
name: string;
|
|
5669
|
-
ttl: number;
|
|
3503
|
+
ttl: number | "1";
|
|
5670
3504
|
type: "LOC";
|
|
5671
3505
|
comment?: string;
|
|
5672
3506
|
data?: {
|
|
@@ -5689,7 +3523,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5689
3523
|
}
|
|
5690
3524
|
| {
|
|
5691
3525
|
name: string;
|
|
5692
|
-
ttl: number;
|
|
3526
|
+
ttl: number | "1";
|
|
5693
3527
|
type: "NAPTR";
|
|
5694
3528
|
comment?: string;
|
|
5695
3529
|
data?: {
|
|
@@ -5706,7 +3540,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5706
3540
|
}
|
|
5707
3541
|
| {
|
|
5708
3542
|
name: string;
|
|
5709
|
-
ttl: number;
|
|
3543
|
+
ttl: number | "1";
|
|
5710
3544
|
type: "SMIMEA";
|
|
5711
3545
|
comment?: string;
|
|
5712
3546
|
data?: {
|
|
@@ -5721,7 +3555,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5721
3555
|
}
|
|
5722
3556
|
| {
|
|
5723
3557
|
name: string;
|
|
5724
|
-
ttl: number;
|
|
3558
|
+
ttl: number | "1";
|
|
5725
3559
|
type: "SRV";
|
|
5726
3560
|
comment?: string;
|
|
5727
3561
|
data?: {
|
|
@@ -5736,7 +3570,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5736
3570
|
}
|
|
5737
3571
|
| {
|
|
5738
3572
|
name: string;
|
|
5739
|
-
ttl: number;
|
|
3573
|
+
ttl: number | "1";
|
|
5740
3574
|
type: "SSHFP";
|
|
5741
3575
|
comment?: string;
|
|
5742
3576
|
data?: { algorithm?: number; fingerprint?: string; type?: number };
|
|
@@ -5746,7 +3580,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5746
3580
|
}
|
|
5747
3581
|
| {
|
|
5748
3582
|
name: string;
|
|
5749
|
-
ttl: number;
|
|
3583
|
+
ttl: number | "1";
|
|
5750
3584
|
type: "SVCB";
|
|
5751
3585
|
comment?: string;
|
|
5752
3586
|
data?: { priority?: number; target?: string; value?: string };
|
|
@@ -5756,7 +3590,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5756
3590
|
}
|
|
5757
3591
|
| {
|
|
5758
3592
|
name: string;
|
|
5759
|
-
ttl: number;
|
|
3593
|
+
ttl: number | "1";
|
|
5760
3594
|
type: "TLSA";
|
|
5761
3595
|
comment?: string;
|
|
5762
3596
|
data?: {
|
|
@@ -5771,7 +3605,7 @@ export interface ScanReviewRecordRequest {
|
|
|
5771
3605
|
}
|
|
5772
3606
|
| {
|
|
5773
3607
|
name: string;
|
|
5774
|
-
ttl: number;
|
|
3608
|
+
ttl: number | "1";
|
|
5775
3609
|
type: "URI";
|
|
5776
3610
|
comment?: string;
|
|
5777
3611
|
data?: { target?: string; weight?: number };
|
|
@@ -5793,7 +3627,7 @@ export const ScanReviewRecordRequest =
|
|
|
5793
3627
|
Schema.Union([
|
|
5794
3628
|
Schema.Struct({
|
|
5795
3629
|
name: Schema.String,
|
|
5796
|
-
ttl: Schema.Number,
|
|
3630
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5797
3631
|
type: Schema.Literal("A"),
|
|
5798
3632
|
comment: Schema.optional(Schema.String),
|
|
5799
3633
|
content: Schema.optional(Schema.String),
|
|
@@ -5813,7 +3647,7 @@ export const ScanReviewRecordRequest =
|
|
|
5813
3647
|
}),
|
|
5814
3648
|
Schema.Struct({
|
|
5815
3649
|
name: Schema.String,
|
|
5816
|
-
ttl: Schema.Number,
|
|
3650
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5817
3651
|
type: Schema.Literal("AAAA"),
|
|
5818
3652
|
comment: Schema.optional(Schema.String),
|
|
5819
3653
|
content: Schema.optional(Schema.String),
|
|
@@ -5833,7 +3667,7 @@ export const ScanReviewRecordRequest =
|
|
|
5833
3667
|
}),
|
|
5834
3668
|
Schema.Struct({
|
|
5835
3669
|
name: Schema.String,
|
|
5836
|
-
ttl: Schema.Number,
|
|
3670
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5837
3671
|
type: Schema.Literal("CNAME"),
|
|
5838
3672
|
comment: Schema.optional(Schema.String),
|
|
5839
3673
|
content: Schema.optional(Schema.String),
|
|
@@ -5855,7 +3689,7 @@ export const ScanReviewRecordRequest =
|
|
|
5855
3689
|
}),
|
|
5856
3690
|
Schema.Struct({
|
|
5857
3691
|
name: Schema.String,
|
|
5858
|
-
ttl: Schema.Number,
|
|
3692
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5859
3693
|
type: Schema.Literal("MX"),
|
|
5860
3694
|
comment: Schema.optional(Schema.String),
|
|
5861
3695
|
content: Schema.optional(Schema.String),
|
|
@@ -5876,7 +3710,7 @@ export const ScanReviewRecordRequest =
|
|
|
5876
3710
|
}),
|
|
5877
3711
|
Schema.Struct({
|
|
5878
3712
|
name: Schema.String,
|
|
5879
|
-
ttl: Schema.Number,
|
|
3713
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5880
3714
|
type: Schema.Literal("NS"),
|
|
5881
3715
|
comment: Schema.optional(Schema.String),
|
|
5882
3716
|
content: Schema.optional(Schema.String),
|
|
@@ -5896,7 +3730,7 @@ export const ScanReviewRecordRequest =
|
|
|
5896
3730
|
}),
|
|
5897
3731
|
Schema.Struct({
|
|
5898
3732
|
name: Schema.String,
|
|
5899
|
-
ttl: Schema.Number,
|
|
3733
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5900
3734
|
type: Schema.Literal("OPENPGPKEY"),
|
|
5901
3735
|
comment: Schema.optional(Schema.String),
|
|
5902
3736
|
content: Schema.optional(Schema.String),
|
|
@@ -5916,7 +3750,7 @@ export const ScanReviewRecordRequest =
|
|
|
5916
3750
|
}),
|
|
5917
3751
|
Schema.Struct({
|
|
5918
3752
|
name: Schema.String,
|
|
5919
|
-
ttl: Schema.Number,
|
|
3753
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5920
3754
|
type: Schema.Literal("PTR"),
|
|
5921
3755
|
comment: Schema.optional(Schema.String),
|
|
5922
3756
|
content: Schema.optional(Schema.String),
|
|
@@ -5936,7 +3770,7 @@ export const ScanReviewRecordRequest =
|
|
|
5936
3770
|
}),
|
|
5937
3771
|
Schema.Struct({
|
|
5938
3772
|
name: Schema.String,
|
|
5939
|
-
ttl: Schema.Number,
|
|
3773
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5940
3774
|
type: Schema.Literal("TXT"),
|
|
5941
3775
|
comment: Schema.optional(Schema.String),
|
|
5942
3776
|
content: Schema.optional(Schema.String),
|
|
@@ -5956,7 +3790,7 @@ export const ScanReviewRecordRequest =
|
|
|
5956
3790
|
}),
|
|
5957
3791
|
Schema.Struct({
|
|
5958
3792
|
name: Schema.String,
|
|
5959
|
-
ttl: Schema.Number,
|
|
3793
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5960
3794
|
type: Schema.Literal("CAA"),
|
|
5961
3795
|
comment: Schema.optional(Schema.String),
|
|
5962
3796
|
data: Schema.optional(
|
|
@@ -5982,7 +3816,7 @@ export const ScanReviewRecordRequest =
|
|
|
5982
3816
|
}),
|
|
5983
3817
|
Schema.Struct({
|
|
5984
3818
|
name: Schema.String,
|
|
5985
|
-
ttl: Schema.Number,
|
|
3819
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5986
3820
|
type: Schema.Literal("CERT"),
|
|
5987
3821
|
comment: Schema.optional(Schema.String),
|
|
5988
3822
|
data: Schema.optional(
|
|
@@ -6016,7 +3850,7 @@ export const ScanReviewRecordRequest =
|
|
|
6016
3850
|
}),
|
|
6017
3851
|
Schema.Struct({
|
|
6018
3852
|
name: Schema.String,
|
|
6019
|
-
ttl: Schema.Number,
|
|
3853
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6020
3854
|
type: Schema.Literal("DNSKEY"),
|
|
6021
3855
|
comment: Schema.optional(Schema.String),
|
|
6022
3856
|
data: Schema.optional(
|
|
@@ -6050,7 +3884,7 @@ export const ScanReviewRecordRequest =
|
|
|
6050
3884
|
}),
|
|
6051
3885
|
Schema.Struct({
|
|
6052
3886
|
name: Schema.String,
|
|
6053
|
-
ttl: Schema.Number,
|
|
3887
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6054
3888
|
type: Schema.Literal("DS"),
|
|
6055
3889
|
comment: Schema.optional(Schema.String),
|
|
6056
3890
|
data: Schema.optional(
|
|
@@ -6084,7 +3918,7 @@ export const ScanReviewRecordRequest =
|
|
|
6084
3918
|
}),
|
|
6085
3919
|
Schema.Struct({
|
|
6086
3920
|
name: Schema.String,
|
|
6087
|
-
ttl: Schema.Number,
|
|
3921
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6088
3922
|
type: Schema.Literal("HTTPS"),
|
|
6089
3923
|
comment: Schema.optional(Schema.String),
|
|
6090
3924
|
data: Schema.optional(
|
|
@@ -6110,7 +3944,7 @@ export const ScanReviewRecordRequest =
|
|
|
6110
3944
|
}),
|
|
6111
3945
|
Schema.Struct({
|
|
6112
3946
|
name: Schema.String,
|
|
6113
|
-
ttl: Schema.Number,
|
|
3947
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6114
3948
|
type: Schema.Literal("LOC"),
|
|
6115
3949
|
comment: Schema.optional(Schema.String),
|
|
6116
3950
|
data: Schema.optional(
|
|
@@ -6160,7 +3994,7 @@ export const ScanReviewRecordRequest =
|
|
|
6160
3994
|
}),
|
|
6161
3995
|
Schema.Struct({
|
|
6162
3996
|
name: Schema.String,
|
|
6163
|
-
ttl: Schema.Number,
|
|
3997
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6164
3998
|
type: Schema.Literal("NAPTR"),
|
|
6165
3999
|
comment: Schema.optional(Schema.String),
|
|
6166
4000
|
data: Schema.optional(
|
|
@@ -6189,7 +4023,7 @@ export const ScanReviewRecordRequest =
|
|
|
6189
4023
|
}),
|
|
6190
4024
|
Schema.Struct({
|
|
6191
4025
|
name: Schema.String,
|
|
6192
|
-
ttl: Schema.Number,
|
|
4026
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6193
4027
|
type: Schema.Literal("SMIMEA"),
|
|
6194
4028
|
comment: Schema.optional(Schema.String),
|
|
6195
4029
|
data: Schema.optional(
|
|
@@ -6223,7 +4057,7 @@ export const ScanReviewRecordRequest =
|
|
|
6223
4057
|
}),
|
|
6224
4058
|
Schema.Struct({
|
|
6225
4059
|
name: Schema.String,
|
|
6226
|
-
ttl: Schema.Number,
|
|
4060
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6227
4061
|
type: Schema.Literal("SRV"),
|
|
6228
4062
|
comment: Schema.optional(Schema.String),
|
|
6229
4063
|
data: Schema.optional(
|
|
@@ -6250,7 +4084,7 @@ export const ScanReviewRecordRequest =
|
|
|
6250
4084
|
}),
|
|
6251
4085
|
Schema.Struct({
|
|
6252
4086
|
name: Schema.String,
|
|
6253
|
-
ttl: Schema.Number,
|
|
4087
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6254
4088
|
type: Schema.Literal("SSHFP"),
|
|
6255
4089
|
comment: Schema.optional(Schema.String),
|
|
6256
4090
|
data: Schema.optional(
|
|
@@ -6276,7 +4110,7 @@ export const ScanReviewRecordRequest =
|
|
|
6276
4110
|
}),
|
|
6277
4111
|
Schema.Struct({
|
|
6278
4112
|
name: Schema.String,
|
|
6279
|
-
ttl: Schema.Number,
|
|
4113
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6280
4114
|
type: Schema.Literal("SVCB"),
|
|
6281
4115
|
comment: Schema.optional(Schema.String),
|
|
6282
4116
|
data: Schema.optional(
|
|
@@ -6302,7 +4136,7 @@ export const ScanReviewRecordRequest =
|
|
|
6302
4136
|
}),
|
|
6303
4137
|
Schema.Struct({
|
|
6304
4138
|
name: Schema.String,
|
|
6305
|
-
ttl: Schema.Number,
|
|
4139
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6306
4140
|
type: Schema.Literal("TLSA"),
|
|
6307
4141
|
comment: Schema.optional(Schema.String),
|
|
6308
4142
|
data: Schema.optional(
|
|
@@ -6336,7 +4170,7 @@ export const ScanReviewRecordRequest =
|
|
|
6336
4170
|
}),
|
|
6337
4171
|
Schema.Struct({
|
|
6338
4172
|
name: Schema.String,
|
|
6339
|
-
ttl: Schema.Number,
|
|
4173
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6340
4174
|
type: Schema.Literal("URI"),
|
|
6341
4175
|
comment: Schema.optional(Schema.String),
|
|
6342
4176
|
data: Schema.optional(
|
|
@@ -6401,7 +4235,7 @@ export interface ScanReviewRecordResponse {
|
|
|
6401
4235
|
proxied: boolean;
|
|
6402
4236
|
settings: { ipv4Only?: boolean | null; ipv6Only?: boolean | null };
|
|
6403
4237
|
tags: string[];
|
|
6404
|
-
ttl: number;
|
|
4238
|
+
ttl: number | "1";
|
|
6405
4239
|
type: "OPENPGPKEY";
|
|
6406
4240
|
commentModifiedOn?: string | null;
|
|
6407
4241
|
tagsModifiedOn?: string | null;
|
|
@@ -6464,7 +4298,7 @@ export const ScanReviewRecordResponse =
|
|
|
6464
4298
|
}),
|
|
6465
4299
|
),
|
|
6466
4300
|
tags: Schema.Array(Schema.String),
|
|
6467
|
-
ttl: Schema.Number,
|
|
4301
|
+
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
6468
4302
|
type: Schema.Literal("OPENPGPKEY"),
|
|
6469
4303
|
commentModifiedOn: Schema.optional(
|
|
6470
4304
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -6539,12 +4373,11 @@ export interface GetSettingAccountResponse {
|
|
|
6539
4373
|
internalDns: { referenceZoneId?: string | null };
|
|
6540
4374
|
multiProvider: boolean;
|
|
6541
4375
|
nameservers: {
|
|
6542
|
-
type
|
|
4376
|
+
type:
|
|
6543
4377
|
| "cloudflare.standard"
|
|
6544
4378
|
| "cloudflare.standard.random"
|
|
6545
4379
|
| "custom.account"
|
|
6546
|
-
| "custom.tenant"
|
|
6547
|
-
| null;
|
|
4380
|
+
| "custom.tenant";
|
|
6548
4381
|
};
|
|
6549
4382
|
nsTtl: number;
|
|
6550
4383
|
secondaryOverrides: boolean;
|
|
@@ -6573,17 +4406,12 @@ export const GetSettingAccountResponse =
|
|
|
6573
4406
|
}).pipe(Schema.encodeKeys({ referenceZoneId: "reference_zone_id" })),
|
|
6574
4407
|
multiProvider: Schema.Boolean,
|
|
6575
4408
|
nameservers: Schema.Struct({
|
|
6576
|
-
type: Schema.
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
"custom.tenant",
|
|
6583
|
-
]),
|
|
6584
|
-
Schema.Null,
|
|
6585
|
-
]),
|
|
6586
|
-
),
|
|
4409
|
+
type: Schema.Literals([
|
|
4410
|
+
"cloudflare.standard",
|
|
4411
|
+
"cloudflare.standard.random",
|
|
4412
|
+
"custom.account",
|
|
4413
|
+
"custom.tenant",
|
|
4414
|
+
]),
|
|
6587
4415
|
}),
|
|
6588
4416
|
nsTtl: Schema.Number,
|
|
6589
4417
|
secondaryOverrides: Schema.Boolean,
|
|
@@ -6747,12 +4575,11 @@ export interface PatchSettingAccountResponse {
|
|
|
6747
4575
|
internalDns: { referenceZoneId?: string | null };
|
|
6748
4576
|
multiProvider: boolean;
|
|
6749
4577
|
nameservers: {
|
|
6750
|
-
type
|
|
4578
|
+
type:
|
|
6751
4579
|
| "cloudflare.standard"
|
|
6752
4580
|
| "cloudflare.standard.random"
|
|
6753
4581
|
| "custom.account"
|
|
6754
|
-
| "custom.tenant"
|
|
6755
|
-
| null;
|
|
4582
|
+
| "custom.tenant";
|
|
6756
4583
|
};
|
|
6757
4584
|
nsTtl: number;
|
|
6758
4585
|
secondaryOverrides: boolean;
|
|
@@ -6781,17 +4608,12 @@ export const PatchSettingAccountResponse =
|
|
|
6781
4608
|
}).pipe(Schema.encodeKeys({ referenceZoneId: "reference_zone_id" })),
|
|
6782
4609
|
multiProvider: Schema.Boolean,
|
|
6783
4610
|
nameservers: Schema.Struct({
|
|
6784
|
-
type: Schema.
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
"custom.tenant",
|
|
6791
|
-
]),
|
|
6792
|
-
Schema.Null,
|
|
6793
|
-
]),
|
|
6794
|
-
),
|
|
4611
|
+
type: Schema.Literals([
|
|
4612
|
+
"cloudflare.standard",
|
|
4613
|
+
"cloudflare.standard.random",
|
|
4614
|
+
"custom.account",
|
|
4615
|
+
"custom.tenant",
|
|
4616
|
+
]),
|
|
6795
4617
|
}),
|
|
6796
4618
|
nsTtl: Schema.Number,
|
|
6797
4619
|
secondaryOverrides: Schema.Boolean,
|
|
@@ -8633,10 +6455,12 @@ export const GetZoneTransferOutgoingStatusRequest =
|
|
|
8633
6455
|
}),
|
|
8634
6456
|
) as unknown as Schema.Schema<GetZoneTransferOutgoingStatusRequest>;
|
|
8635
6457
|
|
|
8636
|
-
export type GetZoneTransferOutgoingStatusResponse =
|
|
6458
|
+
export type GetZoneTransferOutgoingStatusResponse = string;
|
|
8637
6459
|
|
|
8638
6460
|
export const GetZoneTransferOutgoingStatusResponse =
|
|
8639
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
6461
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String.pipe(
|
|
6462
|
+
T.ResponsePath("result"),
|
|
6463
|
+
) as unknown as Schema.Schema<GetZoneTransferOutgoingStatusResponse>;
|
|
8640
6464
|
|
|
8641
6465
|
export type GetZoneTransferOutgoingStatusError = DefaultErrors;
|
|
8642
6466
|
|