@distilled.cloud/cloudflare 0.22.3 → 0.22.4
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/abuse-reports.d.ts +39 -11
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +89 -11
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +21 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +33 -1
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/ai.d.ts +97 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +119 -2
- package/lib/services/ai.js.map +1 -1
- package/lib/services/bot-management.d.ts +16 -0
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +22 -0
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/browser-rendering.d.ts +25 -9
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +18 -9
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts +11 -0
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +17 -1
- package/lib/services/cache.js.map +1 -1
- package/lib/services/connectivity.d.ts +18 -32
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +56 -66
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/d1.d.ts +18 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +23 -5
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns.d.ts +129 -3
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +330 -6
- package/lib/services/dns.js.map +1 -1
- package/lib/services/magic-transit.d.ts +7 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +7 -1
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/network-interconnects.d.ts +5 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +21 -1
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/queues.d.ts +6 -4
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +8 -4
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2.d.ts +11 -4
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +13 -4
- package/lib/services/r2.js.map +1 -1
- package/lib/services/resource-tagging.d.ts +4 -2
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +4 -1
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rulesets.d.ts +510 -6
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +1298 -36
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/spectrum.d.ts +4 -8
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +12 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +12 -2
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +35 -3
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +12 -2
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +35 -3
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zero-trust.d.ts +1463 -557
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1654 -93
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +2 -0
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +1 -0
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/abuse-reports.ts +173 -22
- package/src/services/accounts.ts +66 -2
- package/src/services/ai.ts +235 -2
- package/src/services/bot-management.ts +48 -0
- package/src/services/browser-rendering.ts +43 -18
- package/src/services/cache.ts +31 -0
- package/src/services/connectivity.ts +78 -70
- package/src/services/d1.ts +43 -8
- package/src/services/dns.ts +549 -12
- package/src/services/magic-transit.ts +14 -2
- package/src/services/network-interconnects.ts +41 -2
- package/src/services/queues.ts +16 -8
- package/src/services/r2.ts +30 -7
- package/src/services/resource-tagging.ts +8 -2
- package/src/services/rulesets.ts +3283 -963
- package/src/services/spectrum.ts +36 -52
- package/src/services/workers-for-platforms.ts +63 -4
- package/src/services/workers.ts +63 -4
- package/src/services/zero-trust.ts +3071 -478
- package/src/services/zones.ts +3 -0
package/lib/services/dns.js
CHANGED
|
@@ -3551,7 +3551,32 @@ export const CreateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3551
3551
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3552
3552
|
name: Schema.String,
|
|
3553
3553
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
3554
|
-
type: Schema.
|
|
3554
|
+
type: Schema.Union([
|
|
3555
|
+
Schema.Literals([
|
|
3556
|
+
"A",
|
|
3557
|
+
"AAAA",
|
|
3558
|
+
"CNAME",
|
|
3559
|
+
"MX",
|
|
3560
|
+
"NS",
|
|
3561
|
+
"OPENPGPKEY",
|
|
3562
|
+
"PTR",
|
|
3563
|
+
"TXT",
|
|
3564
|
+
"CAA",
|
|
3565
|
+
"CERT",
|
|
3566
|
+
"DNSKEY",
|
|
3567
|
+
"DS",
|
|
3568
|
+
"HTTPS",
|
|
3569
|
+
"LOC",
|
|
3570
|
+
"NAPTR",
|
|
3571
|
+
"SMIMEA",
|
|
3572
|
+
"SRV",
|
|
3573
|
+
"SSHFP",
|
|
3574
|
+
"SVCB",
|
|
3575
|
+
"TLSA",
|
|
3576
|
+
"URI",
|
|
3577
|
+
]),
|
|
3578
|
+
Schema.String,
|
|
3579
|
+
]),
|
|
3555
3580
|
comment: Schema.optional(Schema.String),
|
|
3556
3581
|
content: Schema.optional(Schema.String),
|
|
3557
3582
|
privateRouting: Schema.optional(Schema.Boolean),
|
|
@@ -3559,8 +3584,89 @@ export const CreateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3559
3584
|
settings: Schema.optional(Schema.Struct({
|
|
3560
3585
|
ipv4Only: Schema.optional(Schema.Boolean),
|
|
3561
3586
|
ipv6Only: Schema.optional(Schema.Boolean),
|
|
3562
|
-
|
|
3587
|
+
flattenCname: Schema.optional(Schema.Boolean),
|
|
3588
|
+
}).pipe(Schema.encodeKeys({
|
|
3589
|
+
ipv4Only: "ipv4_only",
|
|
3590
|
+
ipv6Only: "ipv6_only",
|
|
3591
|
+
flattenCname: "flatten_cname",
|
|
3592
|
+
}))),
|
|
3563
3593
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
3594
|
+
priority: Schema.optional(Schema.Number),
|
|
3595
|
+
data: Schema.optional(Schema.Struct({
|
|
3596
|
+
flags: Schema.optional(Schema.Union([Schema.Number, Schema.String])),
|
|
3597
|
+
tag: Schema.optional(Schema.String),
|
|
3598
|
+
value: Schema.optional(Schema.String),
|
|
3599
|
+
algorithm: Schema.optional(Schema.Number),
|
|
3600
|
+
certificate: Schema.optional(Schema.String),
|
|
3601
|
+
keyTag: Schema.optional(Schema.Number),
|
|
3602
|
+
type: Schema.optional(Schema.Number),
|
|
3603
|
+
protocol: Schema.optional(Schema.Number),
|
|
3604
|
+
publicKey: Schema.optional(Schema.String),
|
|
3605
|
+
digest: Schema.optional(Schema.String),
|
|
3606
|
+
digestType: Schema.optional(Schema.Number),
|
|
3607
|
+
priority: Schema.optional(Schema.Number),
|
|
3608
|
+
target: Schema.optional(Schema.String),
|
|
3609
|
+
altitude: Schema.optional(Schema.Number),
|
|
3610
|
+
latDegrees: Schema.optional(Schema.Number),
|
|
3611
|
+
latDirection: Schema.optional(Schema.Union([Schema.Literals(["N", "S"]), Schema.String])),
|
|
3612
|
+
latMinutes: Schema.optional(Schema.Number),
|
|
3613
|
+
latSeconds: Schema.optional(Schema.Number),
|
|
3614
|
+
longDegrees: Schema.optional(Schema.Number),
|
|
3615
|
+
longDirection: Schema.optional(Schema.Union([Schema.Literals(["E", "W"]), Schema.String])),
|
|
3616
|
+
longMinutes: Schema.optional(Schema.Number),
|
|
3617
|
+
longSeconds: Schema.optional(Schema.Number),
|
|
3618
|
+
precisionHorz: Schema.optional(Schema.Number),
|
|
3619
|
+
precisionVert: Schema.optional(Schema.Number),
|
|
3620
|
+
size: Schema.optional(Schema.Number),
|
|
3621
|
+
order: Schema.optional(Schema.Number),
|
|
3622
|
+
preference: Schema.optional(Schema.Number),
|
|
3623
|
+
regex: Schema.optional(Schema.String),
|
|
3624
|
+
replacement: Schema.optional(Schema.String),
|
|
3625
|
+
service: Schema.optional(Schema.String),
|
|
3626
|
+
matchingType: Schema.optional(Schema.Number),
|
|
3627
|
+
selector: Schema.optional(Schema.Number),
|
|
3628
|
+
usage: Schema.optional(Schema.Number),
|
|
3629
|
+
port: Schema.optional(Schema.Number),
|
|
3630
|
+
weight: Schema.optional(Schema.Number),
|
|
3631
|
+
fingerprint: Schema.optional(Schema.String),
|
|
3632
|
+
}).pipe(Schema.encodeKeys({
|
|
3633
|
+
flags: "flags",
|
|
3634
|
+
tag: "tag",
|
|
3635
|
+
value: "value",
|
|
3636
|
+
algorithm: "algorithm",
|
|
3637
|
+
certificate: "certificate",
|
|
3638
|
+
keyTag: "key_tag",
|
|
3639
|
+
type: "type",
|
|
3640
|
+
protocol: "protocol",
|
|
3641
|
+
publicKey: "public_key",
|
|
3642
|
+
digest: "digest",
|
|
3643
|
+
digestType: "digest_type",
|
|
3644
|
+
priority: "priority",
|
|
3645
|
+
target: "target",
|
|
3646
|
+
altitude: "altitude",
|
|
3647
|
+
latDegrees: "lat_degrees",
|
|
3648
|
+
latDirection: "lat_direction",
|
|
3649
|
+
latMinutes: "lat_minutes",
|
|
3650
|
+
latSeconds: "lat_seconds",
|
|
3651
|
+
longDegrees: "long_degrees",
|
|
3652
|
+
longDirection: "long_direction",
|
|
3653
|
+
longMinutes: "long_minutes",
|
|
3654
|
+
longSeconds: "long_seconds",
|
|
3655
|
+
precisionHorz: "precision_horz",
|
|
3656
|
+
precisionVert: "precision_vert",
|
|
3657
|
+
size: "size",
|
|
3658
|
+
order: "order",
|
|
3659
|
+
preference: "preference",
|
|
3660
|
+
regex: "regex",
|
|
3661
|
+
replacement: "replacement",
|
|
3662
|
+
service: "service",
|
|
3663
|
+
matchingType: "matching_type",
|
|
3664
|
+
selector: "selector",
|
|
3665
|
+
usage: "usage",
|
|
3666
|
+
port: "port",
|
|
3667
|
+
weight: "weight",
|
|
3668
|
+
fingerprint: "fingerprint",
|
|
3669
|
+
}))),
|
|
3564
3670
|
}).pipe(Schema.encodeKeys({
|
|
3565
3671
|
name: "name",
|
|
3566
3672
|
ttl: "ttl",
|
|
@@ -3571,6 +3677,8 @@ export const CreateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3571
3677
|
proxied: "proxied",
|
|
3572
3678
|
settings: "settings",
|
|
3573
3679
|
tags: "tags",
|
|
3680
|
+
priority: "priority",
|
|
3681
|
+
data: "data",
|
|
3574
3682
|
}), T.Http({ method: "POST", path: "/zones/{zone_id}/dns_records" }));
|
|
3575
3683
|
export const CreateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
3576
3684
|
Schema.Struct({
|
|
@@ -4591,7 +4699,32 @@ export const UpdateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4591
4699
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
4592
4700
|
name: Schema.String,
|
|
4593
4701
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
4594
|
-
type: Schema.
|
|
4702
|
+
type: Schema.Union([
|
|
4703
|
+
Schema.Literals([
|
|
4704
|
+
"A",
|
|
4705
|
+
"AAAA",
|
|
4706
|
+
"CNAME",
|
|
4707
|
+
"MX",
|
|
4708
|
+
"NS",
|
|
4709
|
+
"OPENPGPKEY",
|
|
4710
|
+
"PTR",
|
|
4711
|
+
"TXT",
|
|
4712
|
+
"CAA",
|
|
4713
|
+
"CERT",
|
|
4714
|
+
"DNSKEY",
|
|
4715
|
+
"DS",
|
|
4716
|
+
"HTTPS",
|
|
4717
|
+
"LOC",
|
|
4718
|
+
"NAPTR",
|
|
4719
|
+
"SMIMEA",
|
|
4720
|
+
"SRV",
|
|
4721
|
+
"SSHFP",
|
|
4722
|
+
"SVCB",
|
|
4723
|
+
"TLSA",
|
|
4724
|
+
"URI",
|
|
4725
|
+
]),
|
|
4726
|
+
Schema.String,
|
|
4727
|
+
]),
|
|
4595
4728
|
comment: Schema.optional(Schema.String),
|
|
4596
4729
|
content: Schema.optional(Schema.String),
|
|
4597
4730
|
privateRouting: Schema.optional(Schema.Boolean),
|
|
@@ -4599,8 +4732,89 @@ export const UpdateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4599
4732
|
settings: Schema.optional(Schema.Struct({
|
|
4600
4733
|
ipv4Only: Schema.optional(Schema.Boolean),
|
|
4601
4734
|
ipv6Only: Schema.optional(Schema.Boolean),
|
|
4602
|
-
|
|
4735
|
+
flattenCname: Schema.optional(Schema.Boolean),
|
|
4736
|
+
}).pipe(Schema.encodeKeys({
|
|
4737
|
+
ipv4Only: "ipv4_only",
|
|
4738
|
+
ipv6Only: "ipv6_only",
|
|
4739
|
+
flattenCname: "flatten_cname",
|
|
4740
|
+
}))),
|
|
4603
4741
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
4742
|
+
priority: Schema.optional(Schema.Number),
|
|
4743
|
+
data: Schema.optional(Schema.Struct({
|
|
4744
|
+
flags: Schema.optional(Schema.Union([Schema.Number, Schema.String])),
|
|
4745
|
+
tag: Schema.optional(Schema.String),
|
|
4746
|
+
value: Schema.optional(Schema.String),
|
|
4747
|
+
algorithm: Schema.optional(Schema.Number),
|
|
4748
|
+
certificate: Schema.optional(Schema.String),
|
|
4749
|
+
keyTag: Schema.optional(Schema.Number),
|
|
4750
|
+
type: Schema.optional(Schema.Number),
|
|
4751
|
+
protocol: Schema.optional(Schema.Number),
|
|
4752
|
+
publicKey: Schema.optional(Schema.String),
|
|
4753
|
+
digest: Schema.optional(Schema.String),
|
|
4754
|
+
digestType: Schema.optional(Schema.Number),
|
|
4755
|
+
priority: Schema.optional(Schema.Number),
|
|
4756
|
+
target: Schema.optional(Schema.String),
|
|
4757
|
+
altitude: Schema.optional(Schema.Number),
|
|
4758
|
+
latDegrees: Schema.optional(Schema.Number),
|
|
4759
|
+
latDirection: Schema.optional(Schema.Union([Schema.Literals(["N", "S"]), Schema.String])),
|
|
4760
|
+
latMinutes: Schema.optional(Schema.Number),
|
|
4761
|
+
latSeconds: Schema.optional(Schema.Number),
|
|
4762
|
+
longDegrees: Schema.optional(Schema.Number),
|
|
4763
|
+
longDirection: Schema.optional(Schema.Union([Schema.Literals(["E", "W"]), Schema.String])),
|
|
4764
|
+
longMinutes: Schema.optional(Schema.Number),
|
|
4765
|
+
longSeconds: Schema.optional(Schema.Number),
|
|
4766
|
+
precisionHorz: Schema.optional(Schema.Number),
|
|
4767
|
+
precisionVert: Schema.optional(Schema.Number),
|
|
4768
|
+
size: Schema.optional(Schema.Number),
|
|
4769
|
+
order: Schema.optional(Schema.Number),
|
|
4770
|
+
preference: Schema.optional(Schema.Number),
|
|
4771
|
+
regex: Schema.optional(Schema.String),
|
|
4772
|
+
replacement: Schema.optional(Schema.String),
|
|
4773
|
+
service: Schema.optional(Schema.String),
|
|
4774
|
+
matchingType: Schema.optional(Schema.Number),
|
|
4775
|
+
selector: Schema.optional(Schema.Number),
|
|
4776
|
+
usage: Schema.optional(Schema.Number),
|
|
4777
|
+
port: Schema.optional(Schema.Number),
|
|
4778
|
+
weight: Schema.optional(Schema.Number),
|
|
4779
|
+
fingerprint: Schema.optional(Schema.String),
|
|
4780
|
+
}).pipe(Schema.encodeKeys({
|
|
4781
|
+
flags: "flags",
|
|
4782
|
+
tag: "tag",
|
|
4783
|
+
value: "value",
|
|
4784
|
+
algorithm: "algorithm",
|
|
4785
|
+
certificate: "certificate",
|
|
4786
|
+
keyTag: "key_tag",
|
|
4787
|
+
type: "type",
|
|
4788
|
+
protocol: "protocol",
|
|
4789
|
+
publicKey: "public_key",
|
|
4790
|
+
digest: "digest",
|
|
4791
|
+
digestType: "digest_type",
|
|
4792
|
+
priority: "priority",
|
|
4793
|
+
target: "target",
|
|
4794
|
+
altitude: "altitude",
|
|
4795
|
+
latDegrees: "lat_degrees",
|
|
4796
|
+
latDirection: "lat_direction",
|
|
4797
|
+
latMinutes: "lat_minutes",
|
|
4798
|
+
latSeconds: "lat_seconds",
|
|
4799
|
+
longDegrees: "long_degrees",
|
|
4800
|
+
longDirection: "long_direction",
|
|
4801
|
+
longMinutes: "long_minutes",
|
|
4802
|
+
longSeconds: "long_seconds",
|
|
4803
|
+
precisionHorz: "precision_horz",
|
|
4804
|
+
precisionVert: "precision_vert",
|
|
4805
|
+
size: "size",
|
|
4806
|
+
order: "order",
|
|
4807
|
+
preference: "preference",
|
|
4808
|
+
regex: "regex",
|
|
4809
|
+
replacement: "replacement",
|
|
4810
|
+
service: "service",
|
|
4811
|
+
matchingType: "matching_type",
|
|
4812
|
+
selector: "selector",
|
|
4813
|
+
usage: "usage",
|
|
4814
|
+
port: "port",
|
|
4815
|
+
weight: "weight",
|
|
4816
|
+
fingerprint: "fingerprint",
|
|
4817
|
+
}))),
|
|
4604
4818
|
}).pipe(Schema.encodeKeys({
|
|
4605
4819
|
name: "name",
|
|
4606
4820
|
ttl: "ttl",
|
|
@@ -4611,6 +4825,8 @@ export const UpdateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4611
4825
|
proxied: "proxied",
|
|
4612
4826
|
settings: "settings",
|
|
4613
4827
|
tags: "tags",
|
|
4828
|
+
priority: "priority",
|
|
4829
|
+
data: "data",
|
|
4614
4830
|
}), T.Http({ method: "PUT", path: "/zones/{zone_id}/dns_records/{dnsRecordId}" }));
|
|
4615
4831
|
export const UpdateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
4616
4832
|
Schema.Struct({
|
|
@@ -5631,7 +5847,32 @@ export const PatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5631
5847
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5632
5848
|
name: Schema.String,
|
|
5633
5849
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
5634
|
-
type: Schema.
|
|
5850
|
+
type: Schema.Union([
|
|
5851
|
+
Schema.Literals([
|
|
5852
|
+
"A",
|
|
5853
|
+
"AAAA",
|
|
5854
|
+
"CNAME",
|
|
5855
|
+
"MX",
|
|
5856
|
+
"NS",
|
|
5857
|
+
"OPENPGPKEY",
|
|
5858
|
+
"PTR",
|
|
5859
|
+
"TXT",
|
|
5860
|
+
"CAA",
|
|
5861
|
+
"CERT",
|
|
5862
|
+
"DNSKEY",
|
|
5863
|
+
"DS",
|
|
5864
|
+
"HTTPS",
|
|
5865
|
+
"LOC",
|
|
5866
|
+
"NAPTR",
|
|
5867
|
+
"SMIMEA",
|
|
5868
|
+
"SRV",
|
|
5869
|
+
"SSHFP",
|
|
5870
|
+
"SVCB",
|
|
5871
|
+
"TLSA",
|
|
5872
|
+
"URI",
|
|
5873
|
+
]),
|
|
5874
|
+
Schema.String,
|
|
5875
|
+
]),
|
|
5635
5876
|
comment: Schema.optional(Schema.String),
|
|
5636
5877
|
content: Schema.optional(Schema.String),
|
|
5637
5878
|
privateRouting: Schema.optional(Schema.Boolean),
|
|
@@ -5639,8 +5880,89 @@ export const PatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5639
5880
|
settings: Schema.optional(Schema.Struct({
|
|
5640
5881
|
ipv4Only: Schema.optional(Schema.Boolean),
|
|
5641
5882
|
ipv6Only: Schema.optional(Schema.Boolean),
|
|
5642
|
-
|
|
5883
|
+
flattenCname: Schema.optional(Schema.Boolean),
|
|
5884
|
+
}).pipe(Schema.encodeKeys({
|
|
5885
|
+
ipv4Only: "ipv4_only",
|
|
5886
|
+
ipv6Only: "ipv6_only",
|
|
5887
|
+
flattenCname: "flatten_cname",
|
|
5888
|
+
}))),
|
|
5643
5889
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
5890
|
+
priority: Schema.optional(Schema.Number),
|
|
5891
|
+
data: Schema.optional(Schema.Struct({
|
|
5892
|
+
flags: Schema.optional(Schema.Union([Schema.Number, Schema.String])),
|
|
5893
|
+
tag: Schema.optional(Schema.String),
|
|
5894
|
+
value: Schema.optional(Schema.String),
|
|
5895
|
+
algorithm: Schema.optional(Schema.Number),
|
|
5896
|
+
certificate: Schema.optional(Schema.String),
|
|
5897
|
+
keyTag: Schema.optional(Schema.Number),
|
|
5898
|
+
type: Schema.optional(Schema.Number),
|
|
5899
|
+
protocol: Schema.optional(Schema.Number),
|
|
5900
|
+
publicKey: Schema.optional(Schema.String),
|
|
5901
|
+
digest: Schema.optional(Schema.String),
|
|
5902
|
+
digestType: Schema.optional(Schema.Number),
|
|
5903
|
+
priority: Schema.optional(Schema.Number),
|
|
5904
|
+
target: Schema.optional(Schema.String),
|
|
5905
|
+
altitude: Schema.optional(Schema.Number),
|
|
5906
|
+
latDegrees: Schema.optional(Schema.Number),
|
|
5907
|
+
latDirection: Schema.optional(Schema.Union([Schema.Literals(["N", "S"]), Schema.String])),
|
|
5908
|
+
latMinutes: Schema.optional(Schema.Number),
|
|
5909
|
+
latSeconds: Schema.optional(Schema.Number),
|
|
5910
|
+
longDegrees: Schema.optional(Schema.Number),
|
|
5911
|
+
longDirection: Schema.optional(Schema.Union([Schema.Literals(["E", "W"]), Schema.String])),
|
|
5912
|
+
longMinutes: Schema.optional(Schema.Number),
|
|
5913
|
+
longSeconds: Schema.optional(Schema.Number),
|
|
5914
|
+
precisionHorz: Schema.optional(Schema.Number),
|
|
5915
|
+
precisionVert: Schema.optional(Schema.Number),
|
|
5916
|
+
size: Schema.optional(Schema.Number),
|
|
5917
|
+
order: Schema.optional(Schema.Number),
|
|
5918
|
+
preference: Schema.optional(Schema.Number),
|
|
5919
|
+
regex: Schema.optional(Schema.String),
|
|
5920
|
+
replacement: Schema.optional(Schema.String),
|
|
5921
|
+
service: Schema.optional(Schema.String),
|
|
5922
|
+
matchingType: Schema.optional(Schema.Number),
|
|
5923
|
+
selector: Schema.optional(Schema.Number),
|
|
5924
|
+
usage: Schema.optional(Schema.Number),
|
|
5925
|
+
port: Schema.optional(Schema.Number),
|
|
5926
|
+
weight: Schema.optional(Schema.Number),
|
|
5927
|
+
fingerprint: Schema.optional(Schema.String),
|
|
5928
|
+
}).pipe(Schema.encodeKeys({
|
|
5929
|
+
flags: "flags",
|
|
5930
|
+
tag: "tag",
|
|
5931
|
+
value: "value",
|
|
5932
|
+
algorithm: "algorithm",
|
|
5933
|
+
certificate: "certificate",
|
|
5934
|
+
keyTag: "key_tag",
|
|
5935
|
+
type: "type",
|
|
5936
|
+
protocol: "protocol",
|
|
5937
|
+
publicKey: "public_key",
|
|
5938
|
+
digest: "digest",
|
|
5939
|
+
digestType: "digest_type",
|
|
5940
|
+
priority: "priority",
|
|
5941
|
+
target: "target",
|
|
5942
|
+
altitude: "altitude",
|
|
5943
|
+
latDegrees: "lat_degrees",
|
|
5944
|
+
latDirection: "lat_direction",
|
|
5945
|
+
latMinutes: "lat_minutes",
|
|
5946
|
+
latSeconds: "lat_seconds",
|
|
5947
|
+
longDegrees: "long_degrees",
|
|
5948
|
+
longDirection: "long_direction",
|
|
5949
|
+
longMinutes: "long_minutes",
|
|
5950
|
+
longSeconds: "long_seconds",
|
|
5951
|
+
precisionHorz: "precision_horz",
|
|
5952
|
+
precisionVert: "precision_vert",
|
|
5953
|
+
size: "size",
|
|
5954
|
+
order: "order",
|
|
5955
|
+
preference: "preference",
|
|
5956
|
+
regex: "regex",
|
|
5957
|
+
replacement: "replacement",
|
|
5958
|
+
service: "service",
|
|
5959
|
+
matchingType: "matching_type",
|
|
5960
|
+
selector: "selector",
|
|
5961
|
+
usage: "usage",
|
|
5962
|
+
port: "port",
|
|
5963
|
+
weight: "weight",
|
|
5964
|
+
fingerprint: "fingerprint",
|
|
5965
|
+
}))),
|
|
5644
5966
|
}).pipe(Schema.encodeKeys({
|
|
5645
5967
|
name: "name",
|
|
5646
5968
|
ttl: "ttl",
|
|
@@ -5651,6 +5973,8 @@ export const PatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5651
5973
|
proxied: "proxied",
|
|
5652
5974
|
settings: "settings",
|
|
5653
5975
|
tags: "tags",
|
|
5976
|
+
priority: "priority",
|
|
5977
|
+
data: "data",
|
|
5654
5978
|
}), T.Http({
|
|
5655
5979
|
method: "PATCH",
|
|
5656
5980
|
path: "/zones/{zone_id}/dns_records/{dnsRecordId}",
|