@aurigma/axios-storefront-api-client 2.65.1 → 2.66.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -704,7 +704,7 @@ export interface IProductsApiClient {
704
704
  * @param tenantId (optional) Tenant identifier.
705
705
  * @return Success
706
706
  */
707
- getProductSummary(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
707
+ getPersonalizationParameters(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
708
708
  /**
709
709
  * Returns a product summary by product identifier.
710
710
  * @param id Product identifier.
@@ -715,7 +715,7 @@ export interface IProductsApiClient {
715
715
  * @param tenantId (optional) Tenant identifier.
716
716
  * @return Success
717
717
  */
718
- getProductSummary2(id: number, productVersionId?: number | null | undefined, productLinkId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Promise<ProductSummaryDto>;
718
+ getProductSummary(id: number, productVersionId?: number | null | undefined, productLinkId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Promise<ProductSummaryDto>;
719
719
  /**
720
720
  * Returns a list of product options.
721
721
  * @param id Product identifier.
@@ -889,8 +889,8 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
889
889
  * @param tenantId (optional) Tenant identifier.
890
890
  * @return Success
891
891
  */
892
- getProductSummary(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
893
- protected processGetProductSummary(response: AxiosResponse): Promise<PersonalizationParametersDto>;
892
+ getPersonalizationParameters(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
893
+ protected processGetPersonalizationParameters(response: AxiosResponse): Promise<PersonalizationParametersDto>;
894
894
  /**
895
895
  * Returns a product summary by product identifier.
896
896
  * @param id Product identifier.
@@ -901,8 +901,8 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
901
901
  * @param tenantId (optional) Tenant identifier.
902
902
  * @return Success
903
903
  */
904
- getProductSummary2(id: number, productVersionId?: number | null | undefined, productLinkId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductSummaryDto>;
905
- protected processGetProductSummary2(response: AxiosResponse): Promise<ProductSummaryDto>;
904
+ getProductSummary(id: number, productVersionId?: number | null | undefined, productLinkId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductSummaryDto>;
905
+ protected processGetProductSummary(response: AxiosResponse): Promise<ProductSummaryDto>;
906
906
  /**
907
907
  * Returns a list of product options.
908
908
  * @param id Product identifier.
@@ -2702,7 +2702,7 @@ export class ProductsApiClient extends ApiClientBase {
2702
2702
  * @param tenantId (optional) Tenant identifier.
2703
2703
  * @return Success
2704
2704
  */
2705
- getProductSummary(id, productVersionId, tenantId, cancelToken) {
2705
+ getPersonalizationParameters(id, productVersionId, tenantId, cancelToken) {
2706
2706
  let url_ = this.baseUrl + "/api/storefront/v1/products/{id}/personalization-parameters?";
2707
2707
  if (id === undefined || id === null)
2708
2708
  throw new Error("The parameter 'id' must be defined.");
@@ -2730,10 +2730,10 @@ export class ProductsApiClient extends ApiClientBase {
2730
2730
  throw _error;
2731
2731
  }
2732
2732
  }).then((_response) => {
2733
- return this.transformResult(url_, _response, (_response) => this.processGetProductSummary(_response));
2733
+ return this.transformResult(url_, _response, (_response) => this.processGetPersonalizationParameters(_response));
2734
2734
  });
2735
2735
  }
2736
- processGetProductSummary(response) {
2736
+ processGetPersonalizationParameters(response) {
2737
2737
  const status = response.status;
2738
2738
  let _headers = {};
2739
2739
  if (response.headers && typeof response.headers === "object") {
@@ -2788,7 +2788,7 @@ export class ProductsApiClient extends ApiClientBase {
2788
2788
  * @param tenantId (optional) Tenant identifier.
2789
2789
  * @return Success
2790
2790
  */
2791
- getProductSummary2(id, productVersionId, productLinkId, productVariantId, sku, tenantId, cancelToken) {
2791
+ getProductSummary(id, productVersionId, productLinkId, productVariantId, sku, tenantId, cancelToken) {
2792
2792
  let url_ = this.baseUrl + "/api/storefront/v1/products/{id}/summary?";
2793
2793
  if (id === undefined || id === null)
2794
2794
  throw new Error("The parameter 'id' must be defined.");
@@ -2822,10 +2822,10 @@ export class ProductsApiClient extends ApiClientBase {
2822
2822
  throw _error;
2823
2823
  }
2824
2824
  }).then((_response) => {
2825
- return this.transformResult(url_, _response, (_response) => this.processGetProductSummary2(_response));
2825
+ return this.transformResult(url_, _response, (_response) => this.processGetProductSummary(_response));
2826
2826
  });
2827
2827
  }
2828
- processGetProductSummary2(response) {
2828
+ processGetProductSummary(response) {
2829
2829
  const status = response.status;
2830
2830
  let _headers = {};
2831
2831
  if (response.headers && typeof response.headers === "object") {