sap-commerce-sdk
Version:
A TypeScript SDK for SAP Commerce Cloud storefront integration.
32 lines (29 loc) • 1.03 kB
text/typescript
/* 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,
});
}