Remnawave_python-sdk/remnawave/controllers/__init__.py
Artem 950a7ffab3
Add Pydantic models for nodes usage history, subscriptions, and user management
- Implemented models for nodes usage history including NodeInfoDto, GetUserAccessibleNodesResponse, and usage statistics.
- Created subscription-related models such as UserSubscription, SubscriptionInfoData, and various response DTOs for subscription information.
- Developed models for subscription settings, templates, and system statistics, enhancing the API's capability to manage and retrieve subscription configurations.
- Introduced user management models including CreateUserRequestDto, UpdateUserRequestDto, and various response DTOs for user actions.
- Added bulk actions for user updates and statistics tracking, improving the efficiency of user management operations.
- Established a base controller for handling API requests and responses, along with decorators for HTTP methods to streamline API interactions.
- Included utility functions for serialization using orjson for better performance with Pydantic models.
2025-07-03 12:22:16 +02:00

50 lines
1.8 KiB
Python

from .api_tokens_management import APITokensManagementController
from .auth import AuthController
from .bandwidthstats import BandWidthStatsController
from .config_profiles import ConfigProfilesController
from .hosts import HostsController
from .hosts_bulk_actions import HostsBulkActionsController
from .hwid import HWIDUserController
from .inbounds import InboundsController
from .inbounds_bulk_actions import InboundsBulkActionsController
from .infra_billing import InfraBillingController
from .internal_squads import InternalSquadsController
from .keygen import KeygenController
from .nodes import NodesController
from .nodes_usage_history import NodesUsageHistoryController, NodesUserUsageHistoryController
from .subscription import SubscriptionController
from .subscriptions_settings import SubscriptionsSettingsController
from .subscriptions_template import SubscriptionsTemplateController
from .system import SystemController
from .users import UsersController
from .users_bulk_actions import UsersBulkActionsController
from .users_stats import UsersStatsController
from .webhooks import WebhookUtility
from .xray_config import XrayConfigController
__all__ = [
"APITokensManagementController",
"AuthController",
"BandWidthStatsController",
"ConfigProfilesController",
"HostsController",
"HostsBulkActionsController",
"HWIDUserController",
"InboundsController",
"InboundsBulkActionsController",
"InfraBillingController",
"InternalSquadsController",
"KeygenController",
"NodesController",
"NodesUsageHistoryController",
"NodesUserUsageHistoryController",
"SubscriptionController",
"SubscriptionsSettingsController",
"SubscriptionsTemplateController",
"SystemController",
"UsersController",
"UsersBulkActionsController",
"UsersStatsController",
"WebhookUtility",
"XrayConfigController"
]