From 4fe1a3d073f785a85d6abd9b984f50358311d199 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 23:39:57 +0000 Subject: [PATCH] feat(api): remove unneeded DNS transforms --- .stats.yml | 2 +- src/cloudflare/types/dns/batch_patch_param.py | 12 ++++++------ src/cloudflare/types/dns/batch_put_param.py | 12 ++++++------ src/cloudflare/types/dns/record_param.py | 10 +++++----- src/cloudflare/types/dns/record_response.py | 12 ++++++------ 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.stats.yml b/.stats.yml index 26db3db11f5..6f25ceda630 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1490 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d52d1344e2e65f3eda2fe8fff8c7d95cebf7cad134af21eaf9d6d5b6a04d783a.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6eed6659daa87db188a6095d59dbc3f6a84c1f63ca4e1b958283301d61cb16e5.yml diff --git a/src/cloudflare/types/dns/batch_patch_param.py b/src/cloudflare/types/dns/batch_patch_param.py index 629ed07b76d..e3e0ae92005 100644 --- a/src/cloudflare/types/dns/batch_patch_param.py +++ b/src/cloudflare/types/dns/batch_patch_param.py @@ -42,8 +42,8 @@ "MXRecord", "NAPTRRecord", "NSRecord", - "OpenpgpkeyRecord", - "OpenpgpkeyRecordSettings", + "Openpgpkey", + "OpenpgpkeySettings", "PTRRecord", "SMIMEARecord", "SRVRecord", @@ -115,7 +115,7 @@ class NSRecord(NSRecordParam): """Identifier""" -class OpenpgpkeyRecordSettings(TypedDict, total=False): +class OpenpgpkeySettings(TypedDict, total=False): ipv4_only: bool """ When enabled, only A records will be generated, and AAAA records will not be @@ -133,7 +133,7 @@ class OpenpgpkeyRecordSettings(TypedDict, total=False): """ -class OpenpgpkeyRecord(TypedDict, total=False): +class Openpgpkey(TypedDict, total=False): id: Required[str] """Identifier""" @@ -155,7 +155,7 @@ class OpenpgpkeyRecord(TypedDict, total=False): Cloudflare. """ - settings: OpenpgpkeyRecordSettings + settings: OpenpgpkeySettings """Settings for the DNS record.""" tags: List[RecordTags] @@ -225,7 +225,7 @@ class URIRecord(URIRecordParam): MXRecord, NAPTRRecord, NSRecord, - OpenpgpkeyRecord, + Openpgpkey, PTRRecord, SMIMEARecord, SRVRecord, diff --git a/src/cloudflare/types/dns/batch_put_param.py b/src/cloudflare/types/dns/batch_put_param.py index ea888ac7ad8..d21c25d5b4c 100644 --- a/src/cloudflare/types/dns/batch_put_param.py +++ b/src/cloudflare/types/dns/batch_put_param.py @@ -42,8 +42,8 @@ "MXRecord", "NAPTRRecord", "NSRecord", - "OpenpgpkeyRecord", - "OpenpgpkeyRecordSettings", + "Openpgpkey", + "OpenpgpkeySettings", "PTRRecord", "SMIMEARecord", "SRVRecord", @@ -115,7 +115,7 @@ class NSRecord(NSRecordParam): """Identifier""" -class OpenpgpkeyRecordSettings(TypedDict, total=False): +class OpenpgpkeySettings(TypedDict, total=False): ipv4_only: bool """ When enabled, only A records will be generated, and AAAA records will not be @@ -133,7 +133,7 @@ class OpenpgpkeyRecordSettings(TypedDict, total=False): """ -class OpenpgpkeyRecord(TypedDict, total=False): +class Openpgpkey(TypedDict, total=False): content: Required[str] """A single Base64-encoded OpenPGP Transferable Public Key (RFC 4880 Section 11.1)""" @@ -158,7 +158,7 @@ class OpenpgpkeyRecord(TypedDict, total=False): Cloudflare. """ - settings: OpenpgpkeyRecordSettings + settings: OpenpgpkeySettings """Settings for the DNS record.""" tags: List[RecordTags] @@ -225,7 +225,7 @@ class URIRecord(URIRecordParam): MXRecord, NAPTRRecord, NSRecord, - OpenpgpkeyRecord, + Openpgpkey, PTRRecord, SMIMEARecord, SRVRecord, diff --git a/src/cloudflare/types/dns/record_param.py b/src/cloudflare/types/dns/record_param.py index bcdb4942d97..fd9202fefef 100644 --- a/src/cloudflare/types/dns/record_param.py +++ b/src/cloudflare/types/dns/record_param.py @@ -28,10 +28,10 @@ from .dnskey_record_param import DNSKEYRecordParam from .smimea_record_param import SMIMEARecordParam -__all__ = ["RecordParam", "DNSRecordsOpenpgpkeyRecord", "DNSRecordsOpenpgpkeyRecordSettings"] +__all__ = ["RecordParam", "Openpgpkey", "OpenpgpkeySettings"] -class DNSRecordsOpenpgpkeyRecordSettings(TypedDict, total=False): +class OpenpgpkeySettings(TypedDict, total=False): ipv4_only: bool """ When enabled, only A records will be generated, and AAAA records will not be @@ -49,7 +49,7 @@ class DNSRecordsOpenpgpkeyRecordSettings(TypedDict, total=False): """ -class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False): +class Openpgpkey(TypedDict, total=False): comment: str """Comments or notes about the DNS record. @@ -68,7 +68,7 @@ class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False): Cloudflare. """ - settings: DNSRecordsOpenpgpkeyRecordSettings + settings: OpenpgpkeySettings """Settings for the DNS record.""" tags: List[RecordTags] @@ -98,7 +98,7 @@ class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False): MXRecordParam, NAPTRRecordParam, NSRecordParam, - DNSRecordsOpenpgpkeyRecord, + Openpgpkey, PTRRecordParam, SMIMEARecordParam, SRVRecordParam, diff --git a/src/cloudflare/types/dns/record_response.py b/src/cloudflare/types/dns/record_response.py index c86b40fed24..86334c5f111 100644 --- a/src/cloudflare/types/dns/record_response.py +++ b/src/cloudflare/types/dns/record_response.py @@ -44,8 +44,8 @@ "MXRecord", "NAPTRRecord", "NSRecord", - "OpenpgpkeyRecord", - "OpenpgpkeyRecordSettings", + "Openpgpkey", + "OpenpgpkeySettings", "PTRRecord", "SMIMEARecord", "SRVRecord", @@ -333,7 +333,7 @@ class NSRecord(ns_record.NSRecord): """When the record tags were last modified. Omitted if there are no tags.""" -class OpenpgpkeyRecordSettings(BaseModel): +class OpenpgpkeySettings(BaseModel): ipv4_only: Optional[bool] = None """ When enabled, only A records will be generated, and AAAA records will not be @@ -351,7 +351,7 @@ class OpenpgpkeyRecordSettings(BaseModel): """ -class OpenpgpkeyRecord(BaseModel): +class Openpgpkey(BaseModel): id: str """Identifier""" @@ -385,7 +385,7 @@ class OpenpgpkeyRecord(BaseModel): Cloudflare. """ - settings: OpenpgpkeyRecordSettings + settings: OpenpgpkeySettings """Settings for the DNS record.""" tags: List[RecordTags] @@ -605,7 +605,7 @@ class URIRecord(uri_record.URIRecord): MXRecord, NAPTRRecord, NSRecord, - OpenpgpkeyRecord, + Openpgpkey, PTRRecord, SMIMEARecord, SRVRecord,