@denevads/dnv-smo 1.0.36 → 1.0.38

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.
@@ -51,6 +51,15 @@ export interface GetRecursosRelleno {
51
51
  codigo: number;
52
52
  recursos: Recurso[];
53
53
  }
54
+ export interface GetRecursosMetadatos {
55
+ metadato: string;
56
+ valor: string;
57
+ }
58
+ export interface RecursosMetadato {
59
+ metadato: string;
60
+ valor: string;
61
+ recursos?: Recurso[];
62
+ }
54
63
  export interface Recurso {
55
64
  codigo: number;
56
65
  url: string;
@@ -64,3 +73,10 @@ export interface Recurso {
64
73
  dias: string;
65
74
  nombre: string;
66
75
  }
76
+ export interface Datasource {
77
+ data: string;
78
+ tipo: string;
79
+ }
80
+ export interface DatasourceMap {
81
+ [codigo: string]: Datasource;
82
+ }
package/dist/smo.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { setDatasource, variable, location, DataSalida, ExecFunction, Notify, start, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno } from "./interfaces/callbacks";
1
+ import { setDatasource, variable, location, DataSalida, ExecFunction, Notify, start, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno, GetRecursosMetadatos, RecursosMetadato, DatasourceMap } from "./interfaces/callbacks";
2
2
  import { Subject } from 'rxjs';
3
3
  export declare class SMO {
4
4
  vars: any;
@@ -20,6 +20,7 @@ export declare class SMO {
20
20
  updatefromsalida(data: any): void;
21
21
  getRecursosByCodigo(data: GetRecursosByCodigo): void;
22
22
  getRecursosByMetadato(data: GetRecursosByCodigo): void;
23
+ getRecursosByMetadatos(data: RecursosMetadato[]): void;
23
24
  getRecursos(data: GetRecursos): void;
24
25
  getRecursosDefault(data: GetRecursos): void;
25
26
  getRecursosRelleno(data: GetRecursosRelleno): void;
@@ -27,6 +28,7 @@ export declare class SMO {
27
28
  checkHealth(json: string): void;
28
29
  checkHealthPrinter(json: string): void;
29
30
  getValorCalendario(estado: boolean): void;
31
+ getLocalDatasource(data: DatasourceMap): void;
30
32
  }
31
33
  declare class SmoEvents {
32
34
  start: Subject<start>;
@@ -39,6 +41,7 @@ declare class SmoEvents {
39
41
  updatefromsalida: Subject<any>;
40
42
  getRecursosByCodigo: Subject<GetRecursosByCodigo>;
41
43
  getRecursosByMetadato: Subject<GetRecursosByCodigo>;
44
+ getRecursosByMetadatos: Subject<RecursosMetadato[]>;
42
45
  getRecursos: Subject<GetRecursos>;
43
46
  getRecursosDefault: Subject<GetRecursos>;
44
47
  getRecursosRelleno: Subject<GetRecursosRelleno>;
@@ -46,6 +49,7 @@ declare class SmoEvents {
46
49
  checkHealth: Subject<string>;
47
50
  checkHealthPrinter: Subject<string>;
48
51
  getValorCalendario: Subject<boolean>;
52
+ getLocalDatasource: Subject<DatasourceMap>;
49
53
  constructor(smo: SMO);
50
54
  }
51
55
  declare class smoCallBacks {
@@ -83,6 +87,7 @@ declare class smoCallBacks {
83
87
  editWrapperStyle(obj: any): void;
84
88
  getRecursosByCodigo(codigos: any): void;
85
89
  getRecursosByMetadato(metadato: string, valor: string): void;
90
+ getRecursosByMetadatos(data: GetRecursosMetadatos[]): void;
86
91
  getRecursos(): void;
87
92
  getRecursosDefault(): void;
88
93
  getRecursosRelleno(): void;
@@ -95,6 +100,12 @@ declare class smoCallBacks {
95
100
  checkHealthPrinter(): void;
96
101
  printImage(image: string): void;
97
102
  getValorCalendario(codigo: number, tipoObjeto?: number): void;
103
+ /**
104
+ * Funcion que permite obtener uno o varios datasources pasando su/sus codigos
105
+ * Permite un solo codigo o un array de codigos
106
+ * @param codDS Puede ser un número o un array de números
107
+ */
108
+ getLocalDatasource(codDS: number | number[]): void;
98
109
  }
99
110
  declare class Utils {
100
111
  smo: SMO;
@@ -117,13 +128,15 @@ export declare enum SMO_EVENT_TYPE {
117
128
  setDatasourceJson = "setDatasourceJson",
118
129
  getRecursosByCodigo = "getRecursosByCodigo",
119
130
  getRecursosByMetadato = "getRecursosByMetadato",
131
+ getRecursosByMetadatos = "getRecursosByMetadatos",
120
132
  getRecursos = "getRecursos",
121
133
  getRecursosDefault = "getRecursosDefault",
122
134
  getRecursosRelleno = "getRecursosRelleno",
123
135
  getVariableStorage = "getVariableStorage",
124
136
  checkHealth = "checkHealth",
125
137
  checkHealthPrinter = "checkHealthPrinter",
126
- getValorCalendario = "getValorCalendario"
138
+ getValorCalendario = "getValorCalendario",
139
+ getLocalDatasource = "getLocalDatasource"
127
140
  }
128
141
  export declare enum LogLevel {
129
142
  Debug = 0,
@@ -173,5 +186,6 @@ export interface ObjJSType {
173
186
  checkHealthPrinter: () => void;
174
187
  checkHealth: () => void;
175
188
  getValorCalendario: () => void;
189
+ getLocalDatasource: () => void;
176
190
  }
177
191
  export {};
package/dist/smo.js CHANGED
@@ -108,7 +108,9 @@ var SMO = /** @class */ (function () {
108
108
  // @ts-ignore
109
109
  CheckHealth: window.objJS.checkHealth,
110
110
  // @ts-ignore
111
- getValorCalendario: window.objJS.getValorCalendario
111
+ getValorCalendario: window.objJS.getValorCalendario,
112
+ // @ts-ignore
113
+ getLocalDatasource: window.objJS.getLocalDatasource,
112
114
  };
113
115
  }
114
116
  else {
@@ -186,6 +188,10 @@ var SMO = /** @class */ (function () {
186
188
  selft.getRecursosByMetadato(e.data.objData);
187
189
  return;
188
190
  }
191
+ if (func == SMO_EVENT_TYPE.getRecursosByMetadatos) {
192
+ selft.getRecursosByMetadatos(e.data.objData);
193
+ return;
194
+ }
189
195
  if (func == SMO_EVENT_TYPE.getRecursos) {
190
196
  selft.getRecursos(e.data.objData);
191
197
  }
@@ -212,6 +218,10 @@ var SMO = /** @class */ (function () {
212
218
  selft.getValorCalendario(e.data.objData);
213
219
  return;
214
220
  }
221
+ if (func == SMO_EVENT_TYPE.getLocalDatasource) {
222
+ selft.getLocalDatasource(e.data.objData);
223
+ return;
224
+ }
215
225
  console.warn("message not implemented!!" + func);
216
226
  }
217
227
  };
@@ -244,6 +254,9 @@ var SMO = /** @class */ (function () {
244
254
  SMO.prototype.getRecursosByMetadato = function (data) {
245
255
  this.events.getRecursosByMetadato.next(data);
246
256
  };
257
+ SMO.prototype.getRecursosByMetadatos = function (data) {
258
+ this.events.getRecursosByMetadatos.next(data);
259
+ };
247
260
  SMO.prototype.getRecursos = function (data) {
248
261
  this.events.getRecursos.next(data);
249
262
  };
@@ -265,6 +278,9 @@ var SMO = /** @class */ (function () {
265
278
  SMO.prototype.getValorCalendario = function (estado) {
266
279
  this.events.getValorCalendario.next(estado);
267
280
  };
281
+ SMO.prototype.getLocalDatasource = function (data) {
282
+ this.events.getLocalDatasource.next(data);
283
+ };
268
284
  return SMO;
269
285
  }());
270
286
  exports.SMO = SMO;
@@ -280,6 +296,7 @@ var SmoEvents = /** @class */ (function () {
280
296
  this.updatefromsalida = new rxjs_1.Subject();
281
297
  this.getRecursosByCodigo = new rxjs_1.Subject();
282
298
  this.getRecursosByMetadato = new rxjs_1.Subject();
299
+ this.getRecursosByMetadatos = new rxjs_1.Subject();
283
300
  this.getRecursos = new rxjs_1.Subject();
284
301
  this.getRecursosDefault = new rxjs_1.Subject();
285
302
  this.getRecursosRelleno = new rxjs_1.Subject();
@@ -287,6 +304,7 @@ var SmoEvents = /** @class */ (function () {
287
304
  this.checkHealth = new rxjs_1.Subject();
288
305
  this.checkHealthPrinter = new rxjs_1.Subject();
289
306
  this.getValorCalendario = new rxjs_1.Subject();
307
+ this.getLocalDatasource = new rxjs_1.Subject();
290
308
  }
291
309
  return SmoEvents;
292
310
  }());
@@ -555,6 +573,13 @@ var smoCallBacks = /** @class */ (function () {
555
573
  idSmo: this.smo.id
556
574
  }, this.smo.vars.idSmo);
557
575
  };
576
+ smoCallBacks.prototype.getRecursosByMetadatos = function (data) {
577
+ this.smo.utils.sendToParent({
578
+ target: "Dnv.smoCallbacks.getRecursosByMetadatos",
579
+ objData: data,
580
+ idSmo: this.smo.id
581
+ }, this.smo.vars.idSmo);
582
+ };
558
583
  smoCallBacks.prototype.getRecursos = function () {
559
584
  this.smo.utils.sendToParent({
560
585
  target: "Dnv.smoCallbacks.getRecursos",
@@ -653,6 +678,20 @@ var smoCallBacks = /** @class */ (function () {
653
678
  idSmo: this.smo.id
654
679
  }, this.smo.vars.idSmo);
655
680
  };
681
+ /**
682
+ * Funcion que permite obtener uno o varios datasources pasando su/sus codigos
683
+ * Permite un solo codigo o un array de codigos
684
+ * @param codDS Puede ser un número o un array de números
685
+ */
686
+ smoCallBacks.prototype.getLocalDatasource = function (codDS) {
687
+ // Si es un solo código, lo convertimos a un array para tratar ambos casos de la misma manera
688
+ var codDSArray = Array.isArray(codDS) ? codDS : [codDS];
689
+ this.smo.utils.sendToParent({
690
+ target: "Dnv.smoCallbacks.getLocalDatasource",
691
+ objData: codDSArray, // Enviamos el array, sea de un solo código o varios
692
+ idSmo: this.smo.id
693
+ }, this.smo.vars.idSmo);
694
+ };
656
695
  return smoCallBacks;
657
696
  }());
658
697
  var Utils = /** @class */ (function () {
@@ -822,6 +861,7 @@ var SMO_EVENT_TYPE;
822
861
  SMO_EVENT_TYPE["setDatasourceJson"] = "setDatasourceJson";
823
862
  SMO_EVENT_TYPE["getRecursosByCodigo"] = "getRecursosByCodigo";
824
863
  SMO_EVENT_TYPE["getRecursosByMetadato"] = "getRecursosByMetadato";
864
+ SMO_EVENT_TYPE["getRecursosByMetadatos"] = "getRecursosByMetadatos";
825
865
  SMO_EVENT_TYPE["getRecursos"] = "getRecursos";
826
866
  SMO_EVENT_TYPE["getRecursosDefault"] = "getRecursosDefault";
827
867
  SMO_EVENT_TYPE["getRecursosRelleno"] = "getRecursosRelleno";
@@ -829,6 +869,7 @@ var SMO_EVENT_TYPE;
829
869
  SMO_EVENT_TYPE["checkHealth"] = "checkHealth";
830
870
  SMO_EVENT_TYPE["checkHealthPrinter"] = "checkHealthPrinter";
831
871
  SMO_EVENT_TYPE["getValorCalendario"] = "getValorCalendario";
872
+ SMO_EVENT_TYPE["getLocalDatasource"] = "getLocalDatasource";
832
873
  })(SMO_EVENT_TYPE || (exports.SMO_EVENT_TYPE = SMO_EVENT_TYPE = {}));
833
874
  var LogLevel;
834
875
  (function (LogLevel) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@denevads/dnv-smo",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "SMO module",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -55,7 +55,15 @@ export interface GetRecursosRelleno {
55
55
  codigo: number;
56
56
  recursos: Recurso[];
57
57
  }
58
-
58
+ export interface GetRecursosMetadatos {
59
+ metadato: string;
60
+ valor: string;
61
+ }
62
+ export interface RecursosMetadato {
63
+ metadato: string;
64
+ valor: string;
65
+ recursos?: Recurso[];
66
+ }
59
67
  export interface Recurso {
60
68
  codigo: number;
61
69
  url: string;
@@ -69,4 +77,11 @@ export interface Recurso {
69
77
  dias:string;
70
78
  nombre:string;
71
79
  }
80
+ export interface Datasource{
81
+ data : string;
82
+ tipo: string;
83
+ }
84
+ export interface DatasourceMap {
85
+ [codigo: string]: Datasource; // Cada clave tiene un solo Datasource
86
+ }
72
87
 
package/src/smo.ts CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  start,
9
9
  GetRecursosByCodigo,
10
10
  GetRecursos,
11
- GetRecursosRelleno
11
+ GetRecursosRelleno, GetRecursosMetadatos, RecursosMetadato, Datasource, DatasourceMap
12
12
  } from "./interfaces/callbacks";
13
13
  import {interval, Subject, Subscription} from 'rxjs';
14
14
 
@@ -128,7 +128,9 @@ export class SMO {
128
128
  // @ts-ignore
129
129
  CheckHealth: window.objJS.checkHealth,
130
130
  // @ts-ignore
131
- getValorCalendario: window.objJS.getValorCalendario
131
+ getValorCalendario: window.objJS.getValorCalendario,
132
+ // @ts-ignore
133
+ getLocalDatasource: window.objJS.getLocalDatasource,
132
134
  };
133
135
  }else{
134
136
  console.log("No existe objJS en window");
@@ -168,72 +170,80 @@ export class SMO {
168
170
  initOnMessage():void{
169
171
  let selft = this;
170
172
  window.onmessage = function(e) {
171
- if (e.data.target) {
172
- var targets = e.data.target.split('.');
173
- var func = targets[targets.length-1];
174
- if(func == SMO_EVENT_TYPE.start){
175
- selft.start();
176
- return;
177
- }
178
- if(func == SMO_EVENT_TYPE.setDatasource){
179
- selft.setDatasource(e.data.objData);
180
- return;
181
- }
182
- if(func == SMO_EVENT_TYPE.getVariable){
183
- selft.getVariable(e.data.objData);
184
- return;
185
- }
186
- if(func ==SMO_EVENT_TYPE.setCurrentStream){
187
- selft.setCurrentStream(e.data.objData);
188
- return;
189
- }
190
- if(func==SMO_EVENT_TYPE.infoCurrentLocation){
191
- selft.infoCurrentLocation(e.data.objData);
192
- return;
193
- }
194
- if(func==SMO_EVENT_TYPE.setSalidaData){
195
- selft.setSalidaData(e.data.objData);
196
- return;
197
- }
198
- if(func ==SMO_EVENT_TYPE.updatefromsalida){
199
- selft.updatefromsalida(e.data.objData);
200
- return;
201
- }
202
- if(func == SMO_EVENT_TYPE.getRecursosByCodigo){
203
- selft.getRecursosByCodigo(e.data.objData);
204
- return;
205
- }
206
- if(func == SMO_EVENT_TYPE.getRecursosByMetadato){
207
- selft.getRecursosByMetadato(e.data.objData);
208
- return;
209
- }
210
- if(func == SMO_EVENT_TYPE.getRecursos){
211
- selft.getRecursos(e.data.objData);
212
- }
213
- if(func == SMO_EVENT_TYPE.getRecursosDefault){
214
- selft.getRecursosDefault(e.data.objData);
215
- }
216
- if(func == SMO_EVENT_TYPE.getRecursosRelleno){
217
- selft.getRecursosRelleno(e.data.objData);
218
- return;
219
- }
220
- if(func == SMO_EVENT_TYPE.getVariableStorage){
221
- selft.getVariableStorage(e.data.objData);
222
- return;
223
- }
224
- if(func == SMO_EVENT_TYPE.checkHealth){
225
- selft.checkHealth(e.data.objData);
226
- return;
227
- }
228
- if(func == SMO_EVENT_TYPE.checkHealthPrinter){
229
- selft.checkHealthPrinter(e.data.objData);
230
- return;
231
- }
232
- if(func == SMO_EVENT_TYPE.getValorCalendario){
233
- selft.getValorCalendario(e.data.objData);
234
- return;
235
- }
236
- console.warn("message not implemented!!" +func);
173
+ if (e.data.target) {
174
+ var targets = e.data.target.split('.');
175
+ var func = targets[targets.length-1];
176
+ if(func == SMO_EVENT_TYPE.start){
177
+ selft.start();
178
+ return;
179
+ }
180
+ if(func == SMO_EVENT_TYPE.setDatasource){
181
+ selft.setDatasource(e.data.objData);
182
+ return;
183
+ }
184
+ if(func == SMO_EVENT_TYPE.getVariable){
185
+ selft.getVariable(e.data.objData);
186
+ return;
187
+ }
188
+ if(func ==SMO_EVENT_TYPE.setCurrentStream){
189
+ selft.setCurrentStream(e.data.objData);
190
+ return;
191
+ }
192
+ if(func==SMO_EVENT_TYPE.infoCurrentLocation){
193
+ selft.infoCurrentLocation(e.data.objData);
194
+ return;
195
+ }
196
+ if(func==SMO_EVENT_TYPE.setSalidaData){
197
+ selft.setSalidaData(e.data.objData);
198
+ return;
199
+ }
200
+ if(func ==SMO_EVENT_TYPE.updatefromsalida){
201
+ selft.updatefromsalida(e.data.objData);
202
+ return;
203
+ }
204
+ if(func == SMO_EVENT_TYPE.getRecursosByCodigo){
205
+ selft.getRecursosByCodigo(e.data.objData);
206
+ return;
207
+ }
208
+ if(func == SMO_EVENT_TYPE.getRecursosByMetadato){
209
+ selft.getRecursosByMetadato(e.data.objData);
210
+ return;
211
+ }
212
+ if(func == SMO_EVENT_TYPE.getRecursosByMetadatos){
213
+ selft.getRecursosByMetadatos(e.data.objData);
214
+ return;
215
+ }
216
+ if(func == SMO_EVENT_TYPE.getRecursos){
217
+ selft.getRecursos(e.data.objData);
218
+ }
219
+ if(func == SMO_EVENT_TYPE.getRecursosDefault){
220
+ selft.getRecursosDefault(e.data.objData);
221
+ }
222
+ if(func == SMO_EVENT_TYPE.getRecursosRelleno){
223
+ selft.getRecursosRelleno(e.data.objData);
224
+ return;
225
+ }
226
+ if(func == SMO_EVENT_TYPE.getVariableStorage){
227
+ selft.getVariableStorage(e.data.objData);
228
+ return;
229
+ }
230
+ if(func == SMO_EVENT_TYPE.checkHealth){
231
+ selft.checkHealth(e.data.objData);
232
+ return;
233
+ }
234
+ if(func == SMO_EVENT_TYPE.checkHealthPrinter){
235
+ selft.checkHealthPrinter(e.data.objData);
236
+ return;
237
+ }
238
+ if(func == SMO_EVENT_TYPE.getValorCalendario){
239
+ selft.getValorCalendario(e.data.objData);
240
+ return;
241
+ }
242
+ if(func == SMO_EVENT_TYPE.getLocalDatasource){
243
+ selft.getLocalDatasource(e.data.objData);
244
+ return;
245
+ }
246
+ console.warn("message not implemented!!" +func);
237
247
  }
238
248
  }
239
249
  }
@@ -266,6 +276,9 @@ export class SMO {
266
276
  getRecursosByMetadato(data:GetRecursosByCodigo):void{
267
277
  this.events.getRecursosByMetadato.next(data);
268
278
  }
279
+ getRecursosByMetadatos(data:RecursosMetadato[]):void{
280
+ this.events.getRecursosByMetadatos.next(data);
281
+ }
269
282
  getRecursos(data:GetRecursos):void{
270
283
  this.events.getRecursos.next(data);
271
284
  }
@@ -287,6 +300,9 @@ export class SMO {
287
300
  getValorCalendario(estado:boolean):void{
288
301
  this.events.getValorCalendario.next(estado);
289
302
  }
303
+ getLocalDatasource(data: DatasourceMap):void{
304
+ this.events.getLocalDatasource.next(data);
305
+ }
290
306
  }
291
307
 
292
308
  class SmoEvents{
@@ -300,6 +316,7 @@ class SmoEvents{
300
316
  public updatefromsalida: Subject<any> = new Subject<any>();
301
317
  public getRecursosByCodigo: Subject<GetRecursosByCodigo> = new Subject<GetRecursosByCodigo>();
302
318
  public getRecursosByMetadato: Subject<GetRecursosByCodigo> = new Subject<GetRecursosByCodigo>();
319
+ public getRecursosByMetadatos: Subject<RecursosMetadato[]> = new Subject<RecursosMetadato[]>();
303
320
  public getRecursos: Subject<GetRecursos> = new Subject<GetRecursos>();
304
321
  public getRecursosDefault: Subject<GetRecursos> = new Subject<GetRecursos>();
305
322
  public getRecursosRelleno: Subject<GetRecursosRelleno> = new Subject<GetRecursosRelleno>();
@@ -307,6 +324,7 @@ class SmoEvents{
307
324
  public checkHealth: Subject<string> = new Subject<string>();
308
325
  public checkHealthPrinter: Subject<string> = new Subject<string>();
309
326
  public getValorCalendario: Subject<boolean> = new Subject<boolean>();
327
+ public getLocalDatasource: Subject<DatasourceMap> = new Subject<DatasourceMap>();
310
328
  constructor(smo:SMO){}
311
329
  }
312
330
  class smoCallBacks{
@@ -578,6 +596,13 @@ class smoCallBacks{
578
596
  idSmo: this.smo.id
579
597
  }, this.smo.vars.idSmo);
580
598
  }
599
+ getRecursosByMetadatos(data:GetRecursosMetadatos[]):void{
600
+ this.smo.utils.sendToParent({
601
+ target: "Dnv.smoCallbacks.getRecursosByMetadatos",
602
+ objData: data,
603
+ idSmo: this.smo.id
604
+ }, this.smo.vars.idSmo);
605
+ }
581
606
  getRecursos():void{
582
607
  this.smo.utils.sendToParent({
583
608
  target: "Dnv.smoCallbacks.getRecursos",
@@ -676,6 +701,21 @@ class smoCallBacks{
676
701
  idSmo: this.smo.id
677
702
  }, this.smo.vars.idSmo);
678
703
  }
704
+ /**
705
+ * Funcion que permite obtener uno o varios datasources pasando su/sus codigos
706
+ * Permite un solo codigo o un array de codigos
707
+ * @param codDS Puede ser un número o un array de números
708
+ */
709
+ getLocalDatasource(codDS: number | number[]): void {
710
+ // Si es un solo código, lo convertimos a un array para tratar ambos casos de la misma manera
711
+ const codDSArray = Array.isArray(codDS) ? codDS : [codDS];
712
+
713
+ this.smo.utils.sendToParent({
714
+ target: "Dnv.smoCallbacks.getLocalDatasource",
715
+ objData: codDSArray, // Enviamos el array, sea de un solo código o varios
716
+ idSmo: this.smo.id
717
+ }, this.smo.vars.idSmo);
718
+ }
679
719
 
680
720
  }
681
721
  class Utils{
@@ -860,13 +900,15 @@ export enum SMO_EVENT_TYPE{
860
900
  setDatasourceJson = "setDatasourceJson",
861
901
  getRecursosByCodigo = "getRecursosByCodigo",
862
902
  getRecursosByMetadato = "getRecursosByMetadato",
903
+ getRecursosByMetadatos = "getRecursosByMetadatos",
863
904
  getRecursos = "getRecursos",
864
905
  getRecursosDefault = "getRecursosDefault",
865
906
  getRecursosRelleno = "getRecursosRelleno",
866
907
  getVariableStorage = "getVariableStorage",
867
908
  checkHealth = "checkHealth",
868
909
  checkHealthPrinter = "checkHealthPrinter",
869
- getValorCalendario = "getValorCalendario"
910
+ getValorCalendario = "getValorCalendario",
911
+ getLocalDatasource = "getLocalDatasource"
870
912
  }
871
913
  export enum LogLevel {
872
914
  Debug= 0,
@@ -916,5 +958,6 @@ export interface ObjJSType {
916
958
  checkHealthPrinter: () => void;
917
959
  checkHealth: () => void;
918
960
  getValorCalendario: () => void;
961
+ getLocalDatasource: () => void;
919
962
  }
920
963