| Line 61... |
Line 61... |
| 61 |
print ' void markOrdersAsDelivered(i64 providerId, deliveredOrders)'
|
61 |
print ' void markOrdersAsDelivered(i64 providerId, deliveredOrders)'
|
| 62 |
print ' void markOrdersAsFailed(i64 providerId, returnedOrders)'
|
62 |
print ' void markOrdersAsFailed(i64 providerId, returnedOrders)'
|
| 63 |
print ' updateNonDeliveryReason(i64 providerId, undeliveredOrders)'
|
63 |
print ' updateNonDeliveryReason(i64 providerId, undeliveredOrders)'
|
| 64 |
print ' getUndeliveredOrders(i64 providerId, i64 warehouseId)'
|
64 |
print ' getUndeliveredOrders(i64 providerId, i64 warehouseId)'
|
| 65 |
print ' bool toggleDOAFlag(i64 orderId)'
|
65 |
print ' bool toggleDOAFlag(i64 orderId)'
|
| - |
|
66 |
print ' void markOrderAsDelivered(i64 orderId, i64 deliveryTimestamp, string receiver)'
|
| 66 |
print ' bool markOrderDoaRequestReceived(i64 orderId)'
|
67 |
print ' bool markOrderDoaRequestReceived(i64 orderId)'
|
| 67 |
print ' bool markOrderDoaRequestAuthorized(i64 orderId, bool isAuthorized)'
|
68 |
print ' bool markOrderDoaRequestAuthorized(i64 orderId, bool isAuthorized)'
|
| 68 |
print ' bool markOrderReturnRequestReceived(i64 orderId)'
|
69 |
print ' bool markOrderReturnRequestReceived(i64 orderId)'
|
| 69 |
print ' bool markOrderReturnRequestAuthorized(i64 orderId, bool isAuthorized)'
|
70 |
print ' bool markOrderReturnRequestAuthorized(i64 orderId, bool isAuthorized)'
|
| 70 |
print ' bool requestPickupNumber(i64 orderId, i64 providerId)'
|
71 |
print ' bool requestPickupNumber(i64 orderId, i64 providerId)'
|
| Line 412... |
Line 413... |
| 412 |
if len(args) != 1:
|
413 |
if len(args) != 1:
|
| 413 |
print 'toggleDOAFlag requires 1 args'
|
414 |
print 'toggleDOAFlag requires 1 args'
|
| 414 |
sys.exit(1)
|
415 |
sys.exit(1)
|
| 415 |
pp.pprint(client.toggleDOAFlag(eval(args[0]),))
|
416 |
pp.pprint(client.toggleDOAFlag(eval(args[0]),))
|
| 416 |
|
417 |
|
| - |
|
418 |
elif cmd == 'markOrderAsDelivered':
|
| - |
|
419 |
if len(args) != 3:
|
| - |
|
420 |
print 'markOrderAsDelivered requires 3 args'
|
| - |
|
421 |
sys.exit(1)
|
| - |
|
422 |
pp.pprint(client.markOrderAsDelivered(eval(args[0]),eval(args[1]),args[2],))
|
| - |
|
423 |
|
| 417 |
elif cmd == 'markOrderDoaRequestReceived':
|
424 |
elif cmd == 'markOrderDoaRequestReceived':
|
| 418 |
if len(args) != 1:
|
425 |
if len(args) != 1:
|
| 419 |
print 'markOrderDoaRequestReceived requires 1 args'
|
426 |
print 'markOrderDoaRequestReceived requires 1 args'
|
| 420 |
sys.exit(1)
|
427 |
sys.exit(1)
|
| 421 |
pp.pprint(client.markOrderDoaRequestReceived(eval(args[0]),))
|
428 |
pp.pprint(client.markOrderDoaRequestReceived(eval(args[0]),))
|