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

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.
@@ -2712,7 +2712,7 @@ class ProductsApiClient extends ApiClientBase {
2712
2712
  * @param tenantId (optional) Tenant identifier.
2713
2713
  * @return Success
2714
2714
  */
2715
- getProductSummary(id, productVersionId, tenantId, cancelToken) {
2715
+ getPersonalizationParameters(id, productVersionId, tenantId, cancelToken) {
2716
2716
  let url_ = this.baseUrl + "/api/storefront/v1/products/{id}/personalization-parameters?";
2717
2717
  if (id === undefined || id === null)
2718
2718
  throw new Error("The parameter 'id' must be defined.");
@@ -2740,10 +2740,10 @@ class ProductsApiClient extends ApiClientBase {
2740
2740
  throw _error;
2741
2741
  }
2742
2742
  }).then((_response) => {
2743
- return this.transformResult(url_, _response, (_response) => this.processGetProductSummary(_response));
2743
+ return this.transformResult(url_, _response, (_response) => this.processGetPersonalizationParameters(_response));
2744
2744
  });
2745
2745
  }
2746
- processGetProductSummary(response) {
2746
+ processGetPersonalizationParameters(response) {
2747
2747
  const status = response.status;
2748
2748
  let _headers = {};
2749
2749
  if (response.headers && typeof response.headers === "object") {
@@ -2798,7 +2798,7 @@ class ProductsApiClient extends ApiClientBase {
2798
2798
  * @param tenantId (optional) Tenant identifier.
2799
2799
  * @return Success
2800
2800
  */
2801
- getProductSummary2(id, productVersionId, productLinkId, productVariantId, sku, tenantId, cancelToken) {
2801
+ getProductSummary(id, productVersionId, productLinkId, productVariantId, sku, tenantId, cancelToken) {
2802
2802
  let url_ = this.baseUrl + "/api/storefront/v1/products/{id}/summary?";
2803
2803
  if (id === undefined || id === null)
2804
2804
  throw new Error("The parameter 'id' must be defined.");
@@ -2832,10 +2832,10 @@ class ProductsApiClient extends ApiClientBase {
2832
2832
  throw _error;
2833
2833
  }
2834
2834
  }).then((_response) => {
2835
- return this.transformResult(url_, _response, (_response) => this.processGetProductSummary2(_response));
2835
+ return this.transformResult(url_, _response, (_response) => this.processGetProductSummary(_response));
2836
2836
  });
2837
2837
  }
2838
- processGetProductSummary2(response) {
2838
+ processGetProductSummary(response) {
2839
2839
  const status = response.status;
2840
2840
  let _headers = {};
2841
2841
  if (response.headers && typeof response.headers === "object") {