mdz-enum 1.5.21 → 1.5.22
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.
- package/README.MD +7 -7
- package/dist/checkout/index.d.ts +28 -28
- package/dist/checkout/index.js +83 -83
- package/dist/commercial/index.d.ts +227 -227
- package/dist/commercial/index.js +549 -549
- package/dist/common/index.d.ts +47 -47
- package/dist/common/index.js +137 -137
- package/dist/config/index.d.ts +166 -138
- package/dist/config/index.js +478 -395
- package/dist/finance/index.d.ts +164 -164
- package/dist/finance/index.js +425 -425
- package/dist/fiscal/index.d.ts +468 -468
- package/dist/fiscal/index.js +1165 -1165
- package/dist/functions.d.ts +11 -11
- package/dist/functions.js +74 -74
- package/dist/general/index.d.ts +257 -257
- package/dist/general/index.js +489 -489
- package/dist/index.d.ts +14 -14
- package/dist/index.js +208 -208
- package/dist/integration/index.d.ts +19 -19
- package/dist/integration/index.js +57 -57
- package/dist/logistics/index.d.ts +124 -124
- package/dist/logistics/index.js +359 -359
- package/dist/marketplace/templates/components/index.d.ts +158 -158
- package/dist/marketplace/templates/components/index.js +171 -171
- package/dist/marketplace/templates/elements/index.d.ts +32 -32
- package/dist/marketplace/templates/elements/index.js +35 -35
- package/dist/marketplace/templates/index.d.ts +292 -295
- package/dist/marketplace/templates/index.js +40 -40
- package/dist/marketplace/templates/pages/index.d.ts +140 -140
- package/dist/marketplace/templates/pages/index.js +310 -310
- package/dist/marketplace/templates/reference/index.d.ts +16 -16
- package/dist/marketplace/templates/reference/index.js +18 -18
- package/dist/people/index.d.ts +36 -36
- package/dist/people/index.js +105 -105
- package/dist/platform/index.d.ts +189 -189
- package/dist/platform/index.js +548 -548
- package/dist/reports/index.d.ts +49 -49
- package/dist/reports/index.js +145 -145
- package/package.json +33 -32
package/dist/config/index.js
CHANGED
|
@@ -1,395 +1,478 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoOperacaoComprovanteTroca = exports.SituacaoAutorizacao = exports.OrigemAutorizacao = exports.TipoArquivoExportacao = exports.ModeloImportacao = exports.TipoImportacao = exports.TipoAtualizacaoSocket = exports.TipoInformacaoBalanca = exports.ModeloBalanca = exports.TipoImpressao = exports.ModeloPimaco = exports.ParametroEtiquetaProduto = exports.ModeloEtiqueta = exports.TipoEtiqueta = exports.TipoPrecoPadrao = exports.ModoFinalizacao = exports.VersaoLayoutSat = exports.ModeloSat = exports.ModeloPOS = exports.TipoPeriferico = exports.TipoDispositivo = exports.TipoPermissao = void 0;
|
|
4
|
-
exports.TipoPermissao = {
|
|
5
|
-
Visualizacao: '1',
|
|
6
|
-
Funcao: '2',
|
|
7
|
-
description(val) {
|
|
8
|
-
switch (val) {
|
|
9
|
-
case this.Visualizacao:
|
|
10
|
-
return 'Visualização';
|
|
11
|
-
case this.Funcao:
|
|
12
|
-
return 'Função';
|
|
13
|
-
default:
|
|
14
|
-
return 'enum not found';
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.TipoDispositivo = {
|
|
19
|
-
Cliente: '1',
|
|
20
|
-
Servidor: '2',
|
|
21
|
-
description(val) {
|
|
22
|
-
switch (val) {
|
|
23
|
-
case this.Cliente:
|
|
24
|
-
return 'Cliente';
|
|
25
|
-
case this.Servidor:
|
|
26
|
-
return 'Servidor';
|
|
27
|
-
default:
|
|
28
|
-
return 'enum not found';
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
exports.TipoPeriferico = {
|
|
33
|
-
ImpressoraA4: '1',
|
|
34
|
-
Balanca: '2',
|
|
35
|
-
Sat: '3',
|
|
36
|
-
ImpressoraComprovante: '4',
|
|
37
|
-
ImpressoraEtiqueta: '5',
|
|
38
|
-
POS: '6',
|
|
39
|
-
description(val) {
|
|
40
|
-
switch (val) {
|
|
41
|
-
case this.ImpressoraA4:
|
|
42
|
-
return 'Impressora A4';
|
|
43
|
-
case this.ImpressoraComprovante:
|
|
44
|
-
return 'Impressora Comprovante';
|
|
45
|
-
case this.ImpressoraEtiqueta:
|
|
46
|
-
return 'Impressora Etiqueta';
|
|
47
|
-
case this.Balanca:
|
|
48
|
-
return 'Balanca';
|
|
49
|
-
case this.Sat:
|
|
50
|
-
return 'Sat';
|
|
51
|
-
case this.POS:
|
|
52
|
-
return 'POS';
|
|
53
|
-
default:
|
|
54
|
-
return 'enum not found';
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
exports.ModeloPOS = {
|
|
59
|
-
Vero: '1',
|
|
60
|
-
description(val) {
|
|
61
|
-
switch (val) {
|
|
62
|
-
case this.Vero:
|
|
63
|
-
return 'VERO';
|
|
64
|
-
default:
|
|
65
|
-
return 'enum not found';
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
exports.ModeloSat = {
|
|
70
|
-
Bematech: '1',
|
|
71
|
-
Gertec: '2',
|
|
72
|
-
Urano: '3',
|
|
73
|
-
Generica: '4',
|
|
74
|
-
Sweda: '5',
|
|
75
|
-
Tanca: '6',
|
|
76
|
-
Dimep: '7',
|
|
77
|
-
Nitere: '9',
|
|
78
|
-
Elgin: '10',
|
|
79
|
-
Care: '11',
|
|
80
|
-
Epson: '12',
|
|
81
|
-
ControlId: '13',
|
|
82
|
-
MFe: '99',
|
|
83
|
-
description(val) {
|
|
84
|
-
switch (val) {
|
|
85
|
-
case this.Bematech:
|
|
86
|
-
return 'Bematech';
|
|
87
|
-
case this.Gertec:
|
|
88
|
-
return 'Gertec';
|
|
89
|
-
case this.Urano:
|
|
90
|
-
return 'Urano';
|
|
91
|
-
case this.Generica:
|
|
92
|
-
return 'Generica';
|
|
93
|
-
case this.Sweda:
|
|
94
|
-
return 'Sweda';
|
|
95
|
-
case this.Tanca:
|
|
96
|
-
return 'Tanca';
|
|
97
|
-
case this.Dimep:
|
|
98
|
-
return 'Dimep';
|
|
99
|
-
case this.Nitere:
|
|
100
|
-
return 'Nitere';
|
|
101
|
-
case this.Elgin:
|
|
102
|
-
return 'Elgin';
|
|
103
|
-
case this.Care:
|
|
104
|
-
return 'Care';
|
|
105
|
-
case this.Epson:
|
|
106
|
-
return 'Epson';
|
|
107
|
-
case this.ControlId:
|
|
108
|
-
return 'ControlId';
|
|
109
|
-
case this.MFe:
|
|
110
|
-
return 'MFe';
|
|
111
|
-
default:
|
|
112
|
-
return 'enum not found';
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
};
|
|
116
|
-
exports.VersaoLayoutSat = {
|
|
117
|
-
Layout007: '0.07',
|
|
118
|
-
Layout008: '0.08',
|
|
119
|
-
description(val) {
|
|
120
|
-
switch (val) {
|
|
121
|
-
case this.Layout007:
|
|
122
|
-
return 'Layout 0.07';
|
|
123
|
-
case this.Layout008:
|
|
124
|
-
return 'Layout 0.08';
|
|
125
|
-
default:
|
|
126
|
-
return 'enum not found';
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
};
|
|
130
|
-
exports.ModoFinalizacao = {
|
|
131
|
-
ImprimirDireto: '1',
|
|
132
|
-
SolicitarModal: '2',
|
|
133
|
-
description(val) {
|
|
134
|
-
switch (val) {
|
|
135
|
-
case this.ImprimirDireto:
|
|
136
|
-
return 'Imprimir Direto';
|
|
137
|
-
case this.SolicitarModal:
|
|
138
|
-
return 'Solicitar Compartilhamento';
|
|
139
|
-
default:
|
|
140
|
-
return 'enum not found';
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
};
|
|
144
|
-
exports.TipoPrecoPadrao = {
|
|
145
|
-
Varejo: '0',
|
|
146
|
-
Atacado: '1',
|
|
147
|
-
description(val) {
|
|
148
|
-
switch (val) {
|
|
149
|
-
case this.Varejo:
|
|
150
|
-
return 'Varejo';
|
|
151
|
-
case this.Atacado:
|
|
152
|
-
return 'Atacado';
|
|
153
|
-
default:
|
|
154
|
-
return 'enum not found';
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
};
|
|
158
|
-
exports.TipoEtiqueta = {
|
|
159
|
-
Produto: '1',
|
|
160
|
-
Pedido: '2',
|
|
161
|
-
description(val) {
|
|
162
|
-
switch (val) {
|
|
163
|
-
case this.Produto:
|
|
164
|
-
return 'Produto';
|
|
165
|
-
case this.Pedido:
|
|
166
|
-
return 'Pedido';
|
|
167
|
-
default:
|
|
168
|
-
return 'enum not found';
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
};
|
|
172
|
-
exports.ModeloEtiqueta = {
|
|
173
|
-
Personalizada: '1',
|
|
174
|
-
PreDefinida: '2',
|
|
175
|
-
description(val) {
|
|
176
|
-
switch (val) {
|
|
177
|
-
case this.PreDefinida:
|
|
178
|
-
return 'Pré Definida';
|
|
179
|
-
case this.Personalizada:
|
|
180
|
-
return 'Personalizada';
|
|
181
|
-
default:
|
|
182
|
-
return 'enum not found';
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
};
|
|
186
|
-
exports.ParametroEtiquetaProduto = {
|
|
187
|
-
Sku: '1',
|
|
188
|
-
Nome: '2',
|
|
189
|
-
Barra: '3',
|
|
190
|
-
Marca: '4',
|
|
191
|
-
Grade: '5',
|
|
192
|
-
Pv: '6',
|
|
193
|
-
Pa: '7',
|
|
194
|
-
Pvp: '8',
|
|
195
|
-
Pap: '9',
|
|
196
|
-
Nomel2: '10',
|
|
197
|
-
Gradel2: '11',
|
|
198
|
-
description(val) {
|
|
199
|
-
switch (val) {
|
|
200
|
-
case this.Sku:
|
|
201
|
-
return 'Sku';
|
|
202
|
-
case this.Nome:
|
|
203
|
-
return 'Descrição';
|
|
204
|
-
case this.Nomel2:
|
|
205
|
-
return 'Descrição Linha 2';
|
|
206
|
-
case this.Barra:
|
|
207
|
-
return 'Codigo de Barras';
|
|
208
|
-
case this.Marca:
|
|
209
|
-
return 'Marca';
|
|
210
|
-
case this.Grade:
|
|
211
|
-
return 'Variação';
|
|
212
|
-
case this.Pv:
|
|
213
|
-
return 'Preço Varejo';
|
|
214
|
-
case this.Pa:
|
|
215
|
-
return 'Preço Atacado';
|
|
216
|
-
case this.Pvp:
|
|
217
|
-
return 'Preço Varejo Promocional';
|
|
218
|
-
case this.Pap:
|
|
219
|
-
return 'Preço Atacado Promocional';
|
|
220
|
-
case this.Gradel2:
|
|
221
|
-
return 'Descrição Variação Linha 2';
|
|
222
|
-
default:
|
|
223
|
-
return 'enum not found';
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
};
|
|
227
|
-
exports.ModeloPimaco = {
|
|
228
|
-
M6187: '0',
|
|
229
|
-
A4351: '1',
|
|
230
|
-
description(val) {
|
|
231
|
-
switch (val) {
|
|
232
|
-
case this.M6187:
|
|
233
|
-
return '6187';
|
|
234
|
-
case this.A4351:
|
|
235
|
-
return 'A4351';
|
|
236
|
-
default:
|
|
237
|
-
return 'enum not found';
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
};
|
|
241
|
-
exports.TipoImpressao = {
|
|
242
|
-
Arquivo: '1',
|
|
243
|
-
Texto: '2',
|
|
244
|
-
description(val) {
|
|
245
|
-
switch (val) {
|
|
246
|
-
case this.Arquivo:
|
|
247
|
-
return 'Arquivo';
|
|
248
|
-
case this.Texto:
|
|
249
|
-
return 'Texto';
|
|
250
|
-
default:
|
|
251
|
-
return 'enum not found';
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
};
|
|
255
|
-
exports.ModeloBalanca = {
|
|
256
|
-
Filizola: '1',
|
|
257
|
-
Toledo: '2',
|
|
258
|
-
description(val) {
|
|
259
|
-
switch (val) {
|
|
260
|
-
case this.Filizola:
|
|
261
|
-
return 'Filizola';
|
|
262
|
-
case this.Toledo:
|
|
263
|
-
return 'Toledo';
|
|
264
|
-
default:
|
|
265
|
-
return 'enum not found';
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
};
|
|
269
|
-
exports.TipoInformacaoBalanca = {
|
|
270
|
-
Peso: '1',
|
|
271
|
-
PrecoTotal: '2',
|
|
272
|
-
description(val) {
|
|
273
|
-
switch (val) {
|
|
274
|
-
case this.Peso:
|
|
275
|
-
return 'Peso';
|
|
276
|
-
case this.PrecoTotal:
|
|
277
|
-
return 'Preço Total';
|
|
278
|
-
default:
|
|
279
|
-
return 'enum not found';
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
};
|
|
283
|
-
exports.TipoAtualizacaoSocket = {
|
|
284
|
-
Produto: '1',
|
|
285
|
-
TabelaPreco: '2',
|
|
286
|
-
Promocao: '3',
|
|
287
|
-
description(val) {
|
|
288
|
-
switch (val) {
|
|
289
|
-
case this.Produto:
|
|
290
|
-
return 'Produto';
|
|
291
|
-
case this.TabelaPreco:
|
|
292
|
-
return 'Tabela de Preço';
|
|
293
|
-
case this.Promocao:
|
|
294
|
-
return 'Promoção';
|
|
295
|
-
default:
|
|
296
|
-
return 'enum not found';
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
};
|
|
300
|
-
exports.TipoImportacao = {
|
|
301
|
-
Produto: '1',
|
|
302
|
-
Pessoa: '2',
|
|
303
|
-
Estoque: '3',
|
|
304
|
-
CodigoBarras: '4',
|
|
305
|
-
Grade: '5',
|
|
306
|
-
description(val) {
|
|
307
|
-
switch (val) {
|
|
308
|
-
case this.Produto:
|
|
309
|
-
return 'Produto';
|
|
310
|
-
case this.Pessoa:
|
|
311
|
-
return 'Pessoa';
|
|
312
|
-
case this.Estoque:
|
|
313
|
-
return 'Estoque';
|
|
314
|
-
case this.CodigoBarras:
|
|
315
|
-
return 'Código de Barras';
|
|
316
|
-
case this.Grade:
|
|
317
|
-
return 'Grade';
|
|
318
|
-
default:
|
|
319
|
-
return 'enum not found';
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
};
|
|
323
|
-
exports.ModeloImportacao = {
|
|
324
|
-
Importacao: '1',
|
|
325
|
-
Atualizacao: '2',
|
|
326
|
-
description(val) {
|
|
327
|
-
switch (val) {
|
|
328
|
-
case this.Importacao:
|
|
329
|
-
return 'Importação';
|
|
330
|
-
case this.Atualizacao:
|
|
331
|
-
return 'Atualização';
|
|
332
|
-
default:
|
|
333
|
-
return 'enum not found';
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
};
|
|
337
|
-
exports.TipoArquivoExportacao = {
|
|
338
|
-
Pdf: '0',
|
|
339
|
-
Excel: '1',
|
|
340
|
-
description(val) {
|
|
341
|
-
switch (val) {
|
|
342
|
-
case this.Pdf:
|
|
343
|
-
return 'PDF';
|
|
344
|
-
case this.Excel:
|
|
345
|
-
return 'EXCEL';
|
|
346
|
-
default:
|
|
347
|
-
return 'enum not found';
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
};
|
|
351
|
-
exports.OrigemAutorizacao = {
|
|
352
|
-
Nota: '0',
|
|
353
|
-
Pedido: '1',
|
|
354
|
-
description(val) {
|
|
355
|
-
switch (val) {
|
|
356
|
-
case this.Nota:
|
|
357
|
-
return 'Nota';
|
|
358
|
-
case this.Pedido:
|
|
359
|
-
return 'Pedido';
|
|
360
|
-
default:
|
|
361
|
-
return 'enum not found';
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
};
|
|
365
|
-
exports.SituacaoAutorizacao = {
|
|
366
|
-
Pendente: '0',
|
|
367
|
-
Aprovado: '1',
|
|
368
|
-
Rejeitado: '2',
|
|
369
|
-
description(val) {
|
|
370
|
-
switch (val) {
|
|
371
|
-
case this.Pendente:
|
|
372
|
-
return 'Pendente';
|
|
373
|
-
case this.Aprovado:
|
|
374
|
-
return 'Aprovado';
|
|
375
|
-
case this.Rejeitado:
|
|
376
|
-
return 'Rejeitado';
|
|
377
|
-
default:
|
|
378
|
-
return 'enum not found';
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
};
|
|
382
|
-
exports.TipoOperacaoComprovanteTroca = {
|
|
383
|
-
Imprimir: '0',
|
|
384
|
-
Solicitar: '1',
|
|
385
|
-
description(val) {
|
|
386
|
-
switch (val) {
|
|
387
|
-
case this.Imprimir:
|
|
388
|
-
return 'Sempre Imprimir';
|
|
389
|
-
case this.Solicitar:
|
|
390
|
-
return 'Solicitar Impressão';
|
|
391
|
-
default:
|
|
392
|
-
return 'enum not found';
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FusoHorario = exports.TipoOperacaoComprovanteTroca = exports.SituacaoAutorizacao = exports.OrigemAutorizacao = exports.TipoArquivoExportacao = exports.ModeloImportacao = exports.TipoImportacao = exports.TipoAtualizacaoSocket = exports.TipoInformacaoBalanca = exports.ModeloBalanca = exports.TipoImpressao = exports.ModeloPimaco = exports.ParametroEtiquetaProduto = exports.ModeloEtiqueta = exports.TipoEtiqueta = exports.TipoPrecoPadrao = exports.ModoFinalizacao = exports.VersaoLayoutSat = exports.ModeloSat = exports.ModeloPOS = exports.TipoPeriferico = exports.TipoDispositivo = exports.TipoPermissao = void 0;
|
|
4
|
+
exports.TipoPermissao = {
|
|
5
|
+
Visualizacao: '1',
|
|
6
|
+
Funcao: '2',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Visualizacao:
|
|
10
|
+
return 'Visualização';
|
|
11
|
+
case this.Funcao:
|
|
12
|
+
return 'Função';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.TipoDispositivo = {
|
|
19
|
+
Cliente: '1',
|
|
20
|
+
Servidor: '2',
|
|
21
|
+
description(val) {
|
|
22
|
+
switch (val) {
|
|
23
|
+
case this.Cliente:
|
|
24
|
+
return 'Cliente';
|
|
25
|
+
case this.Servidor:
|
|
26
|
+
return 'Servidor';
|
|
27
|
+
default:
|
|
28
|
+
return 'enum not found';
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
exports.TipoPeriferico = {
|
|
33
|
+
ImpressoraA4: '1',
|
|
34
|
+
Balanca: '2',
|
|
35
|
+
Sat: '3',
|
|
36
|
+
ImpressoraComprovante: '4',
|
|
37
|
+
ImpressoraEtiqueta: '5',
|
|
38
|
+
POS: '6',
|
|
39
|
+
description(val) {
|
|
40
|
+
switch (val) {
|
|
41
|
+
case this.ImpressoraA4:
|
|
42
|
+
return 'Impressora A4';
|
|
43
|
+
case this.ImpressoraComprovante:
|
|
44
|
+
return 'Impressora Comprovante';
|
|
45
|
+
case this.ImpressoraEtiqueta:
|
|
46
|
+
return 'Impressora Etiqueta';
|
|
47
|
+
case this.Balanca:
|
|
48
|
+
return 'Balanca';
|
|
49
|
+
case this.Sat:
|
|
50
|
+
return 'Sat';
|
|
51
|
+
case this.POS:
|
|
52
|
+
return 'POS';
|
|
53
|
+
default:
|
|
54
|
+
return 'enum not found';
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
exports.ModeloPOS = {
|
|
59
|
+
Vero: '1',
|
|
60
|
+
description(val) {
|
|
61
|
+
switch (val) {
|
|
62
|
+
case this.Vero:
|
|
63
|
+
return 'VERO';
|
|
64
|
+
default:
|
|
65
|
+
return 'enum not found';
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
exports.ModeloSat = {
|
|
70
|
+
Bematech: '1',
|
|
71
|
+
Gertec: '2',
|
|
72
|
+
Urano: '3',
|
|
73
|
+
Generica: '4',
|
|
74
|
+
Sweda: '5',
|
|
75
|
+
Tanca: '6',
|
|
76
|
+
Dimep: '7',
|
|
77
|
+
Nitere: '9',
|
|
78
|
+
Elgin: '10',
|
|
79
|
+
Care: '11',
|
|
80
|
+
Epson: '12',
|
|
81
|
+
ControlId: '13',
|
|
82
|
+
MFe: '99',
|
|
83
|
+
description(val) {
|
|
84
|
+
switch (val) {
|
|
85
|
+
case this.Bematech:
|
|
86
|
+
return 'Bematech';
|
|
87
|
+
case this.Gertec:
|
|
88
|
+
return 'Gertec';
|
|
89
|
+
case this.Urano:
|
|
90
|
+
return 'Urano';
|
|
91
|
+
case this.Generica:
|
|
92
|
+
return 'Generica';
|
|
93
|
+
case this.Sweda:
|
|
94
|
+
return 'Sweda';
|
|
95
|
+
case this.Tanca:
|
|
96
|
+
return 'Tanca';
|
|
97
|
+
case this.Dimep:
|
|
98
|
+
return 'Dimep';
|
|
99
|
+
case this.Nitere:
|
|
100
|
+
return 'Nitere';
|
|
101
|
+
case this.Elgin:
|
|
102
|
+
return 'Elgin';
|
|
103
|
+
case this.Care:
|
|
104
|
+
return 'Care';
|
|
105
|
+
case this.Epson:
|
|
106
|
+
return 'Epson';
|
|
107
|
+
case this.ControlId:
|
|
108
|
+
return 'ControlId';
|
|
109
|
+
case this.MFe:
|
|
110
|
+
return 'MFe';
|
|
111
|
+
default:
|
|
112
|
+
return 'enum not found';
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
exports.VersaoLayoutSat = {
|
|
117
|
+
Layout007: '0.07',
|
|
118
|
+
Layout008: '0.08',
|
|
119
|
+
description(val) {
|
|
120
|
+
switch (val) {
|
|
121
|
+
case this.Layout007:
|
|
122
|
+
return 'Layout 0.07';
|
|
123
|
+
case this.Layout008:
|
|
124
|
+
return 'Layout 0.08';
|
|
125
|
+
default:
|
|
126
|
+
return 'enum not found';
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
exports.ModoFinalizacao = {
|
|
131
|
+
ImprimirDireto: '1',
|
|
132
|
+
SolicitarModal: '2',
|
|
133
|
+
description(val) {
|
|
134
|
+
switch (val) {
|
|
135
|
+
case this.ImprimirDireto:
|
|
136
|
+
return 'Imprimir Direto';
|
|
137
|
+
case this.SolicitarModal:
|
|
138
|
+
return 'Solicitar Compartilhamento';
|
|
139
|
+
default:
|
|
140
|
+
return 'enum not found';
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
exports.TipoPrecoPadrao = {
|
|
145
|
+
Varejo: '0',
|
|
146
|
+
Atacado: '1',
|
|
147
|
+
description(val) {
|
|
148
|
+
switch (val) {
|
|
149
|
+
case this.Varejo:
|
|
150
|
+
return 'Varejo';
|
|
151
|
+
case this.Atacado:
|
|
152
|
+
return 'Atacado';
|
|
153
|
+
default:
|
|
154
|
+
return 'enum not found';
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
};
|
|
158
|
+
exports.TipoEtiqueta = {
|
|
159
|
+
Produto: '1',
|
|
160
|
+
Pedido: '2',
|
|
161
|
+
description(val) {
|
|
162
|
+
switch (val) {
|
|
163
|
+
case this.Produto:
|
|
164
|
+
return 'Produto';
|
|
165
|
+
case this.Pedido:
|
|
166
|
+
return 'Pedido';
|
|
167
|
+
default:
|
|
168
|
+
return 'enum not found';
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
exports.ModeloEtiqueta = {
|
|
173
|
+
Personalizada: '1',
|
|
174
|
+
PreDefinida: '2',
|
|
175
|
+
description(val) {
|
|
176
|
+
switch (val) {
|
|
177
|
+
case this.PreDefinida:
|
|
178
|
+
return 'Pré Definida';
|
|
179
|
+
case this.Personalizada:
|
|
180
|
+
return 'Personalizada';
|
|
181
|
+
default:
|
|
182
|
+
return 'enum not found';
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
};
|
|
186
|
+
exports.ParametroEtiquetaProduto = {
|
|
187
|
+
Sku: '1',
|
|
188
|
+
Nome: '2',
|
|
189
|
+
Barra: '3',
|
|
190
|
+
Marca: '4',
|
|
191
|
+
Grade: '5',
|
|
192
|
+
Pv: '6',
|
|
193
|
+
Pa: '7',
|
|
194
|
+
Pvp: '8',
|
|
195
|
+
Pap: '9',
|
|
196
|
+
Nomel2: '10',
|
|
197
|
+
Gradel2: '11',
|
|
198
|
+
description(val) {
|
|
199
|
+
switch (val) {
|
|
200
|
+
case this.Sku:
|
|
201
|
+
return 'Sku';
|
|
202
|
+
case this.Nome:
|
|
203
|
+
return 'Descrição';
|
|
204
|
+
case this.Nomel2:
|
|
205
|
+
return 'Descrição Linha 2';
|
|
206
|
+
case this.Barra:
|
|
207
|
+
return 'Codigo de Barras';
|
|
208
|
+
case this.Marca:
|
|
209
|
+
return 'Marca';
|
|
210
|
+
case this.Grade:
|
|
211
|
+
return 'Variação';
|
|
212
|
+
case this.Pv:
|
|
213
|
+
return 'Preço Varejo';
|
|
214
|
+
case this.Pa:
|
|
215
|
+
return 'Preço Atacado';
|
|
216
|
+
case this.Pvp:
|
|
217
|
+
return 'Preço Varejo Promocional';
|
|
218
|
+
case this.Pap:
|
|
219
|
+
return 'Preço Atacado Promocional';
|
|
220
|
+
case this.Gradel2:
|
|
221
|
+
return 'Descrição Variação Linha 2';
|
|
222
|
+
default:
|
|
223
|
+
return 'enum not found';
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
};
|
|
227
|
+
exports.ModeloPimaco = {
|
|
228
|
+
M6187: '0',
|
|
229
|
+
A4351: '1',
|
|
230
|
+
description(val) {
|
|
231
|
+
switch (val) {
|
|
232
|
+
case this.M6187:
|
|
233
|
+
return '6187';
|
|
234
|
+
case this.A4351:
|
|
235
|
+
return 'A4351';
|
|
236
|
+
default:
|
|
237
|
+
return 'enum not found';
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
};
|
|
241
|
+
exports.TipoImpressao = {
|
|
242
|
+
Arquivo: '1',
|
|
243
|
+
Texto: '2',
|
|
244
|
+
description(val) {
|
|
245
|
+
switch (val) {
|
|
246
|
+
case this.Arquivo:
|
|
247
|
+
return 'Arquivo';
|
|
248
|
+
case this.Texto:
|
|
249
|
+
return 'Texto';
|
|
250
|
+
default:
|
|
251
|
+
return 'enum not found';
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
};
|
|
255
|
+
exports.ModeloBalanca = {
|
|
256
|
+
Filizola: '1',
|
|
257
|
+
Toledo: '2',
|
|
258
|
+
description(val) {
|
|
259
|
+
switch (val) {
|
|
260
|
+
case this.Filizola:
|
|
261
|
+
return 'Filizola';
|
|
262
|
+
case this.Toledo:
|
|
263
|
+
return 'Toledo';
|
|
264
|
+
default:
|
|
265
|
+
return 'enum not found';
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
};
|
|
269
|
+
exports.TipoInformacaoBalanca = {
|
|
270
|
+
Peso: '1',
|
|
271
|
+
PrecoTotal: '2',
|
|
272
|
+
description(val) {
|
|
273
|
+
switch (val) {
|
|
274
|
+
case this.Peso:
|
|
275
|
+
return 'Peso';
|
|
276
|
+
case this.PrecoTotal:
|
|
277
|
+
return 'Preço Total';
|
|
278
|
+
default:
|
|
279
|
+
return 'enum not found';
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
};
|
|
283
|
+
exports.TipoAtualizacaoSocket = {
|
|
284
|
+
Produto: '1',
|
|
285
|
+
TabelaPreco: '2',
|
|
286
|
+
Promocao: '3',
|
|
287
|
+
description(val) {
|
|
288
|
+
switch (val) {
|
|
289
|
+
case this.Produto:
|
|
290
|
+
return 'Produto';
|
|
291
|
+
case this.TabelaPreco:
|
|
292
|
+
return 'Tabela de Preço';
|
|
293
|
+
case this.Promocao:
|
|
294
|
+
return 'Promoção';
|
|
295
|
+
default:
|
|
296
|
+
return 'enum not found';
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
};
|
|
300
|
+
exports.TipoImportacao = {
|
|
301
|
+
Produto: '1',
|
|
302
|
+
Pessoa: '2',
|
|
303
|
+
Estoque: '3',
|
|
304
|
+
CodigoBarras: '4',
|
|
305
|
+
Grade: '5',
|
|
306
|
+
description(val) {
|
|
307
|
+
switch (val) {
|
|
308
|
+
case this.Produto:
|
|
309
|
+
return 'Produto';
|
|
310
|
+
case this.Pessoa:
|
|
311
|
+
return 'Pessoa';
|
|
312
|
+
case this.Estoque:
|
|
313
|
+
return 'Estoque';
|
|
314
|
+
case this.CodigoBarras:
|
|
315
|
+
return 'Código de Barras';
|
|
316
|
+
case this.Grade:
|
|
317
|
+
return 'Grade';
|
|
318
|
+
default:
|
|
319
|
+
return 'enum not found';
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
};
|
|
323
|
+
exports.ModeloImportacao = {
|
|
324
|
+
Importacao: '1',
|
|
325
|
+
Atualizacao: '2',
|
|
326
|
+
description(val) {
|
|
327
|
+
switch (val) {
|
|
328
|
+
case this.Importacao:
|
|
329
|
+
return 'Importação';
|
|
330
|
+
case this.Atualizacao:
|
|
331
|
+
return 'Atualização';
|
|
332
|
+
default:
|
|
333
|
+
return 'enum not found';
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
};
|
|
337
|
+
exports.TipoArquivoExportacao = {
|
|
338
|
+
Pdf: '0',
|
|
339
|
+
Excel: '1',
|
|
340
|
+
description(val) {
|
|
341
|
+
switch (val) {
|
|
342
|
+
case this.Pdf:
|
|
343
|
+
return 'PDF';
|
|
344
|
+
case this.Excel:
|
|
345
|
+
return 'EXCEL';
|
|
346
|
+
default:
|
|
347
|
+
return 'enum not found';
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
exports.OrigemAutorizacao = {
|
|
352
|
+
Nota: '0',
|
|
353
|
+
Pedido: '1',
|
|
354
|
+
description(val) {
|
|
355
|
+
switch (val) {
|
|
356
|
+
case this.Nota:
|
|
357
|
+
return 'Nota';
|
|
358
|
+
case this.Pedido:
|
|
359
|
+
return 'Pedido';
|
|
360
|
+
default:
|
|
361
|
+
return 'enum not found';
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
};
|
|
365
|
+
exports.SituacaoAutorizacao = {
|
|
366
|
+
Pendente: '0',
|
|
367
|
+
Aprovado: '1',
|
|
368
|
+
Rejeitado: '2',
|
|
369
|
+
description(val) {
|
|
370
|
+
switch (val) {
|
|
371
|
+
case this.Pendente:
|
|
372
|
+
return 'Pendente';
|
|
373
|
+
case this.Aprovado:
|
|
374
|
+
return 'Aprovado';
|
|
375
|
+
case this.Rejeitado:
|
|
376
|
+
return 'Rejeitado';
|
|
377
|
+
default:
|
|
378
|
+
return 'enum not found';
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
};
|
|
382
|
+
exports.TipoOperacaoComprovanteTroca = {
|
|
383
|
+
Imprimir: '0',
|
|
384
|
+
Solicitar: '1',
|
|
385
|
+
description(val) {
|
|
386
|
+
switch (val) {
|
|
387
|
+
case this.Imprimir:
|
|
388
|
+
return 'Sempre Imprimir';
|
|
389
|
+
case this.Solicitar:
|
|
390
|
+
return 'Solicitar Impressão';
|
|
391
|
+
default:
|
|
392
|
+
return 'enum not found';
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
};
|
|
396
|
+
exports.FusoHorario = {
|
|
397
|
+
UTC_M12: -12,
|
|
398
|
+
UTC_M11: -11,
|
|
399
|
+
UTC_M10: -10,
|
|
400
|
+
UTC_M9: -9,
|
|
401
|
+
UTC_M8: -8,
|
|
402
|
+
UTC_M7: -7,
|
|
403
|
+
UTC_M6: -6,
|
|
404
|
+
UTC_M5: -5,
|
|
405
|
+
UTC_M4: -4,
|
|
406
|
+
UTC_M3: -3,
|
|
407
|
+
UTC_M2: -2,
|
|
408
|
+
UTC_M1: -1,
|
|
409
|
+
UTC_0: 0,
|
|
410
|
+
UTC_P1: +1,
|
|
411
|
+
UTC_P2: +2,
|
|
412
|
+
UTC_P3: +3,
|
|
413
|
+
UTC_P4: +4,
|
|
414
|
+
UTC_P5: +5,
|
|
415
|
+
UTC_P6: +6,
|
|
416
|
+
UTC_P7: +7,
|
|
417
|
+
UTC_P8: +8,
|
|
418
|
+
UTC_P9: +9,
|
|
419
|
+
UTC_P10: +10,
|
|
420
|
+
UTC_P11: +11,
|
|
421
|
+
UTC_P12: +12,
|
|
422
|
+
description(val) {
|
|
423
|
+
switch (val) {
|
|
424
|
+
case this.UTC_M12:
|
|
425
|
+
return 'UTC -12: Baker Island, Howland Island';
|
|
426
|
+
case this.UTC_M11:
|
|
427
|
+
return 'UTC -11: Samoa Americana, Niue';
|
|
428
|
+
case this.UTC_M10:
|
|
429
|
+
return 'UTC -10: Havaí, Polinésia Francesa';
|
|
430
|
+
case this.UTC_M9:
|
|
431
|
+
return 'UTC -9: Alasca';
|
|
432
|
+
case this.UTC_M8:
|
|
433
|
+
return 'UTC -8: Los Angeles, Vancouver, Tijuana';
|
|
434
|
+
case this.UTC_M7:
|
|
435
|
+
return 'UTC -7: Denver, Calgary, Arizona';
|
|
436
|
+
case this.UTC_M6:
|
|
437
|
+
return 'UTC -6: México, Chicago, Costa Rica';
|
|
438
|
+
case this.UTC_M5:
|
|
439
|
+
return 'UTC -5: Nova York, Bogotá, Lima';
|
|
440
|
+
case this.UTC_M4:
|
|
441
|
+
return 'UTC -4: Caracas, Santiago, La Paz';
|
|
442
|
+
case this.UTC_M3:
|
|
443
|
+
return 'UTC -3: Brasília, Buenos Aires, Montevidéu';
|
|
444
|
+
case this.UTC_M2:
|
|
445
|
+
return 'UTC -2: Ilha da Geórgia do Sul';
|
|
446
|
+
case this.UTC_M1:
|
|
447
|
+
return 'UTC -1: Açores, Cabo Verde';
|
|
448
|
+
case this.UTC_0:
|
|
449
|
+
return 'UTC 0: Londres, Lisboa, Accra';
|
|
450
|
+
case this.UTC_P1:
|
|
451
|
+
return 'UTC +1: Paris, Berlim, Roma, Madri';
|
|
452
|
+
case this.UTC_P2:
|
|
453
|
+
return 'UTC +2: Atenas, Cairo, Joanesburgo';
|
|
454
|
+
case this.UTC_P3:
|
|
455
|
+
return 'UTC +3: Moscou, Riad, Nairóbi';
|
|
456
|
+
case this.UTC_P4:
|
|
457
|
+
return 'UTC +4: Dubai, Baku';
|
|
458
|
+
case this.UTC_P5:
|
|
459
|
+
return 'UTC +5: Islamabad, Maldivas';
|
|
460
|
+
case this.UTC_P6:
|
|
461
|
+
return 'UTC +6: Dhaka, Butão';
|
|
462
|
+
case this.UTC_P7:
|
|
463
|
+
return 'UTC +7: Bancoc, Jacarta, Hanói';
|
|
464
|
+
case this.UTC_P8:
|
|
465
|
+
return 'UTC +8: Pequim, Hong Kong, Perth';
|
|
466
|
+
case this.UTC_P9:
|
|
467
|
+
return 'UTC +9: Tóquio, Seul';
|
|
468
|
+
case this.UTC_P10:
|
|
469
|
+
return 'UTC +10: Sydney, Vladivostok';
|
|
470
|
+
case this.UTC_P11:
|
|
471
|
+
return 'UTC +11: Ilhas Salomão, Nova Caledônia';
|
|
472
|
+
case this.UTC_P12:
|
|
473
|
+
return 'UTC +12: Nova Zelândia, Fiji';
|
|
474
|
+
default:
|
|
475
|
+
return 'Fuso horário não encontrado';
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
};
|