/* eslint-disable */
/* tslint:disable */
/*
 * ---------------------------------------------------------------
 * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API        ##
 * ##                                                           ##
 * ## AUTHOR: acacode                                           ##
 * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
 * ---------------------------------------------------------------
 */

import { ErrorList } from "./data-contracts";
import { HttpClient, RequestParams } from "./http-client";

export class Emarsys<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
  /**
   * No description
   *
   * @tags emarsys-product-controller
   * @name GetProductStorefrontUrl
   * @request GET:/emarsys/product/{code}
   * @secure
   */
  getProductStorefrontUrl = (code: string, params: RequestParams = {}) =>
    this.request<void, ErrorList>({
      path: `/emarsys/product/${code}`,
      method: "GET",
      secure: true,
      ...params,
    });
}
