Subversion Repositories SmartDukaan

Rev

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

Rev 12257 Rev 12363
Line 49... Line 49...
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,
53
	CHEAP_BUT_NOT_PREF = 7,
54
	PREF_BUT_NOT_CHEAP = 8
54
	PREF_BUT_NOT_CHEAP = 8,
-
 
55
	AMONG_CHEAPEST_CAN_COMPETE = 9,
-
 
56
	ALMOST_COMPETE = 10
55
}
57
}
56
 
58
 
57
enum CompetitionBasis {
59
enum CompetitionBasis {
58
	SP = 1, 
60
	SP = 1, 
59
	TP = 2
61
	TP = 2
Line 75... Line 77...
75
enum RunType {
77
enum RunType {
76
	FULL = 1,
78
	FULL = 1,
77
	FAVOURITE = 2
79
	FAVOURITE = 2
78
}
80
}
79
 
81
 
-
 
82
enum AmazonPromotionType {
-
 
83
	LONGTERM = 1,
-
 
84
	SHORTTERM = 2
-
 
85
}
-
 
86
 
80
struct Item{
87
struct Item{
81
	1:i64 id,
88
	1:i64 id,
82
	2:string productGroup
89
	2:string productGroup
83
	3:string brand,
90
	3:string brand,
84
	4:string modelNumber,
91
	4:string modelNumber,
Line 281... Line 288...
281
    23:i64 fbaPriceLastUpdatedOnSc
288
    23:i64 fbaPriceLastUpdatedOnSc
282
    24:bool suppressMfnPriceUpdate,
289
    24:bool suppressMfnPriceUpdate,
283
    25:bool suppressFbaPriceUpdate,
290
    25:bool suppressFbaPriceUpdate,
284
    26:string taxCode,
291
    26:string taxCode,
285
    27:string fbbtaxCode,
292
    27:string fbbtaxCode,
286
    28:double fbbPrice, 
293
    28:double fbbPrice,
287
    29:i64 fbbPriceLastUpdatedOnSc,
294
    29:i64 fbbPriceLastUpdatedOnSc,
288
    30:i64 fbbPriceLastUpdatedOn,
295
    30:i64 fbbPriceLastUpdatedOn,
289
    31:bool isFbb,
296
    31:bool isFbb,
290
    32:bool suppressFbbPriceUpdate
297
    32:bool suppressFbbPriceUpdate,
-
 
298
    33:double fbaSalePrice, //Sale Price is only available in getAmazonItemDetails
-
 
299
    34:double fbbSalePrice,
-
 
300
    35:bool overrrideWanlc,
-
 
301
    36:double exceptionalWanlc,
-
 
302
    37:bool fcAutoPricing
291
}
303
}
292
    
304
    
293
struct PageViewEvents{
305
struct PageViewEvents{
294
    1:i64 catalogId,
306
    1:i64 catalogId,
295
    2:string url,
307
    2:string url,
Line 584... Line 596...
584
	23:double lowestAmazonPrice,
596
	23:double lowestAmazonPrice,
585
	24:string lowestAmazonSeller,
597
	24:string lowestAmazonSeller,
586
	25:string productName
598
	25:string productName
587
}
599
}
588
 
600
 
-
 
601
struct AmazonPromotion{
-
 
602
	1:string sku,
-
 
603
	2:double standardPrice,
-
 
604
	3:double salePrice,
-
 
605
	4:i64 startDate,
-
 
606
	5:i64 endDate,
-
 
607
	6:i64 addedOn,
-
 
608
	7:i64 updatedOnMarketplace
-
 
609
	8:i64 stateId,
-
 
610
	9:bool promotionActive,
-
 
611
	10:double subsidyAmount,
-
 
612
	11:AmazonPromotionType promotionType
-
 
613
}
-
 
614
 
589
service CatalogService extends GenericService.GenericService{
615
service CatalogService extends GenericService.GenericService{
590
 
616
 
591
/**
617
/**
592
	Availability and inventory attributes	
618
	Availability and inventory attributes	
593
*/
619
*/
Line 1009... Line 1035...
1009
	
1035
	
1010
	void addCompetitorScraping(1:map<i64,CompetitorPricing> competitorPricingMap),
1036
	void addCompetitorScraping(1:map<i64,CompetitorPricing> competitorPricingMap),
1011
	
1037
	
1012
	list<CompetitorPricing> getPreviousCompetitorScraping(1:i64 delta),
1038
	list<CompetitorPricing> getPreviousCompetitorScraping(1:i64 delta),
1013
	
1039
	
1014
	list<CompetitorPricing> getUploadResultById(1:i64 uploadId)
1040
	list<CompetitorPricing> getUploadResultById(1:i64 uploadId),
-
 
1041
	
-
 
1042
	bool addAmazonPromotion(1:map<string,AmazonPromotion> amazonPromotions),
-
 
1043
	
-
 
1044
	list<AmazonPromotion> getAmazonPromotion(1:i64 startDate,2:i64 endDate),
-
 
1045
	
-
 
1046
	bool updateAmazonPromotion(1:list<AmazonPromotion> amazonPromotions)
1015
	
1047
	
1016
	
1048
	
1017
}
1049
}