'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var restClient = require('./restClient.js');

class ProductCollectionClient {
    restClient;
    constructor(config) {
        this.restClient = new restClient.RestClient('ProductCollection API', config);
    }
    async getProductCollections(token) {
        return this.restClient.get({
            path: `/productCollections`,
            token,
        });
    }
    async getProductCollection(token, id) {
        return this.restClient.get({
            path: `/productCollections/${id}`,
            token,
        });
    }
}

exports.ProductCollectionClient = ProductCollectionClient;
exports.default = ProductCollectionClient;
//# sourceMappingURL=productCollectionClient.js.map
