diff --git a/package.json b/package.json index ce01016a..70c0416c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "version": "0.0.41", + "version": "0.0.43", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/queries/inventory.query.ts b/src/queries/inventory.query.ts index 5ebe2a6e..a492a9d2 100644 --- a/src/queries/inventory.query.ts +++ b/src/queries/inventory.query.ts @@ -79,6 +79,11 @@ export const GET_PRODUCTS = gql` name from_date } + channels { + name + price + is_published + } warehouseinfo { id name diff --git a/src/types/inventory.ts b/src/types/inventory.ts index 3967eced..9658d58c 100644 --- a/src/types/inventory.ts +++ b/src/types/inventory.ts @@ -105,6 +105,11 @@ export interface VariantInterface { name: string; from_date: string; }[]; + channels: { + name: string; + price: number; + is_published: boolean; + }[]; warehouseinfo: { id: number; name: string;