import { RestClient } from './restClient.js';

class ProductCollectionClient {
    restClient;
    constructor(config) {
        this.restClient = new 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,
        });
    }
}

export { ProductCollectionClient, ProductCollectionClient as default };
//# sourceMappingURL=productCollectionClient.js.map
