diff --git a/.stats.yml b/.stats.yml index 06d61a57f88..227f9b449e3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1254 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d8d652bdc7a06e88e4432adbe4d697dae937fcd7edab5323d37610363be6d481.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d4312bd23a02e20e5d46c142ec08fbe09bb97ce586a900e10d178982734f44ec.yml diff --git a/src/cloudflare/resources/zero_trust/access/custom_pages.py b/src/cloudflare/resources/zero_trust/access/custom_pages.py index d7eae2f7f7d..0bc9c58dd60 100644 --- a/src/cloudflare/resources/zero_trust/access/custom_pages.py +++ b/src/cloudflare/resources/zero_trust/access/custom_pages.py @@ -2,7 +2,8 @@ from __future__ import annotations -from typing import Type, Optional, cast +from typing import Type, Union, Optional, cast +from datetime import datetime from typing_extensions import Literal import httpx @@ -51,6 +52,9 @@ def create( name: str, type: Literal["identity_denied", "forbidden"], app_count: int | NotGiven = NOT_GIVEN, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + uid: str | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -72,6 +76,8 @@ def create( app_count: Number of apps the custom page is assigned to. + uid: UUID + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -90,6 +96,9 @@ def create( "name": name, "type": type, "app_count": app_count, + "created_at": created_at, + "uid": uid, + "updated_at": updated_at, }, custom_page_create_params.CustomPageCreateParams, ), @@ -112,6 +121,9 @@ def update( name: str, type: Literal["identity_denied", "forbidden"], app_count: int | NotGiven = NOT_GIVEN, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + uid: str | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -135,6 +147,8 @@ def update( app_count: Number of apps the custom page is assigned to. + uid: UUID + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -155,6 +169,9 @@ def update( "name": name, "type": type, "app_count": app_count, + "created_at": created_at, + "uid": uid, + "updated_at": updated_at, }, custom_page_update_params.CustomPageUpdateParams, ), @@ -310,6 +327,9 @@ async def create( name: str, type: Literal["identity_denied", "forbidden"], app_count: int | NotGiven = NOT_GIVEN, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + uid: str | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -331,6 +351,8 @@ async def create( app_count: Number of apps the custom page is assigned to. + uid: UUID + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -349,6 +371,9 @@ async def create( "name": name, "type": type, "app_count": app_count, + "created_at": created_at, + "uid": uid, + "updated_at": updated_at, }, custom_page_create_params.CustomPageCreateParams, ), @@ -371,6 +396,9 @@ async def update( name: str, type: Literal["identity_denied", "forbidden"], app_count: int | NotGiven = NOT_GIVEN, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + uid: str | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -394,6 +422,8 @@ async def update( app_count: Number of apps the custom page is assigned to. + uid: UUID + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -414,6 +444,9 @@ async def update( "name": name, "type": type, "app_count": app_count, + "created_at": created_at, + "uid": uid, + "updated_at": updated_at, }, custom_page_update_params.CustomPageUpdateParams, ), diff --git a/src/cloudflare/resources/zero_trust/access/tags.py b/src/cloudflare/resources/zero_trust/access/tags.py index 70cc924d5c3..91e0a67fddf 100644 --- a/src/cloudflare/resources/zero_trust/access/tags.py +++ b/src/cloudflare/resources/zero_trust/access/tags.py @@ -2,7 +2,8 @@ from __future__ import annotations -from typing import Type, Optional, cast +from typing import Type, Union, Optional, cast +from datetime import datetime import httpx @@ -46,6 +47,8 @@ def create( *, account_id: str, name: str, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -73,7 +76,14 @@ def create( raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}") return self._post( f"/accounts/{account_id}/access/tags", - body=maybe_transform({"name": name}, tag_create_params.TagCreateParams), + body=maybe_transform( + { + "name": name, + "created_at": created_at, + "updated_at": updated_at, + }, + tag_create_params.TagCreateParams, + ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, @@ -90,6 +100,8 @@ def update( *, account_id: str, name: str, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -121,7 +133,14 @@ def update( raise ValueError(f"Expected a non-empty value for `tag_name` but received {tag_name!r}") return self._put( f"/accounts/{account_id}/access/tags/{tag_name}", - body=maybe_transform({"name": name}, tag_update_params.TagUpdateParams), + body=maybe_transform( + { + "name": name, + "created_at": created_at, + "updated_at": updated_at, + }, + tag_update_params.TagUpdateParams, + ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, @@ -271,6 +290,8 @@ async def create( *, account_id: str, name: str, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -298,7 +319,14 @@ async def create( raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}") return await self._post( f"/accounts/{account_id}/access/tags", - body=await async_maybe_transform({"name": name}, tag_create_params.TagCreateParams), + body=await async_maybe_transform( + { + "name": name, + "created_at": created_at, + "updated_at": updated_at, + }, + tag_create_params.TagCreateParams, + ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, @@ -315,6 +343,8 @@ async def update( *, account_id: str, name: str, + created_at: Union[str, datetime] | NotGiven = NOT_GIVEN, + updated_at: Union[str, datetime] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -346,7 +376,14 @@ async def update( raise ValueError(f"Expected a non-empty value for `tag_name` but received {tag_name!r}") return await self._put( f"/accounts/{account_id}/access/tags/{tag_name}", - body=await async_maybe_transform({"name": name}, tag_update_params.TagUpdateParams), + body=await async_maybe_transform( + { + "name": name, + "created_at": created_at, + "updated_at": updated_at, + }, + tag_update_params.TagUpdateParams, + ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, diff --git a/src/cloudflare/resources/zero_trust/identity_providers.py b/src/cloudflare/resources/zero_trust/identity_providers.py index f3d72e3068d..5c6851b1306 100644 --- a/src/cloudflare/resources/zero_trust/identity_providers.py +++ b/src/cloudflare/resources/zero_trust/identity_providers.py @@ -59,6 +59,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -85,6 +86,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -107,6 +110,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -133,6 +137,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -155,6 +161,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -181,6 +188,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -203,6 +212,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -229,6 +239,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -251,6 +263,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -277,6 +290,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -299,6 +314,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -325,6 +341,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -347,6 +365,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -373,6 +392,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -395,6 +416,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -421,6 +443,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -443,6 +467,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -469,6 +494,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -491,6 +518,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -517,6 +545,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -539,6 +569,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -565,6 +596,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -587,6 +620,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -613,6 +647,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -635,6 +671,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -661,6 +698,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -683,6 +722,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -709,6 +749,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -741,6 +783,7 @@ def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -770,6 +813,7 @@ def create( "config": config, "name": name, "type": type, + "id": id, "scim_config": scim_config, }, identity_provider_create_params.IdentityProviderCreateParams, @@ -797,6 +841,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -825,6 +870,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -848,6 +895,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -876,6 +924,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -899,6 +949,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -927,6 +978,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -950,6 +1003,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -978,6 +1032,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1001,6 +1057,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1029,6 +1086,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1052,6 +1111,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1080,6 +1140,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1103,6 +1165,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1131,6 +1194,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1154,6 +1219,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1182,6 +1248,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1205,6 +1273,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1233,6 +1302,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1256,6 +1327,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1284,6 +1356,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1307,6 +1381,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1335,6 +1410,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1358,6 +1435,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1386,6 +1464,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1409,6 +1489,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1437,6 +1518,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1460,6 +1543,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1488,6 +1572,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1521,6 +1607,7 @@ def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1554,6 +1641,7 @@ def update( "config": config, "name": name, "type": type, + "id": id, "scim_config": scim_config, }, identity_provider_update_params.IdentityProviderUpdateParams, @@ -1764,6 +1852,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1790,6 +1879,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1812,6 +1903,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1838,6 +1930,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1860,6 +1954,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1886,6 +1981,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1908,6 +2005,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1934,6 +2032,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -1956,6 +2056,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1982,6 +2083,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2004,6 +2107,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2030,6 +2134,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2052,6 +2158,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2078,6 +2185,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2100,6 +2209,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2126,6 +2236,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2148,6 +2260,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2174,6 +2287,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2196,6 +2311,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2222,6 +2338,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2244,6 +2362,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2270,6 +2389,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2292,6 +2413,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2318,6 +2440,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2340,6 +2464,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2366,6 +2491,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2388,6 +2515,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2414,6 +2542,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2446,6 +2576,7 @@ async def create( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2475,6 +2606,7 @@ async def create( "config": config, "name": name, "type": type, + "id": id, "scim_config": scim_config, }, identity_provider_create_params.IdentityProviderCreateParams, @@ -2502,6 +2634,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2530,6 +2663,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2553,6 +2688,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2581,6 +2717,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2604,6 +2742,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2632,6 +2771,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2655,6 +2796,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2683,6 +2825,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2706,6 +2850,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2734,6 +2879,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2757,6 +2904,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2785,6 +2933,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2808,6 +2958,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2836,6 +2987,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2859,6 +3012,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2887,6 +3041,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2910,6 +3066,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2938,6 +3095,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -2961,6 +3120,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -2989,6 +3149,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -3012,6 +3174,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -3040,6 +3203,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -3063,6 +3228,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -3091,6 +3257,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -3114,6 +3282,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -3142,6 +3311,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -3165,6 +3336,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -3193,6 +3365,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + id: UUID + scim_config: The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider. @@ -3226,6 +3400,7 @@ async def update( type: IdentityProviderType, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, + id: str | NotGiven = NOT_GIVEN, scim_config: SCIMConfigParam | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -3259,6 +3434,7 @@ async def update( "config": config, "name": name, "type": type, + "id": id, "scim_config": scim_config, }, identity_provider_update_params.IdentityProviderUpdateParams, diff --git a/src/cloudflare/types/zero_trust/access/application_create_params.py b/src/cloudflare/types/zero_trust/access/application_create_params.py index f09b5e2993c..c904e9e8f11 100644 --- a/src/cloudflare/types/zero_trust/access/application_create_params.py +++ b/src/cloudflare/types/zero_trust/access/application_create_params.py @@ -3,9 +3,11 @@ from __future__ import annotations from typing import Dict, List, Union, Iterable -from typing_extensions import Literal, Required, TypedDict +from datetime import datetime +from typing_extensions import Literal, Required, Annotated, TypedDict from .decision import Decision +from ...._utils import PropertyInfo from .allowed_idps import AllowedIdPs from .application_type import ApplicationType from ..access_rule_param import AccessRuleParam @@ -657,6 +659,8 @@ class SaaSApplicationSaaSAppAccessOIDCSaaSApp(TypedDict, total=False): client_secret: str """The application client secret, only returned on POST request.""" + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + custom_claims: SaaSApplicationSaaSAppAccessOIDCSaaSAppCustomClaims grant_types: List[ @@ -686,6 +690,8 @@ class SaaSApplicationSaaSAppAccessOIDCSaaSApp(TypedDict, total=False): automatically enabled if refresh tokens are enabled """ + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + SaaSApplicationSaaSApp = Union[SAMLSaaSAppParam, SaaSApplicationSaaSAppAccessOIDCSaaSApp] diff --git a/src/cloudflare/types/zero_trust/access/application_update_params.py b/src/cloudflare/types/zero_trust/access/application_update_params.py index c0da9486d6a..29a947b02b6 100644 --- a/src/cloudflare/types/zero_trust/access/application_update_params.py +++ b/src/cloudflare/types/zero_trust/access/application_update_params.py @@ -3,9 +3,11 @@ from __future__ import annotations from typing import Dict, List, Union, Iterable -from typing_extensions import Literal, Required, TypedDict +from datetime import datetime +from typing_extensions import Literal, Required, Annotated, TypedDict from .decision import Decision +from ...._utils import PropertyInfo from .allowed_idps import AllowedIdPs from .application_type import ApplicationType from ..access_rule_param import AccessRuleParam @@ -657,6 +659,8 @@ class SaaSApplicationSaaSAppAccessOIDCSaaSApp(TypedDict, total=False): client_secret: str """The application client secret, only returned on POST request.""" + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + custom_claims: SaaSApplicationSaaSAppAccessOIDCSaaSAppCustomClaims grant_types: List[ @@ -686,6 +690,8 @@ class SaaSApplicationSaaSAppAccessOIDCSaaSApp(TypedDict, total=False): automatically enabled if refresh tokens are enabled """ + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + SaaSApplicationSaaSApp = Union[SAMLSaaSAppParam, SaaSApplicationSaaSAppAccessOIDCSaaSApp] diff --git a/src/cloudflare/types/zero_trust/access/custom_page_create_params.py b/src/cloudflare/types/zero_trust/access/custom_page_create_params.py index 585692c65ba..efbeea447fb 100644 --- a/src/cloudflare/types/zero_trust/access/custom_page_create_params.py +++ b/src/cloudflare/types/zero_trust/access/custom_page_create_params.py @@ -2,7 +2,11 @@ from __future__ import annotations -from typing_extensions import Literal, Required, TypedDict +from typing import Union +from datetime import datetime +from typing_extensions import Literal, Required, Annotated, TypedDict + +from ...._utils import PropertyInfo __all__ = ["CustomPageCreateParams"] @@ -22,3 +26,10 @@ class CustomPageCreateParams(TypedDict, total=False): app_count: int """Number of apps the custom page is assigned to.""" + + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + + uid: str + """UUID""" + + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] diff --git a/src/cloudflare/types/zero_trust/access/custom_page_update_params.py b/src/cloudflare/types/zero_trust/access/custom_page_update_params.py index 14d5ec2ca9c..05ec96c1ac0 100644 --- a/src/cloudflare/types/zero_trust/access/custom_page_update_params.py +++ b/src/cloudflare/types/zero_trust/access/custom_page_update_params.py @@ -2,7 +2,11 @@ from __future__ import annotations -from typing_extensions import Literal, Required, TypedDict +from typing import Union +from datetime import datetime +from typing_extensions import Literal, Required, Annotated, TypedDict + +from ...._utils import PropertyInfo __all__ = ["CustomPageUpdateParams"] @@ -22,3 +26,10 @@ class CustomPageUpdateParams(TypedDict, total=False): app_count: int """Number of apps the custom page is assigned to.""" + + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + + uid: str + """UUID""" + + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] diff --git a/src/cloudflare/types/zero_trust/access/saml_saas_app_param.py b/src/cloudflare/types/zero_trust/access/saml_saas_app_param.py index 8eace9c0634..835baee2235 100644 --- a/src/cloudflare/types/zero_trust/access/saml_saas_app_param.py +++ b/src/cloudflare/types/zero_trust/access/saml_saas_app_param.py @@ -2,8 +2,11 @@ from __future__ import annotations -from typing_extensions import Literal, TypedDict +from typing import Union +from datetime import datetime +from typing_extensions import Literal, Annotated, TypedDict +from ...._utils import PropertyInfo from .saas_app_name_format import SaaSAppNameFormat from .saas_app_source_param import SaaSAppSourceParam from .saas_app_name_id_format import SaaSAppNameIDFormat @@ -41,6 +44,8 @@ class SAMLSaaSAppParam(TypedDict, total=False): SAML assertion. """ + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + custom_attributes: CustomAttributes default_relay_state: str @@ -80,3 +85,5 @@ class SAMLSaaSAppParam(TypedDict, total=False): sso_endpoint: str """The endpoint where your SaaS application will send login requests.""" + + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] diff --git a/src/cloudflare/types/zero_trust/access/tag_create_params.py b/src/cloudflare/types/zero_trust/access/tag_create_params.py index b28c8a8cc73..6e4f6cb687a 100644 --- a/src/cloudflare/types/zero_trust/access/tag_create_params.py +++ b/src/cloudflare/types/zero_trust/access/tag_create_params.py @@ -2,7 +2,11 @@ from __future__ import annotations -from typing_extensions import Required, TypedDict +from typing import Union +from datetime import datetime +from typing_extensions import Required, Annotated, TypedDict + +from ...._utils import PropertyInfo __all__ = ["TagCreateParams"] @@ -13,3 +17,7 @@ class TagCreateParams(TypedDict, total=False): name: Required[str] """The name of the tag""" + + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] diff --git a/src/cloudflare/types/zero_trust/access/tag_update_params.py b/src/cloudflare/types/zero_trust/access/tag_update_params.py index 594920024fd..2b8ba3b2bee 100644 --- a/src/cloudflare/types/zero_trust/access/tag_update_params.py +++ b/src/cloudflare/types/zero_trust/access/tag_update_params.py @@ -2,7 +2,11 @@ from __future__ import annotations -from typing_extensions import Required, TypedDict +from typing import Union +from datetime import datetime +from typing_extensions import Required, Annotated, TypedDict + +from ...._utils import PropertyInfo __all__ = ["TagUpdateParams"] @@ -13,3 +17,7 @@ class TagUpdateParams(TypedDict, total=False): name: Required[str] """The name of the tag""" + + created_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + + updated_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] diff --git a/src/cloudflare/types/zero_trust/identity_provider_create_params.py b/src/cloudflare/types/zero_trust/identity_provider_create_params.py index 2e8ddbc3ac4..e380a34e05c 100644 --- a/src/cloudflare/types/zero_trust/identity_provider_create_params.py +++ b/src/cloudflare/types/zero_trust/identity_provider_create_params.py @@ -62,6 +62,9 @@ class AzureAD(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -129,6 +132,9 @@ class AccessCentrify(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -180,6 +186,9 @@ class AccessFacebook(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -211,6 +220,9 @@ class AccessGitHub(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -242,6 +254,9 @@ class AccessGoogle(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -287,6 +302,9 @@ class AccessGoogleApps(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -335,6 +353,9 @@ class AccessLinkedin(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -366,6 +387,9 @@ class AccessOIDC(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -423,6 +447,9 @@ class AccessOkta(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -474,6 +501,9 @@ class AccessOnelogin(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -522,6 +552,9 @@ class AccessPingone(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -570,6 +603,9 @@ class AccessSAML(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -641,6 +677,9 @@ class AccessYandex(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -672,6 +711,9 @@ class AccessOnetimepin(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity diff --git a/src/cloudflare/types/zero_trust/identity_provider_update_params.py b/src/cloudflare/types/zero_trust/identity_provider_update_params.py index 5507de7fdbd..cd6dc52cff8 100644 --- a/src/cloudflare/types/zero_trust/identity_provider_update_params.py +++ b/src/cloudflare/types/zero_trust/identity_provider_update_params.py @@ -62,6 +62,9 @@ class AzureAD(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -129,6 +132,9 @@ class AccessCentrify(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -180,6 +186,9 @@ class AccessFacebook(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -211,6 +220,9 @@ class AccessGitHub(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -242,6 +254,9 @@ class AccessGoogle(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -287,6 +302,9 @@ class AccessGoogleApps(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -335,6 +353,9 @@ class AccessLinkedin(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -366,6 +387,9 @@ class AccessOIDC(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -423,6 +447,9 @@ class AccessOkta(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -474,6 +501,9 @@ class AccessOnelogin(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -522,6 +552,9 @@ class AccessPingone(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -570,6 +603,9 @@ class AccessSAML(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -641,6 +677,9 @@ class AccessYandex(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity @@ -672,6 +711,9 @@ class AccessOnetimepin(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" + id: str + """UUID""" + scim_config: SCIMConfigParam """ The configuration settings for enabling a System for Cross-Domain Identity diff --git a/tests/api_resources/zero_trust/access/test_applications.py b/tests/api_resources/zero_trust/access/test_applications.py index 299c51d1ce9..30888509a93 100644 --- a/tests/api_resources/zero_trust/access/test_applications.py +++ b/tests/api_resources/zero_trust/access/test_applications.py @@ -9,6 +9,7 @@ from cloudflare import Cloudflare, AsyncCloudflare from tests.utils import assert_matches_type +from cloudflare._utils import parse_datetime from cloudflare.pagination import SyncSinglePage, AsyncSinglePage from cloudflare.types.zero_trust.access import ( ApplicationGetResponse, @@ -233,6 +234,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N saas_app={ "auth_type": "saml", "consumer_service_url": "https://example.com", + "created_at": parse_datetime("2014-01-01T05:20:00.12345Z"), "custom_attributes": { "friendly_name": "Last Name", "name": "family_name", @@ -254,6 +256,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N "saml_attribute_transform_jsonata": "$ ~>| groups | {'group_name': name} |", "sp_entity_id": "example unique name", "sso_endpoint": "https://example.cloudflareaccess.com/cdn-cgi/access/sso/saml/b3f58a2b414e0b51d45c8c2af26fccca0e27c63763c426fa52f98dcf0b3b3bfd", + "updated_at": parse_datetime("2014-01-01T05:20:00.12345Z"), }, scim_config={ "authentication": { @@ -1383,6 +1386,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N saas_app={ "auth_type": "saml", "consumer_service_url": "https://example.com", + "created_at": parse_datetime("2014-01-01T05:20:00.12345Z"), "custom_attributes": { "friendly_name": "Last Name", "name": "family_name", @@ -1404,6 +1408,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N "saml_attribute_transform_jsonata": "$ ~>| groups | {'group_name': name} |", "sp_entity_id": "example unique name", "sso_endpoint": "https://example.cloudflareaccess.com/cdn-cgi/access/sso/saml/b3f58a2b414e0b51d45c8c2af26fccca0e27c63763c426fa52f98dcf0b3b3bfd", + "updated_at": parse_datetime("2014-01-01T05:20:00.12345Z"), }, scim_config={ "authentication": { @@ -2807,6 +2812,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn saas_app={ "auth_type": "saml", "consumer_service_url": "https://example.com", + "created_at": parse_datetime("2014-01-01T05:20:00.12345Z"), "custom_attributes": { "friendly_name": "Last Name", "name": "family_name", @@ -2828,6 +2834,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn "saml_attribute_transform_jsonata": "$ ~>| groups | {'group_name': name} |", "sp_entity_id": "example unique name", "sso_endpoint": "https://example.cloudflareaccess.com/cdn-cgi/access/sso/saml/b3f58a2b414e0b51d45c8c2af26fccca0e27c63763c426fa52f98dcf0b3b3bfd", + "updated_at": parse_datetime("2014-01-01T05:20:00.12345Z"), }, scim_config={ "authentication": { @@ -3957,6 +3964,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn saas_app={ "auth_type": "saml", "consumer_service_url": "https://example.com", + "created_at": parse_datetime("2014-01-01T05:20:00.12345Z"), "custom_attributes": { "friendly_name": "Last Name", "name": "family_name", @@ -3978,6 +3986,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn "saml_attribute_transform_jsonata": "$ ~>| groups | {'group_name': name} |", "sp_entity_id": "example unique name", "sso_endpoint": "https://example.cloudflareaccess.com/cdn-cgi/access/sso/saml/b3f58a2b414e0b51d45c8c2af26fccca0e27c63763c426fa52f98dcf0b3b3bfd", + "updated_at": parse_datetime("2014-01-01T05:20:00.12345Z"), }, scim_config={ "authentication": { diff --git a/tests/api_resources/zero_trust/access/test_custom_pages.py b/tests/api_resources/zero_trust/access/test_custom_pages.py index 4677021a7a3..1482ad94f17 100644 --- a/tests/api_resources/zero_trust/access/test_custom_pages.py +++ b/tests/api_resources/zero_trust/access/test_custom_pages.py @@ -9,6 +9,7 @@ from cloudflare import Cloudflare, AsyncCloudflare from tests.utils import assert_matches_type +from cloudflare._utils import parse_datetime from cloudflare.pagination import SyncSinglePage, AsyncSinglePage from cloudflare.types.zero_trust.access import ( CustomPage, @@ -40,6 +41,9 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: name="string", type="identity_denied", app_count=0, + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + uid="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) @@ -103,6 +107,9 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: name="string", type="identity_denied", app_count=0, + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + uid="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) @@ -314,6 +321,9 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare name="string", type="identity_denied", app_count=0, + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + uid="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) @@ -377,6 +387,9 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare name="string", type="identity_denied", app_count=0, + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + uid="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) diff --git a/tests/api_resources/zero_trust/access/test_tags.py b/tests/api_resources/zero_trust/access/test_tags.py index 9693f511303..23d8586efca 100644 --- a/tests/api_resources/zero_trust/access/test_tags.py +++ b/tests/api_resources/zero_trust/access/test_tags.py @@ -9,6 +9,7 @@ from cloudflare import Cloudflare, AsyncCloudflare from tests.utils import assert_matches_type +from cloudflare._utils import parse_datetime from cloudflare.pagination import SyncSinglePage, AsyncSinglePage from cloudflare.types.zero_trust.access import Tag, TagDeleteResponse @@ -26,6 +27,16 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize + def test_method_create_with_all_params(self, client: Cloudflare) -> None: + tag = client.zero_trust.access.tags.create( + account_id="023e105f4ecef8ad9ca31a8372d0c353", + name="engineers", + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + ) + assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.create( @@ -69,6 +80,17 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize + def test_method_update_with_all_params(self, client: Cloudflare) -> None: + tag = client.zero_trust.access.tags.update( + "engineers", + account_id="023e105f4ecef8ad9ca31a8372d0c353", + name="engineers", + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + ) + assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.update( @@ -259,6 +281,16 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize + async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: + tag = await async_client.zero_trust.access.tags.create( + account_id="023e105f4ecef8ad9ca31a8372d0c353", + name="engineers", + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + ) + assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.create( @@ -302,6 +334,17 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize + async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: + tag = await async_client.zero_trust.access.tags.update( + "engineers", + account_id="023e105f4ecef8ad9ca31a8372d0c353", + name="engineers", + created_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + updated_at=parse_datetime("2014-01-01T05:20:00.12345Z"), + ) + assert_matches_type(Optional[Tag], tag, path=["response"]) + @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.update( diff --git a/tests/api_resources/zero_trust/test_identity_providers.py b/tests/api_resources/zero_trust/test_identity_providers.py index 3977deba608..60410f707a6 100644 --- a/tests/api_resources/zero_trust/test_identity_providers.py +++ b/tests/api_resources/zero_trust/test_identity_providers.py @@ -50,6 +50,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -137,6 +138,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -220,6 +222,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -303,6 +306,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -388,6 +392,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -474,6 +479,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -557,6 +563,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -646,6 +653,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -733,6 +741,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -819,6 +828,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -905,6 +915,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1006,6 +1017,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1089,6 +1101,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1169,6 +1182,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1260,6 +1274,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1362,6 +1377,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1460,6 +1476,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1558,6 +1575,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1658,6 +1676,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1759,6 +1778,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1857,6 +1877,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -1961,6 +1982,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2063,6 +2085,7 @@ def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> N name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2164,6 +2187,7 @@ def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2265,6 +2289,7 @@ def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2381,6 +2406,7 @@ def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2479,6 +2505,7 @@ def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2574,6 +2601,7 @@ def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2869,6 +2897,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -2956,6 +2985,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3039,6 +3069,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3122,6 +3153,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3207,6 +3239,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3293,6 +3326,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3376,6 +3410,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3465,6 +3500,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3552,6 +3588,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3638,6 +3675,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3724,6 +3762,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3825,6 +3864,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3908,6 +3948,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -3988,6 +4029,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4079,6 +4121,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4181,6 +4224,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4279,6 +4323,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4377,6 +4422,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4477,6 +4523,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4578,6 +4625,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4676,6 +4724,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4780,6 +4829,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4882,6 +4932,7 @@ async def test_method_update_with_all_params_overload_9(self, async_client: Asyn name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -4983,6 +5034,7 @@ async def test_method_update_with_all_params_overload_10(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -5084,6 +5136,7 @@ async def test_method_update_with_all_params_overload_11(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -5200,6 +5253,7 @@ async def test_method_update_with_all_params_overload_12(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -5298,6 +5352,7 @@ async def test_method_update_with_all_params_overload_13(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True, @@ -5393,6 +5448,7 @@ async def test_method_update_with_all_params_overload_14(self, async_client: Asy name="Widget Corps IDP", type="onetimepin", account_id="string", + id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", scim_config={ "enabled": True, "group_member_deprovision": True,