Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent 14c465d commit e2d1620
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 50 deletions.
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

0 comments on commit e2d1620

Please sign in to comment.