UNPKG

haravan-client

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