@retalia/sidebar-navigation 21.1.13 → 21.1.14

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.
Files changed (93) hide show
  1. package/README.md +42 -42
  2. package/karma.conf.js +44 -0
  3. package/ng-package.json +8 -0
  4. package/package.json +14 -26
  5. package/{lib → src}/assets/fonts/Effra_Std_It.svg +5123 -5123
  6. package/{lib → src}/assets/fonts/Effra_Std_Md.svg +4128 -4128
  7. package/{lib → src}/assets/fonts/Effra_Std_Rg.svg +4690 -4690
  8. package/{lib → src}/assets/icons/sidebar-burger.svg +3 -3
  9. package/{lib → src}/assets/icons/sidebar-cross.svg +3 -3
  10. package/{lib → src}/assets/icons/subItem-arrow.svg +3 -3
  11. package/{lib → src}/assets/icons/topbar-info.svg +3 -3
  12. package/{lib → src}/assets/icons/topbar-logout.svg +4 -4
  13. package/{lib → src}/assets/icons/topbar-menu-burger.svg +5 -5
  14. package/{lib → src}/assets/icons/topbar-menu-close.svg +3 -3
  15. package/{lib → src}/assets/icons/topbar-notification.svg +3 -3
  16. package/{lib → src}/assets/icons/topbar-profile.svg +4 -4
  17. package/{lib → src}/assets/icons/topbar-settings.svg +3 -3
  18. package/{lib → src}/assets/icons/topmenu-arrow.svg +3 -3
  19. package/{lib → src}/assets/logo/_K3_imagine_White.svg +14 -14
  20. package/src/lib/data/support-routes.ts +56 -0
  21. package/src/lib/data/test-data.ts +628 -0
  22. package/src/lib/data/test-data2.ts +1742 -0
  23. package/src/lib/models/cookie-names.ts +12 -0
  24. package/src/lib/models/environment.ts +4 -0
  25. package/src/lib/models/http-response.ts +3 -0
  26. package/src/lib/models/module.ts +39 -0
  27. package/src/lib/navigation-lib.component.html +20 -0
  28. package/src/lib/navigation-lib.component.scss +30 -0
  29. package/src/lib/navigation-lib.component.ts +26 -0
  30. package/src/lib/navigation-lib.module.ts +26 -0
  31. package/src/lib/navigation-lib.service.ts +9 -0
  32. package/src/lib/services/auth.service.ts +39 -0
  33. package/src/lib/services/cookie.service.ts +33 -0
  34. package/src/lib/services/http.service.ts +26 -0
  35. package/src/lib/services/module.service.ts +153 -0
  36. package/src/lib/services/sub-item.service.ts +56 -0
  37. package/src/lib/sidebar/shop-modal/shop-modal.component.html +17 -0
  38. package/src/lib/sidebar/shop-modal/shop-modal.component.scss +73 -0
  39. package/src/lib/sidebar/shop-modal/shop-modal.component.ts +36 -0
  40. package/src/lib/sidebar/sidebar.component.html +86 -0
  41. package/src/lib/sidebar/sidebar.component.scss +260 -0
  42. package/src/lib/sidebar/sidebar.component.ts +267 -0
  43. package/src/lib/sidebar/sub-item/sub-item.component.html +18 -0
  44. package/src/lib/sidebar/sub-item/sub-item.component.scss +154 -0
  45. package/src/lib/sidebar/sub-item/sub-item.component.ts +61 -0
  46. package/src/lib/topbar/topbar.component.html +29 -0
  47. package/src/lib/topbar/topbar.component.scss +176 -0
  48. package/src/lib/topbar/topbar.component.ts +76 -0
  49. package/src/public-api.ts +14 -0
  50. package/src/styles/app.scss +53 -0
  51. package/src/test.ts +15 -0
  52. package/tsconfig.lib.json +21 -0
  53. package/tsconfig.lib.prod.json +11 -0
  54. package/tsconfig.spec.json +17 -0
  55. package/fesm2022/retalia-sidebar-navigation.mjs +0 -1388
  56. package/fesm2022/retalia-sidebar-navigation.mjs.map +0 -1
  57. package/production-0.0.2.tgz +0 -0
  58. package/types/retalia-sidebar-navigation.d.ts +0 -232
  59. /package/{lib → src}/assets/fonts/Effra_Std_It.eot +0 -0
  60. /package/{lib → src}/assets/fonts/Effra_Std_It.ttf +0 -0
  61. /package/{lib → src}/assets/fonts/Effra_Std_It.woff +0 -0
  62. /package/{lib → src}/assets/fonts/Effra_Std_It.woff2 +0 -0
  63. /package/{lib → src}/assets/fonts/Effra_Std_Md.eot +0 -0
  64. /package/{lib → src}/assets/fonts/Effra_Std_Md.ttf +0 -0
  65. /package/{lib → src}/assets/fonts/Effra_Std_Md.woff +0 -0
  66. /package/{lib → src}/assets/fonts/Effra_Std_Md.woff2 +0 -0
  67. /package/{lib → src}/assets/fonts/Effra_Std_Rg.eot +0 -0
  68. /package/{lib → src}/assets/fonts/Effra_Std_Rg.ttf +0 -0
  69. /package/{lib → src}/assets/fonts/Effra_Std_Rg.woff +0 -0
  70. /package/{lib → src}/assets/fonts/Effra_Std_Rg.woff2 +0 -0
  71. /package/{lib → src}/assets/fonts/Poppins-Black.ttf +0 -0
  72. /package/{lib → src}/assets/fonts/Poppins-BlackItalic.ttf +0 -0
  73. /package/{lib → src}/assets/fonts/Poppins-Bold.ttf +0 -0
  74. /package/{lib → src}/assets/fonts/Poppins-BoldItalic.ttf +0 -0
  75. /package/{lib → src}/assets/fonts/Poppins-ExtraBold.ttf +0 -0
  76. /package/{lib → src}/assets/fonts/Poppins-ExtraBoldItalic.ttf +0 -0
  77. /package/{lib → src}/assets/fonts/Poppins-ExtraLight.ttf +0 -0
  78. /package/{lib → src}/assets/fonts/Poppins-ExtraLightItalic.ttf +0 -0
  79. /package/{lib → src}/assets/fonts/Poppins-Italic.ttf +0 -0
  80. /package/{lib → src}/assets/fonts/Poppins-Light.ttf +0 -0
  81. /package/{lib → src}/assets/fonts/Poppins-LightItalic.ttf +0 -0
  82. /package/{lib → src}/assets/fonts/Poppins-Medium.ttf +0 -0
  83. /package/{lib → src}/assets/fonts/Poppins-MediumItalic.ttf +0 -0
  84. /package/{lib → src}/assets/fonts/Poppins-Regular.ttf +0 -0
  85. /package/{lib → src}/assets/fonts/Poppins-SemiBold.ttf +0 -0
  86. /package/{lib → src}/assets/fonts/Poppins-SemiBoldItalic.ttf +0 -0
  87. /package/{lib → src}/assets/fonts/Poppins-Thin.ttf +0 -0
  88. /package/{lib → src}/assets/fonts/Poppins-ThinItalic.ttf +0 -0
  89. /package/{lib → src}/assets/icons/topbar-avatar.png +0 -0
  90. /package/{lib → src}/assets/logo/full-white.png +0 -0
  91. /package/{lib → src}/assets/logo/full.png +0 -0
  92. /package/{lib → src}/assets/logo/mobile-white.png +0 -0
  93. /package/{lib → src}/assets/logo/mobile.png +0 -0
@@ -0,0 +1,1742 @@
1
+ // Test Data taken from a DEV, you can switch in module.services
2
+ // import { testModuleDetails } from '../data/test-data';
3
+ // to
4
+ // import { testModuleDetails } from '../data/test-data2';
5
+ // to use this test data instead
6
+
7
+ import { ModulesInfo } from '../models/module';
8
+
9
+ const mockSidebarIcon = 'assets/icons/topbar-menu-burger.svg';
10
+
11
+ export const testModuleDetails: ModulesInfo =
12
+ {
13
+ "modulesDetails":[
14
+ {
15
+ "id":10,
16
+ "authorizationId":"support",
17
+ "name":"Support",
18
+ "translatedName":"Support",
19
+ "url":"/support",
20
+ "relationName":"Tenant",
21
+ "displayOrder":25,
22
+ "entityAccess":[
23
+
24
+ ],
25
+ "sidebarEntries":[
26
+ {
27
+ "moduleAuthorizationId":"support",
28
+ "name":"Home",
29
+ "url":"/support/#/",
30
+ "children":[
31
+
32
+ ]
33
+ },
34
+ {
35
+ "moduleAuthorizationId":"support",
36
+ "name":"Tenant Management",
37
+ "url":"/support/#/tenants",
38
+ "children":[
39
+
40
+ ]
41
+ },
42
+ {
43
+ "moduleAuthorizationId":"support",
44
+ "name":"User Management",
45
+ "url":"/support/#/users",
46
+ "children":[
47
+
48
+ ]
49
+ },
50
+ {
51
+ "moduleAuthorizationId":"support",
52
+ "name":"User Group Management",
53
+ "url":"/support/#/usergroups",
54
+ "children":[
55
+
56
+ ]
57
+ },
58
+ {
59
+ "moduleAuthorizationId":"support",
60
+ "name":"Shop Details",
61
+ "url":"/support/#/shop",
62
+ "children":[
63
+
64
+ ]
65
+ },
66
+ {
67
+ "moduleAuthorizationId":"support",
68
+ "name":"Widget Management",
69
+ "url":"/support/#/widgets",
70
+ "children":[
71
+
72
+ ]
73
+ },
74
+ {
75
+ "moduleAuthorizationId":"support",
76
+ "name":"Shop Feature Template Management",
77
+ "url":"/support/#/feature-templates",
78
+ "children":[
79
+
80
+ ]
81
+ },
82
+ {
83
+ "moduleAuthorizationId":"support",
84
+ "name":"Connector Details",
85
+ "url":"/support/#/arm",
86
+ "children":[
87
+
88
+ ]
89
+ },
90
+ {
91
+ "moduleAuthorizationId":"support",
92
+ "name":"TrackingDetails",
93
+ "url":"/support/#/tracking",
94
+ "children":[
95
+
96
+ ]
97
+ },
98
+ {
99
+ "moduleAuthorizationId":"support",
100
+ "name":"Bulk Command",
101
+ "url":"/support/#/bulkcommand/",
102
+ "children":[
103
+
104
+ ]
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "id":6,
110
+ "authorizationId":"stock",
111
+ "name":"Stock",
112
+ "translatedName":"Stock",
113
+ "url":"/stock",
114
+ "relationName":"Shop",
115
+ "displayOrder":24,
116
+ "entityAccess":[
117
+ 3,
118
+ 6,
119
+ 7,
120
+ 8,
121
+ 9,
122
+ 10,
123
+ 11,
124
+ 2,
125
+ 12,
126
+ 20,
127
+ 21,
128
+ 22,
129
+ 23,
130
+ 26,
131
+ 28,
132
+ 29,
133
+ 18,
134
+ 1,
135
+ 1059,
136
+ 1060
137
+ ],
138
+ "sidebarEntries":[
139
+ {
140
+ "moduleAuthorizationId":"stock",
141
+ "name":"Stock Lookup Overview",
142
+ "url":"/stock/#!/stock-lookup-overview",
143
+ "children":[
144
+
145
+ ]
146
+ },
147
+ {
148
+ "moduleAuthorizationId":"stock",
149
+ "name":"Stock Lookup",
150
+ "translatedName":"Stock Lookup",
151
+ "url":"/stock/#!/stock-lookup",
152
+ "children":[
153
+
154
+ ]
155
+ },
156
+ {
157
+ "moduleAuthorizationId":"stock",
158
+ "name":"Purchase Orders",
159
+ "url":"/stock/#!/purchase-orders",
160
+ "children":[
161
+
162
+ ]
163
+ },
164
+ {
165
+ "moduleAuthorizationId":"stock",
166
+ "name":"Receive Goods",
167
+ "url":"/stock/#!/receive-goods",
168
+ "children":[
169
+
170
+ ]
171
+ },
172
+ {
173
+ "moduleAuthorizationId":"stock",
174
+ "name":"Transfers",
175
+ "translatedName":"Transfers",
176
+ "url":"/stock/#!/transfers",
177
+ "children":[
178
+
179
+ ]
180
+ },
181
+ {
182
+ "moduleAuthorizationId":"stock",
183
+ "name":"Stocktake",
184
+ "url":"/stock/#!/stocktake",
185
+ "children":[
186
+
187
+ ]
188
+ },
189
+ {
190
+ "moduleAuthorizationId":"stock",
191
+ "name":"Logs",
192
+ "url":"/stock/#!/logs",
193
+ "children":[
194
+
195
+ ]
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "id":1040,
201
+ "authorizationId":"selfserveadmin",
202
+ "name":"Self Serve Admin",
203
+ "url":"/self-serve-admin",
204
+ "relationName":"Tenant",
205
+ "displayOrder":23,
206
+ "entityAccess":[
207
+
208
+ ],
209
+ "sidebarEntries":[
210
+ {
211
+ "moduleAuthorizationId":"selfserveadmin",
212
+ "name":"Shops",
213
+ "translatedName":"Shops",
214
+ "url":"/self-serve-admin/shops",
215
+ "children":[
216
+
217
+ ]
218
+ },
219
+ {
220
+ "moduleAuthorizationId":"selfserveadmin",
221
+ "name":"Payment Providers",
222
+ "translatedName":"Payment Providers",
223
+ "url":"/self-serve-admin/payment-providers",
224
+ "children":[
225
+
226
+ ]
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "id":1034,
232
+ "authorizationId":"selfservelounge",
233
+ "name":"Lounge",
234
+ "url":"/lounge",
235
+ "relationName":"Tenant",
236
+ "displayOrder":22,
237
+ "entityAccess":[
238
+
239
+ ],
240
+ "sidebarEntries":[
241
+
242
+ ]
243
+ },
244
+ {
245
+ "id":21,
246
+ "authorizationId":"sscompanion",
247
+ "name":"Self Serve Companion",
248
+ "translatedName":"SelfServe Companion",
249
+ "url":"/sscompanion",
250
+ "relationName":"Shop",
251
+ "displayOrder":21,
252
+ "entityAccess":[
253
+ 2,
254
+ 1,
255
+ 1059,
256
+ 3,
257
+ 6,
258
+ 7,
259
+ 8,
260
+ 9,
261
+ 10,
262
+ 11,
263
+ 1060,
264
+ 12,
265
+ 20,
266
+ 21,
267
+ 22,
268
+ 23,
269
+ 26,
270
+ 28,
271
+ 29,
272
+ 18
273
+ ],
274
+ "sidebarEntries":[
275
+
276
+ ]
277
+ },
278
+ {
279
+ "id":18,
280
+ "authorizationId":"sco",
281
+ "name":"Self Checkout",
282
+ "translatedName":"SCO",
283
+ "url":"https://sco-dev.retalia.cloud/",
284
+ "relationName":"Shop",
285
+ "displayOrder":20,
286
+ "entityAccess":[
287
+ 3,
288
+ 6,
289
+ 7,
290
+ 8,
291
+ 9,
292
+ 10,
293
+ 11,
294
+ 2,
295
+ 12,
296
+ 20,
297
+ 21,
298
+ 22,
299
+ 23,
300
+ 26,
301
+ 28,
302
+ 29,
303
+ 18,
304
+ 1059,
305
+ 1,
306
+ 1060
307
+ ],
308
+ "sidebarEntries":[
309
+
310
+ ]
311
+ },
312
+ {
313
+ "id":7,
314
+ "authorizationId":"report",
315
+ "name":"Report",
316
+ "translatedName":"Report",
317
+ "url":"/report",
318
+ "relationName":"Tenant",
319
+ "displayOrder":19,
320
+ "entityAccess":[
321
+
322
+ ],
323
+ "sidebarEntries":[
324
+ {
325
+ "moduleAuthorizationId":"report",
326
+ "name":"Home",
327
+ "translatedName":"Home",
328
+ "url":"/report/#!/",
329
+ "children":[
330
+
331
+ ]
332
+ },
333
+ {
334
+ "moduleAuthorizationId":"report",
335
+ "name":"Sales Analysis",
336
+ "translatedName":"Sales Analysis",
337
+ "url":"/report/#!/salesAnalysis",
338
+ "children":[
339
+
340
+ ]
341
+ },
342
+ {
343
+ "moduleAuthorizationId":"report",
344
+ "name":"Weekly Sales",
345
+ "translatedName":"Weekly Sales",
346
+ "url":"/report/#!/weeklySales",
347
+ "children":[
348
+
349
+ ]
350
+ },
351
+ {
352
+ "moduleAuthorizationId":"report",
353
+ "name":"Sales Sundial",
354
+ "translatedName":"Sales Sundial",
355
+ "url":"/report/#!/salesSundial",
356
+ "children":[
357
+
358
+ ]
359
+ },
360
+ {
361
+ "moduleAuthorizationId":"report",
362
+ "name":"Financial Report",
363
+ "translatedName":"Financial Report",
364
+ "url":"/report/#!/financialReport",
365
+ "children":[
366
+
367
+ ]
368
+ },
369
+ {
370
+ "moduleAuthorizationId":"report",
371
+ "name":"Customer Turnover",
372
+ "translatedName":"Customer Turnover",
373
+ "url":"/report/#!/customerTurnover",
374
+ "children":[
375
+
376
+ ]
377
+ },
378
+ {
379
+ "moduleAuthorizationId":"report",
380
+ "name":"Transactions Report",
381
+ "translatedName":"Transactions Report",
382
+ "url":"/report/#!/transactionsReport",
383
+ "children":[
384
+
385
+ ]
386
+ },
387
+ {
388
+ "moduleAuthorizationId":"report",
389
+ "name":"Promotions Report",
390
+ "translatedName":"Promotions Report",
391
+ "url":"/report/#!/promotionsReport",
392
+ "children":[
393
+
394
+ ]
395
+ },
396
+ {
397
+ "moduleAuthorizationId":"report",
398
+ "name":"Overview",
399
+ "translatedName":"Overview",
400
+ "url":"/report/#!/generic-report/1",
401
+ "children":[
402
+
403
+ ]
404
+ },
405
+ {
406
+ "moduleAuthorizationId":"report",
407
+ "name":"Index",
408
+ "translatedName":"Index",
409
+ "url":"/report/#!/generic-report/2",
410
+ "children":[
411
+
412
+ ]
413
+ },
414
+ {
415
+ "moduleAuthorizationId":"report",
416
+ "name":"Employee",
417
+ "translatedName":"Employee",
418
+ "url":"/report/#!/generic-report/3",
419
+ "children":[
420
+
421
+ ]
422
+ },
423
+ {
424
+ "moduleAuthorizationId":"report",
425
+ "name":"Top List",
426
+ "translatedName":"Top List",
427
+ "url":"/report/#!/generic-report/4",
428
+ "children":[
429
+
430
+ ]
431
+ },
432
+ {
433
+ "moduleAuthorizationId":"report",
434
+ "name":"Stock",
435
+ "translatedName":"Stock",
436
+ "url":"/report/#!/generic-report/6",
437
+ "children":[
438
+
439
+ ]
440
+ },
441
+ {
442
+ "moduleAuthorizationId":"report",
443
+ "name":"Financial Stock",
444
+ "translatedName":"Financial Stock",
445
+ "url":"/report/#!/generic-report/7",
446
+ "children":[
447
+
448
+ ]
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "id":17,
454
+ "authorizationId":"ProductConfigurator",
455
+ "name":"Product Configurator",
456
+ "url":"/product-configurator",
457
+ "relationName":"Tenant",
458
+ "displayOrder":18,
459
+ "entityAccess":[
460
+
461
+ ],
462
+ "sidebarEntries":[
463
+ {
464
+ "moduleAuthorizationId":"ProductConfigurator",
465
+ "name":"Items",
466
+ "translatedName":"Items",
467
+ "url":"/product-configurator/items",
468
+ "children":[
469
+
470
+ ]
471
+ },
472
+ {
473
+ "moduleAuthorizationId":"ProductConfigurator",
474
+ "name":"Bundles",
475
+ "translatedName":"Bundles",
476
+ "url":"/product-configurator/bundles",
477
+ "children":[
478
+
479
+ ]
480
+ },
481
+ {
482
+ "moduleAuthorizationId":"ProductConfigurator",
483
+ "name":"Bundle Groups",
484
+ "translatedName":"Bundle Groups",
485
+ "url":"/product-configurator/bundlegroups",
486
+ "children":[
487
+
488
+ ]
489
+ },
490
+ {
491
+ "moduleAuthorizationId":"ProductConfigurator",
492
+ "name":"Modifier Groups",
493
+ "translatedName":"Modifier Groups",
494
+ "url":"/product-configurator/modifiergroups",
495
+ "children":[
496
+
497
+ ]
498
+ },
499
+ {
500
+ "moduleAuthorizationId":"ProductConfigurator",
501
+ "name":"Configuration",
502
+ "translatedName":"Configuration",
503
+ "url":"/product-configurator/configuration",
504
+ "children":[
505
+
506
+ ]
507
+ },
508
+ {
509
+ "moduleAuthorizationId":"ProductConfigurator",
510
+ "name":"Custom Barcodes",
511
+ "translatedName":"Custom Barcodes",
512
+ "url":"/product-configurator/custombarcodes",
513
+ "children":[
514
+
515
+ ]
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "id":2,
521
+ "authorizationId":"ppe",
522
+ "name":"PPE",
523
+ "translatedName":"PPE",
524
+ "url":"/ppe",
525
+ "relationName":"Tenant",
526
+ "displayOrder":17,
527
+ "entityAccess":[
528
+
529
+ ],
530
+ "sidebarEntries":[
531
+ {
532
+ "moduleAuthorizationId":"ppe",
533
+ "name":"Item Prices",
534
+ "translatedName":"Item Prices",
535
+ "url":"/ppe/item-prices",
536
+ "children":[
537
+
538
+ ]
539
+ },
540
+ {
541
+ "moduleAuthorizationId":"ppe",
542
+ "name":"Item Bundles",
543
+ "translatedName":"Item Bundles",
544
+ "url":"/ppe/item-bundles",
545
+ "children":[
546
+
547
+ ]
548
+ },
549
+ {
550
+ "moduleAuthorizationId":"ppe",
551
+ "name":"Promotions",
552
+ "translatedName":"Promotions",
553
+ "url":"/ppe/promotions",
554
+ "children":[
555
+
556
+ ]
557
+ },
558
+ {
559
+ "moduleAuthorizationId":"ppe",
560
+ "name":"Global Settings",
561
+ "translatedName":"Global Settings",
562
+ "url":"/ppe/settings",
563
+ "children":[
564
+
565
+ ]
566
+ }
567
+ ]
568
+ },
569
+ {
570
+ "id":1022,
571
+ "authorizationId":"visualcomposer",
572
+ "name":"Visual Composer",
573
+ "translatedName":"Visual Composer",
574
+ "url":"/visual-composer",
575
+ "relationName":"Tenant",
576
+ "displayOrder":16,
577
+ "entityAccess":[
578
+
579
+ ],
580
+ "sidebarEntries":[
581
+ {
582
+ "moduleAuthorizationId":"visualcomposer",
583
+ "name":"Profile Overview",
584
+ "translatedName":"Profile Overview",
585
+ "url":"/visual-composer/profile-overview",
586
+ "children":[
587
+
588
+ ]
589
+ },
590
+ {
591
+ "moduleAuthorizationId":"visualcomposer",
592
+ "name":"Visual Profiles",
593
+ "translatedName":"Visual Profiles",
594
+ "url":"/visual-composer/visual-profile",
595
+ "children":[
596
+
597
+ ]
598
+ },
599
+ {
600
+ "moduleAuthorizationId":"visualcomposer",
601
+ "name":"Composer Groups",
602
+ "translatedName":"Composer Groups",
603
+ "url":"/visual-composer/composergroups",
604
+ "children":[
605
+
606
+ ]
607
+ },
608
+ {
609
+ "moduleAuthorizationId":"visualcomposer",
610
+ "name":"Adverts",
611
+ "translatedName":"Adverts",
612
+ "url":"/visual-composer/adverts",
613
+ "children":[
614
+
615
+ ]
616
+ }
617
+ ]
618
+ },
619
+ {
620
+ "id":1,
621
+ "authorizationId":"pos",
622
+ "name":"POS",
623
+ "translatedName":"POS",
624
+ "url":"https://pos-dev.retalia.cloud/#/",
625
+ "relationName":"Shop",
626
+ "displayOrder":0,
627
+ "entityAccess":[
628
+ 1059,
629
+ 3,
630
+ 6,
631
+ 7,
632
+ 8,
633
+ 9,
634
+ 10,
635
+ 11,
636
+ 1060,
637
+ 12,
638
+ 20,
639
+ 21,
640
+ 22,
641
+ 23,
642
+ 26,
643
+ 28,
644
+ 29,
645
+ 18,
646
+ 2,
647
+ 1
648
+ ],
649
+ "sidebarEntries":[
650
+
651
+ ]
652
+ },
653
+ {
654
+ "id":19,
655
+ "authorizationId":"orderstatusdisplay",
656
+ "name":"Order Status Display",
657
+ "url":"/order-status-display/",
658
+ "relationName":"Shop",
659
+ "displayOrder":15,
660
+ "entityAccess":[
661
+ 1060,
662
+ 1059,
663
+ 3,
664
+ 6,
665
+ 7,
666
+ 8,
667
+ 9,
668
+ 10,
669
+ 11,
670
+ 2,
671
+ 12,
672
+ 20,
673
+ 21,
674
+ 22,
675
+ 23,
676
+ 26,
677
+ 28,
678
+ 29,
679
+ 18,
680
+ 1
681
+ ],
682
+ "sidebarEntries":[
683
+
684
+ ]
685
+ },
686
+ {
687
+ "id":14,
688
+ "authorizationId":"orb",
689
+ "name":"ORB",
690
+ "translatedName":"Orb",
691
+ "url":"/orb",
692
+ "relationName":"Shop",
693
+ "displayOrder":14,
694
+ "entityAccess":[
695
+ 1,
696
+ 1060,
697
+ 1059,
698
+ 2,
699
+ 3,
700
+ 6,
701
+ 7,
702
+ 8,
703
+ 9,
704
+ 10,
705
+ 11,
706
+ 12,
707
+ 18,
708
+ 20,
709
+ 21,
710
+ 22,
711
+ 23,
712
+ 26,
713
+ 28,
714
+ 29
715
+ ],
716
+ "sidebarEntries":[
717
+ {
718
+ "moduleAuthorizationId":"orb",
719
+ "name":"Order board",
720
+ "url":"/orb/order-board",
721
+ "children":[
722
+
723
+ ]
724
+ }
725
+ ]
726
+ },
727
+ {
728
+ "id":1036,
729
+ "authorizationId":"kiosk",
730
+ "name":"Kiosk 2",
731
+ "translatedName":"Kiosk",
732
+ "url":"https://kiosk2-dev.retalia.cloud/",
733
+ "relationName":"Shop",
734
+ "displayOrder":13,
735
+ "entityAccess":[
736
+ 2,
737
+ 3,
738
+ 6,
739
+ 7,
740
+ 8,
741
+ 9,
742
+ 10,
743
+ 1,
744
+ 11,
745
+ 18,
746
+ 20,
747
+ 21,
748
+ 22,
749
+ 23,
750
+ 26,
751
+ 28,
752
+ 12,
753
+ 29,
754
+ 1059,
755
+ 1060
756
+ ],
757
+ "sidebarEntries":[
758
+
759
+ ]
760
+ },
761
+ {
762
+ "id":13,
763
+ "authorizationId":"mtd",
764
+ "name":"Making Tax Digital",
765
+ "translatedName":"MTD",
766
+ "url":"https://mtd-dev.retalia.cloud/",
767
+ "relationName":"Tenant",
768
+ "displayOrder":12,
769
+ "entityAccess":[
770
+
771
+ ],
772
+ "sidebarEntries":[
773
+ {
774
+ "moduleAuthorizationId":"mtd",
775
+ "name":"Submissions",
776
+ "url":"https://mtd-dev.retalia.cloud/submissions",
777
+ "children":[
778
+
779
+ ]
780
+ },
781
+ {
782
+ "moduleAuthorizationId":"mtd",
783
+ "name":"Payments",
784
+ "url":"https://mtd-dev.retalia.cloud/payments",
785
+ "children":[
786
+
787
+ ]
788
+ },
789
+ {
790
+ "moduleAuthorizationId":"mtd",
791
+ "name":"Liabilities",
792
+ "url":"https://mtd-dev.retalia.cloud/liabilities",
793
+ "children":[
794
+
795
+ ]
796
+ },
797
+ {
798
+ "moduleAuthorizationId":"mtd",
799
+ "name":"Transactions",
800
+ "url":"https://mtd-dev.retalia.cloud/transactions",
801
+ "children":[
802
+
803
+ ]
804
+ },
805
+ {
806
+ "moduleAuthorizationId":"mtd",
807
+ "name":"Logs",
808
+ "url":"https://mtd-dev.retalia.cloud/logs",
809
+ "children":[
810
+
811
+ ]
812
+ },
813
+ {
814
+ "moduleAuthorizationId":"mtd",
815
+ "name":"Settings",
816
+ "url":"https://mtd-dev.retalia.cloud/settings",
817
+ "children":[
818
+
819
+ ]
820
+ }
821
+ ]
822
+ },
823
+ {
824
+ "id":5,
825
+ "authorizationId":"item",
826
+ "name":"Item",
827
+ "translatedName":"Item",
828
+ "url":"/item-management",
829
+ "relationName":"Tenant",
830
+ "displayOrder":11,
831
+ "entityAccess":[
832
+
833
+ ],
834
+ "sidebarEntries":[
835
+ {
836
+ "moduleAuthorizationId":"item",
837
+ "name":"Item List",
838
+ "translatedName":"Item List",
839
+ "url":"/item-management/#/items",
840
+ "children":[
841
+
842
+ ]
843
+ },
844
+ {
845
+ "moduleAuthorizationId":"item",
846
+ "name":"Create Item",
847
+ "url":"/item-management/#/create",
848
+ "children":[
849
+
850
+ ]
851
+ },
852
+ {
853
+ "moduleAuthorizationId":"item",
854
+ "name":"Dimension Templates",
855
+ "url":"/item-management/#/dimensions",
856
+ "children":[
857
+
858
+ ]
859
+ },
860
+ {
861
+ "moduleAuthorizationId":"item",
862
+ "name":"Dimension Types",
863
+ "translatedName":"Dimension Types",
864
+ "url":"/item-management/#/dimension-types",
865
+ "children":[
866
+
867
+ ]
868
+ },
869
+ {
870
+ "moduleAuthorizationId":"item",
871
+ "name":"Custom Attributes",
872
+ "translatedName":"Custom attributes",
873
+ "url":"/item-management/#/attributes",
874
+ "children":[
875
+
876
+ ]
877
+ },
878
+ {
879
+ "moduleAuthorizationId":"item",
880
+ "name":"Item Hierarchy",
881
+ "url":"/item-management/#/hierarchy",
882
+ "children":[
883
+
884
+ ]
885
+ },
886
+ {
887
+ "moduleAuthorizationId":"item",
888
+ "name":"Discount Labels",
889
+ "translatedName":"Discount Labels",
890
+ "url":"/item-management/#/discount-labels",
891
+ "children":[
892
+
893
+ ]
894
+ }
895
+ ]
896
+ },
897
+ {
898
+ "id":1024,
899
+ "authorizationId":"inventory",
900
+ "name":"Inventory",
901
+ "translatedName":"Inventory",
902
+ "url":"/inventory",
903
+ "relationName":"Tenant",
904
+ "displayOrder":10,
905
+ "entityAccess":[
906
+
907
+ ],
908
+ "sidebarEntries":[
909
+ {
910
+ "moduleAuthorizationId":"inventory",
911
+ "name":"Item List",
912
+ "translatedName":"Item List",
913
+ "url":"/inventory/items",
914
+ "children":[
915
+
916
+ ]
917
+ },
918
+ {
919
+ "moduleAuthorizationId":"inventory",
920
+ "name":"Item Creation",
921
+ "translatedName":"Item Creation",
922
+ "url":"/inventory/item-creation/hierarchy",
923
+ "children":[
924
+
925
+ ]
926
+ },
927
+ {
928
+ "moduleAuthorizationId":"inventory",
929
+ "name":"Item Hierarchies",
930
+ "translatedName":"Item Hierarchies",
931
+ "url":"/inventory/hierarchy",
932
+ "children":[
933
+
934
+ ]
935
+ },
936
+ {
937
+ "moduleAuthorizationId":"inventory",
938
+ "name":"Item Import",
939
+ "translatedName":"Item Import",
940
+ "url":"/inventory/item-import",
941
+ "children":[
942
+
943
+ ]
944
+ },
945
+ {
946
+ "moduleAuthorizationId":"inventory",
947
+ "name":"Purchase Order",
948
+ "translatedName":"Purchase Order",
949
+ "url":"/inventory/purchase-order",
950
+ "children":[
951
+
952
+ ]
953
+ },
954
+ {
955
+ "moduleAuthorizationId":"inventory",
956
+ "name":"Receive Goods",
957
+ "translatedName":"Receive Goods",
958
+ "url":"/inventory/receive-goods",
959
+ "children":[
960
+
961
+ ]
962
+ },
963
+ {
964
+ "moduleAuthorizationId":"inventory",
965
+ "name":"Stocktake",
966
+ "translatedName":"Stocktake",
967
+ "url":"/inventory/stocktake",
968
+ "children":[
969
+
970
+ ]
971
+ },
972
+ {
973
+ "moduleAuthorizationId":"inventory",
974
+ "name":"Logs",
975
+ "translatedName":"Logs",
976
+ "url":"/inventory/stock-logs",
977
+ "children":[
978
+
979
+ ]
980
+ },
981
+ {
982
+ "moduleAuthorizationId":"inventory",
983
+ "name":"Transfers",
984
+ "translatedName":"Transfers",
985
+ "url":"/inventory/transfers",
986
+ "children":[
987
+
988
+ ]
989
+ },
990
+ {
991
+ "moduleAuthorizationId":"inventory",
992
+ "name":"Stock Lookup Overview",
993
+ "translatedName":"Stock Lookup Overview",
994
+ "url":"/inventory/stock-lookup-overview",
995
+ "children":[
996
+
997
+ ]
998
+ },
999
+ {
1000
+ "moduleAuthorizationId":"inventory",
1001
+ "name":"Stock Lookup",
1002
+ "url":"/inventory/stock-lookup-search",
1003
+ "children":[
1004
+
1005
+ ]
1006
+ },
1007
+ {
1008
+ "moduleAuthorizationId":"inventory",
1009
+ "name":"Offline Stock",
1010
+ "url":"/inventory/offline-stock",
1011
+ "children":[
1012
+
1013
+ ]
1014
+ },
1015
+ {
1016
+ "moduleAuthorizationId":"inventory",
1017
+ "name":"Vendor Return",
1018
+ "url":"/inventory/vendor-return",
1019
+ "children":[
1020
+
1021
+ ]
1022
+ },
1023
+ {
1024
+ "moduleAuthorizationId":"inventory",
1025
+ "name":"Dimension Templates",
1026
+ "url":"/inventory/dimension-templates",
1027
+ "children":[
1028
+
1029
+ ]
1030
+ },
1031
+ {
1032
+ "moduleAuthorizationId":"inventory",
1033
+ "name":"Dimension Types",
1034
+ "url":"/inventory/dimension-types",
1035
+ "children":[
1036
+
1037
+ ]
1038
+ },
1039
+ {
1040
+ "moduleAuthorizationId":"inventory",
1041
+ "name":"Discount Labels",
1042
+ "url":"/inventory/discount-labels",
1043
+ "children":[
1044
+
1045
+ ]
1046
+ },
1047
+ {
1048
+ "moduleAuthorizationId":"inventory",
1049
+ "name":"Custom Attributes",
1050
+ "url":"/inventory/custom-attributes",
1051
+ "children":[
1052
+
1053
+ ]
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "id":15,
1059
+ "authorizationId":"customerui",
1060
+ "name":"Customer",
1061
+ "translatedName":"Customers",
1062
+ "url":"/customer",
1063
+ "relationName":"Tenant",
1064
+ "displayOrder":9,
1065
+ "entityAccess":[
1066
+
1067
+ ],
1068
+ "sidebarEntries":[
1069
+ {
1070
+ "moduleAuthorizationId":"customerui",
1071
+ "name":"Customers",
1072
+ "translatedName":"Customers",
1073
+ "url":"/customer/customers",
1074
+ "children":[
1075
+
1076
+ ]
1077
+ },
1078
+ {
1079
+ "moduleAuthorizationId":"customerui",
1080
+ "name":"Export Customers",
1081
+ "translatedName":"Export Customers",
1082
+ "url":"/customer/customers-export",
1083
+ "children":[
1084
+
1085
+ ]
1086
+ },
1087
+ {
1088
+ "moduleAuthorizationId":"customerui",
1089
+ "name":"Companies",
1090
+ "translatedName":"Companies",
1091
+ "url":"/customer/companies",
1092
+ "children":[
1093
+
1094
+ ]
1095
+ },
1096
+ {
1097
+ "moduleAuthorizationId":"customerui",
1098
+ "name":"Groups",
1099
+ "translatedName":"Groups",
1100
+ "url":"/customer/groups",
1101
+ "children":[
1102
+
1103
+ ]
1104
+ },
1105
+ {
1106
+ "moduleAuthorizationId":"customerui",
1107
+ "name":"Loyalty",
1108
+ "translatedName":"Loyalty",
1109
+ "url":"/customer/loyalty/config",
1110
+ "children":[
1111
+
1112
+ ]
1113
+ },
1114
+ {
1115
+ "moduleAuthorizationId":"customerui",
1116
+ "name":"Settings",
1117
+ "translatedName":"Settings",
1118
+ "url":"/customer/customersettings",
1119
+ "children":[
1120
+
1121
+ ]
1122
+ }
1123
+ ]
1124
+ },
1125
+ {
1126
+ "id":4,
1127
+ "authorizationId":"backoffice",
1128
+ "name":"Backoffice",
1129
+ "translatedName":"Backoffice",
1130
+ "url":"/rbo",
1131
+ "relationName":"Tenant",
1132
+ "displayOrder":8,
1133
+ "entityAccess":[
1134
+
1135
+ ],
1136
+ "sidebarEntries":[
1137
+ {
1138
+ "moduleAuthorizationId":"backoffice",
1139
+ "name":"Shops",
1140
+ "translatedName":"Shops",
1141
+ "url":"/rbo/#/shops",
1142
+ "children":[
1143
+
1144
+ ]
1145
+ },
1146
+ {
1147
+ "moduleAuthorizationId":"backoffice",
1148
+ "name":"Vendors",
1149
+ "translatedName":"Vendors",
1150
+ "url":"/rbo/#/vendors",
1151
+ "children":[
1152
+
1153
+ ]
1154
+ },
1155
+ {
1156
+ "moduleAuthorizationId":"backoffice",
1157
+ "name":"Clerks",
1158
+ "translatedName":"Clerks",
1159
+ "url":"/rbo/#/clerks",
1160
+ "children":[
1161
+
1162
+ ]
1163
+ },
1164
+ {
1165
+ "moduleAuthorizationId":"backoffice",
1166
+ "name":"Clerk Roles",
1167
+ "translatedName":"Clerk Roles",
1168
+ "url":"/rbo/#/clerkroles",
1169
+ "children":[
1170
+
1171
+ ]
1172
+ },
1173
+ {
1174
+ "moduleAuthorizationId":"backoffice",
1175
+ "name":"Expenses",
1176
+ "translatedName":"Expenses",
1177
+ "url":"/rbo/#/expenses",
1178
+ "children":[
1179
+
1180
+ ]
1181
+ },
1182
+ {
1183
+ "moduleAuthorizationId":"backoffice",
1184
+ "name":"Reason Codes",
1185
+ "translatedName":"Reason Codes",
1186
+ "url":"/rbo/#/reasoncodes",
1187
+ "children":[
1188
+
1189
+ ]
1190
+ },
1191
+ {
1192
+ "moduleAuthorizationId":"backoffice",
1193
+ "name":"Payment Types",
1194
+ "translatedName":"Payment Types",
1195
+ "url":"/rbo/#/payment-types",
1196
+ "children":[
1197
+
1198
+ ]
1199
+ },
1200
+ {
1201
+ "moduleAuthorizationId":"backoffice",
1202
+ "name":"Taxes",
1203
+ "translatedName":"Taxes",
1204
+ "url":"/rbo/#/taxes",
1205
+ "children":[
1206
+
1207
+ ]
1208
+ },
1209
+ {
1210
+ "moduleAuthorizationId":"backoffice",
1211
+ "name":"Groups",
1212
+ "translatedName":"Groups",
1213
+ "url":"/rbo/#/groups",
1214
+ "children":[
1215
+
1216
+ ]
1217
+ },
1218
+ {
1219
+ "moduleAuthorizationId":"backoffice",
1220
+ "name":"Gift Vouchers",
1221
+ "translatedName":"Gift Vouchers",
1222
+ "url":"/rbo/#/giftvoucher",
1223
+ "children":[
1224
+
1225
+ ]
1226
+ },
1227
+ {
1228
+ "moduleAuthorizationId":"backoffice",
1229
+ "name":"Label Templates",
1230
+ "translatedName":"Label Templates",
1231
+ "url":"/rbo/#/labeltemplates",
1232
+ "children":[
1233
+
1234
+ ]
1235
+ },
1236
+ {
1237
+ "moduleAuthorizationId":"backoffice",
1238
+ "name":"Credit Memo",
1239
+ "translatedName":"Credit Memo",
1240
+ "url":"/rbo/#/creditmemo",
1241
+ "children":[
1242
+
1243
+ ]
1244
+ },
1245
+ {
1246
+ "moduleAuthorizationId":"backoffice",
1247
+ "name":"Data Export",
1248
+ "translatedName":"Data Export",
1249
+ "url":"/rbo/#/data-export",
1250
+ "children":[
1251
+
1252
+ ]
1253
+ },
1254
+ {
1255
+ "moduleAuthorizationId":"backoffice",
1256
+ "name":"MobilePay",
1257
+ "translatedName":"MobilePay",
1258
+ "url":"/rbo/#/mobilepay",
1259
+ "children":[
1260
+
1261
+ ]
1262
+ },
1263
+ {
1264
+ "moduleAuthorizationId":"backoffice",
1265
+ "name":"Fiskaly",
1266
+ "translatedName":"Fiskaly",
1267
+ "url":"/rbo/#/fiskaly",
1268
+ "children":[
1269
+
1270
+ ]
1271
+ },
1272
+ {
1273
+ "moduleAuthorizationId":"backoffice",
1274
+ "name":"Item Info",
1275
+ "url":"/rbo/#/iteminfo",
1276
+ "children":[
1277
+
1278
+ ]
1279
+ }
1280
+ ]
1281
+ },
1282
+ {
1283
+ "id":1042,
1284
+ "authorizationId":"reports",
1285
+ "name":"Analysis",
1286
+ "url":"/analysis",
1287
+ "relationName":"Tenant",
1288
+ "displayOrder":7,
1289
+ "entityAccess":[
1290
+
1291
+ ],
1292
+ "sidebarEntries":[
1293
+ {
1294
+ "moduleAuthorizationId":"reports",
1295
+ "name":"Dashboard",
1296
+ "translatedName":"Dashboard",
1297
+ "url":"/analysis/dashboard",
1298
+ "children":[
1299
+
1300
+ ]
1301
+ },
1302
+ {
1303
+ "moduleAuthorizationId":"reports",
1304
+ "name":"Store Sale Summary",
1305
+ "translatedName":"Store Sale Summary",
1306
+ "url":"/analysis/storesalesummary",
1307
+ "children":[
1308
+
1309
+ ]
1310
+ },
1311
+ {
1312
+ "moduleAuthorizationId":"reports",
1313
+ "name":"Financial Summary",
1314
+ "translatedName":"Financial Summary",
1315
+ "url":"/analysis/financialsummary",
1316
+ "children":[
1317
+
1318
+ ]
1319
+ },
1320
+ {
1321
+ "moduleAuthorizationId":"reports",
1322
+ "name":"Clerk Sale Summary",
1323
+ "translatedName":"Clerk Sale Summary",
1324
+ "url":"/analysis/clerksalesummary",
1325
+ "children":[
1326
+
1327
+ ]
1328
+ },
1329
+ {
1330
+ "moduleAuthorizationId":"reports",
1331
+ "name":"Master Item Sale Summary",
1332
+ "translatedName":"Master Item Sale Summary",
1333
+ "url":"/analysis/masteritemsalesummary",
1334
+ "children":[
1335
+
1336
+ ]
1337
+ },
1338
+ {
1339
+ "moduleAuthorizationId":"reports",
1340
+ "name":"Item Sale Summary",
1341
+ "translatedName":"Item Sale Summary",
1342
+ "url":"/analysis/itemsalesummary",
1343
+ "children":[
1344
+
1345
+ ]
1346
+ },
1347
+ {
1348
+ "moduleAuthorizationId":"reports",
1349
+ "name":"Hierarchy Sale Summary",
1350
+ "translatedName":"Hierarchy Sale Summary",
1351
+ "url":"/analysis/hierarchysalesummary",
1352
+ "children":[
1353
+
1354
+ ]
1355
+ },
1356
+ {
1357
+ "moduleAuthorizationId":"reports",
1358
+ "name":"Vendor Sale Summary",
1359
+ "translatedName":"Vendor Sale Summary",
1360
+ "url":"/analysis/vendorsalesummary",
1361
+ "children":[
1362
+
1363
+ ]
1364
+ },
1365
+ {
1366
+ "moduleAuthorizationId":"reports",
1367
+ "name":"Customer Sale Summary",
1368
+ "translatedName":"Customer Sale Summary",
1369
+ "url":"/analysis/customersalesummary",
1370
+ "children":[
1371
+
1372
+ ]
1373
+ },
1374
+ {
1375
+ "moduleAuthorizationId":"reports",
1376
+ "name":"Footfall Summary",
1377
+ "url":"/analysis/footfallsummary",
1378
+ "children":[
1379
+
1380
+ ]
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "id":1039,
1386
+ "authorizationId":"platformadmin",
1387
+ "name":"Platform Admin",
1388
+ "url":"/platform-admin",
1389
+ "relationName":"Tenant",
1390
+ "displayOrder":6,
1391
+ "entityAccess":[
1392
+
1393
+ ],
1394
+ "sidebarEntries":[
1395
+ {
1396
+ "moduleAuthorizationId":"platformadmin",
1397
+ "name":"Tenants",
1398
+ "translatedName":"Tenants",
1399
+ "url":"/platform-admin/tenants",
1400
+ "children":[
1401
+
1402
+ ]
1403
+ },
1404
+ {
1405
+ "moduleAuthorizationId":"platformadmin",
1406
+ "name":"Partners",
1407
+ "translatedName":"Partners",
1408
+ "url":"/platform-admin/partners",
1409
+ "children":[
1410
+
1411
+ ]
1412
+ },
1413
+ {
1414
+ "moduleAuthorizationId":"platformadmin",
1415
+ "name":"Permissions",
1416
+ "translatedName":"Permissions",
1417
+ "url":"/platform-admin/permissions",
1418
+ "children":[
1419
+
1420
+ ]
1421
+ },
1422
+ {
1423
+ "moduleAuthorizationId":"platformadmin",
1424
+ "name":"Integrators",
1425
+ "translatedName":"Integrators",
1426
+ "url":"/platform-admin/integrators",
1427
+ "children":[
1428
+
1429
+ ]
1430
+ },
1431
+ {
1432
+ "moduleAuthorizationId":"platformadmin",
1433
+ "name":"Widgets",
1434
+ "translatedName":"Widgets",
1435
+ "url":"/platform-admin/widgets",
1436
+ "children":[
1437
+
1438
+ ]
1439
+ },
1440
+ {
1441
+ "moduleAuthorizationId":"platformadmin",
1442
+ "name":"Features",
1443
+ "translatedName":"Features",
1444
+ "url":"/platform-admin/features",
1445
+ "children":[
1446
+
1447
+ ]
1448
+ },
1449
+ {
1450
+ "moduleAuthorizationId":"platformadmin",
1451
+ "name":"Connectors",
1452
+ "translatedName":"Connectors",
1453
+ "url":"/platform-admin/connectors",
1454
+ "children":[
1455
+
1456
+ ]
1457
+ },
1458
+ {
1459
+ "moduleAuthorizationId":"platformadmin",
1460
+ "name":"Email Customers",
1461
+ "translatedName":"Email Customers",
1462
+ "url":"/platform-admin/email-customers",
1463
+ "children":[
1464
+
1465
+ ]
1466
+ },
1467
+ {
1468
+ "moduleAuthorizationId":"platformadmin",
1469
+ "name":"Reports",
1470
+ "translatedName":"Reports",
1471
+ "url":"/platform-admin/reports/apps-by-tenant",
1472
+ "children":[
1473
+
1474
+ ]
1475
+ },
1476
+ {
1477
+ "moduleAuthorizationId":"platformadmin",
1478
+ "name":"Extensions",
1479
+ "url":"/platform-admin/extensions",
1480
+ "children":[
1481
+
1482
+ ]
1483
+ }
1484
+ ]
1485
+ },
1486
+ {
1487
+ "id":3,
1488
+ "authorizationId":"admin",
1489
+ "name":"Admin",
1490
+ "translatedName":"Admin",
1491
+ "url":"/admin",
1492
+ "relationName":"Shop",
1493
+ "displayOrder":5,
1494
+ "entityAccess":[
1495
+ 1,
1496
+ 1060,
1497
+ 29,
1498
+ 2,
1499
+ 3,
1500
+ 6,
1501
+ 7,
1502
+ 8,
1503
+ 9,
1504
+ 10,
1505
+ 1059,
1506
+ 11,
1507
+ 18,
1508
+ 20,
1509
+ 21,
1510
+ 22,
1511
+ 23,
1512
+ 26,
1513
+ 28,
1514
+ 12
1515
+ ],
1516
+ "sidebarEntries":[
1517
+ {
1518
+ "moduleAuthorizationId":"admin",
1519
+ "name":"Manage K3 Connector",
1520
+ "translatedName":"K3 Connector Manager",
1521
+ "url":"/admin/#!/connector",
1522
+ "children":[
1523
+
1524
+ ]
1525
+ },
1526
+ {
1527
+ "moduleAuthorizationId":"admin",
1528
+ "name":"Receipt Setup",
1529
+ "translatedName":"Receipt Setup",
1530
+ "url":"/admin/#!/notesetup",
1531
+ "children":[
1532
+
1533
+ ]
1534
+ },
1535
+ {
1536
+ "moduleAuthorizationId":"admin",
1537
+ "name":"Shop Setup",
1538
+ "translatedName":"Shop Setup",
1539
+ "url":"/admin/#!/shopsetup",
1540
+ "children":[
1541
+
1542
+ ]
1543
+ },
1544
+ {
1545
+ "moduleAuthorizationId":"admin",
1546
+ "name":"POS Option",
1547
+ "translatedName":"POS Option",
1548
+ "url":"/admin/#!/posoptions",
1549
+ "children":[
1550
+
1551
+ ]
1552
+ },
1553
+ {
1554
+ "moduleAuthorizationId":"admin",
1555
+ "name":"Button Management",
1556
+ "translatedName":"Button Management",
1557
+ "url":"/admin/#!/button-management",
1558
+ "children":[
1559
+
1560
+ ]
1561
+ },
1562
+ {
1563
+ "moduleAuthorizationId":"admin",
1564
+ "name":"Expansions",
1565
+ "translatedName":"Expansions",
1566
+ "url":"/admin/#!/expansions",
1567
+ "children":[
1568
+
1569
+ ]
1570
+ }
1571
+ ]
1572
+ },
1573
+ {
1574
+ "id":1025,
1575
+ "authorizationId":"companionapp",
1576
+ "name":"Companion",
1577
+ "url":"https://companion-dev.retalia.cloud/",
1578
+ "relationName":"Shop",
1579
+ "displayOrder":4,
1580
+ "entityAccess":[
1581
+ 29
1582
+ ],
1583
+ "sidebarEntries":[
1584
+
1585
+ ]
1586
+ },
1587
+ {
1588
+ "id":12,
1589
+ "authorizationId":"BhfApp",
1590
+ "name":"Bhf App",
1591
+ "translatedName":"BhfApp",
1592
+ "url":"https://donatedstock-dev.retalia.cloud/",
1593
+ "relationName":"Shop",
1594
+ "displayOrder":3,
1595
+ "entityAccess":[
1596
+ 1,
1597
+ 29,
1598
+ 28,
1599
+ 26,
1600
+ 23,
1601
+ 22,
1602
+ 21,
1603
+ 20,
1604
+ 18,
1605
+ 12,
1606
+ 11,
1607
+ 10,
1608
+ 9,
1609
+ 8,
1610
+ 7,
1611
+ 6,
1612
+ 3,
1613
+ 2
1614
+ ],
1615
+ "sidebarEntries":[
1616
+
1617
+ ]
1618
+ },
1619
+ {
1620
+ "id":1028,
1621
+ "authorizationId":"simplepos",
1622
+ "name":"Simple POS",
1623
+ "translatedName":"Simple POS",
1624
+ "url":"https://simplepos-dev.retalia.cloud/",
1625
+ "relationName":"Shop",
1626
+ "displayOrder":2,
1627
+ "entityAccess":[
1628
+ 29
1629
+ ],
1630
+ "sidebarEntries":[
1631
+
1632
+ ]
1633
+ },
1634
+ {
1635
+ "id":9,
1636
+ "authorizationId":"oldkiosk",
1637
+ "name":"Kiosk",
1638
+ "url":"https://kiosk-dev.retalia.cloud/",
1639
+ "relationName":"Shop",
1640
+ "displayOrder":1,
1641
+ "entityAccess":[
1642
+ 29
1643
+ ],
1644
+ "sidebarEntries":[
1645
+
1646
+ ]
1647
+ },
1648
+ {
1649
+ "id":1043,
1650
+ "authorizationId":"giftaid",
1651
+ "name":"Gift Aid",
1652
+ "url":"/giftaid",
1653
+ "relationName":"Tenant",
1654
+ "displayOrder":0,
1655
+ "entityAccess":[
1656
+
1657
+ ],
1658
+ "sidebarEntries":[
1659
+ {
1660
+ "moduleAuthorizationId":"giftaid",
1661
+ "name":"Receipts",
1662
+ "url":"/giftaid/receipts",
1663
+ "children":[
1664
+
1665
+ ]
1666
+ },
1667
+ {
1668
+ "moduleAuthorizationId":"giftaid",
1669
+ "name":"Settings",
1670
+ "url":"/giftaid/settings",
1671
+ "children":[
1672
+
1673
+ ]
1674
+ },
1675
+ {
1676
+ "moduleAuthorizationId":"giftaid",
1677
+ "name":"Transactions",
1678
+ "url":"/giftaid/transactions",
1679
+ "children":[
1680
+
1681
+ ]
1682
+ }
1683
+ ]
1684
+ },
1685
+ {
1686
+ "id":1044,
1687
+ "authorizationId":"intercompany",
1688
+ "name":"Inter-Company Trading",
1689
+ "url":"/companies",
1690
+ "relationName":"Tenant",
1691
+ "displayOrder":0,
1692
+ "entityAccess":[
1693
+
1694
+ ],
1695
+ "sidebarEntries":[
1696
+ {
1697
+ "moduleAuthorizationId":"intercompany",
1698
+ "name":"Companies",
1699
+ "url":"/companies/companies",
1700
+ "children":[
1701
+
1702
+ ]
1703
+ }
1704
+ ]
1705
+ }
1706
+ ],
1707
+ "shops":[
1708
+ {
1709
+ "id":1,
1710
+ "description":"Køge"
1711
+ },
1712
+ {
1713
+ "id":20,
1714
+ "description":"Reykjavík"
1715
+ },
1716
+ {
1717
+ "id":22,
1718
+ "description":"Copenhagen"
1719
+ },
1720
+ {
1721
+ "id":26,
1722
+ "description":"Manchester"
1723
+ },
1724
+ {
1725
+ "id":28,
1726
+ "description":"Play Shop"
1727
+ },
1728
+ {
1729
+ "id":29,
1730
+ "description":"Langport Somerset"
1731
+ }
1732
+ ],
1733
+ "flags":[
1734
+ "TenantAdmin",
1735
+ "SupportAdmin"
1736
+ ]
1737
+ };
1738
+
1739
+ testModuleDetails.modulesDetails.forEach((module) => {
1740
+ module.icon = mockSidebarIcon;
1741
+ });
1742
+