Skip to content

Commit

Permalink
feat(api): remove unneeded DNS transforms (#2341)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 8, 2025
1 parent e6ff06c commit 11683b6
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 6 additions & 6 deletions src/cloudflare/types/dns/batch_patch_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"MXRecord",
"NAPTRRecord",
"NSRecord",
"OpenpgpkeyRecord",
"OpenpgpkeyRecordSettings",
"Openpgpkey",
"OpenpgpkeySettings",
"PTRRecord",
"SMIMEARecord",
"SRVRecord",
Expand Down Expand Up @@ -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
Expand All @@ -133,7 +133,7 @@ class OpenpgpkeyRecordSettings(TypedDict, total=False):
"""


class OpenpgpkeyRecord(TypedDict, total=False):
class Openpgpkey(TypedDict, total=False):
id: Required[str]
"""Identifier"""

Expand All @@ -155,7 +155,7 @@ class OpenpgpkeyRecord(TypedDict, total=False):
Cloudflare.
"""

settings: OpenpgpkeyRecordSettings
settings: OpenpgpkeySettings
"""Settings for the DNS record."""

tags: List[RecordTags]
Expand Down Expand Up @@ -225,7 +225,7 @@ class URIRecord(URIRecordParam):
MXRecord,
NAPTRRecord,
NSRecord,
OpenpgpkeyRecord,
Openpgpkey,
PTRRecord,
SMIMEARecord,
SRVRecord,
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/dns/batch_put_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"MXRecord",
"NAPTRRecord",
"NSRecord",
"OpenpgpkeyRecord",
"OpenpgpkeyRecordSettings",
"Openpgpkey",
"OpenpgpkeySettings",
"PTRRecord",
"SMIMEARecord",
"SRVRecord",
Expand Down Expand Up @@ -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
Expand All @@ -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)"""

Expand All @@ -158,7 +158,7 @@ class OpenpgpkeyRecord(TypedDict, total=False):
Cloudflare.
"""

settings: OpenpgpkeyRecordSettings
settings: OpenpgpkeySettings
"""Settings for the DNS record."""

tags: List[RecordTags]
Expand Down Expand Up @@ -225,7 +225,7 @@ class URIRecord(URIRecordParam):
MXRecord,
NAPTRRecord,
NSRecord,
OpenpgpkeyRecord,
Openpgpkey,
PTRRecord,
SMIMEARecord,
SRVRecord,
Expand Down
10 changes: 5 additions & 5 deletions src/cloudflare/types/dns/record_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -68,7 +68,7 @@ class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False):
Cloudflare.
"""

settings: DNSRecordsOpenpgpkeyRecordSettings
settings: OpenpgpkeySettings
"""Settings for the DNS record."""

tags: List[RecordTags]
Expand Down Expand Up @@ -98,7 +98,7 @@ class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False):
MXRecordParam,
NAPTRRecordParam,
NSRecordParam,
DNSRecordsOpenpgpkeyRecord,
Openpgpkey,
PTRRecordParam,
SMIMEARecordParam,
SRVRecordParam,
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/dns/record_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"MXRecord",
"NAPTRRecord",
"NSRecord",
"OpenpgpkeyRecord",
"OpenpgpkeyRecordSettings",
"Openpgpkey",
"OpenpgpkeySettings",
"PTRRecord",
"SMIMEARecord",
"SRVRecord",
Expand Down Expand Up @@ -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
Expand All @@ -351,7 +351,7 @@ class OpenpgpkeyRecordSettings(BaseModel):
"""


class OpenpgpkeyRecord(BaseModel):
class Openpgpkey(BaseModel):
id: str
"""Identifier"""

Expand Down Expand Up @@ -385,7 +385,7 @@ class OpenpgpkeyRecord(BaseModel):
Cloudflare.
"""

settings: OpenpgpkeyRecordSettings
settings: OpenpgpkeySettings
"""Settings for the DNS record."""

tags: List[RecordTags]
Expand Down Expand Up @@ -605,7 +605,7 @@ class URIRecord(uri_record.URIRecord):
MXRecord,
NAPTRRecord,
NSRecord,
OpenpgpkeyRecord,
Openpgpkey,
PTRRecord,
SMIMEARecord,
SRVRecord,
Expand Down

0 comments on commit 11683b6

Please sign in to comment.