@gradientedge/akeneo-utils
Advanced tools
Comparing version 1.7.0 to 1.8.0
import { AxiosInstance } from 'axios'; | ||
import { AkeneoApiConfig, AkeneoRetryConfig, GetFamilyParams, GetListOfAttributeOptionsParams, GetListOfAttributesParams, GetListOfCategoriesParams, GetListOfFamiliesParams, GetListOfFamilyVariantsParams, GetListOfProductModelsParams, GetListOfProductsParams, GetListOfReferenceEntitiesParams, GetListOfReferenceEntityRecordsParams, GetProductModelParams, GetProductParams } from './types'; | ||
import { AkeneoAuth, Attribute, AttributeOption, Category, Family, FamilyVariant, ReferenceEntity, ReferenceEntityRecord } from '../'; | ||
import { AkeneoApiConfig, AkeneoRetryConfig, GetAssetParams, GetFamilyParams, GetListOfAttributeOptionsParams, GetListOfAttributesParams, GetListOfCategoriesParams, GetListOfFamiliesParams, GetListOfFamilyVariantsParams, GetListOfProductModelsParams, GetListOfProductsParams, GetListOfReferenceEntitiesParams, GetListOfReferenceEntityRecordsParams, GetProductModelParams, GetProductParams } from './types'; | ||
import { AkeneoAuth, Asset, Attribute, AttributeOption, Category, Family, FamilyVariant, ReferenceEntity, ReferenceEntityRecord } from '../'; | ||
import { Product, ProductModel, Results } from '../types'; | ||
@@ -37,2 +37,3 @@ export interface FetchOptions<T = Record<string, any>> { | ||
getListOfReferenceEntityRecords(options: CommonRequestOptions & GetListOfReferenceEntityRecordsParams): Promise<Results<ReferenceEntityRecord>>; | ||
getAsset(options: GetAssetParams): Promise<Asset>; | ||
followLink<T = any>(options: { | ||
@@ -39,0 +40,0 @@ url: string; |
@@ -127,1 +127,5 @@ /// <reference types="node" /> | ||
} | ||
export interface GetAssetParams extends CommonRequestOptions { | ||
code: string; | ||
assetFamilyCode: string; | ||
} |
@@ -168,2 +168,8 @@ export interface AkeneoBaseConfig { | ||
export declare type AttributeValues = Record<string, AttributeValue>; | ||
export interface Asset { | ||
code: string; | ||
values: AttributeValues; | ||
created: string; | ||
updated: string; | ||
} | ||
export interface Results<T = any> { | ||
@@ -170,0 +176,0 @@ _links: { |
{ | ||
"name": "@gradientedge/akeneo-utils", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Provide utility classes and functions for interacting with the Akeneo API", | ||
@@ -5,0 +5,0 @@ "main": "./dist/ge-akeneo-utils-node.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2298528
19504