@win2win/shared 1.0.280 → 1.0.282

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.
@@ -5,4 +5,8 @@ export declare enum TiposIncidencia {
5
5
  FORMULARIO = "formulario",
6
6
  LOCALIZACION = "localizacion"
7
7
  }
8
+ export declare const TIPOS_INCIDENCIA: readonly {
9
+ label: string;
10
+ value: TiposIncidencia;
11
+ }[];
8
12
  export declare const DEFAULT_REASONS_INCIDENCIA: Record<TiposIncidencia, string[]>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_REASONS_INCIDENCIA = exports.TiposIncidencia = void 0;
3
+ exports.DEFAULT_REASONS_INCIDENCIA = exports.TIPOS_INCIDENCIA = exports.TiposIncidencia = void 0;
4
4
  var TiposIncidencia;
5
5
  (function (TiposIncidencia) {
6
6
  TiposIncidencia["DOCUMENTACION"] = "documentacion";
@@ -9,6 +9,13 @@ var TiposIncidencia;
9
9
  TiposIncidencia["FORMULARIO"] = "formulario";
10
10
  TiposIncidencia["LOCALIZACION"] = "localizacion";
11
11
  })(TiposIncidencia || (exports.TiposIncidencia = TiposIncidencia = {}));
12
+ exports.TIPOS_INCIDENCIA = Object.freeze([
13
+ { label: "Documentación", value: TiposIncidencia.DOCUMENTACION },
14
+ { label: "Resultado de llamada", value: TiposIncidencia.AUDIO_LLAMADAS },
15
+ { label: "Datos de contacto", value: TiposIncidencia.DATOS_CONTACTO },
16
+ { label: "Formulario", value: TiposIncidencia.FORMULARIO },
17
+ { label: "Localización", value: TiposIncidencia.LOCALIZACION },
18
+ ]);
12
19
  exports.DEFAULT_REASONS_INCIDENCIA = Object.freeze({
13
20
  [TiposIncidencia.DOCUMENTACION]: [
14
21
  "Falta de documento",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.280",
3
+ "version": "1.0.282",
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",