@compassdigital/sdk.typescript 4.912.0 → 4.913.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.
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","sourceRoot":"","sources":["../../src/interface/menu.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,sDAAsD;;;AAqbzC,QAAA,uBAAuB,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACL,CAAC"}
1
+ {"version":3,"file":"menu.js","sourceRoot":"","sources":["../../src/interface/menu.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,sDAAsD;;;AA6bzC,QAAA,uBAAuB,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.912.0",
3
+ "version": "4.913.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -48,6 +48,8 @@ export interface Menu {
48
48
  id?: string;
49
49
  name?: string;
50
50
  jde_category?: string;
51
+ // Human-readable JDE category name decoded from jde_category
52
+ jde_category_label?: string;
51
53
  };
52
54
  // V3 Local Menu Group metadata if menu came from Centric
53
55
  local_menu_group?: {
@@ -216,7 +218,10 @@ export interface Item {
216
218
  primary?: string;
217
219
  secondary?: string;
218
220
  };
221
+ // JDE category ID: the item or modifier's own, falling back to the brand JDE category when not set
219
222
  jde_category?: string;
223
+ // Human-readable JDE category name decoded from jde_category
224
+ jde_category_label?: string;
220
225
  };
221
226
  // @deprecated
222
227
  is_deleted?: boolean;
@@ -287,7 +292,10 @@ export interface Option {
287
292
  primary?: string;
288
293
  secondary?: string;
289
294
  };
295
+ // JDE category ID: the item or modifier's own, falling back to the brand JDE category when not set
290
296
  jde_category?: string;
297
+ // Human-readable JDE category name decoded from jde_category
298
+ jde_category_label?: string;
291
299
  };
292
300
  weight?: {
293
301
  unit?: string;