diff --git a/.stats.yml b/.stats.yml index e1fc3d317a8..22676776e8e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 1707 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3a98ff8678360cbcb06d9de010a178736703c559351020d019e478cabc36a459.yml -openapi_spec_hash: ccd6a7d73340e32900371f494e0b371e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0c69cfbd224d24b679af456d7a0a6ab03a15502e8cffccbf6f6b7255c598fa3f.yml +openapi_spec_hash: 4859d93f7857fadefcd5c3f4fee4f757 config_hash: e30b863eac83985d5919f958f3cd8993 diff --git a/src/cloudflare/resources/api_gateway/configurations.py b/src/cloudflare/resources/api_gateway/configurations.py index 450f5205f0d..ef3de564751 100644 --- a/src/cloudflare/resources/api_gateway/configurations.py +++ b/src/cloudflare/resources/api_gateway/configurations.py @@ -65,7 +65,7 @@ def update( Set configuration properties Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -105,7 +105,7 @@ def get( Retrieve information about specific configuration properties Args: - zone_id: Identifier + zone_id: Identifier. properties: Requests information about certain properties. @@ -169,7 +169,7 @@ async def update( Set configuration properties Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -209,7 +209,7 @@ async def get( Retrieve information about specific configuration properties Args: - zone_id: Identifier + zone_id: Identifier. properties: Requests information about certain properties. diff --git a/src/cloudflare/resources/api_gateway/discovery/discovery.py b/src/cloudflare/resources/api_gateway/discovery/discovery.py index 9c3152dd49b..a55f40cb832 100644 --- a/src/cloudflare/resources/api_gateway/discovery/discovery.py +++ b/src/cloudflare/resources/api_gateway/discovery/discovery.py @@ -70,7 +70,7 @@ def get( schemas Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -135,7 +135,7 @@ async def get( schemas Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers diff --git a/src/cloudflare/resources/api_gateway/discovery/operations.py b/src/cloudflare/resources/api_gateway/discovery/operations.py index c2b1d48523b..275900fdb6b 100644 --- a/src/cloudflare/resources/api_gateway/discovery/operations.py +++ b/src/cloudflare/resources/api_gateway/discovery/operations.py @@ -77,7 +77,7 @@ def list( Retrieve the most up to date view of discovered operations Args: - zone_id: Identifier + zone_id: Identifier. diff: When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management @@ -165,7 +165,7 @@ def bulk_edit( Update the `state` on one or more discovered operations Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -207,9 +207,9 @@ def edit( Update the `state` on a discovered operation Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. state: Mark state of operation in API Discovery @@ -288,7 +288,7 @@ def list( Retrieve the most up to date view of discovered operations Args: - zone_id: Identifier + zone_id: Identifier. diff: When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management @@ -376,7 +376,7 @@ async def bulk_edit( Update the `state` on one or more discovered operations Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -418,9 +418,9 @@ async def edit( Update the `state` on a discovered operation Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. state: Mark state of operation in API Discovery diff --git a/src/cloudflare/resources/api_gateway/expression_template/fallthrough.py b/src/cloudflare/resources/api_gateway/expression_template/fallthrough.py index 1cb60fb64c1..10a1086db14 100644 --- a/src/cloudflare/resources/api_gateway/expression_template/fallthrough.py +++ b/src/cloudflare/resources/api_gateway/expression_template/fallthrough.py @@ -63,7 +63,7 @@ def create( Generate fallthrough WAF expression template from a set of API hosts Args: - zone_id: Identifier + zone_id: Identifier. hosts: List of hosts to be targeted in the expression @@ -127,7 +127,7 @@ async def create( Generate fallthrough WAF expression template from a set of API hosts Args: - zone_id: Identifier + zone_id: Identifier. hosts: List of hosts to be targeted in the expression diff --git a/src/cloudflare/resources/api_gateway/operations/operations.py b/src/cloudflare/resources/api_gateway/operations/operations.py index eae381497ff..bfd39dfb498 100644 --- a/src/cloudflare/resources/api_gateway/operations/operations.py +++ b/src/cloudflare/resources/api_gateway/operations/operations.py @@ -94,7 +94,7 @@ def create( last_updated date. Args: - zone_id: Identifier + zone_id: Identifier. endpoint: The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during @@ -158,7 +158,7 @@ def list( Retrieve information about all operations on a zone Args: - zone_id: Identifier + zone_id: Identifier. direction: Direction to order results. @@ -230,9 +230,9 @@ def delete( Delete an operation Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. extra_headers: Send extra headers @@ -275,7 +275,7 @@ def bulk_create( its last_updated date. Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -313,7 +313,7 @@ def bulk_delete( Delete multiple operations Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -350,9 +350,9 @@ def get( Retrieve information about an operation Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. feature: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description @@ -431,7 +431,7 @@ async def create( last_updated date. Args: - zone_id: Identifier + zone_id: Identifier. endpoint: The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during @@ -495,7 +495,7 @@ def list( Retrieve information about all operations on a zone Args: - zone_id: Identifier + zone_id: Identifier. direction: Direction to order results. @@ -567,9 +567,9 @@ async def delete( Delete an operation Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. extra_headers: Send extra headers @@ -612,7 +612,7 @@ def bulk_create( its last_updated date. Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -650,7 +650,7 @@ async def bulk_delete( Delete multiple operations Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -687,9 +687,9 @@ async def get( Retrieve information about an operation Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. feature: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description diff --git a/src/cloudflare/resources/api_gateway/operations/schema_validation.py b/src/cloudflare/resources/api_gateway/operations/schema_validation.py index d08ebba4175..bf5719e03c2 100644 --- a/src/cloudflare/resources/api_gateway/operations/schema_validation.py +++ b/src/cloudflare/resources/api_gateway/operations/schema_validation.py @@ -72,9 +72,9 @@ def update( Updates operation-level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. mitigation_action: When set, this applies a mitigation action to this operation @@ -124,7 +124,7 @@ def edit( Updates multiple operation-level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -165,9 +165,9 @@ def get( Retrieves operation-level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. extra_headers: Send extra headers @@ -227,9 +227,9 @@ async def update( Updates operation-level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. mitigation_action: When set, this applies a mitigation action to this operation @@ -279,7 +279,7 @@ async def edit( Updates multiple operation-level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -322,9 +322,9 @@ async def get( Retrieves operation-level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. - operation_id: UUID + operation_id: UUID. extra_headers: Send extra headers diff --git a/src/cloudflare/resources/api_gateway/schemas.py b/src/cloudflare/resources/api_gateway/schemas.py index 79611e37e5d..a7948ca67f9 100644 --- a/src/cloudflare/resources/api_gateway/schemas.py +++ b/src/cloudflare/resources/api_gateway/schemas.py @@ -65,7 +65,7 @@ def list( Retrieve operations and features as OpenAPI schemas Args: - zone_id: Identifier + zone_id: Identifier. feature: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description @@ -140,7 +140,7 @@ async def list( Retrieve operations and features as OpenAPI schemas Args: - zone_id: Identifier + zone_id: Identifier. feature: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description diff --git a/src/cloudflare/resources/api_gateway/settings/schema_validation.py b/src/cloudflare/resources/api_gateway/settings/schema_validation.py index ccb54128e03..716cf25e34b 100644 --- a/src/cloudflare/resources/api_gateway/settings/schema_validation.py +++ b/src/cloudflare/resources/api_gateway/settings/schema_validation.py @@ -64,7 +64,7 @@ def update( Updates zone level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. validation_default_mitigation_action: The default mitigation action used when there is no mitigation action defined on the operation @@ -126,7 +126,7 @@ def edit( Updates zone level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. validation_default_mitigation_action: The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: @@ -187,7 +187,7 @@ def get( Retrieves zone level schema validation settings currently set on the zone Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -245,7 +245,7 @@ async def update( Updates zone level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. validation_default_mitigation_action: The default mitigation action used when there is no mitigation action defined on the operation @@ -307,7 +307,7 @@ async def edit( Updates zone level schema validation settings on the zone Args: - zone_id: Identifier + zone_id: Identifier. validation_default_mitigation_action: The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: @@ -368,7 +368,7 @@ async def get( Retrieves zone level schema validation settings currently set on the zone Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers diff --git a/src/cloudflare/resources/api_gateway/user_schemas/hosts.py b/src/cloudflare/resources/api_gateway/user_schemas/hosts.py index aa9fcadb55f..eba45a77d93 100644 --- a/src/cloudflare/resources/api_gateway/user_schemas/hosts.py +++ b/src/cloudflare/resources/api_gateway/user_schemas/hosts.py @@ -59,7 +59,7 @@ def list( Retrieve schema hosts in a zone Args: - zone_id: Identifier + zone_id: Identifier. page: Page number of paginated results. @@ -132,7 +132,7 @@ def list( Retrieve schema hosts in a zone Args: - zone_id: Identifier + zone_id: Identifier. page: Page number of paginated results. diff --git a/src/cloudflare/resources/api_gateway/user_schemas/operations.py b/src/cloudflare/resources/api_gateway/user_schemas/operations.py index 5a9c28fa03d..a75cd28dbfb 100644 --- a/src/cloudflare/resources/api_gateway/user_schemas/operations.py +++ b/src/cloudflare/resources/api_gateway/user_schemas/operations.py @@ -70,7 +70,7 @@ def list( Shield Endpoint Management will be returned as full operations. Args: - zone_id: Identifier + zone_id: Identifier. endpoint: Filter results to only include endpoints containing this pattern. @@ -173,7 +173,7 @@ def list( Shield Endpoint Management will be returned as full operations. Args: - zone_id: Identifier + zone_id: Identifier. endpoint: Filter results to only include endpoints containing this pattern. diff --git a/src/cloudflare/resources/api_gateway/user_schemas/user_schemas.py b/src/cloudflare/resources/api_gateway/user_schemas/user_schemas.py index 35c37f69fb6..4d7d7176063 100644 --- a/src/cloudflare/resources/api_gateway/user_schemas/user_schemas.py +++ b/src/cloudflare/resources/api_gateway/user_schemas/user_schemas.py @@ -101,7 +101,7 @@ def create( Upload a schema to a zone Args: - zone_id: Identifier + zone_id: Identifier. file: Schema file bytes @@ -167,7 +167,7 @@ def list( Retrieve information about all schemas on a zone Args: - zone_id: Identifier + zone_id: Identifier. omit_source: Omit the source-files of schemas and only retrieve their meta-data. @@ -224,7 +224,7 @@ def delete( Delete a schema Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -263,7 +263,7 @@ def edit( Enable validation for a schema Args: - zone_id: Identifier + zone_id: Identifier. validation_enabled: Flag whether schema is enabled for validation. @@ -311,7 +311,7 @@ def get( Retrieve information about a specific schema on a zone Args: - zone_id: Identifier + zone_id: Identifier. omit_source: Omit the source-files of schemas and only retrieve their meta-data. @@ -388,7 +388,7 @@ async def create( Upload a schema to a zone Args: - zone_id: Identifier + zone_id: Identifier. file: Schema file bytes @@ -454,7 +454,7 @@ def list( Retrieve information about all schemas on a zone Args: - zone_id: Identifier + zone_id: Identifier. omit_source: Omit the source-files of schemas and only retrieve their meta-data. @@ -511,7 +511,7 @@ async def delete( Delete a schema Args: - zone_id: Identifier + zone_id: Identifier. extra_headers: Send extra headers @@ -550,7 +550,7 @@ async def edit( Enable validation for a schema Args: - zone_id: Identifier + zone_id: Identifier. validation_enabled: Flag whether schema is enabled for validation. @@ -598,7 +598,7 @@ async def get( Retrieve information about a specific schema on a zone Args: - zone_id: Identifier + zone_id: Identifier. omit_source: Omit the source-files of schemas and only retrieve their meta-data. diff --git a/src/cloudflare/types/api_gateway/configuration_get_params.py b/src/cloudflare/types/api_gateway/configuration_get_params.py index c1be0a862e8..be75145cb97 100644 --- a/src/cloudflare/types/api_gateway/configuration_get_params.py +++ b/src/cloudflare/types/api_gateway/configuration_get_params.py @@ -10,7 +10,7 @@ class ConfigurationGetParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" properties: List[Literal["auth_id_characteristics"]] """Requests information about certain properties.""" diff --git a/src/cloudflare/types/api_gateway/configuration_update_params.py b/src/cloudflare/types/api_gateway/configuration_update_params.py index 35652656bbe..e7d6008177c 100644 --- a/src/cloudflare/types/api_gateway/configuration_update_params.py +++ b/src/cloudflare/types/api_gateway/configuration_update_params.py @@ -15,7 +15,7 @@ class ConfigurationUpdateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" auth_id_characteristics: Required[Iterable[AuthIDCharacteristic]] diff --git a/src/cloudflare/types/api_gateway/configuration_update_response.py b/src/cloudflare/types/api_gateway/configuration_update_response.py index ae84bf09c04..91b789cf066 100644 --- a/src/cloudflare/types/api_gateway/configuration_update_response.py +++ b/src/cloudflare/types/api_gateway/configuration_update_response.py @@ -14,4 +14,4 @@ class ConfigurationUpdateResponse(BaseModel): messages: Message success: Literal[True] - """Whether the API call was successful""" + """Whether the API call was successful.""" diff --git a/src/cloudflare/types/api_gateway/discovery/operation_bulk_edit_params.py b/src/cloudflare/types/api_gateway/discovery/operation_bulk_edit_params.py index db2119fa7b6..f48b612d1c7 100644 --- a/src/cloudflare/types/api_gateway/discovery/operation_bulk_edit_params.py +++ b/src/cloudflare/types/api_gateway/discovery/operation_bulk_edit_params.py @@ -10,7 +10,7 @@ class OperationBulkEditParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" body: Required[Dict[str, Body]] diff --git a/src/cloudflare/types/api_gateway/discovery/operation_edit_params.py b/src/cloudflare/types/api_gateway/discovery/operation_edit_params.py index 903d84d39fc..8431ce868d8 100644 --- a/src/cloudflare/types/api_gateway/discovery/operation_edit_params.py +++ b/src/cloudflare/types/api_gateway/discovery/operation_edit_params.py @@ -9,7 +9,7 @@ class OperationEditParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" state: Literal["review", "ignored"] """Mark state of operation in API Discovery diff --git a/src/cloudflare/types/api_gateway/discovery/operation_list_params.py b/src/cloudflare/types/api_gateway/discovery/operation_list_params.py index 7326f3e09c1..72cad890202 100644 --- a/src/cloudflare/types/api_gateway/discovery/operation_list_params.py +++ b/src/cloudflare/types/api_gateway/discovery/operation_list_params.py @@ -10,7 +10,7 @@ class OperationListParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" diff: bool """ diff --git a/src/cloudflare/types/api_gateway/discovery_operation.py b/src/cloudflare/types/api_gateway/discovery_operation.py index 06271ce05a4..66c1bbef256 100644 --- a/src/cloudflare/types/api_gateway/discovery_operation.py +++ b/src/cloudflare/types/api_gateway/discovery_operation.py @@ -25,7 +25,7 @@ class Features(BaseModel): class DiscoveryOperation(BaseModel): id: str - """UUID""" + """UUID.""" endpoint: str """ diff --git a/src/cloudflare/types/api_gateway/expression_template/fallthrough_create_params.py b/src/cloudflare/types/api_gateway/expression_template/fallthrough_create_params.py index 1aa894b2732..bac1f6b7a63 100644 --- a/src/cloudflare/types/api_gateway/expression_template/fallthrough_create_params.py +++ b/src/cloudflare/types/api_gateway/expression_template/fallthrough_create_params.py @@ -10,7 +10,7 @@ class FallthroughCreateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" hosts: Required[List[str]] """List of hosts to be targeted in the expression""" diff --git a/src/cloudflare/types/api_gateway/message.py b/src/cloudflare/types/api_gateway/message.py index 3cc2e671066..8ac2447fc82 100644 --- a/src/cloudflare/types/api_gateway/message.py +++ b/src/cloudflare/types/api_gateway/message.py @@ -1,10 +1,25 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List +from typing import List, Optional from typing_extensions import TypeAlias -from ..shared.response_info import ResponseInfo +from ..._models import BaseModel -__all__ = ["Message"] +__all__ = ["Message", "MessageItem", "MessageItemSource"] -Message: TypeAlias = List[ResponseInfo] + +class MessageItemSource(BaseModel): + pointer: Optional[str] = None + + +class MessageItem(BaseModel): + code: int + + message: str + + documentation_url: Optional[str] = None + + source: Optional[MessageItemSource] = None + + +Message: TypeAlias = List[MessageItem] diff --git a/src/cloudflare/types/api_gateway/operation_bulk_create_params.py b/src/cloudflare/types/api_gateway/operation_bulk_create_params.py index 8672ae972e9..f5ef1ce8db1 100644 --- a/src/cloudflare/types/api_gateway/operation_bulk_create_params.py +++ b/src/cloudflare/types/api_gateway/operation_bulk_create_params.py @@ -10,7 +10,7 @@ class OperationBulkCreateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" body: Required[Iterable[Body]] diff --git a/src/cloudflare/types/api_gateway/operation_bulk_create_response.py b/src/cloudflare/types/api_gateway/operation_bulk_create_response.py index 9079c8b44c1..e6f7ffacb8e 100644 --- a/src/cloudflare/types/api_gateway/operation_bulk_create_response.py +++ b/src/cloudflare/types/api_gateway/operation_bulk_create_response.py @@ -169,7 +169,7 @@ class FeaturesAPIShieldOperationFeatureConfidenceIntervals(BaseModel): class FeaturesAPIShieldOperationFeatureSchemaInfoSchemaInfoActiveSchema(BaseModel): id: Optional[str] = None - """UUID""" + """UUID.""" created_at: Optional[datetime] = None @@ -222,6 +222,6 @@ class OperationBulkCreateResponse(BaseModel): """The HTTP method used to access the endpoint.""" operation_id: str - """UUID""" + """UUID.""" features: Optional[Features] = None diff --git a/src/cloudflare/types/api_gateway/operation_bulk_delete_response.py b/src/cloudflare/types/api_gateway/operation_bulk_delete_response.py index fa2db0d647c..5e2e15abd74 100644 --- a/src/cloudflare/types/api_gateway/operation_bulk_delete_response.py +++ b/src/cloudflare/types/api_gateway/operation_bulk_delete_response.py @@ -14,4 +14,4 @@ class OperationBulkDeleteResponse(BaseModel): messages: Message success: Literal[True] - """Whether the API call was successful""" + """Whether the API call was successful.""" diff --git a/src/cloudflare/types/api_gateway/operation_create_params.py b/src/cloudflare/types/api_gateway/operation_create_params.py index 4563a0f9afb..f6eeb0677a1 100644 --- a/src/cloudflare/types/api_gateway/operation_create_params.py +++ b/src/cloudflare/types/api_gateway/operation_create_params.py @@ -9,7 +9,7 @@ class OperationCreateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" endpoint: Required[str] """ diff --git a/src/cloudflare/types/api_gateway/operation_create_response.py b/src/cloudflare/types/api_gateway/operation_create_response.py index a9b73ff2a91..329ad70fb76 100644 --- a/src/cloudflare/types/api_gateway/operation_create_response.py +++ b/src/cloudflare/types/api_gateway/operation_create_response.py @@ -169,7 +169,7 @@ class FeaturesAPIShieldOperationFeatureConfidenceIntervals(BaseModel): class FeaturesAPIShieldOperationFeatureSchemaInfoSchemaInfoActiveSchema(BaseModel): id: Optional[str] = None - """UUID""" + """UUID.""" created_at: Optional[datetime] = None @@ -222,6 +222,6 @@ class OperationCreateResponse(BaseModel): """The HTTP method used to access the endpoint.""" operation_id: str - """UUID""" + """UUID.""" features: Optional[Features] = None diff --git a/src/cloudflare/types/api_gateway/operation_delete_response.py b/src/cloudflare/types/api_gateway/operation_delete_response.py index 3122a809ae2..c66bed9cd35 100644 --- a/src/cloudflare/types/api_gateway/operation_delete_response.py +++ b/src/cloudflare/types/api_gateway/operation_delete_response.py @@ -14,4 +14,4 @@ class OperationDeleteResponse(BaseModel): messages: Message success: Literal[True] - """Whether the API call was successful""" + """Whether the API call was successful.""" diff --git a/src/cloudflare/types/api_gateway/operation_get_params.py b/src/cloudflare/types/api_gateway/operation_get_params.py index e752e501aae..80b1e80e724 100644 --- a/src/cloudflare/types/api_gateway/operation_get_params.py +++ b/src/cloudflare/types/api_gateway/operation_get_params.py @@ -10,7 +10,7 @@ class OperationGetParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" feature: List[Literal["thresholds", "parameter_schemas", "schema_info"]] """Add feature(s) to the results. diff --git a/src/cloudflare/types/api_gateway/operation_get_response.py b/src/cloudflare/types/api_gateway/operation_get_response.py index 36585cba248..99aed4fdc32 100644 --- a/src/cloudflare/types/api_gateway/operation_get_response.py +++ b/src/cloudflare/types/api_gateway/operation_get_response.py @@ -169,7 +169,7 @@ class FeaturesAPIShieldOperationFeatureConfidenceIntervals(BaseModel): class FeaturesAPIShieldOperationFeatureSchemaInfoSchemaInfoActiveSchema(BaseModel): id: Optional[str] = None - """UUID""" + """UUID.""" created_at: Optional[datetime] = None @@ -222,6 +222,6 @@ class OperationGetResponse(BaseModel): """The HTTP method used to access the endpoint.""" operation_id: str - """UUID""" + """UUID.""" features: Optional[Features] = None diff --git a/src/cloudflare/types/api_gateway/operation_list_params.py b/src/cloudflare/types/api_gateway/operation_list_params.py index 1244f5a078f..5e75c59f81d 100644 --- a/src/cloudflare/types/api_gateway/operation_list_params.py +++ b/src/cloudflare/types/api_gateway/operation_list_params.py @@ -10,7 +10,7 @@ class OperationListParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" direction: Literal["asc", "desc"] """Direction to order results.""" diff --git a/src/cloudflare/types/api_gateway/operation_list_response.py b/src/cloudflare/types/api_gateway/operation_list_response.py index de42fa68ed0..e33db11f2e6 100644 --- a/src/cloudflare/types/api_gateway/operation_list_response.py +++ b/src/cloudflare/types/api_gateway/operation_list_response.py @@ -169,7 +169,7 @@ class FeaturesAPIShieldOperationFeatureConfidenceIntervals(BaseModel): class FeaturesAPIShieldOperationFeatureSchemaInfoSchemaInfoActiveSchema(BaseModel): id: Optional[str] = None - """UUID""" + """UUID.""" created_at: Optional[datetime] = None @@ -222,6 +222,6 @@ class OperationListResponse(BaseModel): """The HTTP method used to access the endpoint.""" operation_id: str - """UUID""" + """UUID.""" features: Optional[Features] = None diff --git a/src/cloudflare/types/api_gateway/operations/schema_validation_edit_params.py b/src/cloudflare/types/api_gateway/operations/schema_validation_edit_params.py index 45926402aa5..ac49e74f27c 100644 --- a/src/cloudflare/types/api_gateway/operations/schema_validation_edit_params.py +++ b/src/cloudflare/types/api_gateway/operations/schema_validation_edit_params.py @@ -11,6 +11,6 @@ class SchemaValidationEditParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" settings_multiple_request: Required[SettingsMultipleRequestParam] diff --git a/src/cloudflare/types/api_gateway/operations/schema_validation_update_params.py b/src/cloudflare/types/api_gateway/operations/schema_validation_update_params.py index e9975b01cda..ce1a0354046 100644 --- a/src/cloudflare/types/api_gateway/operations/schema_validation_update_params.py +++ b/src/cloudflare/types/api_gateway/operations/schema_validation_update_params.py @@ -10,7 +10,7 @@ class SchemaValidationUpdateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" mitigation_action: Optional[Literal["log", "block", "none"]] """When set, this applies a mitigation action to this operation diff --git a/src/cloudflare/types/api_gateway/public_schema.py b/src/cloudflare/types/api_gateway/public_schema.py index bdff5f529aa..efe250a4bd6 100644 --- a/src/cloudflare/types/api_gateway/public_schema.py +++ b/src/cloudflare/types/api_gateway/public_schema.py @@ -19,7 +19,7 @@ class PublicSchema(BaseModel): """Name of the schema""" schema_id: str - """UUID""" + """UUID.""" source: Optional[str] = None """Source of the schema""" diff --git a/src/cloudflare/types/api_gateway/schema_list_params.py b/src/cloudflare/types/api_gateway/schema_list_params.py index 7bc4f9ac025..96a46cc7b98 100644 --- a/src/cloudflare/types/api_gateway/schema_list_params.py +++ b/src/cloudflare/types/api_gateway/schema_list_params.py @@ -10,7 +10,7 @@ class SchemaListParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" feature: List[Literal["thresholds", "parameter_schemas", "schema_info"]] """Add feature(s) to the results. diff --git a/src/cloudflare/types/api_gateway/settings/schema_validation_edit_params.py b/src/cloudflare/types/api_gateway/settings/schema_validation_edit_params.py index 424471b1283..16b93fa100e 100644 --- a/src/cloudflare/types/api_gateway/settings/schema_validation_edit_params.py +++ b/src/cloudflare/types/api_gateway/settings/schema_validation_edit_params.py @@ -10,7 +10,7 @@ class SchemaValidationEditParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" validation_default_mitigation_action: Optional[Literal["none", "log", "block"]] """ diff --git a/src/cloudflare/types/api_gateway/settings/schema_validation_update_params.py b/src/cloudflare/types/api_gateway/settings/schema_validation_update_params.py index e7ffb4e6bdd..f77dd31637e 100644 --- a/src/cloudflare/types/api_gateway/settings/schema_validation_update_params.py +++ b/src/cloudflare/types/api_gateway/settings/schema_validation_update_params.py @@ -10,7 +10,7 @@ class SchemaValidationUpdateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" validation_default_mitigation_action: Required[Literal["none", "log", "block"]] """ diff --git a/src/cloudflare/types/api_gateway/user_schema_create_params.py b/src/cloudflare/types/api_gateway/user_schema_create_params.py index 10d9593240a..12dcf783e18 100644 --- a/src/cloudflare/types/api_gateway/user_schema_create_params.py +++ b/src/cloudflare/types/api_gateway/user_schema_create_params.py @@ -11,7 +11,7 @@ class UserSchemaCreateParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" file: Required[FileTypes] """Schema file bytes""" diff --git a/src/cloudflare/types/api_gateway/user_schema_delete_response.py b/src/cloudflare/types/api_gateway/user_schema_delete_response.py index 7daf946d181..461066b9212 100644 --- a/src/cloudflare/types/api_gateway/user_schema_delete_response.py +++ b/src/cloudflare/types/api_gateway/user_schema_delete_response.py @@ -14,4 +14,4 @@ class UserSchemaDeleteResponse(BaseModel): messages: Message success: Literal[True] - """Whether the API call was successful""" + """Whether the API call was successful.""" diff --git a/src/cloudflare/types/api_gateway/user_schema_edit_params.py b/src/cloudflare/types/api_gateway/user_schema_edit_params.py index 99e15349c77..085ba5a2fbf 100644 --- a/src/cloudflare/types/api_gateway/user_schema_edit_params.py +++ b/src/cloudflare/types/api_gateway/user_schema_edit_params.py @@ -9,7 +9,7 @@ class UserSchemaEditParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" validation_enabled: Literal[True] """Flag whether schema is enabled for validation.""" diff --git a/src/cloudflare/types/api_gateway/user_schema_get_params.py b/src/cloudflare/types/api_gateway/user_schema_get_params.py index dbaee3dee47..3fa24a59bce 100644 --- a/src/cloudflare/types/api_gateway/user_schema_get_params.py +++ b/src/cloudflare/types/api_gateway/user_schema_get_params.py @@ -9,7 +9,7 @@ class UserSchemaGetParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" omit_source: bool """Omit the source-files of schemas and only retrieve their meta-data.""" diff --git a/src/cloudflare/types/api_gateway/user_schema_list_params.py b/src/cloudflare/types/api_gateway/user_schema_list_params.py index faca68fa945..4cb1bdbbcca 100644 --- a/src/cloudflare/types/api_gateway/user_schema_list_params.py +++ b/src/cloudflare/types/api_gateway/user_schema_list_params.py @@ -9,7 +9,7 @@ class UserSchemaListParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" omit_source: bool """Omit the source-files of schemas and only retrieve their meta-data.""" diff --git a/src/cloudflare/types/api_gateway/user_schemas/host_list_params.py b/src/cloudflare/types/api_gateway/user_schemas/host_list_params.py index cc0aed8db98..5865ee0d036 100644 --- a/src/cloudflare/types/api_gateway/user_schemas/host_list_params.py +++ b/src/cloudflare/types/api_gateway/user_schemas/host_list_params.py @@ -9,7 +9,7 @@ class HostListParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" page: int """Page number of paginated results.""" diff --git a/src/cloudflare/types/api_gateway/user_schemas/host_list_response.py b/src/cloudflare/types/api_gateway/user_schemas/host_list_response.py index a56dd1037f5..8b1d3df5efc 100644 --- a/src/cloudflare/types/api_gateway/user_schemas/host_list_response.py +++ b/src/cloudflare/types/api_gateway/user_schemas/host_list_response.py @@ -18,4 +18,4 @@ class HostListResponse(BaseModel): """Name of the schema""" schema_id: str - """UUID""" + """UUID.""" diff --git a/src/cloudflare/types/api_gateway/user_schemas/operation_list_params.py b/src/cloudflare/types/api_gateway/user_schemas/operation_list_params.py index 64cb5bdccae..020477781e8 100644 --- a/src/cloudflare/types/api_gateway/user_schemas/operation_list_params.py +++ b/src/cloudflare/types/api_gateway/user_schemas/operation_list_params.py @@ -10,7 +10,7 @@ class OperationListParams(TypedDict, total=False): zone_id: Required[str] - """Identifier""" + """Identifier.""" endpoint: str """Filter results to only include endpoints containing this pattern.""" diff --git a/src/cloudflare/types/api_gateway/user_schemas/operation_list_response.py b/src/cloudflare/types/api_gateway/user_schemas/operation_list_response.py index cae8a5a0a92..a036eb8f3bd 100644 --- a/src/cloudflare/types/api_gateway/user_schemas/operation_list_response.py +++ b/src/cloudflare/types/api_gateway/user_schemas/operation_list_response.py @@ -175,7 +175,7 @@ class APIShieldOperationFeaturesAPIShieldOperationFeatureConfidenceIntervals(Bas class APIShieldOperationFeaturesAPIShieldOperationFeatureSchemaInfoSchemaInfoActiveSchema(BaseModel): id: Optional[str] = None - """UUID""" + """UUID.""" created_at: Optional[datetime] = None @@ -228,7 +228,7 @@ class APIShieldOperation(BaseModel): """The HTTP method used to access the endpoint.""" operation_id: str - """UUID""" + """UUID.""" features: Optional[APIShieldOperationFeatures] = None