From e86edea38cd48217938b15bd42e391f979094e9e Mon Sep 17 00:00:00 2001 From: Keshav Sharma Date: Tue, 17 Oct 2023 23:36:07 +0530 Subject: [PATCH] image_link changed to image_data --- .../repositories/ProductVariantRepositoryInterfaces.d.ts | 5 ++++- .../repositories/ProductVariantRepositoryInterfaces.d.ts.map | 2 +- lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts | 5 ++++- .../interfaces/services/InventoryServiceInterfaces.d.ts.map | 2 +- .../repositories/ProductVariantRepositoryInterfaces.d.ts | 5 ++++- .../repositories/ProductVariantRepositoryInterfaces.d.ts.map | 2 +- lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts | 5 ++++- .../interfaces/services/InventoryServiceInterfaces.d.ts.map | 2 +- .../repositories/ProductVariantRepositoryInterfaces.ts | 4 +++- src/interfaces/services/InventoryServiceInterfaces.ts | 4 +++- 10 files changed, 26 insertions(+), 10 deletions(-) diff --git a/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts b/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts index 7b0dbb2..d43085a 100644 --- a/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts +++ b/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts @@ -14,7 +14,10 @@ export interface ProductVariantSchema { sale_price: number; sale_price_effective_date: string; link: string; - image_link: string; + image_data: { + url: string; + key: string; + }[]; brand: string; item_group_id: string; item_category: string; diff --git a/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map b/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map index a791d2b..46f232b 100644 --- a/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map +++ b/lib/cjs/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ProductVariantRepositoryInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/repositories/ProductVariantRep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,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"} \ No newline at end of file +{"version":3,"file":"ProductVariantRepositoryInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd;AACD,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE3C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,MAAM,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"} \ No newline at end of file diff --git a/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts b/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts index b6fdbea..a10947b 100644 --- a/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts +++ b/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts @@ -8,7 +8,10 @@ export interface ProductVariantUpdateRequest { sale_price?: number; sale_price_effective_date?: string; link?: string; - image_link?: string; + image_data: { + url: string; + key: string; + }[]; brand?: string; item_group_id?: string; item_category?: string; diff --git a/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts.map b/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts.map index 30eb92a..6c3bafd 100644 --- a/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts.map +++ b/lib/cjs/interfaces/services/InventoryServiceInterfaces.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"InventoryServiceInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/services/InventoryServiceInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAElF,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAC,OAAO,CAAA;CAElB"} \ No newline at end of file +{"version":3,"file":"InventoryServiceInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/services/InventoryServiceInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAElF,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAC,OAAO,CAAA;CAElB"} \ No newline at end of file diff --git a/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts b/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts index 7b0dbb2..d43085a 100644 --- a/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts +++ b/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts @@ -14,7 +14,10 @@ export interface ProductVariantSchema { sale_price: number; sale_price_effective_date: string; link: string; - image_link: string; + image_data: { + url: string; + key: string; + }[]; brand: string; item_group_id: string; item_category: string; diff --git a/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map b/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map index a791d2b..46f232b 100644 --- a/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map +++ b/lib/esm/interfaces/repositories/ProductVariantRepositoryInterfaces.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ProductVariantRepositoryInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd;AACD,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,MAAM,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"} \ No newline at end of file +{"version":3,"file":"ProductVariantRepositoryInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd;AACD,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE3C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,MAAM,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"} \ No newline at end of file diff --git a/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts b/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts index b6fdbea..a10947b 100644 --- a/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts +++ b/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts @@ -8,7 +8,10 @@ export interface ProductVariantUpdateRequest { sale_price?: number; sale_price_effective_date?: string; link?: string; - image_link?: string; + image_data: { + url: string; + key: string; + }[]; brand?: string; item_group_id?: string; item_category?: string; diff --git a/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts.map b/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts.map index 30eb92a..6c3bafd 100644 --- a/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts.map +++ b/lib/esm/interfaces/services/InventoryServiceInterfaces.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"InventoryServiceInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/services/InventoryServiceInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAElF,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAC,OAAO,CAAA;CAElB"} \ No newline at end of file +{"version":3,"file":"InventoryServiceInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/services/InventoryServiceInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAElF,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAC,OAAO,CAAA;CAElB"} \ No newline at end of file diff --git a/src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts b/src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts index fba0992..a5ac50d 100644 --- a/src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts +++ b/src/interfaces/repositories/ProductVariantRepositoryInterfaces.ts @@ -15,7 +15,9 @@ export interface ProductVariantSchema { sale_price: number; // required by facebook catalog sale_price_effective_date: string; // required by facebook catalog link: string; // required by facebook catalog - image_link: string; // required by facebook catalog + + image_data: { url: string; key: string }[]; + brand: string; // required by facebook catalog item_group_id: string; // required by facebook catalog diff --git a/src/interfaces/services/InventoryServiceInterfaces.ts b/src/interfaces/services/InventoryServiceInterfaces.ts index b32803f..a3e853f 100644 --- a/src/interfaces/services/InventoryServiceInterfaces.ts +++ b/src/interfaces/services/InventoryServiceInterfaces.ts @@ -9,7 +9,9 @@ export interface ProductVariantUpdateRequest { sale_price?: number; sale_price_effective_date?: string; link?: string; - image_link?: string; + + image_data: { url: string; key: string }[]; + brand?: string; item_group_id?: string; item_category?: string;