from django.urls import path
from .views import (
    MonthlyConversionRunView,
    SuperCoinBalanceView,
    SuperCoinLedgerListView,
    SuperCoinUseView,
    VoucherCodeListView,
    VoucherSummaryView,
    WalletDetailView,
    WalletLedgerListView,
)

urlpatterns = [
    path('wallet/', WalletDetailView.as_view(), name='wallet-detail'),
    path('wallet/ledger/', WalletLedgerListView.as_view(), name='wallet-ledger-list'),
    path('vouchers/summary/', VoucherSummaryView.as_view(), name='voucher-summary'),
    path('vouchers/codes/', VoucherCodeListView.as_view(), name='voucher-code-list'),
    path('twm-coins/summary/', VoucherSummaryView.as_view(), name='twm-coins-summary'),
    path('supercoins/balance/', SuperCoinBalanceView.as_view(), name='supercoins-balance'),
    path('supercoins/ledger/', SuperCoinLedgerListView.as_view(), name='supercoins-ledger'),
    path('supercoins/use/', SuperCoinUseView.as_view(), name='supercoins-use'),
    path('conversion/run-monthly/', MonthlyConversionRunView.as_view(), name='conversion-run-monthly'),
]
