@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. */
|
|
@@ -2684,7 +2684,7 @@ export class ProductsApiClient extends ApiClientBase {
|
|
|
2684
2684
|
/**
|
|
2685
2685
|
* Returns a list of product links.
|
|
2686
2686
|
* @param id Product identifier.
|
|
2687
|
-
* @param productVersionId (optional)
|
|
2687
|
+
* @param productVersionId (optional) Product version identifier.
|
|
2688
2688
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
2689
2689
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
2690
2690
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -2780,7 +2780,7 @@ export class ProductsApiClient extends ApiClientBase {
|
|
|
2780
2780
|
* Returns a product link.
|
|
2781
2781
|
* @param id Product identifier.
|
|
2782
2782
|
* @param productLinkId Product link identifier.
|
|
2783
|
-
* @param productVersionId (optional)
|
|
2783
|
+
* @param productVersionId (optional) Product version identifier.
|
|
2784
2784
|
* @param tenantId (optional) Tenant identifier.
|
|
2785
2785
|
* @return Success
|
|
2786
2786
|
*/
|
|
@@ -4941,6 +4941,13 @@ export class ProjectsApiClient extends ApiClientBase {
|
|
|
4941
4941
|
result200 = JSON.parse(resultData200);
|
|
4942
4942
|
return Promise.resolve(result200);
|
|
4943
4943
|
}
|
|
4944
|
+
else if (status === 404) {
|
|
4945
|
+
const _responseText = response.data;
|
|
4946
|
+
let result404 = null;
|
|
4947
|
+
let resultData404 = _responseText;
|
|
4948
|
+
result404 = JSON.parse(resultData404);
|
|
4949
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4950
|
+
}
|
|
4944
4951
|
else if (status === 401) {
|
|
4945
4952
|
const _responseText = response.data;
|
|
4946
4953
|
return throwException("Unauthorized", status, _responseText, _headers);
|