UNPKG

haravan-client

Version:
18 lines (17 loc) 532 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getHaravanLocations = void 0; const common_1 = require("./common"); function getHaravanLocations(param) { const { accessToken, query, delay } = param; const config = common_1.makeRequestConfig({ path: `/com/locations.json`, method: 'GET', accessToken, rootField: 'locations', delay, query }); return common_1.sendRequest(config); } exports.getHaravanLocations = getHaravanLocations;