UserEmailList, UserEmailListAdmin, UserEmailListPost, UserEmailRelationship, ) from app.api.user_favourite_events import ( UserFavouriteEventDetail, UserFavouriteEventList, UserFavouriteEventListPost, UserFavouriteEventRelationship, ) from app.api.user_permission import UserPermissionDetail, UserPermissionList from app.api.users import UserDetail, UserList, UserRelationship # users api.route(UserList, 'user_list', '/users', '/events/<int:event_id>/organizers') api.route( UserDetail, 'user_detail', '/users/<int:id>', '/notifications/<int:notification_id>/user', '/event-invoices/<int:event_invoice_id>/user', '/event-invoices/<event_invoice_identifier>/user', '/access-codes/<int:access_code_id>/marketer', '/email-notifications/<int:email_notification_id>/user', '/discount-codes/<int:discount_code_id>/marketer', '/sessions/<int:session_id>/creator', '/attendees/<int:attendee_id>/user', '/feedbacks/<int:feedback_id>/user', '/events/<int:event_id>/owner', '/alternate-emails/<int:user_email_id>/user',
from app.api.bootstrap import api from app.api.geokrety import GeokretDetail, GeokretList, GeokretRelationship from app.api.geokrety_types import GeokretTypeDetail, GeokretTypeList from app.api.moves_types import MovesTypeDetail, MovesTypeList from app.api.news import NewsDetail, NewsList, NewsRelationship from app.api.news_comments import (NewsCommentDetail, NewsCommentList, NewsCommentRelationship) from app.api.news_subscriptions import (NewsSubscriptionDetail, NewsSubscriptionList, NewsSubscriptionRelationship) from app.api.users import UserDetail, UserList, UserRelationship api.route(UserList, 'users_list', '/users') api.route(UserDetail, 'user_details', '/users/<int:id>', '/news/<int:news_id>/author', '/news-comments/<int:newscomment_id>/author', '/geokrety/<int:geokret_owned_id>/owner', '/geokrety/<int:geokret_held_id>/holder') api.route(UserRelationship, 'user_news', '/users/<int:id>/relationship/news') api.route(UserRelationship, 'user_news_comments', '/users/<int:id>/relationship/news-comments') api.route(UserRelationship, 'user_geokrety_owned', '/users/<int:id>/relationship/geokrety-owned') api.route(UserRelationship, 'user_geokrety_held', '/users/<int:id>/relationship/geokrety-held') api.route(NewsList, 'news_list', '/news', '/users/<int:author_id>/news') api.route(NewsDetail, 'news_details', '/news/<int:id>', '/news-comments/<int:newscomment_id>/news') api.route(NewsRelationship, 'news_comments', '/news/<int:id>/relationship/news-comments')
from app.api.admin_statistics_api.mails import AdminStatisticsMailDetail from app.api.order_statistics.events import OrderStatisticsEventDetail from app.api.order_statistics.tickets import OrderStatisticsTicketDetail from app.api.faq_types import FaqTypeList, FaqTypeListPost, FaqTypeDetail, FaqTypeRelationshipOptional, \ FaqTypeRelationshipRequired from app.api.admin_sales.events import AdminSalesByEventsList from app.api.admin_sales.organizer import AdminSalesByOrganizersList from app.api.admin_sales.locations import AdminSalesByLocationList from app.api.admin_sales.marketer import AdminSalesByMarketerList from app.api.admin_sales.discounted import AdminSalesDiscountedList from app.api.admin_sales.fees import AdminSalesFeesList from app.api.admin_sales.invoices import AdminSalesInvoicesList from app.api.full_text_search.events import EventSearchResultList # users api.route(UserList, 'user_list', '/users') api.route(UserDetail, 'user_detail', '/users/<int:id>', '/notifications/<int:notification_id>/user', '/event-invoices/<int:event_invoice_id>/user', '/speakers/<int:speaker_id>/user', '/access-codes/<int:access_code_id>/marketer', '/email-notifications/<int:email_notification_id>/user', '/discount-codes/<int:discount_code_id>/marketer', '/sessions/<int:session_id>/creator', '/attendees/<int:attendee_id>/user', '/feedbacks/<int:feedback_id>/user', '/alternate-emails/<int:user_email_id>/user', '/favourite-events/<int:user_favourite_event_id>/user') api.route(UserRelationship, 'user_notification', '/users/<int:id>/relationships/notifications') api.route(UserRelationship, 'user_feedback', '/users/<int:id>/relationships/feedbacks') api.route(UserRelationship, 'user_event_invoices', '/users/<int:id>/relationships/event-invoices') api.route(UserRelationship, 'user_speaker', '/users/<int:id>/relationships/speakers') api.route(UserRelationship, 'user_session', '/users/<int:id>/relationships/sessions') api.route(UserRelationship, 'user_access_codes', '/users/<int:id>/relationships/access-codes') api.route(UserRelationship, 'user_discount_codes', '/users/<int:id>/relationships/discount-codes') api.route(UserRelationship, 'user_email_notifications', '/users/<int:id>/relationships/email-notifications') api.route(UserRelationship, 'user_organizer_event', '/users/<int:id>/relationships/organizer-events')
from app.api.moves import MoveDetail, MoveRelationship, MovesList from app.api.moves_comments import (MoveCommentDetail, MoveCommentList, MoveCommentRelationship) from app.api.moves_types import MovesTypeDetail, MovesTypeList from app.api.news import NewsDetail, NewsList, NewsRelationship from app.api.news_comments import (NewsCommentDetail, NewsCommentList, NewsCommentRelationship) from app.api.news_subscriptions import (NewsSubscriptionDetail, NewsSubscriptionList, NewsSubscriptionRelationship) from app.api.users import UserDetail, UserList, UserRelationship from app.api.badges import BadgeDetail, BadgeList, BadgeRelationship api.route( UserList, 'users_list', '/users', ) api.route( UserDetail, 'user_details', '/users/<int:id>', '/badges/<int:badge_author_id>/author', '/news/<int:news_id>/author', '/news-comments/<int:news_comment_id>/author', '/news-subscriptions/<int:news_subscription_id>/user', '/geokrety/<int:geokret_owned_id>/owner', '/geokrety/<int:geokret_held_id>/holder', '/moves/<int:move_id>/author', '/moves-comments/<int:move_comment_id>/author', )
from app.api.custom_placeholders import CustomPlaceholderList, CustomPlaceholderDetail, CustomPlaceholderRelationship from app.api.activities import ActivityList, ActivityDetail from app.api.orders import OrdersList, OrderDetail, OrderRelationship, ChargeList, OrdersListPost from app.api.event_statistics import EventStatisticsGeneralDetail from app.api.mails import MailList, MailDetail from app.api.admin_statistics_api.sessions import AdminStatisticsSessionDetail from app.api.admin_statistics_api.events import AdminStatisticsEventDetail from app.api.admin_statistics_api.users import AdminStatisticsUserDetail from app.api.admin_statistics_api.mails import AdminStatisticsMailDetail from app.api.order_statistics.events import OrderStatisticsEventDetail from app.api.order_statistics.tickets import OrderStatisticsTicketDetail from app.api.faq_types import FaqTypeList, FaqTypeListPost, FaqTypeDetail, FaqTypeRelationshipOptional, \ FaqTypeRelationshipRequired # users api.route(UserList, 'user_list', '/users') api.route(UserDetail, 'user_detail', '/users/<int:id>', '/notifications/<int:notification_id>/user', '/event-invoices/<int:event_invoice_id>/user', '/speakers/<int:speaker_id>/user', '/access-codes/<int:access_code_id>/marketer', '/email-notifications/<int:email_notification_id>/user', '/discount-codes/<int:discount_code_id>/marketer', '/sessions/<int:session_id>/creator', '/attendees/<int:attendee_id>/user', '/feedbacks/<int:feedback_id>/user') api.route(UserRelationship, 'user_notification', '/users/<int:id>/relationships/notifications') api.route(UserRelationship, 'user_feedback', '/users/<int:id>/relationships/feedbacks') api.route(UserRelationship, 'user_event_invoices',
from app.api.bootstrap import api from app.api.processes import ProcessList, ProcessDetail, ProcessRelationship from app.api.headers import HeaderList, HeaderDetail, HeaderRelationship from app.api.statistics.process_stats import ProcessStatisticsDetail # process api.route(ProcessList, 'process_list', '/process/', '/header/<int:header_id>/processes') api.route(ProcessDetail, 'process_detail', '/process/<int:id>/') api.route(ProcessRelationship, 'process_headers', '/process/<int:id>/relationships/headers') # header api.route(HeaderList, 'header_list', '/headers/', '/process/<int:process_id>/headers') api.route(HeaderDetail, 'header_detail', '/header/<int:id>/') api.route(HeaderRelationship, 'header_processes', '/header/<int:id>/relationships/processes/') # Process Statistics api.route(ProcessStatisticsDetail, 'process_statistics_detail', '/stats')