Skip to content

Commit 63a6fc3

Browse files
stainless-app[bot]meorphis
authored andcommitted
feat(api): remove unneeded DNS transforms (#2304)
1 parent b583557 commit 63a6fc3

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1490
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d52d1344e2e65f3eda2fe8fff8c7d95cebf7cad134af21eaf9d6d5b6a04d783a.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6eed6659daa87db188a6095d59dbc3f6a84c1f63ca4e1b958283301d61cb16e5.yml

src/resources/dns/records.ts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export type BatchPatch =
490490
| MXRecord
491491
| NAPTRRecord
492492
| NSRecord
493-
| BatchPatch.DNSRecordsOpenpgpkeyRecord
493+
| BatchPatch.Openpgpkey
494494
| PTRRecord
495495
| SMIMEARecord
496496
| SRVRecord
@@ -501,7 +501,7 @@ export type BatchPatch =
501501
| URIRecord;
502502

503503
export namespace BatchPatch {
504-
export interface DNSRecordsOpenpgpkeyRecord {
504+
export interface Openpgpkey {
505505
/**
506506
* Comments or notes about the DNS record. This field has no effect on DNS
507507
* responses.
@@ -527,7 +527,7 @@ export namespace BatchPatch {
527527
/**
528528
* Settings for the DNS record.
529529
*/
530-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
530+
settings?: Openpgpkey.Settings;
531531

532532
/**
533533
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -547,7 +547,7 @@ export namespace BatchPatch {
547547
type?: 'OPENPGPKEY';
548548
}
549549

550-
export namespace DNSRecordsOpenpgpkeyRecord {
550+
export namespace Openpgpkey {
551551
/**
552552
* Settings for the DNS record.
553553
*/
@@ -584,7 +584,7 @@ export type BatchPatchParam =
584584
| MXRecordParam
585585
| NAPTRRecordParam
586586
| NSRecordParam
587-
| BatchPatchParam.DNSRecordsOpenpgpkeyRecord
587+
| BatchPatchParam.Openpgpkey
588588
| PTRRecordParam
589589
| SMIMEARecordParam
590590
| SRVRecordParam
@@ -595,7 +595,7 @@ export type BatchPatchParam =
595595
| URIRecordParam;
596596

597597
export namespace BatchPatchParam {
598-
export interface DNSRecordsOpenpgpkeyRecord {
598+
export interface Openpgpkey {
599599
/**
600600
* Comments or notes about the DNS record. This field has no effect on DNS
601601
* responses.
@@ -621,7 +621,7 @@ export namespace BatchPatchParam {
621621
/**
622622
* Settings for the DNS record.
623623
*/
624-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
624+
settings?: Openpgpkey.Settings;
625625

626626
/**
627627
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -641,7 +641,7 @@ export namespace BatchPatchParam {
641641
type?: 'OPENPGPKEY';
642642
}
643643

644-
export namespace DNSRecordsOpenpgpkeyRecord {
644+
export namespace Openpgpkey {
645645
/**
646646
* Settings for the DNS record.
647647
*/
@@ -678,7 +678,7 @@ export type BatchPut =
678678
| MXRecord
679679
| NAPTRRecord
680680
| NSRecord
681-
| BatchPut.DNSRecordsOpenpgpkeyRecord
681+
| BatchPut.Openpgpkey
682682
| PTRRecord
683683
| SMIMEARecord
684684
| SRVRecord
@@ -689,7 +689,7 @@ export type BatchPut =
689689
| URIRecord;
690690

691691
export namespace BatchPut {
692-
export interface DNSRecordsOpenpgpkeyRecord {
692+
export interface Openpgpkey {
693693
/**
694694
* Comments or notes about the DNS record. This field has no effect on DNS
695695
* responses.
@@ -715,7 +715,7 @@ export namespace BatchPut {
715715
/**
716716
* Settings for the DNS record.
717717
*/
718-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
718+
settings?: Openpgpkey.Settings;
719719

720720
/**
721721
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -735,7 +735,7 @@ export namespace BatchPut {
735735
type?: 'OPENPGPKEY';
736736
}
737737

738-
export namespace DNSRecordsOpenpgpkeyRecord {
738+
export namespace Openpgpkey {
739739
/**
740740
* Settings for the DNS record.
741741
*/
@@ -772,7 +772,7 @@ export type BatchPutParam =
772772
| MXRecordParam
773773
| NAPTRRecordParam
774774
| NSRecordParam
775-
| BatchPutParam.DNSRecordsOpenpgpkeyRecord
775+
| BatchPutParam.Openpgpkey
776776
| PTRRecordParam
777777
| SMIMEARecordParam
778778
| SRVRecordParam
@@ -783,7 +783,7 @@ export type BatchPutParam =
783783
| URIRecordParam;
784784

785785
export namespace BatchPutParam {
786-
export interface DNSRecordsOpenpgpkeyRecord {
786+
export interface Openpgpkey {
787787
/**
788788
* Comments or notes about the DNS record. This field has no effect on DNS
789789
* responses.
@@ -809,7 +809,7 @@ export namespace BatchPutParam {
809809
/**
810810
* Settings for the DNS record.
811811
*/
812-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
812+
settings?: Openpgpkey.Settings;
813813

814814
/**
815815
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -829,7 +829,7 @@ export namespace BatchPutParam {
829829
type?: 'OPENPGPKEY';
830830
}
831831

832-
export namespace DNSRecordsOpenpgpkeyRecord {
832+
export namespace Openpgpkey {
833833
/**
834834
* Settings for the DNS record.
835835
*/
@@ -2877,7 +2877,7 @@ export type Record =
28772877
| MXRecord
28782878
| NAPTRRecord
28792879
| NSRecord
2880-
| Record.DNSRecordsOpenpgpkeyRecord
2880+
| Record.Openpgpkey
28812881
| PTRRecord
28822882
| SMIMEARecord
28832883
| SRVRecord
@@ -2888,7 +2888,7 @@ export type Record =
28882888
| URIRecord;
28892889

28902890
export namespace Record {
2891-
export interface DNSRecordsOpenpgpkeyRecord {
2891+
export interface Openpgpkey {
28922892
/**
28932893
* Comments or notes about the DNS record. This field has no effect on DNS
28942894
* responses.
@@ -2914,7 +2914,7 @@ export namespace Record {
29142914
/**
29152915
* Settings for the DNS record.
29162916
*/
2917-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
2917+
settings?: Openpgpkey.Settings;
29182918

29192919
/**
29202920
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -2934,7 +2934,7 @@ export namespace Record {
29342934
type?: 'OPENPGPKEY';
29352935
}
29362936

2937-
export namespace DNSRecordsOpenpgpkeyRecord {
2937+
export namespace Openpgpkey {
29382938
/**
29392939
* Settings for the DNS record.
29402940
*/
@@ -2971,7 +2971,7 @@ export type RecordParam =
29712971
| MXRecordParam
29722972
| NAPTRRecordParam
29732973
| NSRecordParam
2974-
| RecordParam.DNSRecordsOpenpgpkeyRecord
2974+
| RecordParam.Openpgpkey
29752975
| PTRRecordParam
29762976
| SMIMEARecordParam
29772977
| SRVRecordParam
@@ -2982,7 +2982,7 @@ export type RecordParam =
29822982
| URIRecordParam;
29832983

29842984
export namespace RecordParam {
2985-
export interface DNSRecordsOpenpgpkeyRecord {
2985+
export interface Openpgpkey {
29862986
/**
29872987
* Comments or notes about the DNS record. This field has no effect on DNS
29882988
* responses.
@@ -3008,7 +3008,7 @@ export namespace RecordParam {
30083008
/**
30093009
* Settings for the DNS record.
30103010
*/
3011-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
3011+
settings?: Openpgpkey.Settings;
30123012

30133013
/**
30143014
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -3028,7 +3028,7 @@ export namespace RecordParam {
30283028
type?: 'OPENPGPKEY';
30293029
}
30303030

3031-
export namespace DNSRecordsOpenpgpkeyRecord {
3031+
export namespace Openpgpkey {
30323032
/**
30333033
* Settings for the DNS record.
30343034
*/
@@ -3065,7 +3065,7 @@ export type RecordResponse =
30653065
| MXRecord
30663066
| NAPTRRecord
30673067
| NSRecord
3068-
| RecordResponse.DNSRecordsOpenpgpkeyRecord
3068+
| RecordResponse.Openpgpkey
30693069
| PTRRecord
30703070
| SMIMEARecord
30713071
| SRVRecord
@@ -3076,7 +3076,7 @@ export type RecordResponse =
30763076
| URIRecord;
30773077

30783078
export namespace RecordResponse {
3079-
export interface DNSRecordsOpenpgpkeyRecord {
3079+
export interface Openpgpkey {
30803080
/**
30813081
* Comments or notes about the DNS record. This field has no effect on DNS
30823082
* responses.
@@ -3102,7 +3102,7 @@ export namespace RecordResponse {
31023102
/**
31033103
* Settings for the DNS record.
31043104
*/
3105-
settings?: DNSRecordsOpenpgpkeyRecord.Settings;
3105+
settings?: Openpgpkey.Settings;
31063106

31073107
/**
31083108
* Custom tags for the DNS record. This field has no effect on DNS responses.
@@ -3122,7 +3122,7 @@ export namespace RecordResponse {
31223122
type?: 'OPENPGPKEY';
31233123
}
31243124

3125-
export namespace DNSRecordsOpenpgpkeyRecord {
3125+
export namespace Openpgpkey {
31263126
/**
31273127
* Settings for the DNS record.
31283128
*/

0 commit comments

Comments
 (0)