Skip to content
  •  
  •  
  •  
859 changes: 427 additions & 432 deletions aries_cloudcontroller/__init__.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# flake8: noqa

# import apis into api package
from aries_cloudcontroller.api.action_menu_api import ActionMenuApi
from aries_cloudcontroller.api.anon_creds_credential_definitions_api import (
AnonCredsCredentialDefinitionsApi,
)
Expand All @@ -10,6 +9,7 @@
from aries_cloudcontroller.api.anon_creds_wallet_upgrade_api import (
AnonCredsWalletUpgradeApi,
)
from aries_cloudcontroller.api.action_menu_api import ActionMenuApi
from aries_cloudcontroller.api.basicmessage_api import BasicmessageApi
from aries_cloudcontroller.api.connection_api import ConnectionApi
from aries_cloudcontroller.api.credential_definition_api import CredentialDefinitionApi
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/action_menu_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
217 changes: 213 additions & 4 deletions aries_cloudcontroller/api/anon_creds_revocation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501

import warnings
from typing import Any, Dict, List, Optional, Tuple, Union

from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, validate_call
Expand Down Expand Up @@ -67,6 +68,206 @@ def __init__(self, api_client=None) -> None:
api_client = ApiClient.get_default()
self.api_client = api_client

@validate_call
async def anoncreds_revocation_registry_rev_reg_id_active_put(
self,
rev_reg_id: Annotated[
str, Field(strict=True, description="Revocation Registry identifier")
],
_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,
) -> object:
"""Update the active registry


:param rev_reg_id: Revocation Registry identifier (required)
:type rev_reg_id: str
...
""" # noqa: E501

_param = self._anoncreds_revocation_registry_rev_reg_id_active_put_serialize(
rev_reg_id=rev_reg_id,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index,
)

_response_types_map: Dict[str, Optional[str]] = {
"200": "object",
}
response_data = await self.api_client.call_api(
*_param, _request_timeout=_request_timeout
)
await response_data.read()
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
).data

def _anoncreds_revocation_registry_rev_reg_id_active_put_serialize(
self,
rev_reg_id,
_request_auth,
_content_type,
_headers,
_host_index,
) -> RequestSerialized:
_host = None

_collection_formats: Dict[str, str] = {}

_path_params: Dict[str, str] = {}
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
if rev_reg_id is not None:
_path_params["rev_reg_id"] = rev_reg_id
# process the query parameters
# process the header parameters
# process the form parameters
# process the body parameter

# set the HTTP header `Accept`
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]

return self.api_client.param_serialize(
method="PUT",
resource_path="/anoncreds/revocation/registry/{rev_reg_id}/active",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
body=_body_params,
post_params=_form_params,
files=_files,
auth_settings=_auth_settings,
collection_formats=_collection_formats,
_host=_host,
_request_auth=_request_auth,
)

@validate_call
async def anoncreds_revocation_registry_rev_reg_id_tails_file_put(
self,
rev_reg_id: Annotated[
str, Field(strict=True, description="Revocation Registry identifier")
],
_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,
) -> object:
"""Upload local tails file to server


:param rev_reg_id: Revocation Registry identifier (required)
:type rev_reg_id: str
...
""" # noqa: E501

_param = (
self._anoncreds_revocation_registry_rev_reg_id_tails_file_put_serialize(
rev_reg_id=rev_reg_id,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
_host_index=_host_index,
)
)

_response_types_map: Dict[str, Optional[str]] = {
"200": "object",
}
response_data = await self.api_client.call_api(
*_param, _request_timeout=_request_timeout
)
await response_data.read()
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
).data

def _anoncreds_revocation_registry_rev_reg_id_tails_file_put_serialize(
self,
rev_reg_id,
_request_auth,
_content_type,
_headers,
_host_index,
) -> RequestSerialized:
_host = None

_collection_formats: Dict[str, str] = {}

_path_params: Dict[str, str] = {}
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
if rev_reg_id is not None:
_path_params["rev_reg_id"] = rev_reg_id
# process the query parameters
# process the header parameters
# process the form parameters
# process the body parameter

# set the HTTP header `Accept`
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]

return self.api_client.param_serialize(
method="PUT",
resource_path="/anoncreds/revocation/registry/{rev_reg_id}/tails-file",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
body=_body_params,
post_params=_form_params,
files=_files,
auth_settings=_auth_settings,
collection_formats=_collection_formats,
_host=_host,
_request_auth=_request_auth,
)

@validate_call
async def create_rev_reg_definition(
self,
Expand All @@ -83,7 +284,7 @@ async def create_rev_reg_definition(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RevRegDefResult:
"""Create and publish a registration revocation on the connected datastore
"""Create and publish a revocation registry definition on the connected datastore


:param body:
Expand Down Expand Up @@ -1440,13 +1641,17 @@ async def set_active_registry(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
"""Update the active registry
"""(Deprecated) Update the active registry


:param rev_reg_id: Revocation Registry identifier (required)
:type rev_reg_id: str
...
""" # noqa: E501
warnings.warn(
"PUT /anoncreds/registry/{rev_reg_id}/active is deprecated.",
DeprecationWarning,
)

_param = self._set_active_registry_serialize(
rev_reg_id=rev_reg_id,
Expand Down Expand Up @@ -1758,13 +1963,17 @@ async def upload_tails_file(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
"""Upload local tails file to server
"""(Deprecated) Upload local tails file to server


:param rev_reg_id: Revocation Registry identifier (required)
:type rev_reg_id: str
...
""" # noqa: E501
warnings.warn(
"PUT /anoncreds/registry/{rev_reg_id}/tails-file is deprecated.",
DeprecationWarning,
)

_param = self._upload_tails_file_serialize(
rev_reg_id=rev_reg_id,
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/anon_creds_schemas_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
4 changes: 2 additions & 2 deletions aries_cloudcontroller/api/anon_creds_wallet_upgrade_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -49,7 +49,7 @@ async def anoncreds_wallet_upgrade_post(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
"""Upgrade the wallet from askar to askar-anoncreds. Be very careful with this! You cannot go back! See migration guide for more information.
"""Upgrade the wallet from askar to askar-anoncreds OR kanon to kanon-anoncreds. Be very careful with this! You cannot go back! See migration guide for more information.


:param wallet_name: Name of wallet to upgrade to anoncreds (required)
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/basicmessage_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/connection_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/credential_definition_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/credentials_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/did_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudcontroller/api/did_exchange_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v1.3.2rc0.post20250822
The version of the OpenAPI document: v1.4.0.post20251118
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading