Subversion Repositories SmartDukaan

Rev

Rev 14862 | Rev 15701 | 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,
12663 kshitij.so 316
    33:double fbaPromoPrice,
317
    34:double fbbPromoPrice,
12363 kshitij.so 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,
12663 kshitij.so 324
    41:double otherCost,
325
    42:i64 fbaPromoStartDate,
326
    43:i64 fbaPromoEndDate,
327
    44:i64 fbbPromoStartDate,
328
    45:i64 fbbPromoEndDate,
329
    46:bool isFbaPromotionActive,
330
    47:bool isFbbPromotionActive,
331
    48:double maxFbaSalePrice,
12888 kshitij.so 332
    49:double maxFbbSalePrice,
333
    50:bool isFbg,
334
    51:double fbgPrice,
335
    52:string fbgtaxCode,
336
    53:i64 fbgPriceLastUpdatedOnSc,
337
    54:i64 fbgPriceLastUpdatedOn,
338
    55:bool suppressFbgPriceUpdate,
339
    56:double fbgPromoPrice,
340
    57:i64 fbgPromoStartDate,
341
    58:i64 fbgPromoEndDate,
342
    59:double maxFbgSalePrice,
343
    60:bool isFbgPromotionActive
7977 kshitij.so 344
}
345
 
346
struct PageViewEvents{
347
    1:i64 catalogId,
348
    2:string url,
349
    3:double sellingPrice,
350
    4:bool comingSoon,
351
    5:string ip,
352
    6:string sessionId,
353
    7:i64 eventDate
354
}
7281 kshitij.so 355
 
7977 kshitij.so 356
struct CartEvents{
357
    1:i64 catalogId,
358
    2:i64 itemId,
359
    3:double sellingPrice,
360
    4:string ip,
361
    5:string sessionId,
362
    6:bool inStock,
363
    7:bool comingSoon,
364
    8:i64 eventDate
365
}
366
 
8182 amar.kumar 367
struct EbayItem{
368
	1:string ebayListingId,
369
	2:i64 itemId,
370
	3:string listingName,
371
	4:i64 listingPrice,
372
	5:i64 listingExpiryDate,
373
	6:double subsidy,
374
	7:i64 defaultWarehouseId
8739 vikram.rag 375
}
376
 
9779 kshitij.so 377
/*
378
	Return Provision, vat, commission, service tax are in percentage
379
*/
380
 
381
struct MarketplaceItems{
382
	1:i64 itemId,
383
	2:i64 source,
384
	3:double emiFee,
385
	4:double courierCost,
386
	5:double closingFee,
387
	6:double returnProvision,
388
	7:double commission,
389
	8:double vat,
390
	9:double packagingCost,
391
	10:double otherCost,
392
	11:double serviceTax,
393
	12:bool autoIncrement,
394
	13:bool autoDecrement,
395
	14:bool manualFavourite,
396
	15:bool autoFavourite,
397
	16:double currentSp,
398
	17:double currentTp,
399
	18:double minimumPossibleSp,
400
	19:double minimumPossibleTp,
9909 kshitij.so 401
	20:i64 lastCheckedTimestamp,
10287 kshitij.so 402
	21:double maximumSellingPrice,
11095 kshitij.so 403
	22:double pgFee,
404
	23:double courierCostMarketplace
9779 kshitij.so 405
}
406
 
8739 vikram.rag 407
struct SnapdealItem{
408
	1:i64 item_id,
409
	2:i64 warehouseId,
410
	3:double exceptionPrice,
9242 kshitij.so 411
	4:bool isListedOnSnapdeal,
412
	5:double transferPrice,
413
    6:double sellingPrice,
414
    7:double courierCost,
415
    8:double commission,
416
    9:double serviceTax,
417
    10:bool suppressPriceFeed,
9404 vikram.rag 418
    11:bool suppressInventoryFeed,
9478 kshitij.so 419
    12:double maxNlc,
9568 kshitij.so 420
    13:string skuAtSnapdeal,
9724 kshitij.so 421
    14:string supc,
9779 kshitij.so 422
    15:string shippingTime,
423
    16:string updatedBy,
11095 kshitij.so 424
    17:MarketplaceItems marketplaceItems,
12133 kshitij.so 425
    18:double courierCostMarketplace,
14780 manish.sha 426
    19:Item item,
427
    20:bool isVoiListed,
428
    21:double voiSellingPrice,
429
    22:bool suppressVoiPriceFeed,
430
    23:i64 voiPriceLastUpdatedOn,
431
    24:string voiSkuAtSnapdeal,
432
    25:double minimumPossibleSpVoi,
433
	26:double minimumPossibleTpVoi,
434
	27:double courierCostVoi,
435
	28:double serviceTaxVoi,
436
	29:double transferPriceVoi,
14862 manish.sha 437
	30:double commissionVoi,
438
	31:double courierCostMarketplaceVoi,
439
	32:double commissionPercentageVoi
8182 amar.kumar 440
}    
7977 kshitij.so 441
 
14862 manish.sha 442
struct VoiSnapdealItemInfo {
443
	1:i64 item_id,
444
	2:string voiSkuAtSnapdeal,
445
	3:double sellingPriceSnapdeal,
446
	4:double transferPriceSnapdeal,
447
	5:double fixedMargin,
448
	6:double fixedMarginPercentage,
449
	7:double logisticCostSnapdeal,
450
	8:double woodenPackagingCost,
451
	9:double weightSnapdeal
452
}
453
 
9242 kshitij.so 454
struct SnapdealItemDetails{
455
	1:i64 item_id,
456
	2:i64 warehouseId,
457
	3:double exceptionPrice,
458
	4:bool isListedOnSnapdeal,
459
	5:double transferPrice,
460
    6:double sellingPrice,
461
    7:double courierCost,
462
    8:double commission,
463
    9:double serviceTax,
464
    10:string brand,
465
    11:string model_name,
466
    12:string model_number,
467
    13:string color,
468
    14:bool risky,
469
    15:status itemStatus,
470
    16:bool suppressPriceFeed,
471
    17:bool suppressInventoryFeed,
472
    18:double weight,
473
    19:double mrp,
9478 kshitij.so 474
    20:double websiteSellingPrice,
475
    21:double maxNlc,
9568 kshitij.so 476
    22:string skuAtSnapdeal,
9724 kshitij.so 477
    23:string supc,
478
    24:i64 lastUpdatedInventory,
479
    25:i64 lastUpdatedInventoryTimestamp,
11095 kshitij.so 480
    26:i64 shippingTime,
14780 manish.sha 481
    27:double courierCostMarketplace,
482
    28:bool isVoiListed
9621 manish.sha 483
}
484
 
485
struct ProductFeedSubmit{
486
	1:i64 catalogItemId,
487
	2:bool stockLinkedFeed
9242 kshitij.so 488
}    
489
 
9724 kshitij.so 490
struct MarketplaceSearchFilter{
491
	1:bool isListedOnMarketplace,
492
	2:bool isInventoryOverride,
493
	3:bool isPriceOverride,
494
	4:bool isManualFavourite,
495
	5:bool isAutoFavourite,
496
	6:bool isAutoDecrement,
497
	7:bool isAutoIncrement,
498
	8:i64 source
499
}
500
 
9779 kshitij.so 501
/*
502
	Return Provision, emiFee, commission, service tax are in percentage
503
*/
504
 
505
struct MarketplacePercentage{
506
	1:i64 source,
507
	2:double emiFee,
508
	3:double closingFee,
509
	4:double returnProvision,
510
	5:double commission,
10287 kshitij.so 511
	6:double serviceTax,
512
	7:double pgFee
9779 kshitij.so 513
}
514
 
9776 vikram.rag 515
struct MarketPlaceItemPrice{
10097 kshitij.so 516
    1:i64 item_id,
517
	2:i64 source,
518
	3:double sellingPrice,
519
	4:i64 lastUpdatedOn,
520
	5:i64 lastUpdatedOnMarketplace,
521
	6:bool isPriceOverride,
9776 vikram.rag 522
	7:bool isListedOnSource
523
 
524
}
525
 
9945 vikram.rag 526
struct FlipkartItem{
10097 kshitij.so 527
    1:i64 item_id,
528
    2:double exceptionPrice,
529
    3:i64 warehouseId,
530
    4:double commissionValue,
531
    5:double serviceTaxValue,
532
    6:double maxNlc,
533
    7:string skuAtFlipkart,
534
    8:bool isListedOnFlipkart,
535
    9:bool suppressPriceFeed,
536
    10:bool suppressInventoryFeed,
537
    11:string updatedBy,
538
    12:string flipkartSerialNumber,
539
    13:MarketplaceItems marketplaceItems,
14780 manish.sha 540
    14:Item item,
541
    15:bool isFaListed
9945 vikram.rag 542
}
543
 
10097 kshitij.so 544
struct FlipkartItemDetails{
545
	1:i64 item_id,
546
	2:i64 warehouseId,
547
	3:double exceptionPrice,
548
	4:bool isListedOnFlipkart,
549
    5:double commission,
550
    6:double serviceTax,
551
    7:string brand,
552
    8:string model_name,
553
    9:string model_number,
554
    10:string color,
555
    11:bool risky,
556
    12:status itemStatus,
557
    13:bool suppressPriceFeed,
558
    14:bool suppressInventoryFeed,
559
    15:double weight,
560
    16:double mrp,
561
    17:double websiteSellingPrice,
562
    18:double maxNlc,
563
    19:string skuAtFlipkart,
564
    20:i64 lastUpdatedInventory,
565
    21:i64 lastUpdatedInventoryTimestamp,
10156 amar.kumar 566
    22:string flipkartSerialNumber,
14780 manish.sha 567
    23:i64 category,
568
    24:bool isFaListed
10097 kshitij.so 569
}
9945 vikram.rag 570
 
11531 vikram.rag 571
struct PrivateDeal{
572
	1:i64 item_id,
573
	2:double dealPrice,
574
	3:i64 dealFreebieItemId,
575
    4:i64 startDate,
576
    5:i64 endDate,
11566 vikram.rag 577
    6:i64 dealTextOption,
11531 vikram.rag 578
    7:string dealText,
579
    8:bool isCod,
11566 vikram.rag 580
    9:i64 rank,
11606 vikram.rag 581
    10:i64 dealFreebieOption,
582
    11:bool isActive
11531 vikram.rag 583
}
584
 
11015 kshitij.so 585
struct MarketplaceHistory{
586
	1:i64 item_id,
587
	2:i64 source,
588
	3:i64 timestamp,
11076 kshitij.so 589
	4:i64 lowest_possible_tp,
590
	5:i64 lowest_possible_sp,
11015 kshitij.so 591
	6:i64 ourInventory,
592
	7:i64 otherInventory,
593
	8:i64 secondLowestInventory,
594
	9:i64 ourRank,
11076 kshitij.so 595
	10:i64 ourOfferPrice,
596
	11:i64 ourSellingPrice,
597
	12:i64 ourTp,
598
	13:i64 ourNlc,
11015 kshitij.so 599
	14:CompetitionCategory competitiveCategory,
600
	15:i64 risky,
11076 kshitij.so 601
	16:i64 lowestOfferPrice,
602
	17:i64 lowestSellingPrice,
603
	18:i64 lowestTp,
11015 kshitij.so 604
	19:string lowestSellerName,
11076 kshitij.so 605
	20:i64 proposedSellingPrice,
606
	21:i64 proposedTp,
607
	22:i64 targetNlc,
11015 kshitij.so 608
	23:SalesPotential salesPotential,
609
	24:string secondLowestSellerName,
11076 kshitij.so 610
	25:i64 secondLowestSellingPrice,
611
	26:i64 secondLowestOfferPrice,
612
	27:i64 secondLowestTp,
613
	28:i64 marginIncreasedPotential,
614
	29:i64 margin,
11015 kshitij.so 615
	30:bool ourEnoughStock,
616
	31:i64 totalSeller,
617
	32:double averageSale,
11076 kshitij.so 618
	33:bool toGroup,
619
	34:Decision decision,
620
	35:string reason
11015 kshitij.so 621
}
622
 
11905 kshitij.so 623
struct AmazonOutOfSync{
624
	1:i64 item_id,
625
	2:bool mfn,
626
	3:bool fba,
627
	4:bool fbb
628
}
629
 
630
struct PdPriceComp{
631
	1:i64 item_id,
632
	2:double dealPrice,
633
	3:double saholicPrice,
634
	4:double sdPrice,
635
	5:double fkPrice,
636
	6:double amazonPrice,
12169 kshitij.so 637
	7:string productName,
12243 kshitij.so 638
	8:i64 lastProcessedTimestamp,
639
	9:double diff
11905 kshitij.so 640
}
13709 manish.sha 641
/*
642
struct DealTag{
643
	1:i64 id,
644
	2:string name
645
}
11905 kshitij.so 646
 
13709 manish.sha 647
struct ItemTag{
648
	1:i64 itemId,
649
	2:i64 tagId,
650
	3:i64 startDate,
651
	4:i64 endDate,
652
	5:bool status
653
}*/
654
 
12243 kshitij.so 655
struct CompetitorPricing {
656
	1:i64 item_id,
657
	2:bool isSnapdeal,
658
	3:bool isFlipkart,
659
	4:bool isAmazon,
660
	5:double lowestSnapdealPrice,
661
	6:double lowestFlipkartPrice,
12257 kshitij.so 662
	7:bool processed,
663
	8:i64 uploadId,
664
	9:string userEmail,
665
	10:double ourSnapdealPrice,
666
	11:double ourSnapdealOfferPrice,
667
	12:i64 ourSnapdealInventory,
668
	13:double lowestSnapdealOfferPrice,
669
	14:string lowestSnapdealSeller,
670
	15:i64 lowestSnapdealSellerInventory,
671
	16:double ourFlipkartPrice,
672
	17:i64 ourFlipkartInventory,
673
	18:string lowestFlipkartSeller,
15488 kshitij.so 674
	19:double ourAmazonPrice,
675
	20:double lowestAmazonPrice,
676
	21:string lowestAmazonSeller,
677
	22:string productName
12243 kshitij.so 678
}
679
 
12363 kshitij.so 680
struct AmazonPromotion{
681
	1:string sku,
682
	2:double standardPrice,
683
	3:double salePrice,
684
	4:i64 startDate,
685
	5:i64 endDate,
686
	6:i64 addedOn,
687
	7:i64 updatedOnMarketplace
688
	8:i64 stateId,
689
	9:bool promotionActive,
690
	10:double subsidyAmount,
691
	11:AmazonPromotionType promotionType
692
}
693
 
13709 manish.sha 694
struct HsItem{
695
	1:string hsItemId,
696
	2:i64 itemId,
697
	3:string hsProductId,
698
	4:i64 listingPrice,
699
	5:i64 defaultWarehouseId
700
	6:i64 addedTimestamp,
701
	7:string addedBy
702
}
703
 
5945 mandeep.dh 704
service CatalogService extends GenericService.GenericService{
763 rajveer 705
 
85 ashish 706
/**
707
	Availability and inventory attributes	
708
*/
709
	//all add and update methods - added by Ashish
5945 mandeep.dh 710
	i64 addItem(1:Item item) throws (1:CatalogServiceException cex),
711
	i64 updateItem(1:Item item) throws (1:CatalogServiceException cex),
2983 chandransh 712
 
713
	/**
714
	Checks if the item given to the corresponding itemId is active. If it's active,
715
	whether it's risky and if it's risky, its inventory position.
716
	*/
5945 mandeep.dh 717
	ItemShippingInfo isActive(1:i64 itemId) throws (1:CatalogServiceException isex),
7438 amit.gupta 718
 
719
	map<i64, bool> getItemsStatus(1:list<i64> itemIds) throws (1:CatalogServiceException isex),
2983 chandransh 720
 
5945 mandeep.dh 721
	string getItemStatusDescription(1:i64 itemId) throws (1:CatalogServiceException isex),
3323 chandransh 722
 
103 ashish 723
	//Item management apis
5945 mandeep.dh 724
	void startItemOn(1:i64 item_id, 2:i64 timestamp) throws (1:CatalogServiceException cex),
725
	void retireItemOn(1:i64 item_id, 2:i64 timestamp) throws (1:CatalogServiceException cex),
726
	void changeItemStatus(1:i64 item_id, 2:i64 timestamp, 3:status newstatus) throws (1:CatalogServiceException cex),
85 ashish 727
	//Other accessor methods - added by Ashish
5945 mandeep.dh 728
	Item getItem(1:i64 item_id) throws (1:CatalogServiceException cex),
13495 amit.gupta 729
	map<i64, Item> getItems(1:list<i64> item_ids) throws (1:CatalogServiceException cex),
5945 mandeep.dh 730
	list<Item> getItemsByCatalogId(1:i64 catalog_item_id) throws  (1:CatalogServiceException cex),
731
	list<Item> getValidItemsByCatalogId(1:i64 catalog_item_id) throws  (1:CatalogServiceException cex),
732
	list<Item> getAllItems(1:bool isActive) throws (1:CatalogServiceException cex),
733
	list<Item> getAllItemsByStatus(1:status itemStatus) throws (1:CatalogServiceException cex),
9253 rajveer 734
	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 735
	map<i64, double> getVatRates(1:i64 itemId, 2:i64 categoryId) throws (1:CatalogServiceException cex),
646 chandransh 736
 
3355 chandransh 737
	/**
3848 chandransh 738
	Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
739
	*/
5945 mandeep.dh 740
	list<Item> getAllItemsInRange(1:i64 offset, 2:i64 limit) throws (1:CatalogServiceException cex),
3848 chandransh 741
 
742
	/**
743
	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.
744
	*/
5945 mandeep.dh 745
	list<Item> getAllItemsByStatusInRange(1:status itemStatus, 2:i64 offset, 3:i64 limit) throws (1:CatalogServiceException cex),
3848 chandransh 746
 
747
	/**
748
	Gets a count of all items by status
749
	*/
750
	i32 getItemCountByStatus(1:bool useStatus, 2:status itemStatus),
1157 rajveer 751
 
502 rajveer 752
	// for home page .... best deals, best sellers and latest arrivals
5945 mandeep.dh 753
	list<Item> getBestSellers() throws (1:CatalogServiceException isex),
754
	list<i64> getBestSellersCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:CatalogServiceException cex),
755
	i64 getBestSellersCount() throws (1:CatalogServiceException cex),
588 chandransh 756
 
5945 mandeep.dh 757
	list<Item> getBestDeals() throws (1:CatalogServiceException isex),
758
	list<i64> getBestDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:CatalogServiceException cex),
759
	i64 getBestDealsCount() throws (1:CatalogServiceException cex),
5217 amit.gupta 760
 
5945 mandeep.dh 761
	list<Item> getComingSoon() throws (1:CatalogServiceException isex),
762
	list<i64> getComingSoonCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:CatalogServiceException cex),
763
	i64 getComingSoonCount() throws (1:CatalogServiceException cex),
588 chandransh 764
 
2975 chandransh 765
	/**
766
	Returns a list of items sorted in the descending order by start date.
767
	The list is limited to the 'latest_arrivals_count' configuraiton parameter.
768
	*/
5945 mandeep.dh 769
	list<Item> getLatestArrivals() throws (1:CatalogServiceException isex),
2975 chandransh 770
 
771
	/**
772
	Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
773
	To ignore the categories, pass the list as empty. To ignore brand, pass it as null.   
774
	*/
5945 mandeep.dh 775
	list<i64> getLatestArrivalsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:list<i64> categories) throws (1:CatalogServiceException cex),
2975 chandransh 776
 
777
	/**
778
	Get the total number of latest arrivals we are willing to show.
779
	The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
780
	*/
5945 mandeep.dh 781
	i64 getLatestArrivalsCount() throws (1:CatalogServiceException cex),
632 rajveer 782
 
1157 rajveer 783
 
784
	i64 generateNewEntityID(),
785
 
786
	/**
1967 rajveer 787
	* All category related functions
788
	*/
789
	bool addCategory(1:Category category),
790
	Category getCategory(1:i64 id),
1990 ankur.sing 791
	list<Category> getAllCategories(),
1967 rajveer 792
 
1990 ankur.sing 793
	/**
4423 phani.kuma 794
	Returns the list of similar items.
795
	*/
796
	list<Item> getAllSimilarItems(1:i64 itemId),
797
 
798
	/**
799
	Adds similar item.
800
	*/
5945 mandeep.dh 801
	Item addSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
4423 phani.kuma 802
 
803
	/**
6511 kshitij.so 804
	Tag Related
805
	*/
806
 
807
	bool addTag(1:string displayName, 2:i64 itemId),
808
	bool deleteEntityTag(1:string displayName, 2:i64 itemId),
809
	bool deleteTag(1:string displayName),
810
	list<string> getAllTags(),
811
	list<i64> getAllEntitiesByTagName(1:string displayName)
6842 amit.gupta 812
	map<i64, list<string>> getAllEntityTags()
6511 kshitij.so 813
 
8579 kshitij.so 814
	/**
815
	Banner Related
816
	*/
817
 
10097 kshitij.so 818
	bool addBanner(1:BannerCongregate bannerCongregate),
8579 kshitij.so 819
	bool updateBanner(1:Banner banner),
820
	list <Banner> getAllBanners(),
9155 kshitij.so 821
	bool deleteBanner(1:string bannerName,2:BannerType bannerType),
822
	Banner getBannerDetails(1:string bannerName,2:BannerType bannerType),
8579 kshitij.so 823
	map<string,list<Banner>> getActiveBanners(),
824
	bool addBannerMap(1:list<BannerMap> bannerMaps),
825
	bool updateBannerMap(1:BannerMap bannerMap),
6848 kshitij.so 826
	bool deleteBannerMap(1:string bannerName),
9155 kshitij.so 827
	list <BannerMap> getBannerMapDetails(1:string bannerName,2:BannerType bannerType),
8579 kshitij.so 828
	void addBannerUri(1:list<BannerUriMapping> bannerUriMappings),
9155 kshitij.so 829
	list<BannerUriMapping> getUriMapping(1:string bannerName,2:BannerType bannerType),
8579 kshitij.so 830
	void addCampaign(1:Campaign campaign),
831
	list<Campaign> getCampaigns(1:string campaignName),
832
	void deleteCampaign(1:i64 campaignId),
833
	list<string> getAllCampaigns(),
9155 kshitij.so 834
	map<string,list<Banner>> getActiveBannersForMobileSite(),
6511 kshitij.so 835
	/**
4423 phani.kuma 836
	Delete similar item.
837
	*/
5945 mandeep.dh 838
	bool deleteSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
4423 phani.kuma 839
 
840
	/**
4725 phani.kuma 841
	Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
2113 ankur.sing 842
	If yes, returns the itemId else returns 0
843
	*/
4725 phani.kuma 844
	i64 checkSimilarItem(1:string brand, 2:string modelNumber, 3:string modelName, 4:string color),
2284 ankur.sing 845
 
846
	/**
5945 mandeep.dh 847
	Check wether item is risky and change status if inventory is not available for risky items
2284 ankur.sing 848
	*/
5945 mandeep.dh 849
	void validateRiskyStatus(1:i64 itemId),
2356 ankur.sing 850
 
851
	/**
5945 mandeep.dh 852
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
853
    */
854
    void changeItemRiskyFlag(1:i64 itemId, 2:bool risky),
855
 
856
 
857
	/**
2356 ankur.sing 858
	Returns list of items marked as risky.
859
	*/
860
	list<Item> getItemsByRiskyFlag(),
861
 
862
	/**
4957 phani.kuma 863
	Returns list of items with any status except PHASED_OUT and filtered by category, brand.
2356 ankur.sing 864
	*/
4957 phani.kuma 865
	list<Item> getItemsForMasterSheet(1:string category, 2:string brand),
2807 rajveer 866
 
867
	/**
868
	Returns list of catalog ids of items with same similarity index as of the given itemId 
869
	*/
870
	list<i64> getSimilarItemsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 itemId),
3079 rajveer 871
 
872
	/**
873
	Add user requests for out of stock items. Once user will ask for notify me an entry will 
874
	*/
3086 rajveer 875
	bool addProductNotification(i64 itemId, string email),
3079 rajveer 876
 
3086 rajveer 877
	/**
878
		Send the product notifications to the users for items which has stock.
879
	*/
3348 varun.gupt 880
	bool sendProductNotifications(),
3079 rajveer 881
 
3348 varun.gupt 882
	/**
883
		Returns list of brand names for a given category Id
884
	*/
3556 rajveer 885
	list<string> getAllBrandsByCategory(1:i64 categoryId),
4957 phani.kuma 886
 
887
    /**
888
		Returns list of brand names
889
	*/
890
	list<string> getAllBrands(),
891
 
3556 rajveer 892
	/**
893
	Return list of all sources
894
	*/
895
	list<Source> getAllSources(), 
896
 
897
	/**
898
	Returns the pricing information of an item. If no information is found, exception will be thrown.
899
	*/
5945 mandeep.dh 900
	SourceItemPricing getItemPricingBySource(1:i64 itemId, 2:i64 sourceId) throws (1:CatalogServiceException cex),
3556 rajveer 901
 
902
	/**
903
	Adds prices to be displayed corresponding to the item if user comes from a source.
904
	If item is not found or source is not found, it will throw exception.
905
	*/
5945 mandeep.dh 906
	void addSourceItemPricing(1:SourceItemPricing sourceItemPricing) throws (1:CatalogServiceException cex),
3556 rajveer 907
 
908
	/**
909
	Returns the list of source pricing information of an item.
910
	Raises an exception if item not found corresponding to itemId
911
	*/
5945 mandeep.dh 912
	list<SourceItemPricing> getAllSourcePricing(1:i64 itemId) throws (1:CatalogServiceException cex),
3556 rajveer 913
 
914
	/**
915
	Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
916
	*/
5945 mandeep.dh 917
	Item getItemForSource(1:i64 item_id, 2:optional i64  sourceId) throws (1:CatalogServiceException cex),
3872 chandransh 918
 
919
	/**
920
	Searches items matching the the given terms in the catalog and returns results within the specified range.
921
	*/
922
	list<Item> searchItemsInRange(1:list<string> searchTerms, 2:i64 offset, 3:i64 limit),
923
 
924
	/**
925
	Gets the count of search results for the given search terms so that the user can go through all the pages.
926
	*/
4024 chandransh 927
	i32 getSearchResultCount(1:list<string> searchTerms),
928
 
929
	/**
4295 varun.gupt 930
	Returns a list of product notifications added after a supplied datetime
931
	*/
932
	list<ProductNotificationRequest> getProductNotifications(1:i64 startDateTime),
933
 
934
	/**
935
	Returns a list of count of requests for product notification against each item
936
	*/
7897 amar.kumar 937
	list<ProductNotificationRequestCount> getProductNotificationRequestCount(1:i64 startDateTime, 2:i64 categoryId);
4370 anupam.sin 938
 
939
	/**
4649 phani.kuma 940
	This method adds a log to authorize table with Item Id, username who authorized the change, reason.
941
	*/
5945 mandeep.dh 942
	bool addAuthorizationLog(1:i64 itemId, 2:string username, 3:string reason) throws (1:CatalogServiceException cex),
5504 phani.kuma 943
 
5945 mandeep.dh 944
	bool addupdateVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType, 3:i64 voucherAmount) throws (1:CatalogServiceException cex),
5504 phani.kuma 945
 
5945 mandeep.dh 946
	bool deleteVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType) throws (1:CatalogServiceException cex),
5504 phani.kuma 947
 
5512 rajveer 948
	i64 getVoucherAmount(1:i64 itemId, 2:i64 voucherType),
5504 phani.kuma 949
 
950
	list<VoucherItemMapping> getAllItemVouchers(1:i64 itemId),
5586 phani.kuma 951
 
6039 amit.gupta 952
	bool isValidCatalogItemId(1:i64 catalog_item_id),
953
 
7340 amit.gupta 954
	double getVatPercentageForItem(1:i64 itemId, 2:i64 stateId, 3:double price) throws (1:CatalogServiceException cex),
6531 vikram.rag 955
 
956
	double getVatAmountForItem(1:i64 itemId, 2:double price),
957
 
6821 amar.kumar 958
	list<Item> getAllIgnoredInventoryUpdateItemsList(1:i32 offset,2:i32 limit),
959
 
960
	list<Item> getAllAliveItems();	
6805 anupam.sin 961
 
962
	/**
963
	This method returns the insurance amount needed to insure the given item for a given quantity.
964
	*/
6921 anupam.sin 965
	i64 getInsuranceAmount(1:i64 itemId, 2:double price, 3:i64 insurerId, 4:i64 quantity),
6805 anupam.sin 966
 
6921 anupam.sin 967
	Insurer getInsurer(1:i64 insurerId),
6838 vikram.rag 968
 
6962 rajveer 969
	list<Insurer> getAllInsurers(),
970
 
7190 amar.kumar 971
	void updateInsuranceDeclaredAmount(1:i64 insurerId, 2:double amount),
972
 
973
	i64 getFreebieForItem(1:i64 itemId),
974
 
7256 rajveer 975
	void addOrUpdateFreebieForItem(1:FreebieItem freebieItem),
976
 
7272 amit.gupta 977
	void addOrUpdateBrandInfo(1:BrandInfo brandInfo),
978
 
7291 vikram.rag 979
	map<string, BrandInfo> getBrandInfo(),
7272 amit.gupta 980
 
7265 rajveer 981
	StorePricing getStorePricing(1:i64 itemId),
982
 
7306 rajveer 983
	list<StorePricing> getStorePricings(1:list<i64> itemIds),
984
 
7382 rajveer 985
	void updateStorePricing(1:StorePricing sp, 2:bool allColors),
7281 kshitij.so 986
 
987
	list<Amazonlisted> getAllAmazonListedItems(),
988
 
8619 kshitij.so 989
	list<Amazonlisted> searchAmazonItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit),
990
 
991
	i64 getAmazonSearchResultCount(1:list<string> searchTerm),
992
 
993
	i64 getCountForAmazonlistedItems(),
994
 
7281 kshitij.so 995
	Amazonlisted getAmazonItemDetails(1:i64 itemId),
996
 
8168 kshitij.so 997
	void updateAmazonItemDetails(1:Amazonlisted amazonlisted),
7281 kshitij.so 998
 
7291 vikram.rag 999
	void addAmazonItem(1:Amazonlisted amazonlisted),
7281 kshitij.so 1000
 
7291 vikram.rag 1001
	list<Item> getAsinItems(),
7281 kshitij.so 1002
 
7291 vikram.rag 1003
	list<Amazonlisted> getAllFbaListedItems(),
1004
 
7460 kshitij.so 1005
	list<Amazonlisted> getAllNonFbaListedItems(),
7291 vikram.rag 1006
 
7770 kshitij.so 1007
	bool updateItemInventory(1:i64 itemId, 2:i64 holdInventory, 3:i64 defaultInventory),
7460 kshitij.so 1008
 
7770 kshitij.so 1009
	bool updateTimestampForAmazonFeeds(1:string type, 2: list<i64> sku, 3:i64 timestamp)
1010
 
7897 amar.kumar 1011
	list<Category> getAllParentCategories()
1012
 
7977 kshitij.so 1013
	void addPageViewEvent(1:PageViewEvents pageViewEvents)
1014
 
1015
	void addCartEvent(1:CartEvents cartEvents)
1016
 
8182 amar.kumar 1017
	void addEbayItem(1:EbayItem ebayItem)
1018
 
1019
	EbayItem getEbayItem(1:string listingId)
1020
 
1021
	void updateEbayItem(1:EbayItem ebayItem)
1022
 
8139 kshitij.so 1023
	list<Amazonlisted> getAmazonListedItems(1:i64 offset,2:i64 limit)
1024
 
8168 kshitij.so 1025
	bool updateAmazonAttributesInBulk(1:map<i64, Amazonlisted> amazonlisted)
8379 vikram.rag 1026
 
1027
	list<Amazonlisted> getAllItemstoListOnFba()
1028
 
1029
	list<Amazonlisted> getAllItemstoListOnNonFba()
8616 vikram.rag 1030
 
8619 kshitij.so 1031
	void updateAsin(1:map<i64, Item> item)
8739 vikram.rag 1032
 
1033
	bool addOrUpdateSnapdealItem(SnapdealItem snapdealitem)
1034
 
1035
	SnapdealItem getSnapdealItem(1:i64 item_id)
1036
 
9242 kshitij.so 1037
	SnapdealItemDetails getSnapdealItemDetails(1:i64 item_id)
9155 kshitij.so 1038
 
9242 kshitij.so 1039
	list<SnapdealItemDetails> getAllSnapdealItems()
9155 kshitij.so 1040
 
9242 kshitij.so 1041
	list<SnapdealItemDetails> getSnapdealItems(1:i64 offset,2:i64 limit)
1042
 
1043
	list<SnapdealItemDetails> searchSnapdealItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit)
1044
 
1045
	i64 getCountForSnapdealItems()
1046
 
1047
	i64 getSnapdealSearchResultCount(1:list<string> searchTerm)
9299 kshitij.so 1048
 
1049
	i64 getPrefferedInsurerForItem(1:i64 itemId, 2:InsurerType insurerType)
9456 vikram.rag 1050
 
1051
	SnapdealItem getSnapdealItembySkuAtSnapdeal(string skuAtSnapdeal)
9621 manish.sha 1052
 
1053
	ProductFeedSubmit getProductFeedSubmit(1:i64 catalogItemId) throws (1:CatalogServiceException cex),
1054
 
1055
	bool addProductFeedSubmit(1:ProductFeedSubmit productFeedSubmit) throws (1:CatalogServiceException cex),
1056
 
1057
	bool updateProductFeedSubmit(1:ProductFeedSubmit productFeedSubmit) throws (1:CatalogServiceException cex),
8182 amar.kumar 1058
 
9621 manish.sha 1059
	bool deleteProductFeedSubmit(1:i64 catalogItemId) throws (1:CatalogServiceException cex),
1060
 
9779 kshitij.so 1061
	list<ProductFeedSubmit> getAllProductFeedSubmit() throws (1:CatalogServiceException cex)
9724 kshitij.so 1062
 
1063
	MarketplaceItems getMarketplacedetailsForItem(1:i64 itemId,2:i64 sourceId)
1064
 
1065
	bool updateMarketplaceAttributesForItem(1:MarketplaceItems marketPlaceItem)
9776 vikram.rag 1066
 
9779 kshitij.so 1067
	MarketplacePercentage getCostingForMarketplace(1:i64 source,2:i64 item_id)
1068
 
9776 vikram.rag 1069
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
1070
 
9909 kshitij.so 1071
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp,3:i64 source),
9776 vikram.rag 1072
 
10097 kshitij.so 1073
	void updateItemHoldInventory(1:map<i64,i64> itemHoldMap),	
9776 vikram.rag 1074
 
10097 kshitij.so 1075
	void updateNlcAtMarketplaces(1:i64 item_id,2:i64 vendor_id,double nlc),
9895 vikram.rag 1076
 
10097 kshitij.so 1077
	list<FlipkartItem> getAllFlipkartItems(),
9945 vikram.rag 1078
 
10097 kshitij.so 1079
	bool addOrUpdateFlipkartItem(FlipkartItem flipkartitem),
1080
 
1081
	FlipkartItem getFlipkartItem(1:i64 item_id),
1082
 
1083
	FlipkartItemDetails getFlipkartItemDetails(1:i64 item_id),
1084
 
1085
	list<FlipkartItemDetails> getFlipkartItems(1:i64 offset,2:i64 limit),
1086
 
1087
	list<FlipkartItemDetails> searchFlipkartItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit),
1088
 
1089
	i64 getCountForFlipkartItems(),
1090
 
1091
	i64 getFlipkartSearchResultCount(1:list<string> searchTerm),
1092
 
11531 vikram.rag 1093
	list<FlipkartItemDetails> getAllFkItems()
10097 kshitij.so 1094
 
11531 vikram.rag 1095
	FlipkartItem getFlipkartItemBySkyAtFlipkart(string sku)
10140 vikram.rag 1096
 
11015 kshitij.so 1097
	list<MarketplaceHistory> getMarketplaceHistory(1:i64 source,2:i64 offset,3:i64 itemId),
1098
 
10924 vikram.rag 1099
	list<Amazonlisted> getAllFbbListedItems()
10909 vikram.rag 1100
 
10924 vikram.rag 1101
	list<Amazonlisted> getAllFbbPricingItems()
1102
 
11015 kshitij.so 1103
	i64 getCountForMarketplaceHistory(1:i64 source,2:i64 itemId)
1104
 
1105
	list<MarketplaceHistory> getMarketplaceHistoryByDate(1:i64 source,2:i64 startDate,3:i64 endDate,4:i64 offset,5:i64 limit,6:i64 itemId)
1106
 
11531 vikram.rag 1107
	PrivateDeal getPrivateDealDetails(1:i64 item_id)
1108
 
1109
	list<Item> getPrivateDealItems(1:i64 offset,2:i64 limit)
1110
 
11653 amit.gupta 1111
	map<i64, PrivateDeal> getAllActivePrivateDeals(1:list<i64> itemIds, 2:i64 daysDelta)
11592 amit.gupta 1112
 
11531 vikram.rag 1113
	bool addOrUpdatePrivateDeal(1:PrivateDeal privateDeal)
1114
 
11635 vikram.rag 1115
	list<i64> getPrivateDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems) throws (1:CatalogServiceException cex),
1116
 
12133 kshitij.so 1117
	i32 getPrivateDealsCount(),
11635 vikram.rag 1118
 
12133 kshitij.so 1119
	AmazonOutOfSync getAmazonOutSyncItems(1:i64 item_id),
11635 vikram.rag 1120
 
12133 kshitij.so 1121
	list<PdPriceComp> getAllPrivateDealsComparison(),
11645 amit.gupta 1122
 
13709 manish.sha 1123
	//list<DealTag> getAllDealTags() throws (1:CatalogServiceException cex)
1124
 
1125
	//list<ItemTag> getAllItemTagsByItemId(1:i64 itemId) throws (1:CatalogServiceException cex)
1126
 
1127
	//bool addUpdateItemTag(1:ItemTag itemTag, 2:bool makeStatusInactive) throws (1:CatalogServiceException cex)
1128
 
12133 kshitij.so 1129
	list<SnapdealItem> getAllSnapdealMarketplaceItem(),
11905 kshitij.so 1130
 
12243 kshitij.so 1131
	list<FlipkartItem> getAllFlipkartMarketplaceItem(),
11905 kshitij.so 1132
 
12243 kshitij.so 1133
	void addCompetitorScraping(1:map<i64,CompetitorPricing> competitorPricingMap),
1134
 
12257 kshitij.so 1135
	list<CompetitorPricing> getPreviousCompetitorScraping(1:i64 delta),
12243 kshitij.so 1136
 
12363 kshitij.so 1137
	list<CompetitorPricing> getUploadResultById(1:i64 uploadId),
12257 kshitij.so 1138
 
12947 kshitij.so 1139
	list<string> addAmazonPromotion(1:map<string,AmazonPromotion> amazonPromotions) throws (1:CatalogServiceException cex),
12257 kshitij.so 1140
 
12363 kshitij.so 1141
	list<AmazonPromotion> getAmazonPromotion(1:i64 startDate,2:i64 endDate),
1142
 
12523 amit.gupta 1143
	bool updateAmazonPromotion(1:list<AmazonPromotion> amazonPromotions),
12363 kshitij.so 1144
 
12523 amit.gupta 1145
	bool markPartiallyActive(1:i64 itemId, 2:i64 categoryId),
12363 kshitij.so 1146
 
12523 amit.gupta 1147
	bool updateItemStateVat(1:i64 itemId, 2:map<i64,double> statevat)
1148
 
12620 amit.gupta 1149
	map<i64, ExclusiveAffiliateItemInfo> getExAffiliateItemInfo()
12523 amit.gupta 1150
 
12888 kshitij.so 1151
	list<Amazonlisted> getAllItemstoListOnFbg()
12620 amit.gupta 1152
 
12888 kshitij.so 1153
	list<Amazonlisted> getAllFbgListedItems()
1154
 
13136 amit.gupta 1155
	map<i64, map<string,i64>> checkServices(1:map<i64,map<string,i64>> lines) throws (1:CatalogServiceException cex)
12888 kshitij.so 1156
 
13709 manish.sha 1157
	void addHsItem(1:list<HsItem> hsItems)
13136 amit.gupta 1158
 
13709 manish.sha 1159
	HsItem getHsItem(1:string hsItemId)
1160
 
1161
	void updateHsItem(1:HsItem hsItem)
14182 kshitij.so 1162
 
1163
	Item getPricingForDtr(1:i64 catalogItemId)
14358 kshitij.so 1164
 
5110 mandeep.dh 1165
}