1 | var endpoint = {};
|
2 |
|
3 | endpoint.product_types = '/products';
|
4 | endpoint.price_estimates = '/estimates/price';
|
5 | endpoint.time_estimates = '/estimates/time';
|
6 | endpoint.promotions = '/promotions';
|
7 | endpoint.user_activity = '/history';
|
8 | endpoint.user_profile = '/me';
|
9 | endpoint.request = '/requests';
|
10 | endpoint.request_map = function(request_id){
|
11 | return endpoint.request + '/' + request_id + '/map';
|
12 | };
|
13 |
|
14 | module.exports = endpoint; |
\ | No newline at end of file |