@win2win/shared 1.0.172 → 1.0.173

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,4 @@
1
+ export declare const PERMISOS: {
2
+ value: number;
3
+ label: string;
4
+ }[];
@@ -0,0 +1,246 @@
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" },
111
+ { value: 131, label: "Preventa" },
112
+ { value: 132, label: "Televenta" },
113
+ { value: 133, label: "Administrador" },
114
+ { value: 134, label: "Repartidor" },
115
+ { value: 135, label: "Jefe Regional" },
116
+ { value: 137, label: "Editar Artículo Foco" },
117
+ { value: 138, label: "Acceder" },
118
+ { value: 139, label: "Acceder" },
119
+ { value: 140, label: "Acceder" },
120
+ { value: 141, label: "Acceder" },
121
+ { value: 142, label: "PERMISO DELEGACIONES" },
122
+ { value: 143, label: "Todas" },
123
+ { value: 144, label: "Las de su region" },
124
+ { value: 145, label: "Solo la suya" },
125
+ { value: 146, label: "Solicitudes" },
126
+ { value: 148, label: "Editar visitas" },
127
+ { value: 149, label: "Ver visitas" },
128
+ { value: 151, label: "Ver todas las delegaciones" },
129
+ { value: 152, label: "Informes" },
130
+ { value: 158, label: "Detalle Cliente" },
131
+ { value: 160, label: "Condiciones comerciales" },
132
+ { value: 162, label: "Captador" },
133
+ { value: 163, label: "Seguimiento Cond. Comerciales" },
134
+ { value: 164, label: "Autorizacion de cond. comerciales" },
135
+ { value: 165, label: "Aceptar/Rechazar solicitud" },
136
+ { value: 166, label: "Autorizacion DTOS" },
137
+ { value: 167, label: "Artículos" },
138
+ { value: 168, label: "Negociación" },
139
+ { value: 169, label: "Solicitudes de neveras" },
140
+ { value: 170, label: "Permisos adicionales" },
141
+ { value: 171, label: "Asignar permiso" },
142
+ { value: 172, label: "Key Account" },
143
+ { value: 173, label: "Visitas Key Account" },
144
+ { value: 176, label: "Detalle de captación" },
145
+ { value: 177, label: "Asignación de captaciónes" },
146
+ { value: 179, label: "Agregar captación" },
147
+ { value: 180, label: "Editar captación" },
148
+ { value: 181, label: "Agregar Visita" },
149
+ { value: 182, label: "Detalle Cliente" },
150
+ { value: 183, label: "Datos Generales" },
151
+ { value: 184, label: "Cache Cli" },
152
+ { value: 185, label: "Tipos de Distribución" },
153
+ { value: 186, label: "Pedidos" },
154
+ { value: 187, label: "Promociónes" },
155
+ { value: 188, label: "Visitas" },
156
+ { value: 189, label: "Frecuencias" },
157
+ { value: 190, label: "Neveras" },
158
+ { value: 191, label: "Contactos" },
159
+ { value: 192, label: "Efectos Pendientes" },
160
+ { value: 193, label: "Distribuidor" },
161
+ { value: 194, label: "Pedido Simulado" },
162
+ { value: 195, label: "Condiciones comerciales" },
163
+ { value: 196, label: "Agregar condiciones comerciales" },
164
+ { value: 197, label: "Agregar Cond. Comerciales" },
165
+ { value: 198, label: "Anular pedido" },
166
+ { value: 199, label: "Modificar pedido" },
167
+ { value: 200, label: "Visitas Repartidor" },
168
+ { value: 201, label: "Ingresos" },
169
+ { value: 202, label: "Gerente" },
170
+ { value: 203, label: "Promotor" },
171
+ { value: 204, label: "Supervisor" },
172
+ { value: 205, label: "Candidatos" },
173
+ { value: 206, label: "Ver candidatos" },
174
+ { value: 207, label: "Agregar candidatos" },
175
+ { value: 208, label: "Ofertas" },
176
+ { value: 209, label: "Organizaciones y gerencias" },
177
+ { value: 210, label: "Organizaciones" },
178
+ { value: 211, label: "Agregar organizacion" },
179
+ { value: 212, label: "Zona gerencias" },
180
+ { value: 213, label: "Agregar zona gerencias" },
181
+ { value: 214, label: "Gerencias" },
182
+ { value: 215, label: "Agregar gerencias" },
183
+ { value: 216, label: "Pagos" },
184
+ { value: 217, label: "Métodos de pago" },
185
+ { value: 218, label: "Agregar métodos de pago" },
186
+ { value: 219, label: "Formas de pago" },
187
+ { value: 220, label: "Agregar formas de pago" },
188
+ { value: 221, label: "Códigos de IVA" },
189
+ { value: 222, label: "Agregar IVA" },
190
+ { value: 223, label: "Condiciones de pago" },
191
+ { value: 224, label: "Agregar condición de pago" },
192
+ { value: 225, label: "Tipos de documentación" },
193
+ { value: 226, label: "Agregar tipo de documentación" },
194
+ { value: 227, label: "Tags" },
195
+ { value: 228, label: "Agregar tags" },
196
+ { value: 229, label: "Editar candidatos" },
197
+ { value: 230, label: "Rechazar canidatos" },
198
+ { value: 231, label: "Almacenes" },
199
+ { value: 232, label: "Agregar Almacenes" },
200
+ { value: 233, label: "Procesar candidatos" },
201
+ { value: 234, label: "Comercial_Contract" },
202
+ { value: 235, label: "Ver todos los candidatos" },
203
+ { value: 236, label: "Ver todas las gerencias" },
204
+ { value: 237, label: "Organizador" },
205
+ { value: 238, label: "Estrategias" },
206
+ { value: 239, label: "Ver estrategias" },
207
+ { value: 240, label: "Agregar estrategias" },
208
+ { value: 241, label: "Editar datos usuario" },
209
+ { value: 242, label: "Descargar documentación" },
210
+ { value: 243, label: "Crear contrato" },
211
+ { value: 244, label: "Cancelar contrato" },
212
+ { value: 245, label: "Contratos" },
213
+ { value: 246, label: "Editar perfil" },
214
+ { value: 247, label: "Subir documentos" },
215
+ { value: 248, label: "Speech" },
216
+ { value: 249, label: "Preguntas speech" },
217
+ { value: 250, label: "Comisiones" },
218
+ { value: 251, label: "Liquidaciones" },
219
+ { value: 252, label: "Gestión de notificaciones" },
220
+ { value: 253, label: "Verificar documentación" },
221
+ { value: 254, label: "Generar incidencia" },
222
+ { value: 255, label: "Acceder" },
223
+ { value: 256, label: "Call center" },
224
+ { value: 257, label: "Mi día (Estadisticas)" },
225
+ { value: 258, label: "Liquidación" },
226
+ { value: 259, label: "Mi día" },
227
+ { value: 260, label: "Contratos" },
228
+ { value: 262, label: "Configuración" },
229
+ { value: 263, label: "Direcciones de gerencia" },
230
+ { value: 264, label: "Paises" },
231
+ { value: 265, label: "Zonas" },
232
+ { value: 266, label: "Proveedor" },
233
+ { value: 267, label: "Gamas" },
234
+ { value: 268, label: "Subgamas" },
235
+ { value: 269, label: "Cliente" },
236
+ { value: 270, label: "Tipos Captaciones" },
237
+ { value: 271, label: "Marketing" },
238
+ { value: 272, label: "Mis liquidaciones" },
239
+ { value: 273, label: "Proveedores" },
240
+ { value: 278, label: "Candidato" },
241
+ { value: 279, label: "Productos" },
242
+ { value: 280, label: "Usuarios" },
243
+ { value: 281, label: "Escaparates" },
244
+ { value: 999, label: "Superadmin" },
245
+ ];
246
+ // TODO: agregar permisos anidados tambien aqui
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.172",
3
+ "version": "1.0.173",
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",