@mamindom/common 1.0.113 → 1.0.115

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.
@@ -26,7 +26,7 @@ export declare const GRPC_CLIENTS: {
26
26
  };
27
27
  readonly CATALOG_PACKAGE: {
28
28
  readonly package: "catalog.v1";
29
- readonly protoPath: readonly [string, string, string, string, string, string, string, string, string, string, string, string, string, string];
29
+ readonly protoPath: readonly [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
30
30
  readonly env: "CATALOG_GRPC_URL";
31
31
  };
32
32
  readonly MEDIA_PACKAGE: {
@@ -44,7 +44,8 @@ exports.GRPC_CLIENTS = {
44
44
  contracts_1.PROTO_PATHS.SEARCH,
45
45
  contracts_1.PROTO_PATHS.SEO_FILTER,
46
46
  contracts_1.PROTO_PATHS.PICKUP,
47
- contracts_1.PROTO_PATHS.PRODUCT_REVIEW
47
+ contracts_1.PROTO_PATHS.PRODUCT_REVIEW,
48
+ contracts_1.PROTO_PATHS.WAREHOUSE
48
49
  ],
49
50
  env: 'CATALOG_GRPC_URL'
50
51
  },
@@ -208,6 +208,22 @@ exports.PERMISSION_GROUPS = [
208
208
  }
209
209
  ]
210
210
  },
211
+ {
212
+ key: 'integrations',
213
+ label: 'Інтеграції',
214
+ permissions: [
215
+ {
216
+ key: 'integrations.view',
217
+ groupKey: 'integrations',
218
+ label: 'Перегляд журналу синхронізації 1С'
219
+ },
220
+ {
221
+ key: 'integrations.manage',
222
+ groupKey: 'integrations',
223
+ label: 'Повторна обробка пакетів синхронізації (replay)'
224
+ }
225
+ ]
226
+ },
211
227
  {
212
228
  key: 'system',
213
229
  label: 'Система',
@@ -293,6 +309,7 @@ exports.SYSTEM_ROLE_DEFAULTS = {
293
309
  'reviews.view',
294
310
  'reviews.moderate',
295
311
  'products.view',
312
+ 'integrations.view',
296
313
  'reports.view'
297
314
  ]
298
315
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mamindom/common",
3
- "version": "1.0.113",
3
+ "version": "1.0.115",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "typescript": "^5.9.3"
22
22
  },
23
23
  "dependencies": {
24
- "@mamindom/contracts": "^1.0.144",
24
+ "@mamindom/contracts": "^1.0.146",
25
25
  "@nestjs/common": "^11.1.16",
26
26
  "@nestjs/config": "^4.0.3",
27
27
  "@nestjs/microservices": "^11.1.16"