Subversion Repositories SmartDukaan

Rev

Rev 10924 | Rev 11076 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10924 Rev 11015
Line 47... Line 47...
47
	CANT_COMPETE = 1,
47
	CANT_COMPETE = 1,
48
	BUY_BOX = 2,
48
	BUY_BOX = 2,
49
	COMPETITIVE = 3,
49
	COMPETITIVE = 3,
50
	COMPETITIVE_NO_INVENTORY = 4,
50
	COMPETITIVE_NO_INVENTORY = 4,
51
	EXCEPTION = 5,
51
	EXCEPTION = 5,
52
	NEGATIVE_MARGIN = 6
52
	NEGATIVE_MARGIN = 6,
-
 
53
	CHEAP_BUT_NOT_PREF = 7,
-
 
54
	PREF_BUT_NOT_CHEAP = 8
53
}
55
}
54
 
56
 
55
enum CompetitionBasis {
57
enum CompetitionBasis {
56
	SP = 1, 
58
	SP = 1, 
57
	TP = 2
59
	TP = 2
Line 283... Line 285...
283
    27:string fbbtaxCode,
285
    27:string fbbtaxCode,
284
    28:double fbbPrice, 
286
    28:double fbbPrice, 
285
    29:i64 fbbPriceLastUpdatedOnSc,
287
    29:i64 fbbPriceLastUpdatedOnSc,
286
    30:i64 fbbPriceLastUpdatedOn,
288
    30:i64 fbbPriceLastUpdatedOn,
287
    31:bool isFbb,
289
    31:bool isFbb,
288
    32:bool suppressFbbPriceUpdate,
290
    32:bool suppressFbbPriceUpdate
289
}
291
}
290
    
292
    
291
struct PageViewEvents{
293
struct PageViewEvents{
292
    1:i64 catalogId,
294
    1:i64 catalogId,
293
    2:string url,
295
    2:string url,
Line 478... Line 480...
478
    21:i64 lastUpdatedInventoryTimestamp,
480
    21:i64 lastUpdatedInventoryTimestamp,
479
    22:string flipkartSerialNumber,
481
    22:string flipkartSerialNumber,
480
    23:i64 category
482
    23:i64 category
481
}
483
}
482
 
484
 
-
 
485
struct MarketplaceHistory{
-
 
486
	1:i64 item_id,
-
 
487
	2:i64 source,
-
 
488
	3:i64 timestamp,
-
 
489
	4:double lowest_possible_tp,
-
 
490
	5:double lowest_possible_sp,
-
 
491
	6:i64 ourInventory,
-
 
492
	7:i64 otherInventory,
-
 
493
	8:i64 secondLowestInventory,
-
 
494
	9:i64 ourRank,
-
 
495
	10:double ourOfferPrice,
-
 
496
	11:double ourSellingPrice,
-
 
497
	12:double ourTp,
-
 
498
	13:double ourNlc,
-
 
499
	14:CompetitionCategory competitiveCategory,
-
 
500
	15:i64 risky,
-
 
501
	16:double lowestOfferPrice,
-
 
502
	17:double lowestSellingPrice,
-
 
503
	18:double lowestTp,
-
 
504
	19:string lowestSellerName,
-
 
505
	20:double proposedSellingPrice,
-
 
506
	21:double proposedTp,
-
 
507
	22:double targetNlc,
-
 
508
	23:SalesPotential salesPotential,
-
 
509
	24:string secondLowestSellerName,
-
 
510
	25:double secondLowestSellingPrice,
-
 
511
	26:double secondLowestOfferPrice,
-
 
512
	27:double secondLowestTp,
-
 
513
	28:double marginIncreasedPotential,
-
 
514
	29:double margin,
-
 
515
	30:bool ourEnoughStock,
-
 
516
	31:i64 totalSeller,
-
 
517
	32:double averageSale,
-
 
518
	33:bool toGroup
-
 
519
}
-
 
520
 
-
 
521
 
483
service CatalogService extends GenericService.GenericService{
522
service CatalogService extends GenericService.GenericService{
484
 
523
 
485
/**
524
/**
486
	Availability and inventory attributes	
525
	Availability and inventory attributes	
487
*/
526
*/
Line 865... Line 904...
865
	
904
	
866
	i64 getCountForFlipkartItems(),
905
	i64 getCountForFlipkartItems(),
867
	
906
	
868
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
907
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
869
	
908
	
870
	list<FlipkartItemDetails> getAllFkItems()
909
	list<FlipkartItemDetails> getAllFkItems(),
-
 
910
	
-
 
911
	FlipkartItem getFlipkartItemBySkyAtFlipkart(1:string sku),
871
	
912
	
872
	FlipkartItem getFlipkartItemBySkyAtFlipkart(string sku)
913
	list<MarketplaceHistory> getMarketplaceHistory(1:i64 source,2:i64 offset,3:i64 itemId),
873
	
914
	
874
	list<Amazonlisted> getAllFbbListedItems()
915
	list<Amazonlisted> getAllFbbListedItems()
875
	
916
	
876
	list<Amazonlisted> getAllFbbPricingItems()
917
	list<Amazonlisted> getAllFbbPricingItems()
877
	
918
	
-
 
919
	i64 getCountForMarketplaceHistory(1:i64 source,2:i64 itemId)
-
 
920
	
-
 
921
	list<MarketplaceHistory> getMarketplaceHistoryByDate(1:i64 source,2:i64 startDate,3:i64 endDate,4:i64 offset,5:i64 limit,6:i64 itemId)
-
 
922
	
878
}
923
}