| Line 1... |
Line 1... |
| 1 |
from dtr.api.Order import StoreOrder, Track, Refunds, PendingRefunds, \
|
1 |
from dtr.api.Order import StoreOrder, Track, Refunds, PendingRefunds, \
|
| 2 |
PendingCashBacks, Orders, Transactions, RawHtml, SnapShot, Rejects, OrderFilters, \
|
2 |
PendingCashBacks, Orders, Transactions, RawHtml, SnapShot, Rejects, OrderFilters, \
|
| 3 |
AmazonSummary
|
3 |
AmazonSummary
|
| 4 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
4 |
from dtr.api.Service import CategoryDiscountInfo, ExceptionalNlc, \
|
| 5 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, CashBack, \
|
5 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, CashBack, DealSheet, \
|
| 6 |
DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
|
6 |
DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, NegativeDeals, \
|
| 7 |
NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
|
7 |
ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, CommonSearch, CricScore, \
|
| 8 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
|
8 |
Notification, DealBrands, RetailerDetail, DealRank, Login, AddContactToRetailer, \
|
| 9 |
Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
|
9 |
RetailerActivation, SearchUser, StaticDeals, AddAddressToRetailer, \
|
| 10 |
AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
|
10 |
DealNotification, DealPoints, AppAffiliates, AffiliatePayout, OrderedOffers, \
|
| 11 |
AffiliatePayout, OrderedOffers, AppOffers, AppUserBatchRefund, \
|
- |
|
| 12 |
AppUserBatchDrillDown, AppUserBatchDateDrillDown, AppUserCashBack, GetSaleDetail, \
|
11 |
AppOffers, AppUserBatchRefund, AppUserBatchDrillDown, AppUserBatchDateDrillDown, \
|
| 13 |
DummyDeals, SearchDummyDeals, DummyPricing, PincodeValidation, DealObject, \
|
12 |
AppUserCashBack, GetSaleDetail, DummyDeals, SearchDummyDeals, DummyPricing, \
|
| 14 |
DeleteDealObject, FeaturedDealObject, DeleteFeaturedDealObject, \
|
13 |
PincodeValidation, DealObject, DeleteDealObject, FeaturedDealObject, \
|
| 15 |
SubCategoryFilter, DummyLogin, DummyRegister, FetchUser, UpdateUser, \
|
14 |
DeleteFeaturedDealObject, SubCategoryFilter, DummyLogin, DummyRegister, \
|
| 16 |
SearchSubCategory, SearchSubCategoryCount, MessageEncryption, \
|
15 |
FetchUser, UpdateUser, SearchSubCategory, SearchSubCategoryCount, \
|
| 17 |
GetUserCrmApplication, UnitDeal, CrmTicketDtr, TinSearch, SpecialOffer, BrandSubCatFilter,\
|
16 |
MessageEncryption, GetUserCrmApplication, UnitDeal, CrmTicketDtr, TinSearch, \
|
| 18 |
RefundAmountWallet, RefundWalletStatus, DetailsBatchId, HeaderLinks,\
|
17 |
SpecialOffer, BrandSubCatFilter, RefundAmountWallet, RefundWalletStatus, \
|
| - |
|
18 |
DetailsBatchId, HeaderLinks, SendTransactionalSms, GetItemCashback, \
|
| 19 |
SendTransactionalSms,GetItemCashback, FilterDealsByType , GetDtrLinks , AutoComplete, UserDetails
|
19 |
FilterDealsByType, GetDtrLinks, AutoComplete, UserDetails, \
|
| 20 |
|
- |
|
| - |
|
20 |
ProfitmandiBanners
|
| 21 |
import falcon
|
21 |
import falcon
|
| - |
|
22 |
|
| 22 |
|
23 |
|
| 23 |
wsgi_app = api = falcon.API()
|
24 |
wsgi_app = api = falcon.API()
|
| 24 |
|
25 |
|
| 25 |
retailerActivation = RetailerActivation()
|
26 |
retailerActivation = RetailerActivation()
|
| 26 |
amazonSummary = AmazonSummary()
|
27 |
amazonSummary = AmazonSummary()
|
| Line 101... |
Line 102... |
| 101 |
refundWalletStatus = RefundWalletStatus()
|
102 |
refundWalletStatus = RefundWalletStatus()
|
| 102 |
getDetailsByBatchId = DetailsBatchId()
|
103 |
getDetailsByBatchId = DetailsBatchId()
|
| 103 |
headerLinks = HeaderLinks()
|
104 |
headerLinks = HeaderLinks()
|
| 104 |
sendTransSms = SendTransactionalSms()
|
105 |
sendTransSms = SendTransactionalSms()
|
| 105 |
getItemCashback = GetItemCashback()
|
106 |
getItemCashback = GetItemCashback()
|
| - |
|
107 |
profitmandiBanners = ProfitmandiBanners()
|
| 106 |
filterDealsByType = FilterDealsByType()
|
108 |
filterDealsByType = FilterDealsByType()
|
| 107 |
getDtrLinks = GetDtrLinks()
|
109 |
getDtrLinks = GetDtrLinks()
|
| 108 |
autoSuggest = AutoComplete()
|
110 |
autoSuggest = AutoComplete()
|
| 109 |
userDetails = UserDetails()
|
111 |
userDetails = UserDetails()
|
| 110 |
|
112 |
|
| 111 |
api.add_route('/getItemCashback', getItemCashback)
|
113 |
api.add_route('/getItemCashback', getItemCashback)
|
| - |
|
114 |
api.add_route('/profitmandiBanners', profitmandiBanners)
|
| - |
|
115 |
api.add_route('/profitmandiBanners/remove/{bannerId}', profitmandiBanners)
|
| 112 |
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
|
116 |
api.add_route('/getSaleDetail/{date_val}',getSaleDetail)
|
| 113 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
117 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
| 114 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
118 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
| 115 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
119 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
| 116 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
120 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|