feed-common 1.88.8 → 1.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ # [1.89.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.88.9...v1.89.0) (2025-03-31)
2
+
3
+
4
+ ### Features
5
+
6
+ * add locale and country to XmlFeed type ([3ca92db](https://github.com/advertikon/package-maxify-feed-common/commit/3ca92dbcf86683857562379bfdcc78a67aa6e633))
7
+
8
+ ## [1.88.9](https://github.com/advertikon/package-maxify-feed-common/compare/v1.88.8...v1.88.9) (2025-02-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * fix convertDotNotationToObject logic ([9f7b1e7](https://github.com/advertikon/package-maxify-feed-common/commit/9f7b1e7dceace39b0f5b5503ce688df51ba37844))
14
+ * remove only modifer from tests ([2927c3a](https://github.com/advertikon/package-maxify-feed-common/commit/2927c3a8678c62ae800a40b3d39a42b7fac7527d))
15
+
1
16
  ## [1.88.8](https://github.com/advertikon/package-maxify-feed-common/compare/v1.88.7...v1.88.8) (2025-02-09)
2
17
 
3
18
 
@@ -35,6 +35,7 @@ export type SubscriptionPlan = {
35
35
  products: number;
36
36
  profiles: number;
37
37
  price: number;
38
+ hide?: boolean;
38
39
  };
39
40
  export type SubscriptionItemType = {
40
41
  code: string;
@@ -1 +1 @@
1
- {"version":3,"file":"company.types.d.ts","sourceRoot":"","sources":["../../src/types/company.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IAC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,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -78,6 +78,8 @@ export type XmlFeed = BaseProductUploadProfile & {
78
78
  autoUpdate?: boolean;
79
79
  autoDelete?: boolean;
80
80
  autoList?: boolean;
81
+ locale?: string | null;
82
+ country?: string | null;
81
83
  };
82
84
  export type ProductUploadRules = {
83
85
  sections: ProductUploadRuleSection[];
@@ -1 +1 @@
1
- {"version":3,"file":"profile.types.d.ts","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACtH,OAAO,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAE1C,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,6BAA6B,EAAE,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,aAAa,CAAC;AACrD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,CAAC;AACxE,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG;IAAE,KA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,GAAG,MAAM,CAezE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,wBAAgB,0BAA0B,CACtC,KAAK,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,CAAA;CAAE,EAAE,GAC3C;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,CAAA;CAAE,EAAE,CAkCrC;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAmCpD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAmC3D"}
@@ -176,11 +176,15 @@ export function convertDotNotationToObject(items) {
176
176
  let root = result;
177
177
  while (parts.length > 0) {
178
178
  const part = parts.shift();
179
- const existing = root.find(r => r.attribute === part && (parts.length > 1 || r.value.every(v => v.attribute !== parts[0])));
179
+ const existing = root.find(r => r.attribute === part &&
180
+ (r.attribute === 'PictureDetails' ||
181
+ parts.length > 1 ||
182
+ (Array.isArray(r.value) && r.value.every(v => v.attribute !== parts[0]))));
180
183
  if (existing &&
181
- parts.length > 0 &&
182
- Array.isArray(existing.value) &&
183
- (parts.length > 1 || existing.value.every(v => v.attribute !== parts[0]))) {
184
+ (part === 'PictureDetails' ||
185
+ (parts.length > 0 &&
186
+ Array.isArray(existing.value) &&
187
+ (parts.length > 1 || existing.value.every(v => v.attribute !== parts[0]))))) {
184
188
  root = existing.value;
185
189
  }
186
190
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAExG,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,UAAU,IAAI;IAChB,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC,OAAO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,KAAK,aAAa;YACd,OAAO,SAAS,CAAC;QACrB,KAAK,QAAQ;YACT,OAAO,SAAS,CAAC;QACrB,KAAK,OAAO;YACR,OAAO,SAAS,CAAC;QACrB,KAAK,aAAa;YACd,OAAO,SAAS,CAAC;QACrB,KAAK,IAAI;YACL,OAAO,SAAS,CAAC;QACrB,KAAK,IAAI;YACL,OAAO,SAAS,CAAC;QACrB,KAAK,YAAY;YACb,OAAO,gBAAgB,CAAC;QAC5B;YACI,OAAO,EAAE,CAAC;IAClB,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.88.8",
3
+ "version": "1.89.0",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -45,6 +45,7 @@ export type SubscriptionPlan = {
45
45
  products: number;
46
46
  profiles: number;
47
47
  price: number;
48
+ hide?: boolean;
48
49
  };
49
50
 
50
51
  export type SubscriptionItemType = {
@@ -77,6 +77,8 @@ export type XmlFeed = BaseProductUploadProfile & {
77
77
  autoUpdate?: boolean;
78
78
  autoDelete?: boolean;
79
79
  autoList?: boolean;
80
+ locale?: string | null;
81
+ country?: string | null;
80
82
  };
81
83
 
82
84
  export type ProductUploadRules = {
@@ -229,14 +229,19 @@ export function convertDotNotationToObject(
229
229
  while (parts.length > 0) {
230
230
  const part = parts.shift();
231
231
  const existing = root.find(
232
- r => r.attribute === part && (parts.length > 1 || r.value.every(v => v.attribute !== parts[0]))
232
+ r =>
233
+ r.attribute === part &&
234
+ (r.attribute === 'PictureDetails' ||
235
+ parts.length > 1 ||
236
+ (Array.isArray(r.value) && r.value.every(v => v.attribute !== parts[0])))
233
237
  );
234
238
 
235
239
  if (
236
240
  existing &&
237
- parts.length > 0 &&
238
- Array.isArray(existing.value) &&
239
- (parts.length > 1 || existing.value.every(v => v.attribute !== parts[0]))
241
+ (part === 'PictureDetails' ||
242
+ (parts.length > 0 &&
243
+ Array.isArray(existing.value) &&
244
+ (parts.length > 1 || existing.value.every(v => v.attribute !== parts[0]))))
240
245
  ) {
241
246
  root = existing.value;
242
247
  } else {
@@ -238,5 +238,29 @@ describe('Utils', () => {
238
238
  },
239
239
  ]);
240
240
  });
241
+
242
+ test('item picture details', () => {
243
+ expect(
244
+ convertDotNotationToObject([
245
+ { attribute: 'Item.PictureDetails.PictureURL', value: 'url1' },
246
+ { attribute: 'Item.PictureDetails.PictureURL', value: 'url2' },
247
+ { attribute: 'Item.PictureDetails.PictureURL', value: 'url3' },
248
+ ])
249
+ ).toEqual([
250
+ {
251
+ attribute: 'Item',
252
+ value: [
253
+ {
254
+ attribute: 'PictureDetails',
255
+ value: [
256
+ { attribute: 'PictureURL', value: 'url1' },
257
+ { attribute: 'PictureURL', value: 'url2' },
258
+ { attribute: 'PictureURL', value: 'url3' },
259
+ ],
260
+ },
261
+ ],
262
+ },
263
+ ]);
264
+ });
241
265
  });
242
266
  });