diff --git a/src/moltin.d.ts b/src/moltin.d.ts index fb3df4b71..f42713da3 100644 --- a/src/moltin.d.ts +++ b/src/moltin.d.ts @@ -71,6 +71,7 @@ export * from './types/flow' export * from './types/transaction' export * from './types/settings' export * from './types/promotions' +export * from './types/catalog' export * from './types/catalogs' export * from './types/catalogs-nodes' export * from './types/catalogs-products' diff --git a/src/types/catalog.d.ts b/src/types/catalog.d.ts index 893046caf..cfc71cc91 100644 --- a/src/types/catalog.d.ts +++ b/src/types/catalog.d.ts @@ -83,6 +83,11 @@ export interface NodesCatalogEndpoint nodeId: string token?: string }): Promise> + + GetNodeProducts(options: { + nodeId: string + token?: string + }): Promise> } export interface HierarchiesCatalogEndpoint @@ -103,7 +108,7 @@ export interface HierarchiesCatalogEndpoint GetHierarchyChildren(options: { hierarchyId: string token?: string - }): Promise> + }): Promise> GetHierarchyNodes(options?: { token?: string diff --git a/src/types/pcm-variations.ts b/src/types/pcm-variations.ts index d05365632..0734eea0d 100644 --- a/src/types/pcm-variations.ts +++ b/src/types/pcm-variations.ts @@ -10,7 +10,6 @@ import { Resource, ResourceList, ResourcePage, } from './core' -import {PcmProduct} from "./pcm"; /**