@aurigma/axios-storefront-api-client 2.60.2 → 2.62.12
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.
- package/dist/cjs/storefront-api-client.d.ts +14 -4
- package/dist/cjs/storefront-api-client.js +9 -2
- package/dist/cjs/storefront-api-client.js.map +1 -1
- package/dist/esm/storefront-api-client.d.ts +14 -4
- package/dist/esm/storefront-api-client.js +9 -2
- package/dist/esm/storefront-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -674,7 +674,7 @@ export interface IProductsApiClient {
|
|
|
674
674
|
/**
|
|
675
675
|
* Returns a list of product links.
|
|
676
676
|
* @param id Product identifier.
|
|
677
|
-
* @param productVersionId (optional)
|
|
677
|
+
* @param productVersionId (optional) Product version identifier.
|
|
678
678
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
679
679
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
680
680
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -687,7 +687,7 @@ export interface IProductsApiClient {
|
|
|
687
687
|
* Returns a product link.
|
|
688
688
|
* @param id Product identifier.
|
|
689
689
|
* @param productLinkId Product link identifier.
|
|
690
|
-
* @param productVersionId (optional)
|
|
690
|
+
* @param productVersionId (optional) Product version identifier.
|
|
691
691
|
* @param tenantId (optional) Tenant identifier.
|
|
692
692
|
* @return Success
|
|
693
693
|
*/
|
|
@@ -854,7 +854,7 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
|
|
|
854
854
|
/**
|
|
855
855
|
* Returns a list of product links.
|
|
856
856
|
* @param id Product identifier.
|
|
857
|
-
* @param productVersionId (optional)
|
|
857
|
+
* @param productVersionId (optional) Product version identifier.
|
|
858
858
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
859
859
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
860
860
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -868,7 +868,7 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
|
|
|
868
868
|
* Returns a product link.
|
|
869
869
|
* @param id Product identifier.
|
|
870
870
|
* @param productLinkId Product link identifier.
|
|
871
|
-
* @param productVersionId (optional)
|
|
871
|
+
* @param productVersionId (optional) Product version identifier.
|
|
872
872
|
* @param tenantId (optional) Tenant identifier.
|
|
873
873
|
* @return Success
|
|
874
874
|
*/
|
|
@@ -1687,6 +1687,10 @@ export interface ProductBundleResourceDto {
|
|
|
1687
1687
|
export interface ProductBundleItemDto {
|
|
1688
1688
|
/** Product bundle item identifier. */
|
|
1689
1689
|
id?: number;
|
|
1690
|
+
/** Product bundle item name. */
|
|
1691
|
+
name?: string | null;
|
|
1692
|
+
/** Product bundle item description. */
|
|
1693
|
+
description?: string | null;
|
|
1690
1694
|
/** Bundled product identifier. */
|
|
1691
1695
|
productId?: number | null;
|
|
1692
1696
|
/** Bundled product version identifier. */
|
|
@@ -2351,6 +2355,8 @@ export interface ProductVariantMockupDto {
|
|
|
2351
2355
|
mockupId?: string | null;
|
|
2352
2356
|
/** Mockup name. */
|
|
2353
2357
|
mockupName?: string | null;
|
|
2358
|
+
/** Mockup validation type. */
|
|
2359
|
+
mockupValidationType?: string | null;
|
|
2354
2360
|
/** Mockup type. */
|
|
2355
2361
|
mockupType?: ProductVariantMockupType;
|
|
2356
2362
|
/** Surface index indicates a surface of a design to which mockup should be applied. */
|
|
@@ -2442,6 +2448,8 @@ export interface ProjectItemDto {
|
|
|
2442
2448
|
id?: number;
|
|
2443
2449
|
/** Item name. */
|
|
2444
2450
|
name?: string | null;
|
|
2451
|
+
/** Project item group identifier. */
|
|
2452
|
+
groupId?: string | null;
|
|
2445
2453
|
/** Item quantity information. */
|
|
2446
2454
|
quantity?: number | null;
|
|
2447
2455
|
/** Order item identifier from storefront order. */
|
|
@@ -2545,6 +2553,8 @@ May keep reference to version of `Product` (depending on `Type` value). */
|
|
|
2545
2553
|
export interface ProjectItemParametersDto {
|
|
2546
2554
|
/** Item name. */
|
|
2547
2555
|
name?: string | null;
|
|
2556
|
+
/** Project item group identifier. */
|
|
2557
|
+
groupId?: string | null;
|
|
2548
2558
|
/** Item quantity information. */
|
|
2549
2559
|
quantity?: number | null;
|
|
2550
2560
|
/** Line item index from ecommerce system order. */
|
|
@@ -2694,7 +2694,7 @@ class ProductsApiClient extends ApiClientBase {
|
|
|
2694
2694
|
/**
|
|
2695
2695
|
* Returns a list of product links.
|
|
2696
2696
|
* @param id Product identifier.
|
|
2697
|
-
* @param productVersionId (optional)
|
|
2697
|
+
* @param productVersionId (optional) Product version identifier.
|
|
2698
2698
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
2699
2699
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
2700
2700
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -2790,7 +2790,7 @@ class ProductsApiClient extends ApiClientBase {
|
|
|
2790
2790
|
* Returns a product link.
|
|
2791
2791
|
* @param id Product identifier.
|
|
2792
2792
|
* @param productLinkId Product link identifier.
|
|
2793
|
-
* @param productVersionId (optional)
|
|
2793
|
+
* @param productVersionId (optional) Product version identifier.
|
|
2794
2794
|
* @param tenantId (optional) Tenant identifier.
|
|
2795
2795
|
* @return Success
|
|
2796
2796
|
*/
|
|
@@ -4953,6 +4953,13 @@ class ProjectsApiClient extends ApiClientBase {
|
|
|
4953
4953
|
result200 = JSON.parse(resultData200);
|
|
4954
4954
|
return Promise.resolve(result200);
|
|
4955
4955
|
}
|
|
4956
|
+
else if (status === 404) {
|
|
4957
|
+
const _responseText = response.data;
|
|
4958
|
+
let result404 = null;
|
|
4959
|
+
let resultData404 = _responseText;
|
|
4960
|
+
result404 = JSON.parse(resultData404);
|
|
4961
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4962
|
+
}
|
|
4956
4963
|
else if (status === 401) {
|
|
4957
4964
|
const _responseText = response.data;
|
|
4958
4965
|
return throwException("Unauthorized", status, _responseText, _headers);
|