@denevads/dnv-smo 1.0.28 → 1.0.30

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.
@@ -2,8 +2,8 @@
2
2
  <module type="WEB_MODULE" version="4">
3
3
  <component name="NewModuleRootManager">
4
4
  <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
5
  <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
7
  <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
8
  </content>
9
9
  <orderEntry type="inheritedJdk" />
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="JSConstantReassignment" enabled="false" level="ERROR" enabled_by_default="false" />
5
+ </profile>
6
+ </component>
package/README.md CHANGED
@@ -1,84 +1,84 @@
1
- #Introducción
2
- Librería de interfaz de comunicaciones entre un objeto HTML5 y las funciones de un player de DenevaDS.
1
+ # Introduction
2
+ Communication interface library between an HTML5 object and the functions of a Digital Signage Player from DenevaDS CMS.
3
3
 
4
- Aquí definiremos el uso de la librería y las funciones que la misma provee
4
+ Here we define the use of the library and the functions provided by the library
5
5
 
6
6
 
7
- # Instalación
8
- La librería esta pensada para ser usada junto con Angular, de manera que si no contamos con el cli de angular en el sistema conviene instalarlo para inicializar el proyecto.
7
+ # Instalation
8
+ The library is intended to be used together with Angular, so if we do not have the Angular CLI in the system it is convenient to install it to initialize the project.
9
9
  ```sh
10
10
  npm install -g @angular/cli
11
11
  ```
12
- Inicializamos un proyecto de prueba llamado html-deneva en la ruta en la que estemos.
12
+ We start a test project called html-deneva in the path we are in.
13
13
  ```sh
14
14
  ng new html-deneva
15
15
  ```
16
- Una vez que ya tenemos la estructura básica del proyecto podemos instalar la librería en el proyecto ejecutando la siguiente liena dentro de la carpeta del mismo:
16
+ Once we have the basic structure of the project we can install the library in the project by executing the following line inside the project folder:
17
17
  ```sh
18
18
  npm install @denevads/dnv-smo
19
19
  ```
20
20
 
21
- # Inicialización
21
+ # Initialization
22
22
 
23
- Una vez que tengamos el proyecto de angular inicializado, procedemos importar el módulo.
23
+ Once we have the Angular project initialized, we proceed to import the module.
24
24
 
25
- Dentro de la definición del app.module en la carpeta app, importamos la librería.
25
+ Inside the app.module definition in the app folder, we import the library.
26
26
  ```ts
27
27
  import { SMO } from '@denevads/dnv-smo/dist/smo';
28
28
  ```
29
- y lo añadimos como provider en @NgModule
29
+ and then add it as a provider in @NgModule
30
30
  ```ts
31
31
  providers: [SMO]
32
32
  ```
33
33
 
34
- Ahora ya solo bastaría con añadirlo al componente del angular y empezar a usarlo.
34
+ Now all you have to do is add it to the Angular component and start using it.
35
35
 
36
- De nuevo en app.component importamos la librería
36
+ Again in app.component we import the library
37
37
  ```js
38
38
  import { LogLevel, SMO } from '@denevads/dnv-smo/dist/smo'
39
39
  ```
40
- Y en la exportación de la clase AppComponent añadimos el constructor
40
+ And in the export of the AppComponent class, we add the constructor
41
41
  ```js
42
42
  constructor(private smo:SMO){ }
43
43
  ```
44
- De esta manera ya tendríamos disponible para su uso todas las llamadas que aporta la librería usando
44
+ In this way we would already have available for use all the calls provided by the library using
45
45
  ```js
46
46
  this.smo.
47
47
  ```
48
- También en la importacion hemos traído la enumeración de los niveles de log, que sirven para loggear en el disco del equipo.
49
- El uso sería de la siguiente forma.
48
+ Also in the import we have brought the enumeration of the log levels, which are used to log in the local storage.
49
+ The usage would be as follows:
50
50
  ```js
51
- this.smo.smoCallBacks.smoLog('Mensaje de prueba',LogLevel.Info);
51
+ this.smo.smoCallBacks.smoLog('Test Message',LogLevel.Info);
52
52
  ```
53
53
 
54
- # Compilación y empaquetado.
54
+ # Compilation and packaging.
55
55
 
56
- Para que el proyecto pueda funcionar en un equipo sin problemas hay que hacer un par de cambios en el código del proyecto por defecto.
56
+ In order for the project to run on a computer without problems, a couple of changes must be made to the default project code.
57
57
 
58
- El primero de ellos es modificar el tsconfig.json para que el "target" sea "ES5" en lugar de "ES2022"
58
+ The first one is to modify the tsconfig.json so that the "target" is "ES5" instead of "ES2022".
59
59
 
60
60
 
61
- Y el segundo cambio es en archivo de index. Aquí haremos dos cosas.
62
- -Borraremos la importación del favicon (además de borrarlo de la carpeta de archivos).
63
- -Y cambiamos la línea
61
+ And the second change is in the index file. Here we will do two things:
62
+ -Delete the favicon import (in addition to deleting it from the file folder).
63
+ -And we change the line
64
64
  ```html
65
65
  <base href="/">
66
66
  ```
67
- por
67
+ to
68
68
  ```html
69
69
  <script>document.write('<base href="' + document.location + '" />');</script>
70
70
  ```
71
- Con estos cambios hechos, podemos compilar el proyecto ejecutando la línea
71
+ With these changes made, we can compile the project by executing the command line
72
72
  ```sh
73
73
  ng b
74
74
  ```
75
- Esto nos generara una carpeta dist, con el contenido de nuestro HTML5 compilado.
75
+ This will generate a dist folder with the content of our compiled HTML5.
76
76
 
77
- Para poder subirlo al player de deneva, simplemente tenemos que crear un zip con el contenido en la raíz, y le cambiaremos la extensión por
77
+ In order to upload it to the deneva player, we simply have to create a zip with the content in the root, and change the extension to
78
78
  ```sh
79
79
  .wgt
80
80
  ```
81
81
 
82
82
  npm run build
83
83
  npm login
84
- npm publish
84
+ npm publish
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./";
1
+ export * from "./";
package/dist/index.js CHANGED
@@ -1,17 +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("./"), exports);
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("./"), exports);
@@ -1,65 +1,65 @@
1
- export interface setDatasource {
2
- xml: string;
3
- }
4
- export interface start {
5
- }
6
- export interface variable {
7
- variable: string;
8
- valor: string;
9
- }
10
- export interface location {
11
- top: string;
12
- left: string;
13
- width: string;
14
- height: string;
15
- }
16
- export interface Slide {
17
- codigo: string;
18
- idioma: string;
19
- denominacion: string;
20
- hash: string;
21
- }
22
- export interface DataSalida {
23
- dataKey: string;
24
- data: Slide[];
25
- }
26
- export interface ExecFunction {
27
- funcion: string;
28
- params: string;
29
- }
30
- export interface Notify {
31
- destion: string;
32
- value: any;
33
- }
34
- export interface GetRecursosByCodigo {
35
- recursos?: Recurso[];
36
- }
37
- export interface GetRecursos {
38
- codigo: number;
39
- fechaInicio: string;
40
- fechaFin: string;
41
- recursos?: [];
42
- canales?: Canal[];
43
- }
44
- export interface Canal {
45
- codigo: number;
46
- pases: number;
47
- recursos: Recurso[];
48
- }
49
- export interface GetRecursosRelleno {
50
- codigo: number;
51
- recursos: Recurso[];
52
- }
53
- export interface Recurso {
54
- codigo: number;
55
- url: string;
56
- duracion: number;
57
- tipo: number;
58
- disponible: boolean;
59
- vigencia_inicio: string;
60
- vigencia_fin: string;
61
- hora_inicio: string;
62
- hora_fin: string;
63
- dias: string;
64
- nombre: string;
65
- }
1
+ export interface setDatasource {
2
+ xml: string;
3
+ }
4
+ export interface start {
5
+ }
6
+ export interface variable {
7
+ variable: string;
8
+ valor: string;
9
+ }
10
+ export interface location {
11
+ top: string;
12
+ left: string;
13
+ width: string;
14
+ height: string;
15
+ }
16
+ export interface Slide {
17
+ codigo: string;
18
+ idioma: string;
19
+ denominacion: string;
20
+ hash: string;
21
+ }
22
+ export interface DataSalida {
23
+ dataKey: string;
24
+ data: Slide[];
25
+ }
26
+ export interface ExecFunction {
27
+ funcion: string;
28
+ params: string;
29
+ }
30
+ export interface Notify {
31
+ destion: string;
32
+ value: any;
33
+ }
34
+ export interface GetRecursosByCodigo {
35
+ recursos?: Recurso[];
36
+ }
37
+ export interface GetRecursos {
38
+ codigo: number;
39
+ fechaInicio: string;
40
+ fechaFin: string;
41
+ recursos?: [];
42
+ canales?: Canal[];
43
+ }
44
+ export interface Canal {
45
+ codigo: number;
46
+ pases: number;
47
+ recursos: Recurso[];
48
+ }
49
+ export interface GetRecursosRelleno {
50
+ codigo: number;
51
+ recursos: Recurso[];
52
+ }
53
+ export interface Recurso {
54
+ codigo: number;
55
+ url: string;
56
+ duracion: number;
57
+ tipo: number;
58
+ disponible: boolean;
59
+ vigencia_inicio: string;
60
+ vigencia_fin: string;
61
+ hora_inicio: string;
62
+ hora_fin: string;
63
+ dias: string;
64
+ nombre: string;
65
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/smo.d.ts CHANGED
@@ -1,168 +1,168 @@
1
- import { setDatasource, variable, location, DataSalida, ExecFunction, Notify, start, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno } from "./interfaces/callbacks";
2
- import { Subject } from 'rxjs';
3
- export declare class SMO {
4
- vars: any;
5
- id: string;
6
- private intervalsubscriptionDataSource;
7
- intervalDataSource$: import("rxjs").Observable<number>;
8
- smoCallBacks: smoCallBacks;
9
- utils: Utils;
10
- events: SmoEvents;
11
- constructor();
12
- init(): void;
13
- initOnMessage(): void;
14
- start(): void;
15
- setDatasource(datasource: setDatasource): void;
16
- getVariable(variable: variable): void;
17
- setCurrentStream(stream: string): void;
18
- infoCurrentLocation(location: location): void;
19
- setSalidaData(data: DataSalida): void;
20
- updatefromsalida(data: any): void;
21
- getRecursosByCodigo(data: GetRecursosByCodigo): void;
22
- getRecursos(data: GetRecursos): void;
23
- getRecursosDefault(data: GetRecursos): void;
24
- getRecursosRelleno(data: GetRecursosRelleno): void;
25
- getVariableStorage(variable: variable): void;
26
- checkHealth(json: string): void;
27
- checkHealthPrinter(json: string): void;
28
- }
29
- declare class SmoEvents {
30
- start: Subject<start>;
31
- setDatasource: Subject<setDatasource>;
32
- setDatasourceJson: Subject<any>;
33
- getVariable: Subject<variable>;
34
- setCurrentStream: Subject<string>;
35
- infoCurrentLocation: Subject<location>;
36
- setSalidaData: Subject<DataSalida>;
37
- updatefromsalida: Subject<any>;
38
- getRecursosByCodigo: Subject<GetRecursosByCodigo>;
39
- getRecursos: Subject<GetRecursos>;
40
- getRecursosDefault: Subject<GetRecursos>;
41
- getRecursosRelleno: Subject<GetRecursosRelleno>;
42
- getVariableStorage: Subject<variable>;
43
- checkHealth: Subject<string>;
44
- checkHealthPrinter: Subject<string>;
45
- constructor(smo: SMO);
46
- }
47
- declare class smoCallBacks {
48
- smo: SMO;
49
- constructor(_smo: SMO);
50
- onSmoLoad(): void;
51
- onSmoReady(): void;
52
- smoLog(msn: string, level: LogLevel): void;
53
- smoAlarma(msn: string, level: AlarmaLevel): void;
54
- smoLogStash(msn: string): void;
55
- smoLogNowShowing(msn: any): void;
56
- reiniciarDispositivo(msn: string): void;
57
- urlNext(): void;
58
- exitInteractivity(): void;
59
- showBrowser(): void;
60
- closeBrowser(): void;
61
- urlNextDirectamente(): void;
62
- setVariable(variable: string, valor: string): void;
63
- getVariable(variable: string): void;
64
- getFile(file: string): void;
65
- setLocalData(variable: string, valor: string): void;
66
- getLocalData(variable: string): void;
67
- getCurrentStream(): void;
68
- finAviso(id: string): void;
69
- refreshDatasource(codigo: string): void;
70
- getLocation(): void;
71
- getSalidaData(data: string): void;
72
- ejecutaFuncion(data: ExecFunction): void;
73
- addObserver(data: string): void;
74
- notify(data: Notify): void;
75
- playOnceChannelByTrigger(trigger: string): void;
76
- stopPlayOnceChannelByTrigger(): void;
77
- playOnceChannel(codigoCanal: string): void;
78
- stopPlayChannel(): void;
79
- editWrapperStyle(obj: any): void;
80
- getRecursosByCodigo(codigos: any): void;
81
- getRecursos(): void;
82
- getRecursosDefault(): void;
83
- getRecursosRelleno(): void;
84
- setVariableStorage(variable: string, valor: string): void;
85
- getVariableStorage(variable: string): void;
86
- printTextLine(txt: string): void;
87
- printBarcode(code: string, width: number, height: number): void;
88
- cutPaper(percent: number): void;
89
- checkHealth(): void;
90
- checkHealthPrinter(): void;
91
- printImage(image: string): void;
92
- }
93
- declare class Utils {
94
- smo: SMO;
95
- smoCallBacks: smoCallBacks;
96
- constructor(_smo: SMO, _smoCallBacks: smoCallBacks);
97
- xmlToJSON(xml: string): string;
98
- jsonToStr(js_obj: any): string;
99
- sendToParent(obj: any, dest: string): void;
100
- setJsonObj(xml: any): any;
101
- dataToJSON(data: setDatasource): any;
102
- }
103
- export declare enum SMO_EVENT_TYPE {
104
- start = "start",
105
- setDatasource = "setDatasource",
106
- getVariable = "getVariable",
107
- setCurrentStream = "setCurrentStream",
108
- infoCurrentLocation = "infoCurrentLocation",
109
- setSalidaData = "setSalidaData",
110
- updatefromsalida = "updatefromsalida",
111
- setDatasourceJson = "setDatasourceJson",
112
- getRecursosByCodigo = "getRecursosByCodigo",
113
- getRecursos = "getRecursos",
114
- getRecursosDefault = "getRecursosDefault",
115
- getRecursosRelleno = "getRecursosRelleno",
116
- getVariableStorage = "getVariableStorage",
117
- checkHealth = "checkHealth",
118
- checkHealthPrinter = "checkHealthPrinter"
119
- }
120
- export declare enum LogLevel {
121
- Debug = 0,
122
- Info = 1,
123
- Warning = 2,
124
- Error = 3
125
- }
126
- export declare enum AlarmaLevel {
127
- Ok_off = 0,
128
- Ok = 1,
129
- Scanning = 2,
130
- Timeout = 3,
131
- Warning = 4,
132
- Error = 5
133
- }
134
- export interface ObjJSType {
135
- urlNext: () => void;
136
- limpiaCapa: () => void;
137
- logFlash: () => void;
138
- pageInit: () => void;
139
- finAviso: () => void;
140
- exitInteractivity: () => void;
141
- logWeb: () => void;
142
- refreshPage: () => void;
143
- refreshPageByError: () => void;
144
- refreshPageByVideoEvent: () => void;
145
- auditarRecurso: () => void;
146
- initSMO: () => void;
147
- getFile: () => void;
148
- showBrowser: () => void;
149
- closeBrowser: () => void;
150
- refreshDataSource: () => void;
151
- setVariable: () => void;
152
- getVariable: () => void;
153
- getLocation: () => void;
154
- salirApp: () => void;
155
- setLocalData: () => void;
156
- getLocalData: () => void;
157
- getSalidaData: () => void;
158
- ejecutaFuncion: () => void;
159
- addObserver: () => void;
160
- notifyToObservers: () => void;
161
- printTextLine: () => void;
162
- printBarcode: () => void;
163
- cutPaper: () => void;
164
- printImage: () => void;
165
- checkHealthPrinter: () => void;
166
- checkHealth: () => void;
167
- }
168
- export {};
1
+ import { setDatasource, variable, location, DataSalida, ExecFunction, Notify, start, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno } from "./interfaces/callbacks";
2
+ import { Subject } from 'rxjs';
3
+ export declare class SMO {
4
+ vars: any;
5
+ id: string;
6
+ private intervalsubscriptionDataSource;
7
+ intervalDataSource$: import("rxjs").Observable<number>;
8
+ smoCallBacks: smoCallBacks;
9
+ utils: Utils;
10
+ events: SmoEvents;
11
+ constructor();
12
+ init(): void;
13
+ initOnMessage(): void;
14
+ start(): void;
15
+ setDatasource(datasource: setDatasource): void;
16
+ getVariable(variable: variable): void;
17
+ setCurrentStream(stream: string): void;
18
+ infoCurrentLocation(location: location): void;
19
+ setSalidaData(data: DataSalida): void;
20
+ updatefromsalida(data: any): void;
21
+ getRecursosByCodigo(data: GetRecursosByCodigo): void;
22
+ getRecursos(data: GetRecursos): void;
23
+ getRecursosDefault(data: GetRecursos): void;
24
+ getRecursosRelleno(data: GetRecursosRelleno): void;
25
+ getVariableStorage(variable: variable): void;
26
+ checkHealth(json: string): void;
27
+ checkHealthPrinter(json: string): void;
28
+ }
29
+ declare class SmoEvents {
30
+ start: Subject<start>;
31
+ setDatasource: Subject<setDatasource>;
32
+ setDatasourceJson: Subject<any>;
33
+ getVariable: Subject<variable>;
34
+ setCurrentStream: Subject<string>;
35
+ infoCurrentLocation: Subject<location>;
36
+ setSalidaData: Subject<DataSalida>;
37
+ updatefromsalida: Subject<any>;
38
+ getRecursosByCodigo: Subject<GetRecursosByCodigo>;
39
+ getRecursos: Subject<GetRecursos>;
40
+ getRecursosDefault: Subject<GetRecursos>;
41
+ getRecursosRelleno: Subject<GetRecursosRelleno>;
42
+ getVariableStorage: Subject<variable>;
43
+ checkHealth: Subject<string>;
44
+ checkHealthPrinter: Subject<string>;
45
+ constructor(smo: SMO);
46
+ }
47
+ declare class smoCallBacks {
48
+ smo: SMO;
49
+ constructor(_smo: SMO);
50
+ onSmoLoad(): void;
51
+ onSmoReady(): void;
52
+ smoLog(msn: string, level: LogLevel): void;
53
+ smoAlarma(msn: string, level: AlarmaLevel): void;
54
+ smoLogStash(msn: string): void;
55
+ smoLogNowShowing(msn: any): void;
56
+ reiniciarDispositivo(msn: string): void;
57
+ urlNext(): void;
58
+ exitInteractivity(): void;
59
+ showBrowser(): void;
60
+ closeBrowser(): void;
61
+ urlNextDirectamente(): void;
62
+ setVariable(variable: string, valor: string): void;
63
+ getVariable(variable: string): void;
64
+ getFile(file: string): void;
65
+ setLocalData(variable: string, valor: string): void;
66
+ getLocalData(variable: string): void;
67
+ getCurrentStream(): void;
68
+ finAviso(id: string): void;
69
+ refreshDatasource(codigo: string): void;
70
+ getLocation(): void;
71
+ getSalidaData(data: string): void;
72
+ ejecutaFuncion(data: ExecFunction): void;
73
+ addObserver(data: string): void;
74
+ notify(data: Notify): void;
75
+ playOnceChannelByTrigger(trigger: string): void;
76
+ stopPlayOnceChannelByTrigger(): void;
77
+ playOnceChannel(codigoCanal: string): void;
78
+ stopPlayChannel(): void;
79
+ editWrapperStyle(obj: any): void;
80
+ getRecursosByCodigo(codigos: any): void;
81
+ getRecursos(): void;
82
+ getRecursosDefault(): void;
83
+ getRecursosRelleno(): void;
84
+ setVariableStorage(variable: string, valor: string): void;
85
+ getVariableStorage(variable: string): void;
86
+ printTextLine(txt: string): void;
87
+ printBarcode(code: string, width: number, height: number): void;
88
+ cutPaper(percent: number): void;
89
+ checkHealth(): void;
90
+ checkHealthPrinter(): void;
91
+ printImage(image: string): void;
92
+ }
93
+ declare class Utils {
94
+ smo: SMO;
95
+ smoCallBacks: smoCallBacks;
96
+ constructor(_smo: SMO, _smoCallBacks: smoCallBacks);
97
+ xmlToJSON(xml: string): string;
98
+ jsonToStr(js_obj: any): string;
99
+ sendToParent(obj: any, dest: string): void;
100
+ setJsonObj(xml: any): any;
101
+ dataToJSON(data: setDatasource): any;
102
+ }
103
+ export declare enum SMO_EVENT_TYPE {
104
+ start = "start",
105
+ setDatasource = "setDatasource",
106
+ getVariable = "getVariable",
107
+ setCurrentStream = "setCurrentStream",
108
+ infoCurrentLocation = "infoCurrentLocation",
109
+ setSalidaData = "setSalidaData",
110
+ updatefromsalida = "updatefromsalida",
111
+ setDatasourceJson = "setDatasourceJson",
112
+ getRecursosByCodigo = "getRecursosByCodigo",
113
+ getRecursos = "getRecursos",
114
+ getRecursosDefault = "getRecursosDefault",
115
+ getRecursosRelleno = "getRecursosRelleno",
116
+ getVariableStorage = "getVariableStorage",
117
+ checkHealth = "checkHealth",
118
+ checkHealthPrinter = "checkHealthPrinter"
119
+ }
120
+ export declare enum LogLevel {
121
+ Debug = 0,
122
+ Info = 1,
123
+ Warning = 2,
124
+ Error = 3
125
+ }
126
+ export declare enum AlarmaLevel {
127
+ Ok_off = 0,
128
+ Ok = 1,
129
+ Scanning = 2,
130
+ Timeout = 3,
131
+ Warning = 4,
132
+ Error = 5
133
+ }
134
+ export interface ObjJSType {
135
+ urlNext: () => void;
136
+ limpiaCapa: () => void;
137
+ logFlash: () => void;
138
+ pageInit: () => void;
139
+ finAviso: () => void;
140
+ exitInteractivity: () => void;
141
+ logWeb: () => void;
142
+ refreshPage: () => void;
143
+ refreshPageByError: () => void;
144
+ refreshPageByVideoEvent: () => void;
145
+ auditarRecurso: () => void;
146
+ initSMO: () => void;
147
+ getFile: () => void;
148
+ showBrowser: () => void;
149
+ closeBrowser: () => void;
150
+ refreshDataSource: () => void;
151
+ setVariable: () => void;
152
+ getVariable: () => void;
153
+ getLocation: () => void;
154
+ salirApp: () => void;
155
+ setLocalData: () => void;
156
+ getLocalData: () => void;
157
+ getSalidaData: () => void;
158
+ ejecutaFuncion: () => void;
159
+ addObserver: () => void;
160
+ notifyToObservers: () => void;
161
+ printTextLine: () => void;
162
+ printBarcode: () => void;
163
+ cutPaper: () => void;
164
+ printImage: () => void;
165
+ checkHealthPrinter: () => void;
166
+ checkHealth: () => void;
167
+ }
168
+ export {};