| Line 53... |
Line 53... |
| 53 |
print ' Affiliate createAffiliate(string name, string url, i64 masterAffiliateId, i64 addedOn)'
|
53 |
print ' Affiliate createAffiliate(string name, string url, i64 masterAffiliateId, i64 addedOn)'
|
| 54 |
print ' Affiliate getAffiliateById(i64 id)'
|
54 |
print ' Affiliate getAffiliateById(i64 id)'
|
| 55 |
print ' Affiliate getAffiliateByName(string name)'
|
55 |
print ' Affiliate getAffiliateByName(string name)'
|
| 56 |
print ' Tracker getTrackerById(i64 id)'
|
56 |
print ' Tracker getTrackerById(i64 id)'
|
| 57 |
print ' getAffiliatesByMasterAffiliate(i64 id)'
|
57 |
print ' getAffiliatesByMasterAffiliate(i64 id)'
|
| 58 |
print ' i64 addTrackLog(i64 affiliateId, i64 userId, string event, string url, string data, i64 addedOn)'
|
58 |
print ' i64 addTrackLog(i64 affiliateId, i64 userId, TrackLogType event, string url, string data, i64 addedOn)'
|
| 59 |
print ' TrackLog getTrackLogById(i64 id)'
|
59 |
print ' TrackLog getTrackLogById(i64 id)'
|
| 60 |
print ' getTrackLogsByAffiliate(i64 affiliateId, i64 startDate, i64 endDate)'
|
60 |
print ' getTrackLogsByAffiliate(i64 affiliateId, i64 startDate, i64 endDate)'
|
| 61 |
print ' getTrackLogsByUser(i64 userId)'
|
61 |
print ' getTrackLogsByUser(i64 userId)'
|
| 62 |
print ' getTrackLogs(i64 userId, string event, string url)'
|
62 |
print ' getTrackLogs(i64 userId, string event, string url)'
|
| 63 |
print ' i64 createCart(i64 userId)'
|
63 |
print ' i64 createCart(i64 userId)'
|
| Line 342... |
Line 342... |
| 342 |
|
342 |
|
| 343 |
elif cmd == 'addTrackLog':
|
343 |
elif cmd == 'addTrackLog':
|
| 344 |
if len(args) != 6:
|
344 |
if len(args) != 6:
|
| 345 |
print 'addTrackLog requires 6 args'
|
345 |
print 'addTrackLog requires 6 args'
|
| 346 |
sys.exit(1)
|
346 |
sys.exit(1)
|
| 347 |
pp.pprint(client.addTrackLog(eval(args[0]),eval(args[1]),args[2],args[3],args[4],eval(args[5]),))
|
347 |
pp.pprint(client.addTrackLog(eval(args[0]),eval(args[1]),eval(args[2]),args[3],args[4],eval(args[5]),))
|
| 348 |
|
348 |
|
| 349 |
elif cmd == 'getTrackLogById':
|
349 |
elif cmd == 'getTrackLogById':
|
| 350 |
if len(args) != 1:
|
350 |
if len(args) != 1:
|
| 351 |
print 'getTrackLogById requires 1 args'
|
351 |
print 'getTrackLogById requires 1 args'
|
| 352 |
sys.exit(1)
|
352 |
sys.exit(1)
|