Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): update via SDK Studio #465

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,7 @@ Types:

```python
from cloudflare.types.ssl import (
CertificatePackStatus,
Host,
CertificatePackListResponse,
CertificatePackDeleteResponse,
Expand Down
1 change: 1 addition & 0 deletions src/cloudflare/types/ssl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .verification import Verification as Verification
from .analyze_create_params import AnalyzeCreateParams as AnalyzeCreateParams
from .analyze_create_response import AnalyzeCreateResponse as AnalyzeCreateResponse
from .certificate_pack_status import CertificatePackStatus as CertificatePackStatus
from .verification_get_params import VerificationGetParams as VerificationGetParams
from .verification_edit_params import VerificationEditParams as VerificationEditParams
from .verification_get_response import VerificationGetResponse as VerificationGetResponse
Expand Down
27 changes: 2 additions & 25 deletions src/cloudflare/types/ssl/certificate_pack_edit_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from .host import Host
from ..._models import BaseModel
from .certificate_pack_status import CertificatePackStatus

__all__ = ["CertificatePackEditResponse"]

Expand Down Expand Up @@ -33,31 +34,7 @@ class CertificatePackEditResponse(BaseModel):
empty.
"""

status: Optional[
Literal[
"initializing",
"pending_validation",
"deleted",
"pending_issuance",
"pending_deployment",
"pending_deletion",
"pending_expiration",
"expired",
"active",
"initializing_timed_out",
"validation_timed_out",
"issuance_timed_out",
"deployment_timed_out",
"deletion_timed_out",
"pending_cleanup",
"staging_deployment",
"staging_active",
"deactivating",
"inactive",
"backup_issued",
"holding_deployment",
]
] = None
status: Optional[CertificatePackStatus] = None
"""Status of certificate pack."""

type: Optional[Literal["advanced"]] = None
Expand Down
29 changes: 29 additions & 0 deletions src/cloudflare/types/ssl/certificate_pack_status.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing_extensions import Literal

__all__ = ["CertificatePackStatus"]

CertificatePackStatus = Literal[
"initializing",
"pending_validation",
"deleted",
"pending_issuance",
"pending_deployment",
"pending_deletion",
"pending_expiration",
"expired",
"active",
"initializing_timed_out",
"validation_timed_out",
"issuance_timed_out",
"deployment_timed_out",
"deletion_timed_out",
"pending_cleanup",
"staging_deployment",
"staging_active",
"deactivating",
"inactive",
"backup_issued",
"holding_deployment",
]
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from ..host import Host
from ...._models import BaseModel
from ..certificate_pack_status import CertificatePackStatus

__all__ = ["OrderCreateResponse"]

Expand Down Expand Up @@ -33,31 +34,7 @@ class OrderCreateResponse(BaseModel):
empty.
"""

status: Optional[
Literal[
"initializing",
"pending_validation",
"deleted",
"pending_issuance",
"pending_deployment",
"pending_deletion",
"pending_expiration",
"expired",
"active",
"initializing_timed_out",
"validation_timed_out",
"issuance_timed_out",
"deployment_timed_out",
"deletion_timed_out",
"pending_cleanup",
"staging_deployment",
"staging_active",
"deactivating",
"inactive",
"backup_issued",
"holding_deployment",
]
] = None
status: Optional[CertificatePackStatus] = None
"""Status of certificate pack."""

type: Optional[Literal["advanced"]] = None
Expand Down