Subversion Repositories SmartDukaan

Rev

Rev 12523 | Rev 12663 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
85 ashish 1
namespace java in.shop2020.model.v1.catalog
95 ashish 2
namespace py shop2020.thriftpy.model.v1.catalog
85 ashish 3
 
3374 rajveer 4
include "GenericService.thrift"
5
 
85 ashish 6
/**
7
	Objects
8
*/
9
 
123 ashish 10
/**
1330 chandransh 11
Caution :- Never ever change the numbers in it. Please confirm from @Chandranshu or @Rajveer before any changes in enum and other entries in file.
123 ashish 12
**/
5110 mandeep.dh 13
enum status {
123 ashish 14
	PHASED_OUT = 0,		//Item is no longer selling
15
	DELETED = 1,		//Item has been deliberately deleted 
3009 chandransh 16
	PAUSED = 2,			//Item's sale has been paused manually.
123 ashish 17
	ACTIVE = 3,			//Item is available for sale as of now
2984 rajveer 18
	IN_PROCESS = 4,		//Item has been added, but content is not available for the same
19
	CONTENT_COMPLETE = 5,  //The content for this item has been completed. We can start selling the item now.
5217 amit.gupta 20
	PAUSED_BY_RISK = 6,    //Item's sale has been automatically paused since it was marked as risky
10403 rajveer 21
	COMING_SOON= 7,		//Item is now in Coming Soon Page and will move to ACTIVE gradually as it achieves the Start date.
22
	PARTIALLY_ACTIVE=8
103 ashish 23
}
24
 
5110 mandeep.dh 25
enum ItemType {
26
    SERIALIZED = 1,
27
    NON_SERIALIZED = 2
28
}
29
 
6805 anupam.sin 30
enum PremiumType {
31
    PERCENT = 1,
32
    ABSOLUTE = 2
33
}
34
 
9155 kshitij.so 35
enum BannerType{
36
	WEBSITE  = 1,
37
	SIDE_BANNER = 2,
38
	MOBILE_SITE = 3
39
}
40
 
9299 kshitij.so 41
enum InsurerType {
42
	DEVICE = 1,
43
	DATA = 2
44
}
45
 
9884 kshitij.so 46
enum CompetitionCategory {
47
	CANT_COMPETE = 1,
48
	BUY_BOX = 2,
49
	COMPETITIVE = 3,
50
	COMPETITIVE_NO_INVENTORY = 4,
51
	EXCEPTION = 5,
11015 kshitij.so 52
	NEGATIVE_MARGIN = 6,
53
	CHEAP_BUT_NOT_PREF = 7,
12363 kshitij.so 54
	PREF_BUT_NOT_CHEAP = 8,
55
	AMONG_CHEAPEST_CAN_COMPETE = 9,
56
	ALMOST_COMPETE = 10
9884 kshitij.so 57
}
58
 
59
enum CompetitionBasis {
60
	SP = 1, 
61
	TP = 2
62
}
63
 
64
enum SalesPotential {
65
	HIGH = 1,
66
	MEDIUM = 2,
67
	LOW = 3 
68
}
69
 
9909 kshitij.so 70
enum Decision {
71
	AUTO_DECREMENT_SUCCESS = 1,
72
	AUTO_INCREMENT_SUCCESS = 2,
73
	AUTO_DECREMENT_FAILED = 3,
74
	AUTO_INCREMENT_FAILED = 4
75
}
76
 
9949 kshitij.so 77
enum RunType {
78
	FULL = 1,
79
	FAVOURITE = 2
80
}
81
 
12363 kshitij.so 82
enum AmazonPromotionType {
83
	LONGTERM = 1,
84
	SHORTTERM = 2
85
}
86
 
85 ashish 87
struct Item{
88
	1:i64 id,
956 chandransh 89
	2:string productGroup
90
	3:string brand,
91
	4:string modelNumber,
2128 ankur.sing 92
	5:string modelName,
93
	6:string color,
94
	7:i64 category,
95
	8:string comments,
96
	9:i64 catalogItemId,
97
	10:i64 featureId,
98
	11:string featureDescription,
2127 ankur.sing 99
	13:optional double mrp, //maxmimum retail price
4762 phani.kuma 100
	14:optional double sellingPrice, //Selling price
101
	15:optional double weight,
102
	16:i64 addedOn,
103
	17:optional i64 startDate,
104
	18:optional i64 retireDate,
105
	19:status itemStatus,
106
	20:string status_description,
5324 rajveer 107
	21:map<string,string> otherInfo,
4762 phani.kuma 108
	22:string bestDealText,
109
	23:optional double bestDealValue,
110
	24:bool defaultForEntity,
111
	25:i64 updatedOn,
112
	26:optional i64 bestSellingRank,
113
	27:bool risky,
114
	28:optional i32 expectedDelay,
5440 phani.kuma 115
	29:optional bool isWarehousePreferenceSticky,
116
	30:i32 warrantyPeriod,
117
	31:optional i64 preferredVendor,
118
	32:ItemType type,
119
	33:optional i64 comingSoonStartDate,
120
	34:optional i64 expectedArrivalDate,
5460 phani.kuma 121
	35:bool hasItemNo,
7256 rajveer 122
	36:bool activeOnStore,
6805 anupam.sin 123
	38:bool showSellingPrice,
6777 vikram.rag 124
	39:string bestDealsDetailsText,
125
	40:string bestDealsDetailsLink,
7291 vikram.rag 126
	41:i64 preferredInsurer,
127
	42:string asin,
128
	43:i64 defaultInventory,
9841 rajveer 129
	44:i64 holdInventory,
130
	45:bool holdOverride
85 ashish 131
}
132
 
6805 anupam.sin 133
struct Insurer{
134
	1:i64 id,
135
	2:string name,
6903 anupam.sin 136
	3:string address,
137
	4:i64 declaredAmount,
9299 kshitij.so 138
	5:i64 creditedAmount,
139
	6:InsurerType insurerType
6805 anupam.sin 140
}
141
 
142
struct ItemInsurerMapping{
143
	1:i64 itemId,
144
	2:i64 insurer,
145
	3:PremiumType premiumType,
9299 kshitij.so 146
	4:double premiumValue,
147
	5:InsurerType insurerType
6805 anupam.sin 148
}
149
 
1967 rajveer 150
struct Category{
151
	1:i64 id,
152
	2:string label,
153
	3:string description,
154
	4:i64 parent_category_id,
155
	/**
156
	* This field should not be used.
157
	*/
158
	5:list<i64> children_category_ids
4762 phani.kuma 159
	6:string display_name
1967 rajveer 160
}
2113 ankur.sing 161
 
2983 chandransh 162
struct ItemShippingInfo{
163
	1:bool isActive,
164
	2:optional bool isRisky,
165
	3:optional i64 quantity
166
}
167
 
3556 rajveer 168
struct Source{
169
	1:i64 id,
170
	2:string name,
171
	3:string identifier
172
}
173
 
174
struct SourceItemPricing{
175
	1:i64 sourceId,
176
	2:i64 itemId,
177
	3:double mrp,
178
	4:double sellingPrice
179
}
180
 
12620 amit.gupta 181
struct OutbuoundAffiliate {
182
	1:i64 id,
183
	2:string name
184
}
185
 
186
struct ExclusiveAffiliateItemInfo {
187
	1:i64 itemId,
188
	2:i64 affiliateId,
189
	3:string affiliateName,
190
	4:string offerText,
191
	5:string offerImageUrl,
192
	6:string mOfferText,
193
	7:string mOfferImageUrl,
194
	8:string affiliateSku,
195
	9:string affiliateUrl,
196
	10:bool active
197
}
198
 
4295 varun.gupt 199
struct ProductNotificationRequest	{
200
	1:Item item,
201
	2:string email,
202
	3:i64 addedOn
203
}
204
 
205
struct ProductNotificationRequestCount	{
206
	1:Item item,
207
	2:i64 count
208
}
209
 
5504 phani.kuma 210
struct VoucherItemMapping{
5512 rajveer 211
	1:i64 voucherType,
5504 phani.kuma 212
	2:i64 itemId,
213
	3:i64 amount
214
}
215
 
5945 mandeep.dh 216
exception CatalogServiceException{
85 ashish 217
	1:i64 id,
218
	2:string message
219
}
220
 
6511 kshitij.so 221
struct EntityTag {
222
    1:i64 entityId,
223
    2:string tag
224
}
225
 
6848 kshitij.so 226
struct Banner {
227
    1:string bannerName,
228
    2:string imageName,
229
    3:string link,
8915 kshitij.so 230
    4:bool hasMap,
231
    5:i64 priority,
10097 kshitij.so 232
    6:BannerType bannerType,
233
    7:bool target
6848 kshitij.so 234
}
235
 
8579 kshitij.so 236
struct BannerUriMapping{
237
	1:string bannerName,
238
	2:string uri,
10097 kshitij.so 239
	3:bool isActive,
240
	4:bool target
8579 kshitij.so 241
}
242
 
6848 kshitij.so 243
struct BannerMap {
244
    1:string bannerName,
245
    2:string mapLink,
246
    3:string coordinates
247
}
248
 
8590 kshitij.so 249
struct BannerCongregate{
250
	1:Banner banner,
251
	2:list<BannerMap> bannerMaps,
9155 kshitij.so 252
	3:list<BannerUriMapping> bannerUriMappings,
253
	4:Banner antecedent 
8590 kshitij.so 254
}
255
 
8579 kshitij.so 256
struct Campaign {
257
	1:i64 id,
258
	2:string campaignName,
259
	3:string imageName
260
}
261
 
7190 amar.kumar 262
struct FreebieItem {
263
	1:i64 itemId,
264
	2:i64 freebieItemId
265
}
266
 
7272 amit.gupta 267
struct BrandInfo {
268
	1:string name,
269
	2:string serviceCenterLocatorUrl
270
}
271
 
7256 rajveer 272
struct StorePricing {
273
    1:i64 itemId,
274
	2:double recommendedPrice,
275
	3:double minPrice,
276
	4:double maxPrice,
7308 rajveer 277
	5:double minAdvancePrice,
7351 rajveer 278
	6:double absoluteMinPrice,
279
	7:i64 freebieItemId,
280
	8:string bestDealText
7256 rajveer 281
}
282
 
7281 kshitij.so 283
struct Amazonlisted{
284
	1:i64 itemid,
285
    2:string asin,
286
    3:string name,
287
    4:string brand,
288
    5:string model,
289
    6:string manufacturer_name,
290
    7:string part_number,
291
    8:string ean,
292
    9:string upc 
293
    10:double fbaPrice,
294
    11:double sellingPrice,
295
    12:bool isFba,
296
    13:bool isNonFba,
297
    14:bool isInventoryOverride,
298
    15:string color,
7367 kshitij.so 299
    16:string category,
300
    17:i64 handlingTime,
7518 vikram.rag 301
    18:bool isCustomTime,
7770 kshitij.so 302
    19:i64 category_code,
303
    20:i64 mfnPriceLastUpdatedOn,
304
    21:i64 fbaPriceLastUpdatedOn,
305
    22:i64 mfnPriceLastUpdatedOnSc,
306
    23:i64 fbaPriceLastUpdatedOnSc
8139 kshitij.so 307
    24:bool suppressMfnPriceUpdate,
8619 kshitij.so 308
    25:bool suppressFbaPriceUpdate,
10909 vikram.rag 309
    26:string taxCode,
310
    27:string fbbtaxCode,
12363 kshitij.so 311
    28:double fbbPrice,
10909 vikram.rag 312
    29:i64 fbbPriceLastUpdatedOnSc,
313
    30:i64 fbbPriceLastUpdatedOn,
314
    31:bool isFbb,
12363 kshitij.so 315
    32:bool suppressFbbPriceUpdate,
12396 kshitij.so 316
    33:double fbaSalePrice, //33-40 are only available in getAmazonDetails
12363 kshitij.so 317
    34:double fbbSalePrice,
318
    35:bool overrrideWanlc,
319
    36:double exceptionalWanlc,
12448 kshitij.so 320
    37:bool autoIncrement,
321
    38:bool autoDecrement,
322
    39:bool autoFavourite,
323
    40:bool manualFavourite,
324
    41:double otherCost
7977 kshitij.so 325
}
326
 
327
struct PageViewEvents{
328
    1:i64 catalogId,
329
    2:string url,
330
    3:double sellingPrice,
331
    4:bool comingSoon,
332
    5:string ip,
333
    6:string sessionId,
334
    7:i64 eventDate
335
}
7281 kshitij.so 336
 
7977 kshitij.so 337
struct CartEvents{
338
    1:i64 catalogId,
339
    2:i64 itemId,
340
    3:double sellingPrice,
341
    4:string ip,
342
    5:string sessionId,
343
    6:bool inStock,
344
    7:bool comingSoon,
345
    8:i64 eventDate
346
}
347
 
8182 amar.kumar 348
struct EbayItem{
349
	1:string ebayListingId,
350
	2:i64 itemId,
351
	3:string listingName,
352
	4:i64 listingPrice,
353
	5:i64 listingExpiryDate,
354
	6:double subsidy,
355
	7:i64 defaultWarehouseId
8739 vikram.rag 356
}
357
 
9779 kshitij.so 358
/*
359
	Return Provision, vat, commission, service tax are in percentage
360
*/
361
 
362
struct MarketplaceItems{
363
	1:i64 itemId,
364
	2:i64 source,
365
	3:double emiFee,
366
	4:double courierCost,
367
	5:double closingFee,
368
	6:double returnProvision,
369
	7:double commission,
370
	8:double vat,
371
	9:double packagingCost,
372
	10:double otherCost,
373
	11:double serviceTax,
374
	12:bool autoIncrement,
375
	13:bool autoDecrement,
376
	14:bool manualFavourite,
377
	15:bool autoFavourite,
378
	16:double currentSp,
379
	17:double currentTp,
380
	18:double minimumPossibleSp,
381
	19:double minimumPossibleTp,
9909 kshitij.so 382
	20:i64 lastCheckedTimestamp,
10287 kshitij.so 383
	21:double maximumSellingPrice,
11095 kshitij.so 384
	22:double pgFee,
385
	23:double courierCostMarketplace
9779 kshitij.so 386
}
387
 
8739 vikram.rag 388
struct SnapdealItem{
389
	1:i64 item_id,
390
	2:i64 warehouseId,
391
	3:double exceptionPrice,
9242 kshitij.so 392
	4:bool isListedOnSnapdeal,
393
	5:double transferPrice,
394
    6:double sellingPrice,
395
    7:double courierCost,
396
    8:double commission,
397
    9:double serviceTax,
398
    10:bool suppressPriceFeed,
9404 vikram.rag 399
    11:bool suppressInventoryFeed,
9478 kshitij.so 400
    12:double maxNlc,
9568 kshitij.so 401
    13:string skuAtSnapdeal,
9724 kshitij.so 402
    14:string supc,
9779 kshitij.so 403
    15:string shippingTime,
404
    16:string updatedBy,
11095 kshitij.so 405
    17:MarketplaceItems marketplaceItems,
12133 kshitij.so 406
    18:double courierCostMarketplace,
407
    19:Item item
8182 amar.kumar 408
}    
7977 kshitij.so 409
 
9242 kshitij.so 410
struct SnapdealItemDetails{
411
	1:i64 item_id,
412
	2:i64 warehouseId,
413
	3:double exceptionPrice,
414
	4:bool isListedOnSnapdeal,
415
	5:double transferPrice,
416
    6:double sellingPrice,
417
    7:double courierCost,
418
    8:double commission,
419
    9:double serviceTax,
420
    10:string brand,
421
    11:string model_name,
422
    12:string model_number,
423
    13:string color,
424
    14:bool risky,
425
    15:status itemStatus,
426
    16:bool suppressPriceFeed,
427
    17:bool suppressInventoryFeed,
428
    18:double weight,
429
    19:double mrp,
9478 kshitij.so 430
    20:double websiteSellingPrice,
431
    21:double maxNlc,
9568 kshitij.so 432
    22:string skuAtSnapdeal,
9724 kshitij.so 433
    23:string supc,
434
    24:i64 lastUpdatedInventory,
435
    25:i64 lastUpdatedInventoryTimestamp,
11095 kshitij.so 436
    26:i64 shippingTime,
437
    27:double courierCostMarketplace
9621 manish.sha 438
}
439
 
440
struct ProductFeedSubmit{
441
	1:i64 catalogItemId,
442
	2:bool stockLinkedFeed
9242 kshitij.so 443
}    
444
 
9724 kshitij.so 445
struct MarketplaceSearchFilter{
446
	1:bool isListedOnMarketplace,
447
	2:bool isInventoryOverride,
448
	3:bool isPriceOverride,
449
	4:bool isManualFavourite,
450
	5:bool isAutoFavourite,
451
	6:bool isAutoDecrement,
452
	7:bool isAutoIncrement,
453
	8:i64 source
454
}
455
 
9779 kshitij.so 456
/*
457
	Return Provision, emiFee, commission, service tax are in percentage
458
*/
459
 
460
struct MarketplacePercentage{
461
	1:i64 source,
462
	2:double emiFee,
463
	3:double closingFee,
464
	4:double returnProvision,
465
	5:double commission,
10287 kshitij.so 466
	6:double serviceTax,
467
	7:double pgFee
9779 kshitij.so 468
}
469
 
9776 vikram.rag 470
struct MarketPlaceItemPrice{
10097 kshitij.so 471
    1:i64 item_id,
472
	2:i64 source,
473
	3:double sellingPrice,
474
	4:i64 lastUpdatedOn,
475
	5:i64 lastUpdatedOnMarketplace,
476
	6:bool isPriceOverride,
9776 vikram.rag 477
	7:bool isListedOnSource
478
 
479
}
480
 
9945 vikram.rag 481
struct FlipkartItem{
10097 kshitij.so 482
    1:i64 item_id,
483
    2:double exceptionPrice,
484
    3:i64 warehouseId,
485
    4:double commissionValue,
486
    5:double serviceTaxValue,
487
    6:double maxNlc,
488
    7:string skuAtFlipkart,
489
    8:bool isListedOnFlipkart,
490
    9:bool suppressPriceFeed,
491
    10:bool suppressInventoryFeed,
492
    11:string updatedBy,
493
    12:string flipkartSerialNumber,
494
    13:MarketplaceItems marketplaceItems,
12133 kshitij.so 495
    14:Item item
9945 vikram.rag 496
}
497
 
10097 kshitij.so 498
struct FlipkartItemDetails{
499
	1:i64 item_id,
500
	2:i64 warehouseId,
501
	3:double exceptionPrice,
502
	4:bool isListedOnFlipkart,
503
    5:double commission,
504
    6:double serviceTax,
505
    7:string brand,
506
    8:string model_name,
507
    9:string model_number,
508
    10:string color,
509
    11:bool risky,
510
    12:status itemStatus,
511
    13:bool suppressPriceFeed,
512
    14:bool suppressInventoryFeed,
513
    15:double weight,
514
    16:double mrp,
515
    17:double websiteSellingPrice,
516
    18:double maxNlc,
517
    19:string skuAtFlipkart,
518
    20:i64 lastUpdatedInventory,
519
    21:i64 lastUpdatedInventoryTimestamp,
10156 amar.kumar 520
    22:string flipkartSerialNumber,
521
    23:i64 category
10097 kshitij.so 522
}
9945 vikram.rag 523
 
11531 vikram.rag 524
struct PrivateDeal{
525
	1:i64 item_id,
526
	2:double dealPrice,
527
	3:i64 dealFreebieItemId,
528
    4:i64 startDate,
529
    5:i64 endDate,
11566 vikram.rag 530
    6:i64 dealTextOption,
11531 vikram.rag 531
    7:string dealText,
532
    8:bool isCod,
11566 vikram.rag 533
    9:i64 rank,
11606 vikram.rag 534
    10:i64 dealFreebieOption,
535
    11:bool isActive
11531 vikram.rag 536
}
537
 
11015 kshitij.so 538
struct MarketplaceHistory{
539
	1:i64 item_id,
540
	2:i64 source,
541
	3:i64 timestamp,
11076 kshitij.so 542
	4:i64 lowest_possible_tp,
543
	5:i64 lowest_possible_sp,
11015 kshitij.so 544
	6:i64 ourInventory,
545
	7:i64 otherInventory,
546
	8:i64 secondLowestInventory,
547
	9:i64 ourRank,
11076 kshitij.so 548
	10:i64 ourOfferPrice,
549
	11:i64 ourSellingPrice,
550
	12:i64 ourTp,
551
	13:i64 ourNlc,
11015 kshitij.so 552
	14:CompetitionCategory competitiveCategory,
553
	15:i64 risky,
11076 kshitij.so 554
	16:i64 lowestOfferPrice,
555
	17:i64 lowestSellingPrice,
556
	18:i64 lowestTp,
11015 kshitij.so 557
	19:string lowestSellerName,
11076 kshitij.so 558
	20:i64 proposedSellingPrice,
559
	21:i64 proposedTp,
560
	22:i64 targetNlc,
11015 kshitij.so 561
	23:SalesPotential salesPotential,
562
	24:string secondLowestSellerName,
11076 kshitij.so 563
	25:i64 secondLowestSellingPrice,
564
	26:i64 secondLowestOfferPrice,
565
	27:i64 secondLowestTp,
566
	28:i64 marginIncreasedPotential,
567
	29:i64 margin,
11015 kshitij.so 568
	30:bool ourEnoughStock,
569
	31:i64 totalSeller,
570
	32:double averageSale,
11076 kshitij.so 571
	33:bool toGroup,
572
	34:Decision decision,
573
	35:string reason
11015 kshitij.so 574
}
575
 
11905 kshitij.so 576
struct AmazonOutOfSync{
577
	1:i64 item_id,
578
	2:bool mfn,
579
	3:bool fba,
580
	4:bool fbb
581
}
582
 
583
struct PdPriceComp{
584
	1:i64 item_id,
585
	2:double dealPrice,
586
	3:double saholicPrice,
587
	4:double sdPrice,
588
	5:double fkPrice,
589
	6:double amazonPrice,
12169 kshitij.so 590
	7:string productName,
12243 kshitij.so 591
	8:i64 lastProcessedTimestamp,
592
	9:double diff
11905 kshitij.so 593
}
594
 
12243 kshitij.so 595
struct CompetitorPricing {
596
	1:i64 item_id,
597
	2:bool isSnapdeal,
598
	3:bool isFlipkart,
599
	4:bool isAmazon,
600
	5:double lowestSnapdealPrice,
601
	6:double lowestFlipkartPrice,
12257 kshitij.so 602
	7:bool processed,
603
	8:i64 uploadId,
604
	9:string userEmail,
605
	10:double ourSnapdealPrice,
606
	11:double ourSnapdealOfferPrice,
607
	12:i64 ourSnapdealInventory,
608
	13:double lowestSnapdealOfferPrice,
609
	14:string lowestSnapdealSeller,
610
	15:i64 lowestSnapdealSellerInventory,
611
	16:double ourFlipkartPrice,
612
	17:i64 ourFlipkartInventory,
613
	18:string lowestFlipkartSeller,
614
	19:double ourMfnPrice,
615
	20:double ourFbaPrice,
616
	21:i64 ourMfnInventory,
617
	22:i64 ourFbaInventory,
618
	23:double lowestAmazonPrice,
619
	24:string lowestAmazonSeller,
620
	25:string productName
12243 kshitij.so 621
}
622
 
12363 kshitij.so 623
struct AmazonPromotion{
624
	1:string sku,
625
	2:double standardPrice,
626
	3:double salePrice,
627
	4:i64 startDate,
628
	5:i64 endDate,
629
	6:i64 addedOn,
630
	7:i64 updatedOnMarketplace
631
	8:i64 stateId,
632
	9:bool promotionActive,
633
	10:double subsidyAmount,
634
	11:AmazonPromotionType promotionType
635
}
636
 
5945 mandeep.dh 637
service CatalogService extends GenericService.GenericService{
763 rajveer 638
 
85 ashish 639
/**
640
	Availability and inventory attributes	
641
*/
642
	//all add and update methods - added by Ashish
5945 mandeep.dh 643
	i64 addItem(1:Item item) throws (1:CatalogServiceException cex),
644
	i64 updateItem(1:Item item) throws (1:CatalogServiceException cex),
2983 chandransh 645
 
646
	/**
647
	Checks if the item given to the corresponding itemId is active. If it's active,
648
	whether it's risky and if it's risky, its inventory position.
649
	*/
5945 mandeep.dh 650
	ItemShippingInfo isActive(1:i64 itemId) throws (1:CatalogServiceException isex),
7438 amit.gupta 651
 
652
	map<i64, bool> getItemsStatus(1:list<i64> itemIds) throws (1:CatalogServiceException isex),
2983 chandransh 653
 
5945 mandeep.dh 654
	string getItemStatusDescription(1:i64 itemId) throws (1:CatalogServiceException isex),
3323 chandransh 655
 
103 ashish 656
	//Item management apis
5945 mandeep.dh 657
	void startItemOn(1:i64 item_id, 2:i64 timestamp) throws (1:CatalogServiceException cex),
658
	void retireItemOn(1:i64 item_id, 2:i64 timestamp) throws (1:CatalogServiceException cex),
659
	void changeItemStatus(1:i64 item_id, 2:i64 timestamp, 3:status newstatus) throws (1:CatalogServiceException cex),
85 ashish 660
	//Other accessor methods - added by Ashish
5945 mandeep.dh 661
	Item getItem(1:i64 item_id) throws (1:CatalogServiceException cex),
662
	list<Item> getItemsByCatalogId(1:i64 catalog_item_id) throws  (1:CatalogServiceException cex),
663
	list<Item> getValidItemsByCatalogId(1:i64 catalog_item_id) throws  (1:CatalogServiceException cex),
664
	list<Item> getAllItems(1:bool isActive) throws (1:CatalogServiceException cex),
665
	list<Item> getAllItemsByStatus(1:status itemStatus) throws (1:CatalogServiceException cex),
9253 rajveer 666
	bool markItemAsContentComplete(1:i64 entityId, 2:i64 category, 3:string brand, 4:string modelName, 5:string modelNumber, 6:bool isAndroid) throws (1:CatalogServiceException cex),
12523 amit.gupta 667
	map<i64, double> getVatRates(1:i64 itemId, 2:i64 categoryId) throws (1:CatalogServiceException cex),
646 chandransh 668
 
3355 chandransh 669
	/**
3848 chandransh 670
	Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
671
	*/
5945 mandeep.dh 672
	list<Item> getAllItemsInRange(1:i64 offset, 2:i64 limit) throws (1:CatalogServiceException cex),
3848 chandransh 673
 
674
	/**
675
	Gets at most 'limit' items starting at the given offset in the given status. Returns an empty list if there are no more items at the given offset.
676
	*/
5945 mandeep.dh 677
	list<Item> getAllItemsByStatusInRange(1:status itemStatus, 2:i64 offset, 3:i64 limit) throws (1:CatalogServiceException cex),
3848 chandransh 678
 
679
	/**
680
	Gets a count of all items by status
681
	*/
682
	i32 getItemCountByStatus(1:bool useStatus, 2:status itemStatus),
1157 rajveer 683
 
502 rajveer 684
	// for home page .... best deals, best sellers and latest arrivals
5945 mandeep.dh 685
	list<Item> getBestSellers() throws (1:CatalogServiceException isex),
686
	list<i64> getBestSellersCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:CatalogServiceException cex),
687
	i64 getBestSellersCount() throws (1:CatalogServiceException cex),
588 chandransh 688
 
5945 mandeep.dh 689
	list<Item> getBestDeals() throws (1:CatalogServiceException isex),
690
	list<i64> getBestDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:CatalogServiceException cex),
691
	i64 getBestDealsCount() throws (1:CatalogServiceException cex),
5217 amit.gupta 692
 
5945 mandeep.dh 693
	list<Item> getComingSoon() throws (1:CatalogServiceException isex),
694
	list<i64> getComingSoonCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:CatalogServiceException cex),
695
	i64 getComingSoonCount() throws (1:CatalogServiceException cex),
588 chandransh 696
 
2975 chandransh 697
	/**
698
	Returns a list of items sorted in the descending order by start date.
699
	The list is limited to the 'latest_arrivals_count' configuraiton parameter.
700
	*/
5945 mandeep.dh 701
	list<Item> getLatestArrivals() throws (1:CatalogServiceException isex),
2975 chandransh 702
 
703
	/**
704
	Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
705
	To ignore the categories, pass the list as empty. To ignore brand, pass it as null.   
706
	*/
5945 mandeep.dh 707
	list<i64> getLatestArrivalsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:list<i64> categories) throws (1:CatalogServiceException cex),
2975 chandransh 708
 
709
	/**
710
	Get the total number of latest arrivals we are willing to show.
711
	The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
712
	*/
5945 mandeep.dh 713
	i64 getLatestArrivalsCount() throws (1:CatalogServiceException cex),
632 rajveer 714
 
1157 rajveer 715
 
716
	i64 generateNewEntityID(),
717
 
718
	/**
1967 rajveer 719
	* All category related functions
720
	*/
721
	bool addCategory(1:Category category),
722
	Category getCategory(1:i64 id),
1990 ankur.sing 723
	list<Category> getAllCategories(),
1967 rajveer 724
 
1990 ankur.sing 725
	/**
4423 phani.kuma 726
	Returns the list of similar items.
727
	*/
728
	list<Item> getAllSimilarItems(1:i64 itemId),
729
 
730
	/**
731
	Adds similar item.
732
	*/
5945 mandeep.dh 733
	Item addSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
4423 phani.kuma 734
 
735
	/**
6511 kshitij.so 736
	Tag Related
737
	*/
738
 
739
	bool addTag(1:string displayName, 2:i64 itemId),
740
	bool deleteEntityTag(1:string displayName, 2:i64 itemId),
741
	bool deleteTag(1:string displayName),
742
	list<string> getAllTags(),
743
	list<i64> getAllEntitiesByTagName(1:string displayName)
6842 amit.gupta 744
	map<i64, list<string>> getAllEntityTags()
6511 kshitij.so 745
 
8579 kshitij.so 746
	/**
747
	Banner Related
748
	*/
749
 
10097 kshitij.so 750
	bool addBanner(1:BannerCongregate bannerCongregate),
8579 kshitij.so 751
	bool updateBanner(1:Banner banner),
752
	list <Banner> getAllBanners(),
9155 kshitij.so 753
	bool deleteBanner(1:string bannerName,2:BannerType bannerType),
754
	Banner getBannerDetails(1:string bannerName,2:BannerType bannerType),
8579 kshitij.so 755
	map<string,list<Banner>> getActiveBanners(),
756
	bool addBannerMap(1:list<BannerMap> bannerMaps),
757
	bool updateBannerMap(1:BannerMap bannerMap),
6848 kshitij.so 758
	bool deleteBannerMap(1:string bannerName),
9155 kshitij.so 759
	list <BannerMap> getBannerMapDetails(1:string bannerName,2:BannerType bannerType),
8579 kshitij.so 760
	void addBannerUri(1:list<BannerUriMapping> bannerUriMappings),
9155 kshitij.so 761
	list<BannerUriMapping> getUriMapping(1:string bannerName,2:BannerType bannerType),
8579 kshitij.so 762
	void addCampaign(1:Campaign campaign),
763
	list<Campaign> getCampaigns(1:string campaignName),
764
	void deleteCampaign(1:i64 campaignId),
765
	list<string> getAllCampaigns(),
9155 kshitij.so 766
	map<string,list<Banner>> getActiveBannersForMobileSite(),
6511 kshitij.so 767
	/**
4423 phani.kuma 768
	Delete similar item.
769
	*/
5945 mandeep.dh 770
	bool deleteSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
4423 phani.kuma 771
 
772
	/**
4725 phani.kuma 773
	Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
2113 ankur.sing 774
	If yes, returns the itemId else returns 0
775
	*/
4725 phani.kuma 776
	i64 checkSimilarItem(1:string brand, 2:string modelNumber, 3:string modelName, 4:string color),
2284 ankur.sing 777
 
778
	/**
5945 mandeep.dh 779
	Check wether item is risky and change status if inventory is not available for risky items
2284 ankur.sing 780
	*/
5945 mandeep.dh 781
	void validateRiskyStatus(1:i64 itemId),
2356 ankur.sing 782
 
783
	/**
5945 mandeep.dh 784
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
785
    */
786
    void changeItemRiskyFlag(1:i64 itemId, 2:bool risky),
787
 
788
 
789
	/**
2356 ankur.sing 790
	Returns list of items marked as risky.
791
	*/
792
	list<Item> getItemsByRiskyFlag(),
793
 
794
	/**
4957 phani.kuma 795
	Returns list of items with any status except PHASED_OUT and filtered by category, brand.
2356 ankur.sing 796
	*/
4957 phani.kuma 797
	list<Item> getItemsForMasterSheet(1:string category, 2:string brand),
2807 rajveer 798
 
799
	/**
800
	Returns list of catalog ids of items with same similarity index as of the given itemId 
801
	*/
802
	list<i64> getSimilarItemsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 itemId),
3079 rajveer 803
 
804
	/**
805
	Add user requests for out of stock items. Once user will ask for notify me an entry will 
806
	*/
3086 rajveer 807
	bool addProductNotification(i64 itemId, string email),
3079 rajveer 808
 
3086 rajveer 809
	/**
810
		Send the product notifications to the users for items which has stock.
811
	*/
3348 varun.gupt 812
	bool sendProductNotifications(),
3079 rajveer 813
 
3348 varun.gupt 814
	/**
815
		Returns list of brand names for a given category Id
816
	*/
3556 rajveer 817
	list<string> getAllBrandsByCategory(1:i64 categoryId),
4957 phani.kuma 818
 
819
    /**
820
		Returns list of brand names
821
	*/
822
	list<string> getAllBrands(),
823
 
3556 rajveer 824
	/**
825
	Return list of all sources
826
	*/
827
	list<Source> getAllSources(), 
828
 
829
	/**
830
	Returns the pricing information of an item. If no information is found, exception will be thrown.
831
	*/
5945 mandeep.dh 832
	SourceItemPricing getItemPricingBySource(1:i64 itemId, 2:i64 sourceId) throws (1:CatalogServiceException cex),
3556 rajveer 833
 
834
	/**
835
	Adds prices to be displayed corresponding to the item if user comes from a source.
836
	If item is not found or source is not found, it will throw exception.
837
	*/
5945 mandeep.dh 838
	void addSourceItemPricing(1:SourceItemPricing sourceItemPricing) throws (1:CatalogServiceException cex),
3556 rajveer 839
 
840
	/**
841
	Returns the list of source pricing information of an item.
842
	Raises an exception if item not found corresponding to itemId
843
	*/
5945 mandeep.dh 844
	list<SourceItemPricing> getAllSourcePricing(1:i64 itemId) throws (1:CatalogServiceException cex),
3556 rajveer 845
 
846
	/**
847
	Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
848
	*/
5945 mandeep.dh 849
	Item getItemForSource(1:i64 item_id, 2:optional i64  sourceId) throws (1:CatalogServiceException cex),
3872 chandransh 850
 
851
	/**
852
	Searches items matching the the given terms in the catalog and returns results within the specified range.
853
	*/
854
	list<Item> searchItemsInRange(1:list<string> searchTerms, 2:i64 offset, 3:i64 limit),
855
 
856
	/**
857
	Gets the count of search results for the given search terms so that the user can go through all the pages.
858
	*/
4024 chandransh 859
	i32 getSearchResultCount(1:list<string> searchTerms),
860
 
861
	/**
4295 varun.gupt 862
	Returns a list of product notifications added after a supplied datetime
863
	*/
864
	list<ProductNotificationRequest> getProductNotifications(1:i64 startDateTime),
865
 
866
	/**
867
	Returns a list of count of requests for product notification against each item
868
	*/
7897 amar.kumar 869
	list<ProductNotificationRequestCount> getProductNotificationRequestCount(1:i64 startDateTime, 2:i64 categoryId);
4370 anupam.sin 870
 
871
	/**
4649 phani.kuma 872
	This method adds a log to authorize table with Item Id, username who authorized the change, reason.
873
	*/
5945 mandeep.dh 874
	bool addAuthorizationLog(1:i64 itemId, 2:string username, 3:string reason) throws (1:CatalogServiceException cex),
5504 phani.kuma 875
 
5945 mandeep.dh 876
	bool addupdateVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType, 3:i64 voucherAmount) throws (1:CatalogServiceException cex),
5504 phani.kuma 877
 
5945 mandeep.dh 878
	bool deleteVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType) throws (1:CatalogServiceException cex),
5504 phani.kuma 879
 
5512 rajveer 880
	i64 getVoucherAmount(1:i64 itemId, 2:i64 voucherType),
5504 phani.kuma 881
 
882
	list<VoucherItemMapping> getAllItemVouchers(1:i64 itemId),
5586 phani.kuma 883
 
6039 amit.gupta 884
	bool isValidCatalogItemId(1:i64 catalog_item_id),
885
 
7340 amit.gupta 886
	double getVatPercentageForItem(1:i64 itemId, 2:i64 stateId, 3:double price) throws (1:CatalogServiceException cex),
6531 vikram.rag 887
 
888
	double getVatAmountForItem(1:i64 itemId, 2:double price),
889
 
6821 amar.kumar 890
	list<Item> getAllIgnoredInventoryUpdateItemsList(1:i32 offset,2:i32 limit),
891
 
892
	list<Item> getAllAliveItems();	
6805 anupam.sin 893
 
894
	/**
895
	This method returns the insurance amount needed to insure the given item for a given quantity.
896
	*/
6921 anupam.sin 897
	i64 getInsuranceAmount(1:i64 itemId, 2:double price, 3:i64 insurerId, 4:i64 quantity),
6805 anupam.sin 898
 
6921 anupam.sin 899
	Insurer getInsurer(1:i64 insurerId),
6838 vikram.rag 900
 
6962 rajveer 901
	list<Insurer> getAllInsurers(),
902
 
7190 amar.kumar 903
	void updateInsuranceDeclaredAmount(1:i64 insurerId, 2:double amount),
904
 
905
	i64 getFreebieForItem(1:i64 itemId),
906
 
7256 rajveer 907
	void addOrUpdateFreebieForItem(1:FreebieItem freebieItem),
908
 
7272 amit.gupta 909
	void addOrUpdateBrandInfo(1:BrandInfo brandInfo),
910
 
7291 vikram.rag 911
	map<string, BrandInfo> getBrandInfo(),
7272 amit.gupta 912
 
7265 rajveer 913
	StorePricing getStorePricing(1:i64 itemId),
914
 
7306 rajveer 915
	list<StorePricing> getStorePricings(1:list<i64> itemIds),
916
 
7382 rajveer 917
	void updateStorePricing(1:StorePricing sp, 2:bool allColors),
7281 kshitij.so 918
 
919
	list<Amazonlisted> getAllAmazonListedItems(),
920
 
8619 kshitij.so 921
	list<Amazonlisted> searchAmazonItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit),
922
 
923
	i64 getAmazonSearchResultCount(1:list<string> searchTerm),
924
 
925
	i64 getCountForAmazonlistedItems(),
926
 
7281 kshitij.so 927
	Amazonlisted getAmazonItemDetails(1:i64 itemId),
928
 
8168 kshitij.so 929
	void updateAmazonItemDetails(1:Amazonlisted amazonlisted),
7281 kshitij.so 930
 
7291 vikram.rag 931
	void addAmazonItem(1:Amazonlisted amazonlisted),
7281 kshitij.so 932
 
7291 vikram.rag 933
	list<Item> getAsinItems(),
7281 kshitij.so 934
 
7291 vikram.rag 935
	list<Amazonlisted> getAllFbaListedItems(),
936
 
7460 kshitij.so 937
	list<Amazonlisted> getAllNonFbaListedItems(),
7291 vikram.rag 938
 
7770 kshitij.so 939
	bool updateItemInventory(1:i64 itemId, 2:i64 holdInventory, 3:i64 defaultInventory),
7460 kshitij.so 940
 
7770 kshitij.so 941
	bool updateTimestampForAmazonFeeds(1:string type, 2: list<i64> sku, 3:i64 timestamp)
942
 
7897 amar.kumar 943
	list<Category> getAllParentCategories()
944
 
7977 kshitij.so 945
	void addPageViewEvent(1:PageViewEvents pageViewEvents)
946
 
947
	void addCartEvent(1:CartEvents cartEvents)
948
 
8182 amar.kumar 949
	void addEbayItem(1:EbayItem ebayItem)
950
 
951
	EbayItem getEbayItem(1:string listingId)
952
 
953
	void updateEbayItem(1:EbayItem ebayItem)
954
 
8139 kshitij.so 955
	list<Amazonlisted> getAmazonListedItems(1:i64 offset,2:i64 limit)
956
 
8168 kshitij.so 957
	bool updateAmazonAttributesInBulk(1:map<i64, Amazonlisted> amazonlisted)
8379 vikram.rag 958
 
959
	list<Amazonlisted> getAllItemstoListOnFba()
960
 
961
	list<Amazonlisted> getAllItemstoListOnNonFba()
8616 vikram.rag 962
 
8619 kshitij.so 963
	void updateAsin(1:map<i64, Item> item)
8739 vikram.rag 964
 
965
	bool addOrUpdateSnapdealItem(SnapdealItem snapdealitem)
966
 
967
	SnapdealItem getSnapdealItem(1:i64 item_id)
968
 
9242 kshitij.so 969
	SnapdealItemDetails getSnapdealItemDetails(1:i64 item_id)
9155 kshitij.so 970
 
9242 kshitij.so 971
	list<SnapdealItemDetails> getAllSnapdealItems()
9155 kshitij.so 972
 
9242 kshitij.so 973
	list<SnapdealItemDetails> getSnapdealItems(1:i64 offset,2:i64 limit)
974
 
975
	list<SnapdealItemDetails> searchSnapdealItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit)
976
 
977
	i64 getCountForSnapdealItems()
978
 
979
	i64 getSnapdealSearchResultCount(1:list<string> searchTerm)
9299 kshitij.so 980
 
981
	i64 getPrefferedInsurerForItem(1:i64 itemId, 2:InsurerType insurerType)
9456 vikram.rag 982
 
983
	SnapdealItem getSnapdealItembySkuAtSnapdeal(string skuAtSnapdeal)
9621 manish.sha 984
 
985
	ProductFeedSubmit getProductFeedSubmit(1:i64 catalogItemId) throws (1:CatalogServiceException cex),
986
 
987
	bool addProductFeedSubmit(1:ProductFeedSubmit productFeedSubmit) throws (1:CatalogServiceException cex),
988
 
989
	bool updateProductFeedSubmit(1:ProductFeedSubmit productFeedSubmit) throws (1:CatalogServiceException cex),
8182 amar.kumar 990
 
9621 manish.sha 991
	bool deleteProductFeedSubmit(1:i64 catalogItemId) throws (1:CatalogServiceException cex),
992
 
9779 kshitij.so 993
	list<ProductFeedSubmit> getAllProductFeedSubmit() throws (1:CatalogServiceException cex)
9724 kshitij.so 994
 
995
	MarketplaceItems getMarketplacedetailsForItem(1:i64 itemId,2:i64 sourceId)
996
 
997
	bool updateMarketplaceAttributesForItem(1:MarketplaceItems marketPlaceItem)
9776 vikram.rag 998
 
9779 kshitij.so 999
	MarketplacePercentage getCostingForMarketplace(1:i64 source,2:i64 item_id)
1000
 
9776 vikram.rag 1001
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
1002
 
9909 kshitij.so 1003
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp,3:i64 source),
9776 vikram.rag 1004
 
10097 kshitij.so 1005
	void updateItemHoldInventory(1:map<i64,i64> itemHoldMap),	
9776 vikram.rag 1006
 
10097 kshitij.so 1007
	void updateNlcAtMarketplaces(1:i64 item_id,2:i64 vendor_id,double nlc),
9895 vikram.rag 1008
 
10097 kshitij.so 1009
	list<FlipkartItem> getAllFlipkartItems(),
9945 vikram.rag 1010
 
10097 kshitij.so 1011
	bool addOrUpdateFlipkartItem(FlipkartItem flipkartitem),
1012
 
1013
	FlipkartItem getFlipkartItem(1:i64 item_id),
1014
 
1015
	FlipkartItemDetails getFlipkartItemDetails(1:i64 item_id),
1016
 
1017
	list<FlipkartItemDetails> getFlipkartItems(1:i64 offset,2:i64 limit),
1018
 
1019
	list<FlipkartItemDetails> searchFlipkartItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit),
1020
 
1021
	i64 getCountForFlipkartItems(),
1022
 
1023
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
1024
 
11531 vikram.rag 1025
	list<FlipkartItemDetails> getAllFkItems()
10097 kshitij.so 1026
 
11531 vikram.rag 1027
	FlipkartItem getFlipkartItemBySkyAtFlipkart(string sku)
10140 vikram.rag 1028
 
11015 kshitij.so 1029
	list<MarketplaceHistory> getMarketplaceHistory(1:i64 source,2:i64 offset,3:i64 itemId),
1030
 
10924 vikram.rag 1031
	list<Amazonlisted> getAllFbbListedItems()
10909 vikram.rag 1032
 
10924 vikram.rag 1033
	list<Amazonlisted> getAllFbbPricingItems()
1034
 
11015 kshitij.so 1035
	i64 getCountForMarketplaceHistory(1:i64 source,2:i64 itemId)
1036
 
1037
	list<MarketplaceHistory> getMarketplaceHistoryByDate(1:i64 source,2:i64 startDate,3:i64 endDate,4:i64 offset,5:i64 limit,6:i64 itemId)
1038
 
11531 vikram.rag 1039
	PrivateDeal getPrivateDealDetails(1:i64 item_id)
1040
 
1041
	list<Item> getPrivateDealItems(1:i64 offset,2:i64 limit)
1042
 
11653 amit.gupta 1043
	map<i64, PrivateDeal> getAllActivePrivateDeals(1:list<i64> itemIds, 2:i64 daysDelta)
11592 amit.gupta 1044
 
11531 vikram.rag 1045
	bool addOrUpdatePrivateDeal(1:PrivateDeal privateDeal)
1046
 
11635 vikram.rag 1047
	list<i64> getPrivateDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems) throws (1:CatalogServiceException cex),
1048
 
12133 kshitij.so 1049
	i32 getPrivateDealsCount(),
11635 vikram.rag 1050
 
12133 kshitij.so 1051
	AmazonOutOfSync getAmazonOutSyncItems(1:i64 item_id),
11635 vikram.rag 1052
 
12133 kshitij.so 1053
	list<PdPriceComp> getAllPrivateDealsComparison(),
11645 amit.gupta 1054
 
12133 kshitij.so 1055
	list<SnapdealItem> getAllSnapdealMarketplaceItem(),
11905 kshitij.so 1056
 
12243 kshitij.so 1057
	list<FlipkartItem> getAllFlipkartMarketplaceItem(),
11905 kshitij.so 1058
 
12243 kshitij.so 1059
	void addCompetitorScraping(1:map<i64,CompetitorPricing> competitorPricingMap),
1060
 
12257 kshitij.so 1061
	list<CompetitorPricing> getPreviousCompetitorScraping(1:i64 delta),
12243 kshitij.so 1062
 
12363 kshitij.so 1063
	list<CompetitorPricing> getUploadResultById(1:i64 uploadId),
12257 kshitij.so 1064
 
12363 kshitij.so 1065
	bool addAmazonPromotion(1:map<string,AmazonPromotion> amazonPromotions),
12257 kshitij.so 1066
 
12363 kshitij.so 1067
	list<AmazonPromotion> getAmazonPromotion(1:i64 startDate,2:i64 endDate),
1068
 
12523 amit.gupta 1069
	bool updateAmazonPromotion(1:list<AmazonPromotion> amazonPromotions),
12363 kshitij.so 1070
 
12523 amit.gupta 1071
	bool markPartiallyActive(1:i64 itemId, 2:i64 categoryId),
12363 kshitij.so 1072
 
12523 amit.gupta 1073
	bool updateItemStateVat(1:i64 itemId, 2:map<i64,double> statevat)
1074
 
12620 amit.gupta 1075
	map<i64, ExclusiveAffiliateItemInfo> getExAffiliateItemInfo()
12523 amit.gupta 1076
 
12620 amit.gupta 1077
 
5110 mandeep.dh 1078
}