Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2,308 changes: 472 additions & 1,836 deletions zitadel_client/api/action_service_api.py

Large diffs are not rendered by default.

2,820 changes: 597 additions & 2,223 deletions zitadel_client/api/feature_service_api.py

Large diffs are not rendered by default.

140 changes: 3 additions & 137 deletions zitadel_client/api/identity_provider_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def identity_provider_service_get_idpby_id(
:return: Returns the result object.
""" # noqa: E501

_param = self._identity_provider_service_get_idpby_id_serialize(
_param = self.__identity_provider_service_get_idpby_id_serialize(
id=id,
_request_auth=_request_auth,
_content_type=_content_type,
Expand All @@ -95,75 +95,7 @@ def identity_provider_service_get_idpby_id(
'403': "IdentityProviderServiceRpcStatus",
'404': "IdentityProviderServiceRpcStatus",
}
response_data = self.api_client.call_api(
*_param,
_request_timeout=_request_timeout
)
response_data.read()
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
).data


@validate_call
def identity_provider_service_get_idpby_id_with_http_info(
self,
id: StrictStr,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Tuple[
Annotated[StrictFloat, Field(gt=0)],
Annotated[StrictFloat, Field(gt=0)]
]
] = None,
_request_auth: Optional[Dict[StrictStr, Any]] = None,
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[IdentityProviderServiceGetIDPByIDResponse]:
"""Get identity provider (IdP) by ID

Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc.

:param id: (required)
:type id: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:type _request_timeout: int, tuple(int, int), optional
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the
authentication in the spec for a single request.
:type _request_auth: dict, optional
:param _content_type: force content-type for the request.
:type _content_type: str, Optional
:param _headers: set to override the headers for a single
request; this effectively ignores the headers
in the spec for a single request.
:type _headers: dict, optional
:param _host_index: set to override the host_index for a single
request; this effectively ignores the host_index
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501

_param = self._identity_provider_service_get_idpby_id_serialize(
id=id,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "IdentityProviderServiceGetIDPByIDResponse",
'403': "IdentityProviderServiceRpcStatus",
'404': "IdentityProviderServiceRpcStatus",
}
response_data = self.api_client.call_api(
*_param,
_request_timeout=_request_timeout
Expand All @@ -172,75 +104,9 @@ def identity_provider_service_get_idpby_id_with_http_info(
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
)


@validate_call
def identity_provider_service_get_idpby_id_without_preload_content(
self,
id: StrictStr,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Tuple[
Annotated[StrictFloat, Field(gt=0)],
Annotated[StrictFloat, Field(gt=0)]
]
] = None,
_request_auth: Optional[Dict[StrictStr, Any]] = None,
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get identity provider (IdP) by ID

Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc.

:param id: (required)
:type id: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:type _request_timeout: int, tuple(int, int), optional
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the
authentication in the spec for a single request.
:type _request_auth: dict, optional
:param _content_type: force content-type for the request.
:type _content_type: str, Optional
:param _headers: set to override the headers for a single
request; this effectively ignores the headers
in the spec for a single request.
:type _headers: dict, optional
:param _host_index: set to override the host_index for a single
request; this effectively ignores the host_index
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501

_param = self._identity_provider_service_get_idpby_id_serialize(
id=id,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "IdentityProviderServiceGetIDPByIDResponse",
'403': "IdentityProviderServiceRpcStatus",
'404': "IdentityProviderServiceRpcStatus",
}
response_data = self.api_client.call_api(
*_param,
_request_timeout=_request_timeout
)
return response_data.response

).data

def _identity_provider_service_get_idpby_id_serialize(
def __identity_provider_service_get_idpby_id_serialize(
self,
id,
_request_auth,
Expand Down
Loading
Loading