| Line 58... |
Line 58... |
| 58 |
print ' bool addTag(string displayName, i64 itemId)'
|
58 |
print ' bool addTag(string displayName, i64 itemId)'
|
| 59 |
print ' bool deleteEntityTag(string displayName, i64 itemId)'
|
59 |
print ' bool deleteEntityTag(string displayName, i64 itemId)'
|
| 60 |
print ' bool deleteTag(string displayName)'
|
60 |
print ' bool deleteTag(string displayName)'
|
| 61 |
print ' getAllTags()'
|
61 |
print ' getAllTags()'
|
| 62 |
print ' getAllEntitiesByTagName(string displayName)'
|
62 |
print ' getAllEntitiesByTagName(string displayName)'
|
| - |
|
63 |
print ' getAllEntityTags()'
|
| 63 |
print ' bool deleteSimilarItem(i64 itemId, i64 catalogItemId)'
|
64 |
print ' bool deleteSimilarItem(i64 itemId, i64 catalogItemId)'
|
| 64 |
print ' i64 checkSimilarItem(string brand, string modelNumber, string modelName, string color)'
|
65 |
print ' i64 checkSimilarItem(string brand, string modelNumber, string modelName, string color)'
|
| 65 |
print ' void validateRiskyStatus(i64 itemId)'
|
66 |
print ' void validateRiskyStatus(i64 itemId)'
|
| 66 |
print ' void changeItemRiskyFlag(i64 itemId, bool risky)'
|
67 |
print ' void changeItemRiskyFlag(i64 itemId, bool risky)'
|
| 67 |
print ' getItemsByRiskyFlag()'
|
68 |
print ' getItemsByRiskyFlag()'
|
| Line 88... |
Line 89... |
| 88 |
print ' getAllItemVouchers(i64 itemId)'
|
89 |
print ' getAllItemVouchers(i64 itemId)'
|
| 89 |
print ' bool isValidCatalogItemId(i64 catalog_item_id)'
|
90 |
print ' bool isValidCatalogItemId(i64 catalog_item_id)'
|
| 90 |
print ' double getVatPercentageForItem(i64 itemId, double price)'
|
91 |
print ' double getVatPercentageForItem(i64 itemId, double price)'
|
| 91 |
print ' double getVatAmountForItem(i64 itemId, double price)'
|
92 |
print ' double getVatAmountForItem(i64 itemId, double price)'
|
| 92 |
print ' getAllIgnoredInventoryUpdateItemsList(i32 offset, i32 limit)'
|
93 |
print ' getAllIgnoredInventoryUpdateItemsList(i32 offset, i32 limit)'
|
| - |
|
94 |
print ' getAllAliveItems()'
|
| 93 |
print ' i64 getInsuranceAmount(i64 itemId, i64 insurerId, i64 quantity)'
|
95 |
print ' i64 getInsuranceAmount(i64 itemId, i64 insurerId, i64 quantity)'
|
| 94 |
print ' Insurer getInsurer(i64 insurerId)'
|
96 |
print ' Insurer getInsurer(i64 insurerId)'
|
| 95 |
print ''
|
97 |
print ''
|
| 96 |
sys.exit(0)
|
98 |
sys.exit(0)
|
| 97 |
|
99 |
|
| Line 374... |
Line 376... |
| 374 |
if len(args) != 1:
|
376 |
if len(args) != 1:
|
| 375 |
print 'getAllEntitiesByTagName requires 1 args'
|
377 |
print 'getAllEntitiesByTagName requires 1 args'
|
| 376 |
sys.exit(1)
|
378 |
sys.exit(1)
|
| 377 |
pp.pprint(client.getAllEntitiesByTagName(args[0],))
|
379 |
pp.pprint(client.getAllEntitiesByTagName(args[0],))
|
| 378 |
|
380 |
|
| - |
|
381 |
elif cmd == 'getAllEntityTags':
|
| - |
|
382 |
if len(args) != 0:
|
| - |
|
383 |
print 'getAllEntityTags requires 0 args'
|
| - |
|
384 |
sys.exit(1)
|
| - |
|
385 |
pp.pprint(client.getAllEntityTags())
|
| - |
|
386 |
|
| 379 |
elif cmd == 'deleteSimilarItem':
|
387 |
elif cmd == 'deleteSimilarItem':
|
| 380 |
if len(args) != 2:
|
388 |
if len(args) != 2:
|
| 381 |
print 'deleteSimilarItem requires 2 args'
|
389 |
print 'deleteSimilarItem requires 2 args'
|
| 382 |
sys.exit(1)
|
390 |
sys.exit(1)
|
| 383 |
pp.pprint(client.deleteSimilarItem(eval(args[0]),eval(args[1]),))
|
391 |
pp.pprint(client.deleteSimilarItem(eval(args[0]),eval(args[1]),))
|
| Line 554... |
Line 562... |
| 554 |
if len(args) != 2:
|
562 |
if len(args) != 2:
|
| 555 |
print 'getAllIgnoredInventoryUpdateItemsList requires 2 args'
|
563 |
print 'getAllIgnoredInventoryUpdateItemsList requires 2 args'
|
| 556 |
sys.exit(1)
|
564 |
sys.exit(1)
|
| 557 |
pp.pprint(client.getAllIgnoredInventoryUpdateItemsList(eval(args[0]),eval(args[1]),))
|
565 |
pp.pprint(client.getAllIgnoredInventoryUpdateItemsList(eval(args[0]),eval(args[1]),))
|
| 558 |
|
566 |
|
| - |
|
567 |
elif cmd == 'getAllAliveItems':
|
| - |
|
568 |
if len(args) != 0:
|
| - |
|
569 |
print 'getAllAliveItems requires 0 args'
|
| - |
|
570 |
sys.exit(1)
|
| - |
|
571 |
pp.pprint(client.getAllAliveItems())
|
| - |
|
572 |
|
| 559 |
elif cmd == 'getInsuranceAmount':
|
573 |
elif cmd == 'getInsuranceAmount':
|
| 560 |
if len(args) != 3:
|
574 |
if len(args) != 3:
|
| 561 |
print 'getInsuranceAmount requires 3 args'
|
575 |
print 'getInsuranceAmount requires 3 args'
|
| 562 |
sys.exit(1)
|
576 |
sys.exit(1)
|
| 563 |
pp.pprint(client.getInsuranceAmount(eval(args[0]),eval(args[1]),eval(args[2]),))
|
577 |
pp.pprint(client.getInsuranceAmount(eval(args[0]),eval(args[1]),eval(args[2]),))
|