| Line 37... |
Line 37... |
| 37 |
print ' bool setUserAsLoggedOut(i64 userid, i64 timestamp)'
|
37 |
print ' bool setUserAsLoggedOut(i64 userid, i64 timestamp)'
|
| 38 |
print ' bool setDefaultAddress(i64 userid, i64 addressId)'
|
38 |
print ' bool setDefaultAddress(i64 userid, i64 addressId)'
|
| 39 |
print ' bool updatePassword(i64 userid, string oldPassword, string newPassword)'
|
39 |
print ' bool updatePassword(i64 userid, string oldPassword, string newPassword)'
|
| 40 |
print ' bool forgotPassword(string email, string newPassword)'
|
40 |
print ' bool forgotPassword(string email, string newPassword)'
|
| 41 |
print ' getAllAddressesForUser(i64 userId)'
|
41 |
print ' getAllAddressesForUser(i64 userId)'
|
| - |
|
42 |
print ' Address getAddressById(i64 addressId)'
|
| 42 |
print ' i64 getDefaultAddressId(i64 userId)'
|
43 |
print ' i64 getDefaultAddressId(i64 userId)'
|
| 43 |
print ' string getDefaultPincode(i64 userId)'
|
44 |
print ' string getDefaultPincode(i64 userId)'
|
| 44 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
45 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
| 45 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
46 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
| 46 |
print ' getUserCommunicationByUser(i64 userId)'
|
47 |
print ' getUserCommunicationByUser(i64 userId)'
|
| Line 239... |
Line 240... |
| 239 |
if len(args) != 1:
|
240 |
if len(args) != 1:
|
| 240 |
print 'getAllAddressesForUser requires 1 args'
|
241 |
print 'getAllAddressesForUser requires 1 args'
|
| 241 |
sys.exit(1)
|
242 |
sys.exit(1)
|
| 242 |
pp.pprint(client.getAllAddressesForUser(eval(args[0]),))
|
243 |
pp.pprint(client.getAllAddressesForUser(eval(args[0]),))
|
| 243 |
|
244 |
|
| - |
|
245 |
elif cmd == 'getAddressById':
|
| - |
|
246 |
if len(args) != 1:
|
| - |
|
247 |
print 'getAddressById requires 1 args'
|
| - |
|
248 |
sys.exit(1)
|
| - |
|
249 |
pp.pprint(client.getAddressById(eval(args[0]),))
|
| - |
|
250 |
|
| 244 |
elif cmd == 'getDefaultAddressId':
|
251 |
elif cmd == 'getDefaultAddressId':
|
| 245 |
if len(args) != 1:
|
252 |
if len(args) != 1:
|
| 246 |
print 'getDefaultAddressId requires 1 args'
|
253 |
print 'getDefaultAddressId requires 1 args'
|
| 247 |
sys.exit(1)
|
254 |
sys.exit(1)
|
| 248 |
pp.pprint(client.getDefaultAddressId(eval(args[0]),))
|
255 |
pp.pprint(client.getDefaultAddressId(eval(args[0]),))
|