20
20
async_to_streamed_response_wrapper ,
21
21
)
22
22
from .._wrappers import ResultWrapper
23
- from ..types .ssl import CertificatePackRequestType , CertificatePackRequestValidity
23
+ from ..types .ssl import RequestType , RequestValidity
24
24
from ..pagination import SyncSinglePage , AsyncSinglePage
25
25
from .._base_client import (
26
26
AsyncPaginator ,
27
27
make_request_options ,
28
28
)
29
+ from ..types .ssl .request_type import RequestType
30
+ from ..types .ssl .request_validity import RequestValidity
29
31
from ..types .origin_ca_certificates import origin_ca_certificate_list_params , origin_ca_certificate_create_params
30
- from ..types .ssl .certificate_pack_request_type import CertificatePackRequestType
31
- from ..types .ssl .certificate_pack_request_validity import CertificatePackRequestValidity
32
32
from ..types .origin_ca_certificates .origin_ca_certificate import OriginCACertificate
33
33
from ..types .origin_ca_certificates .origin_ca_certificate_get_response import OriginCACertificateGetResponse
34
34
from ..types .origin_ca_certificates .origin_ca_certificate_create_response import OriginCACertificateCreateResponse
@@ -51,8 +51,8 @@ def create(
51
51
* ,
52
52
csr : str | NotGiven = NOT_GIVEN ,
53
53
hostnames : Iterable [object ] | NotGiven = NOT_GIVEN ,
54
- request_type : CertificatePackRequestType | NotGiven = NOT_GIVEN ,
55
- requested_validity : CertificatePackRequestValidity | NotGiven = NOT_GIVEN ,
54
+ request_type : RequestType | NotGiven = NOT_GIVEN ,
55
+ requested_validity : RequestValidity | NotGiven = NOT_GIVEN ,
56
56
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
57
57
# The extra values given here take precedence over values defined on the client or passed to this method.
58
58
extra_headers : Headers | None = None ,
@@ -259,8 +259,8 @@ async def create(
259
259
* ,
260
260
csr : str | NotGiven = NOT_GIVEN ,
261
261
hostnames : Iterable [object ] | NotGiven = NOT_GIVEN ,
262
- request_type : CertificatePackRequestType | NotGiven = NOT_GIVEN ,
263
- requested_validity : CertificatePackRequestValidity | NotGiven = NOT_GIVEN ,
262
+ request_type : RequestType | NotGiven = NOT_GIVEN ,
263
+ requested_validity : RequestValidity | NotGiven = NOT_GIVEN ,
264
264
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
265
265
# The extra values given here take precedence over values defined on the client or passed to this method.
266
266
extra_headers : Headers | None = None ,
0 commit comments