# Path: esteid/actions.py
# class BaseAction(object):
#     @classmethod
#     def do_action(cls, view: "GenericDigitalSignViewMixin", params):
#         raise NotImplementedError
# 
# Path: esteid/types.py
# class DataFile:
#     def __init__(self, file_name, mimetype, content_type, size, content, info=None):
#         self.file_name = file_name
#         self.mimetype = mimetype
#         self.content_type = content_type
#         self.size = size
#         self.content = content
# 
#         self.info = info


import warnings
from typing import List
from django.http import HttpRequest, JsonResponse
from django.views import View
from .actions import BaseAction
from .types import DataFile




warnings.warn("This module is deprecated. Please use the new signing API", DeprecationWarning)


class GenericDigitalSignViewMixin(object):
    request: HttpRequest


# Path: esteid/actions.py
# class BaseAction(object):
#     @classmethod
#     def do_action(cls, view: "GenericDigitalSignViewMixin", params):
#         raise NotImplementedError
# 
# Path: esteid/types.py
# class DataFile:
#     def __init__(self, file_name, mimetype, content_type, size, content, info=None):
#         self.file_name = file_name
#         self.mimetype = mimetype
#         self.content_type = content_type
#         self.size = size
#         self.content = content
# 
#         self.info = info


# Path: esteid/generic.py
import warnings
from typing import List
from django.http import HttpRequest, JsonResponse
from django.views import View
from .actions import BaseAction
from .types import DataFile





warnings.warn("This module is deprecated. Please use the new signing API", DeprecationWarning)


class GenericDigitalSignViewMixin(object):
    request: HttpRequest


    def get_files(self) -> List[DataFile]: