Home > @vsf-enterprise/sap-commerce-webservices-sdk > ComponentApiFp

ComponentApiFp variable

ComponentApi - functional programming interface

Signature:

ComponentApiFp: (configuration?: Configuration) => {
    findComponentsByIds(baseSiteId: string, catalogCode?: string, categoryCode?: string, componentIds?: Array<string>, currentPage?: number, fields?: 'BASIC' | 'DEFAULT' | 'FULL', pageSize?: number, productCode?: string, sort?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAdaptedComponents>>;
    getComponentById(baseSiteId: string, componentId: string, catalogCode?: string, categoryCode?: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', productCode?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
    searchComponentsByIds(baseSiteId: string, componentIdList: ComponentIDList, catalogCode?: string, categoryCode?: string, currentPage?: number, fields?: 'BASIC' | 'DEFAULT' | 'FULL', pageSize?: number, productCode?: string, sort?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAdaptedComponents>>;
}