@telos-dev-team/dealernode-permissions 1.1.21 → 1.1.23

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.
@@ -298,6 +298,10 @@ export declare const PERMISSIONS: {
298
298
  };
299
299
  };
300
300
  readonly PAYMENT: {
301
+ readonly OPERATIONS: {
302
+ readonly VIEW: "payment.operations.view";
303
+ readonly MANAGE: "payment.operations.manage";
304
+ };
301
305
  readonly CONNECTED_ACCOUNT: {
302
306
  readonly VIEW: "payment.connected-account.view";
303
307
  readonly CREATE: "payment.connected-account.create";
@@ -595,21 +599,9 @@ export declare const PERMISSIONS: {
595
599
  };
596
600
  };
597
601
  readonly ANALYTICS: {
598
- readonly METADATA: {
599
- readonly VIEW: "analytics.metadata.view";
600
- };
601
- readonly REPORTS: {
602
- readonly VIEW: "analytics.reports.view";
603
- readonly CREATE: "analytics.reports.create";
604
- readonly UPDATE: "analytics.reports.update";
605
- readonly DELETE: "analytics.reports.delete";
606
- readonly EXECUTE: "analytics.reports.execute";
607
- };
608
- readonly TEMPLATES: {
609
- readonly VIEW: "analytics.templates.view";
610
- readonly CREATE: "analytics.templates.create";
611
- readonly UPDATE: "analytics.templates.update";
612
- readonly DELETE: "analytics.templates.delete";
602
+ readonly OPERATIONS: {
603
+ readonly VIEW: "analytics.operations.view";
604
+ readonly MANAGE: "analytics.operations.manage";
613
605
  };
614
606
  };
615
607
  readonly AUTHORIZATION: {
@@ -337,6 +337,10 @@ exports.PERMISSIONS = {
337
337
  // PAYMENT
338
338
  // ============================================
339
339
  PAYMENT: {
340
+ OPERATIONS: {
341
+ VIEW: "payment.operations.view",
342
+ MANAGE: "payment.operations.manage",
343
+ },
340
344
  CONNECTED_ACCOUNT: {
341
345
  VIEW: "payment.connected-account.view",
342
346
  CREATE: "payment.connected-account.create",
@@ -658,21 +662,9 @@ exports.PERMISSIONS = {
658
662
  // ANALYTICS
659
663
  // ============================================
660
664
  ANALYTICS: {
661
- METADATA: {
662
- VIEW: "analytics.metadata.view",
663
- },
664
- REPORTS: {
665
- VIEW: "analytics.reports.view",
666
- CREATE: "analytics.reports.create",
667
- UPDATE: "analytics.reports.update",
668
- DELETE: "analytics.reports.delete",
669
- EXECUTE: "analytics.reports.execute",
670
- },
671
- TEMPLATES: {
672
- VIEW: "analytics.templates.view",
673
- CREATE: "analytics.templates.create",
674
- UPDATE: "analytics.templates.update",
675
- DELETE: "analytics.templates.delete",
665
+ OPERATIONS: {
666
+ VIEW: "analytics.operations.view",
667
+ MANAGE: "analytics.operations.manage",
676
668
  },
677
669
  },
678
670
  // ============================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos-dev-team/dealernode-permissions",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "description": "Shared permissions constants for dealernode projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -345,6 +345,10 @@ export const PERMISSIONS = {
345
345
  // PAYMENT
346
346
  // ============================================
347
347
  PAYMENT: {
348
+ OPERATIONS: {
349
+ VIEW: "payment.operations.view",
350
+ MANAGE: "payment.operations.manage",
351
+ },
348
352
  CONNECTED_ACCOUNT: {
349
353
  VIEW: "payment.connected-account.view",
350
354
  CREATE: "payment.connected-account.create",
@@ -678,21 +682,9 @@ export const PERMISSIONS = {
678
682
  // ANALYTICS
679
683
  // ============================================
680
684
  ANALYTICS: {
681
- METADATA: {
682
- VIEW: "analytics.metadata.view",
683
- },
684
- REPORTS: {
685
- VIEW: "analytics.reports.view",
686
- CREATE: "analytics.reports.create",
687
- UPDATE: "analytics.reports.update",
688
- DELETE: "analytics.reports.delete",
689
- EXECUTE: "analytics.reports.execute",
690
- },
691
- TEMPLATES: {
692
- VIEW: "analytics.templates.view",
693
- CREATE: "analytics.templates.create",
694
- UPDATE: "analytics.templates.update",
695
- DELETE: "analytics.templates.delete",
685
+ OPERATIONS: {
686
+ VIEW: "analytics.operations.view",
687
+ MANAGE: "analytics.operations.manage",
696
688
  },
697
689
  },
698
690