@win2win/shared 1.0.172 → 1.0.174

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,3 @@
1
+ export * from "./perfiles";
2
+ export * from "./permisos";
1
3
  export * from "./visitas";
@@ -14,4 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./perfiles"), exports);
18
+ __exportStar(require("./permisos"), exports);
17
19
  __exportStar(require("./visitas"), exports);
@@ -0,0 +1 @@
1
+ export * from "./perfiles";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./perfiles"), exports);
@@ -0,0 +1,4 @@
1
+ export declare const PERFILES: {
2
+ value: number;
3
+ label: string;
4
+ }[];
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PERFILES = void 0;
4
+ exports.PERFILES = [
5
+ { value: 1, label: "Administrador/a" },
6
+ { value: 2, label: "Vendedor Preventa" },
7
+ { value: 3, label: "Vendedor Autoventa" },
8
+ { value: 4, label: "Repartidor" },
9
+ { value: 5, label: "Organización" },
10
+ { value: 6, label: "Jefe Regional" },
11
+ { value: 7, label: "Administrativos" },
12
+ { value: 8, label: "Administrativos Delegacion" },
13
+ { value: 9, label: "Televenta" },
14
+ { value: 10, label: "Captador" },
15
+ { value: 11, label: "Dirección comercial" },
16
+ { value: 12, label: "Key Account" },
17
+ { value: 13, label: "Comerciales" },
18
+ { value: 14, label: "Ejecutivo telefónico" },
19
+ { value: 15, label: "Analista de validación" },
20
+ { value: 16, label: "Gerente" },
21
+ { value: 17, label: "Promotor" },
22
+ { value: 18, label: "Supervisor" },
23
+ { value: 19, label: "Proveedor" },
24
+ { value: 20, label: "Cliente" },
25
+ { value: 21, label: "Candidato" },
26
+ { value: 22, label: "Analista" },
27
+ ];
@@ -0,0 +1 @@
1
+ export * from "./permisos";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./permisos"), exports);
@@ -0,0 +1,11 @@
1
+ export declare const PERMISOS: ({
2
+ value: number;
3
+ label: string;
4
+ meta?: undefined;
5
+ } | {
6
+ value: number;
7
+ label: string;
8
+ meta: {
9
+ profile: boolean;
10
+ };
11
+ })[];
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PERMISOS = void 0;
4
+ exports.PERMISOS = [
5
+ { value: 1, label: "ADMIN" },
6
+ { value: 2, label: "Roles y Permisos" },
7
+ { value: 3, label: "Agregar Rol" },
8
+ { value: 5, label: "CRM" },
9
+ { value: 6, label: "CONTRACT" },
10
+ { value: 7, label: "B2B" },
11
+ { value: 8, label: "TRANSPORT" },
12
+ { value: 10, label: "Clientes" },
13
+ { value: 11, label: "Promociones" },
14
+ { value: 12, label: "Pedidos" },
15
+ { value: 13, label: "Visitas" },
16
+ { value: 14, label: "Captaciones" },
17
+ { value: 15, label: "Cobros de Efectos Pendientes" },
18
+ { value: 16, label: "Artículos" },
19
+ { value: 33, label: "Alternar estado de implementación" },
20
+ { value: 34, label: "Eliminar Rol" },
21
+ { value: 35, label: "Clientes" },
22
+ { value: 37, label: "Descargar XLS" },
23
+ { value: 41, label: "Mi Perfil" },
24
+ { value: 42, label: "Recursos Humanos" },
25
+ { value: 43, label: "Rutas Clientes" },
26
+ { value: 44, label: "Rutas Captaciones" },
27
+ { value: 45, label: "Artículos Foco" },
28
+ { value: 46, label: "Delegaciones" },
29
+ { value: 47, label: "Líneas de Mercado" },
30
+ { value: 48, label: "Parámetros" },
31
+ { value: 49, label: "Competencias" },
32
+ { value: 50, label: "Tipos de Distribución" },
33
+ { value: 51, label: "Neveras" },
34
+ { value: 52, label: "Agregar usuario" },
35
+ { value: 53, label: "Descargar XLS" },
36
+ { value: 54, label: "Detalle de Usuario" },
37
+ { value: 55, label: "Datos de Acceso" },
38
+ { value: 56, label: "Datos de usuario" },
39
+ { value: 57, label: "Organizaciónes" },
40
+ { value: 58, label: "Tipos de Distribución" },
41
+ { value: 59, label: "Captaciones" },
42
+ { value: 60, label: "Agregar captación" },
43
+ { value: 61, label: "Asignaciones" },
44
+ { value: 62, label: "Agregar Tipo de Distribución" },
45
+ { value: 63, label: "Eliminar Tipo de Distribución" },
46
+ { value: 64, label: "Quitar organizaciónes" },
47
+ { value: 65, label: "Vincular organización" },
48
+ { value: 66, label: "Editar datos" },
49
+ { value: 67, label: "Descargar XLS" },
50
+ { value: 68, label: "Datos Generales" },
51
+ { value: 69, label: "Editar datos" },
52
+ { value: 71, label: "Cache Cli" },
53
+ { value: 72, label: "Tipos de Distribución" },
54
+ { value: 73, label: "Pedidos" },
55
+ { value: 74, label: "Promociones" },
56
+ { value: 75, label: "Visitas" },
57
+ { value: 76, label: "Frecuencias" },
58
+ { value: 77, label: "Neveras" },
59
+ { value: 78, label: "Contactos" },
60
+ { value: 79, label: "Efectos Pendientes" },
61
+ { value: 80, label: "Distribuidor" },
62
+ { value: 81, label: "Agregar contacto" },
63
+ { value: 82, label: "Agregar solicitud" },
64
+ { value: 83, label: "Agregar promoción" },
65
+ { value: 84, label: "Ampliar y editar promoción" },
66
+ { value: 85, label: "Aprobar pedidos" },
67
+ { value: 86, label: "Forzar envío a M3" },
68
+ { value: 87, label: "Descargar XLS" },
69
+ { value: 88, label: "Fecha del pedido" },
70
+ { value: 89, label: "Editar pedido" },
71
+ { value: 90, label: "Aprobar pedido" },
72
+ { value: 91, label: "Modificar artículos" },
73
+ { value: 92, label: "Agregar captación" },
74
+ { value: 93, label: "Asignaciones de captaciones" },
75
+ { value: 94, label: "Detalle de captación" },
76
+ { value: 95, label: "Editar captación" },
77
+ { value: 96, label: "Agregar visita" },
78
+ { value: 97, label: "Publicar cobros en M3" },
79
+ { value: 98, label: "Cambio de estado Manual" },
80
+ { value: 99, label: "Sincronizar" },
81
+ { value: 100, label: "Detalle de cobro" },
82
+ { value: 101, label: "Agregar Ruta" },
83
+ { value: 102, label: "Agregar Zona" },
84
+ { value: 103, label: "Reasignación atemporal" },
85
+ { value: 104, label: "Rutas" },
86
+ { value: 105, label: "Zonas" },
87
+ { value: 106, label: "Cambiar vendedor" },
88
+ { value: 107, label: "Editar ruta" },
89
+ { value: 108, label: "Cambiar zona de ruta" },
90
+ { value: 109, label: "Cambiar zona de ruta" },
91
+ { value: 110, label: "Editar zona" },
92
+ { value: 111, label: "Cambiar cliente de zona" },
93
+ { value: 112, label: "Agregar Artículo Foco" },
94
+ { value: 113, label: "Agregar delegación" },
95
+ { value: 114, label: "Detalle de delegación" },
96
+ { value: 115, label: "Editar delegación" },
97
+ { value: 116, label: "Agregar relacion almacén con tipo de distribución" },
98
+ { value: 117, label: "Eliminar relacion almacén con tipo de distribución" },
99
+ { value: 118, label: "Agregar competencia" },
100
+ { value: 119, label: "Detalle competencia" },
101
+ { value: 120, label: "Editar competencia" },
102
+ { value: 121, label: "Descargar XLS" },
103
+ { value: 122, label: "Detalle Tipo de Distribución" },
104
+ { value: 123, label: "Cierre Diario Comercial" },
105
+ { value: 124, label: "Cierre Diario Jefe Equipo" },
106
+ { value: 125, label: "Visitas" },
107
+ { value: 126, label: "Captación" },
108
+ { value: 127, label: "Pedidos" },
109
+ { value: 129, label: "PERMISO ROL" },
110
+ { value: 130, label: "Jefe de equipo/Organizador", meta: { profile: true } },
111
+ { value: 131, label: "Preventa", meta: { profile: true } },
112
+ { value: 133, label: "Administrador", meta: { profile: true } },
113
+ { value: 134, label: "Repartidor", meta: { profile: true } },
114
+ { value: 135, label: "Jefe Regional", meta: { profile: true } },
115
+ { value: 162, label: "Captador", meta: { profile: true } },
116
+ { value: 172, label: "Key Account", meta: { profile: true } },
117
+ { value: 202, label: "Gerente", meta: { profile: true } },
118
+ { value: 203, label: "Promotor", meta: { profile: true } },
119
+ { value: 204, label: "Supervisor", meta: { profile: true } },
120
+ { value: 234, label: "Comercial_Contract", meta: { profile: true } },
121
+ { value: 237, label: "Organizador", meta: { profile: true } },
122
+ { value: 266, label: "Proveedor", meta: { profile: true } },
123
+ { value: 269, label: "Cliente", meta: { profile: true } },
124
+ { value: 278, label: "Candidato", meta: { profile: true } },
125
+ { value: 999, label: "Superadmin", meta: { profile: true } },
126
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.172",
3
+ "version": "1.0.174",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",