mdz-enum 1.6.98 → 1.7.0
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/dist/checkout/index.d.ts +33 -33
- package/dist/checkout/index.js +97 -97
- package/dist/commercial/index.d.ts +254 -254
- package/dist/commercial/index.js +627 -627
- package/dist/common/index.d.ts +71 -71
- package/dist/common/index.js +205 -205
- package/dist/config/index.d.ts +213 -213
- package/dist/config/index.js +645 -645
- package/dist/eva/index.d.ts +164 -164
- package/dist/eva/index.js +233 -233
- package/dist/finance/index.d.ts +241 -241
- package/dist/finance/index.js +731 -731
- package/dist/fiscal/index.d.ts +578 -578
- package/dist/fiscal/index.js +1494 -1494
- package/dist/functions.d.ts +11 -11
- package/dist/functions.js +74 -74
- package/dist/general/index.d.ts +265 -265
- package/dist/general/index.js +512 -512
- package/dist/home/index.d.ts +88 -88
- package/dist/home/index.js +268 -268
- package/dist/index.d.ts +17 -17
- package/dist/index.js +295 -295
- package/dist/integration/index.d.ts +37 -37
- package/dist/integration/index.js +109 -109
- package/dist/logistics/index.d.ts +267 -267
- package/dist/logistics/index.js +767 -767
- package/dist/marketplace/templates/components/index.d.ts +352 -352
- package/dist/marketplace/templates/components/index.js +383 -383
- 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 +589 -592
- package/dist/marketplace/templates/index.js +49 -49
- package/dist/marketplace/templates/pages/index.d.ts +254 -254
- package/dist/marketplace/templates/pages/index.js +443 -443
- package/dist/marketplace/templates/reference/index.d.ts +24 -24
- package/dist/marketplace/templates/reference/index.js +26 -26
- package/dist/people/index.d.ts +66 -66
- package/dist/people/index.js +192 -192
- package/dist/platform/index.d.ts +221 -221
- package/dist/platform/index.js +641 -641
- package/dist/reports/index.d.ts +107 -107
- package/dist/reports/index.js +313 -313
- package/dist/service/index.d.ts +28 -28
- package/dist/service/index.js +97 -97
- package/package.json +1 -4
package/dist/common/index.d.ts
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
export declare const TipoSolicitacao: {
|
|
2
|
-
SPED: string;
|
|
3
|
-
SINTEGRA: string;
|
|
4
|
-
ProcessarNF: string;
|
|
5
|
-
GerarInfoBalanca: string;
|
|
6
|
-
description(val: string): "
|
|
7
|
-
};
|
|
8
|
-
export declare const SituacaoSolicitacao: {
|
|
9
|
-
EmEspera: string;
|
|
10
|
-
EmFila: string;
|
|
11
|
-
EmProcessamento: string;
|
|
12
|
-
Concluida: string;
|
|
13
|
-
ConcluidaComErro: string;
|
|
14
|
-
description(val: string): "
|
|
15
|
-
};
|
|
16
|
-
export declare const SituacaoFila: {
|
|
17
|
-
AguardandoProcessamento: string;
|
|
18
|
-
Processando: string;
|
|
19
|
-
description(val: string): "
|
|
20
|
-
};
|
|
21
|
-
export declare const TipoHistoricoSolicitacao: {
|
|
22
|
-
AdicionarNaFila: string;
|
|
23
|
-
IniciarProcessamento: string;
|
|
24
|
-
ConcluirProcessamento: string;
|
|
25
|
-
ErroNoProcessamento: string;
|
|
26
|
-
description(val: string): "
|
|
27
|
-
};
|
|
28
|
-
export declare const TipoAbrangenciaNotificacao: {
|
|
29
|
-
Usuario: string;
|
|
30
|
-
Filial: string;
|
|
31
|
-
Empresa: string;
|
|
32
|
-
Todos: string;
|
|
33
|
-
description(val: string): "
|
|
34
|
-
};
|
|
35
|
-
export declare const TipoNotificacao: {
|
|
36
|
-
Teste: string;
|
|
37
|
-
NovoPedidoGestao: string;
|
|
38
|
-
NovoPedidoEcommerce: string;
|
|
39
|
-
NovaDevolucaoEcommerce: string;
|
|
40
|
-
Aninversario: string;
|
|
41
|
-
description(val: string): "
|
|
42
|
-
};
|
|
43
|
-
export declare const TipoBusca: {
|
|
44
|
-
Backend: string;
|
|
45
|
-
IndexedDB: string;
|
|
46
|
-
description(val: string): "
|
|
47
|
-
};
|
|
48
|
-
export declare const TipoCodigo: {
|
|
49
|
-
ACTIVATION: string;
|
|
50
|
-
RECOVERY: string;
|
|
51
|
-
description(val: string): "
|
|
52
|
-
};
|
|
53
|
-
export declare const Estacao: {
|
|
54
|
-
VERAO: string;
|
|
55
|
-
OUTONO: string;
|
|
56
|
-
INVERNO: string;
|
|
57
|
-
PRIMAVERA: string;
|
|
58
|
-
description(val: string): "
|
|
59
|
-
};
|
|
60
|
-
export declare const TipoNovidade: {
|
|
61
|
-
Recurso: string;
|
|
62
|
-
Melhoria: string;
|
|
63
|
-
Correcao: string;
|
|
64
|
-
description(val: string): "
|
|
65
|
-
};
|
|
66
|
-
export declare const TipoMidiaNovidade: {
|
|
67
|
-
Imagem: string;
|
|
68
|
-
Gif: string;
|
|
69
|
-
Video: string;
|
|
70
|
-
description(val: string): "
|
|
71
|
-
};
|
|
1
|
+
export declare const TipoSolicitacao: {
|
|
2
|
+
SPED: string;
|
|
3
|
+
SINTEGRA: string;
|
|
4
|
+
ProcessarNF: string;
|
|
5
|
+
GerarInfoBalanca: string;
|
|
6
|
+
description(val: string): "Gerar informações de balança" | "Processar NFe" | "SINTEGRA" | "SPED" | "enum not found";
|
|
7
|
+
};
|
|
8
|
+
export declare const SituacaoSolicitacao: {
|
|
9
|
+
EmEspera: string;
|
|
10
|
+
EmFila: string;
|
|
11
|
+
EmProcessamento: string;
|
|
12
|
+
Concluida: string;
|
|
13
|
+
ConcluidaComErro: string;
|
|
14
|
+
description(val: string): "Concluída" | "Concluída com erro" | "Em espera" | "Em fila" | "Em processamento" | "enum not found";
|
|
15
|
+
};
|
|
16
|
+
export declare const SituacaoFila: {
|
|
17
|
+
AguardandoProcessamento: string;
|
|
18
|
+
Processando: string;
|
|
19
|
+
description(val: string): "Aguardando Processamento" | "Processando" | "enum not found";
|
|
20
|
+
};
|
|
21
|
+
export declare const TipoHistoricoSolicitacao: {
|
|
22
|
+
AdicionarNaFila: string;
|
|
23
|
+
IniciarProcessamento: string;
|
|
24
|
+
ConcluirProcessamento: string;
|
|
25
|
+
ErroNoProcessamento: string;
|
|
26
|
+
description(val: string): "Adicionou na fila" | "Concluiu o processamento" | "Erro no processamento" | "Iniciou o processamento" | "enum not found";
|
|
27
|
+
};
|
|
28
|
+
export declare const TipoAbrangenciaNotificacao: {
|
|
29
|
+
Usuario: string;
|
|
30
|
+
Filial: string;
|
|
31
|
+
Empresa: string;
|
|
32
|
+
Todos: string;
|
|
33
|
+
description(val: string): "Todos usuários do sistema" | "Usuário logado" | "Usuários da Empresa" | "Usuários da Filial" | "enum not found";
|
|
34
|
+
};
|
|
35
|
+
export declare const TipoNotificacao: {
|
|
36
|
+
Teste: string;
|
|
37
|
+
NovoPedidoGestao: string;
|
|
38
|
+
NovoPedidoEcommerce: string;
|
|
39
|
+
NovaDevolucaoEcommerce: string;
|
|
40
|
+
Aninversario: string;
|
|
41
|
+
description(val: string): "Aninversario" | "Nova devolução solicitada" | "Novo pedido criado" | "Novo pedido recebido" | "Teste..." | "enum not found";
|
|
42
|
+
};
|
|
43
|
+
export declare const TipoBusca: {
|
|
44
|
+
Backend: string;
|
|
45
|
+
IndexedDB: string;
|
|
46
|
+
description(val: string): "Backend" | "IndexedDB" | "enum not found";
|
|
47
|
+
};
|
|
48
|
+
export declare const TipoCodigo: {
|
|
49
|
+
ACTIVATION: string;
|
|
50
|
+
RECOVERY: string;
|
|
51
|
+
description(val: string): "Código de ativação" | "Código de recuperação" | "enum not found";
|
|
52
|
+
};
|
|
53
|
+
export declare const Estacao: {
|
|
54
|
+
VERAO: string;
|
|
55
|
+
OUTONO: string;
|
|
56
|
+
INVERNO: string;
|
|
57
|
+
PRIMAVERA: string;
|
|
58
|
+
description(val: string): "Inverno" | "Outono" | "Primavera" | "Verão" | "enum not found";
|
|
59
|
+
};
|
|
60
|
+
export declare const TipoNovidade: {
|
|
61
|
+
Recurso: string;
|
|
62
|
+
Melhoria: string;
|
|
63
|
+
Correcao: string;
|
|
64
|
+
description(val: string): "Ajuste" | "Melhoria" | "Novo" | "enum not found";
|
|
65
|
+
};
|
|
66
|
+
export declare const TipoMidiaNovidade: {
|
|
67
|
+
Imagem: string;
|
|
68
|
+
Gif: string;
|
|
69
|
+
Video: string;
|
|
70
|
+
description(val: string): "GIF" | "Imagem" | "Vídeo" | "enum not found";
|
|
71
|
+
};
|
package/dist/common/index.js
CHANGED
|
@@ -1,205 +1,205 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoMidiaNovidade = exports.TipoNovidade = exports.Estacao = exports.TipoCodigo = exports.TipoBusca = exports.TipoNotificacao = exports.TipoAbrangenciaNotificacao = exports.TipoHistoricoSolicitacao = exports.SituacaoFila = exports.SituacaoSolicitacao = exports.TipoSolicitacao = void 0;
|
|
4
|
-
exports.TipoSolicitacao = {
|
|
5
|
-
SPED: '1',
|
|
6
|
-
SINTEGRA: '2',
|
|
7
|
-
ProcessarNF: '3',
|
|
8
|
-
GerarInfoBalanca: '4',
|
|
9
|
-
description(val) {
|
|
10
|
-
switch (val) {
|
|
11
|
-
case this.SPED:
|
|
12
|
-
return 'SPED';
|
|
13
|
-
case this.SINTEGRA:
|
|
14
|
-
return 'SINTEGRA';
|
|
15
|
-
case this.ProcessarNF:
|
|
16
|
-
return 'Processar NFe';
|
|
17
|
-
case this.GerarInfoBalanca:
|
|
18
|
-
return 'Gerar informações de balança';
|
|
19
|
-
default:
|
|
20
|
-
return 'enum not found';
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
exports.SituacaoSolicitacao = {
|
|
25
|
-
EmEspera: '1',
|
|
26
|
-
EmFila: '2',
|
|
27
|
-
EmProcessamento: '3',
|
|
28
|
-
Concluida: '4',
|
|
29
|
-
ConcluidaComErro: '5',
|
|
30
|
-
description(val) {
|
|
31
|
-
switch (val) {
|
|
32
|
-
case this.EmEspera:
|
|
33
|
-
return 'Em espera';
|
|
34
|
-
case this.EmFila:
|
|
35
|
-
return 'Em fila';
|
|
36
|
-
case this.EmProcessamento:
|
|
37
|
-
return 'Em processamento';
|
|
38
|
-
case this.Concluida:
|
|
39
|
-
return 'Concluída';
|
|
40
|
-
case this.ConcluidaComErro:
|
|
41
|
-
return 'Concluída com erro';
|
|
42
|
-
default:
|
|
43
|
-
return 'enum not found';
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
exports.SituacaoFila = {
|
|
48
|
-
AguardandoProcessamento: '1',
|
|
49
|
-
Processando: '2',
|
|
50
|
-
description(val) {
|
|
51
|
-
switch (val) {
|
|
52
|
-
case this.AguardandoProcessamento:
|
|
53
|
-
return 'Aguardando Processamento';
|
|
54
|
-
case this.Processando:
|
|
55
|
-
return 'Processando';
|
|
56
|
-
default:
|
|
57
|
-
return 'enum not found';
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
};
|
|
61
|
-
exports.TipoHistoricoSolicitacao = {
|
|
62
|
-
AdicionarNaFila: '1',
|
|
63
|
-
IniciarProcessamento: '2',
|
|
64
|
-
ConcluirProcessamento: '3',
|
|
65
|
-
ErroNoProcessamento: '4',
|
|
66
|
-
description(val) {
|
|
67
|
-
switch (val) {
|
|
68
|
-
case this.AdicionarNaFila:
|
|
69
|
-
return 'Adicionou na fila';
|
|
70
|
-
case this.IniciarProcessamento:
|
|
71
|
-
return 'Iniciou o processamento';
|
|
72
|
-
case this.ConcluirProcessamento:
|
|
73
|
-
return 'Concluiu o processamento';
|
|
74
|
-
case this.ErroNoProcessamento:
|
|
75
|
-
return 'Erro no processamento';
|
|
76
|
-
default:
|
|
77
|
-
return 'enum not found';
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
exports.TipoAbrangenciaNotificacao = {
|
|
82
|
-
Usuario: '0',
|
|
83
|
-
Filial: '1',
|
|
84
|
-
Empresa: '3',
|
|
85
|
-
Todos: '4',
|
|
86
|
-
description(val) {
|
|
87
|
-
switch (val) {
|
|
88
|
-
case this.Usuario:
|
|
89
|
-
return 'Usuário logado';
|
|
90
|
-
case this.Filial:
|
|
91
|
-
return 'Usuários da Filial';
|
|
92
|
-
case this.Empresa:
|
|
93
|
-
return 'Usuários da Empresa';
|
|
94
|
-
case this.Todos:
|
|
95
|
-
return 'Todos usuários do sistema';
|
|
96
|
-
default:
|
|
97
|
-
return 'enum not found';
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
};
|
|
101
|
-
exports.TipoNotificacao = {
|
|
102
|
-
Teste: '0',
|
|
103
|
-
NovoPedidoGestao: '1',
|
|
104
|
-
NovoPedidoEcommerce: '2',
|
|
105
|
-
NovaDevolucaoEcommerce: '3',
|
|
106
|
-
Aninversario: '4',
|
|
107
|
-
description(val) {
|
|
108
|
-
switch (val) {
|
|
109
|
-
case this.Teste:
|
|
110
|
-
return 'Teste...';
|
|
111
|
-
case this.NovoPedidoGestao:
|
|
112
|
-
return 'Novo pedido criado';
|
|
113
|
-
case this.NovoPedidoEcommerce:
|
|
114
|
-
return 'Novo pedido recebido';
|
|
115
|
-
case this.NovaDevolucaoEcommerce:
|
|
116
|
-
return 'Nova devolução solicitada';
|
|
117
|
-
case this.Aninversario:
|
|
118
|
-
return 'Aninversario';
|
|
119
|
-
default:
|
|
120
|
-
return 'enum not found';
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
};
|
|
124
|
-
exports.TipoBusca = {
|
|
125
|
-
Backend: '0',
|
|
126
|
-
IndexedDB: '1',
|
|
127
|
-
description(val) {
|
|
128
|
-
switch (val) {
|
|
129
|
-
case this.Backend:
|
|
130
|
-
return 'Backend';
|
|
131
|
-
case this.IndexedDB:
|
|
132
|
-
return 'IndexedDB';
|
|
133
|
-
default:
|
|
134
|
-
return 'enum not found';
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
};
|
|
138
|
-
exports.TipoCodigo = {
|
|
139
|
-
ACTIVATION: '0',
|
|
140
|
-
RECOVERY: '1',
|
|
141
|
-
description(val) {
|
|
142
|
-
switch (val) {
|
|
143
|
-
case this.ACTIVATION:
|
|
144
|
-
return 'Código de ativação';
|
|
145
|
-
case this.RECOVERY:
|
|
146
|
-
return 'Código de recuperação';
|
|
147
|
-
default:
|
|
148
|
-
return 'enum not found';
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
};
|
|
152
|
-
exports.Estacao = {
|
|
153
|
-
VERAO: '0',
|
|
154
|
-
OUTONO: '1',
|
|
155
|
-
INVERNO: '2',
|
|
156
|
-
PRIMAVERA: '3',
|
|
157
|
-
description(val) {
|
|
158
|
-
switch (val) {
|
|
159
|
-
case this.VERAO:
|
|
160
|
-
return 'Verão';
|
|
161
|
-
case this.OUTONO:
|
|
162
|
-
return 'Outono';
|
|
163
|
-
case this.INVERNO:
|
|
164
|
-
return 'Inverno';
|
|
165
|
-
case this.PRIMAVERA:
|
|
166
|
-
return 'Primavera';
|
|
167
|
-
default:
|
|
168
|
-
return 'enum not found';
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
};
|
|
172
|
-
exports.TipoNovidade = {
|
|
173
|
-
Recurso: '0',
|
|
174
|
-
Melhoria: '1',
|
|
175
|
-
Correcao: '2',
|
|
176
|
-
description(val) {
|
|
177
|
-
switch (val) {
|
|
178
|
-
case this.Recurso:
|
|
179
|
-
return 'Novo';
|
|
180
|
-
case this.Melhoria:
|
|
181
|
-
return 'Melhoria';
|
|
182
|
-
case this.Correcao:
|
|
183
|
-
return 'Ajuste';
|
|
184
|
-
default:
|
|
185
|
-
return 'enum not found';
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
};
|
|
189
|
-
exports.TipoMidiaNovidade = {
|
|
190
|
-
Imagem: '0',
|
|
191
|
-
Gif: '1',
|
|
192
|
-
Video: '2',
|
|
193
|
-
description(val) {
|
|
194
|
-
switch (val) {
|
|
195
|
-
case this.Imagem:
|
|
196
|
-
return 'Imagem';
|
|
197
|
-
case this.Gif:
|
|
198
|
-
return 'GIF';
|
|
199
|
-
case this.Video:
|
|
200
|
-
return 'Vídeo';
|
|
201
|
-
default:
|
|
202
|
-
return 'enum not found';
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoMidiaNovidade = exports.TipoNovidade = exports.Estacao = exports.TipoCodigo = exports.TipoBusca = exports.TipoNotificacao = exports.TipoAbrangenciaNotificacao = exports.TipoHistoricoSolicitacao = exports.SituacaoFila = exports.SituacaoSolicitacao = exports.TipoSolicitacao = void 0;
|
|
4
|
+
exports.TipoSolicitacao = {
|
|
5
|
+
SPED: '1',
|
|
6
|
+
SINTEGRA: '2',
|
|
7
|
+
ProcessarNF: '3',
|
|
8
|
+
GerarInfoBalanca: '4',
|
|
9
|
+
description(val) {
|
|
10
|
+
switch (val) {
|
|
11
|
+
case this.SPED:
|
|
12
|
+
return 'SPED';
|
|
13
|
+
case this.SINTEGRA:
|
|
14
|
+
return 'SINTEGRA';
|
|
15
|
+
case this.ProcessarNF:
|
|
16
|
+
return 'Processar NFe';
|
|
17
|
+
case this.GerarInfoBalanca:
|
|
18
|
+
return 'Gerar informações de balança';
|
|
19
|
+
default:
|
|
20
|
+
return 'enum not found';
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
exports.SituacaoSolicitacao = {
|
|
25
|
+
EmEspera: '1',
|
|
26
|
+
EmFila: '2',
|
|
27
|
+
EmProcessamento: '3',
|
|
28
|
+
Concluida: '4',
|
|
29
|
+
ConcluidaComErro: '5',
|
|
30
|
+
description(val) {
|
|
31
|
+
switch (val) {
|
|
32
|
+
case this.EmEspera:
|
|
33
|
+
return 'Em espera';
|
|
34
|
+
case this.EmFila:
|
|
35
|
+
return 'Em fila';
|
|
36
|
+
case this.EmProcessamento:
|
|
37
|
+
return 'Em processamento';
|
|
38
|
+
case this.Concluida:
|
|
39
|
+
return 'Concluída';
|
|
40
|
+
case this.ConcluidaComErro:
|
|
41
|
+
return 'Concluída com erro';
|
|
42
|
+
default:
|
|
43
|
+
return 'enum not found';
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
exports.SituacaoFila = {
|
|
48
|
+
AguardandoProcessamento: '1',
|
|
49
|
+
Processando: '2',
|
|
50
|
+
description(val) {
|
|
51
|
+
switch (val) {
|
|
52
|
+
case this.AguardandoProcessamento:
|
|
53
|
+
return 'Aguardando Processamento';
|
|
54
|
+
case this.Processando:
|
|
55
|
+
return 'Processando';
|
|
56
|
+
default:
|
|
57
|
+
return 'enum not found';
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
exports.TipoHistoricoSolicitacao = {
|
|
62
|
+
AdicionarNaFila: '1',
|
|
63
|
+
IniciarProcessamento: '2',
|
|
64
|
+
ConcluirProcessamento: '3',
|
|
65
|
+
ErroNoProcessamento: '4',
|
|
66
|
+
description(val) {
|
|
67
|
+
switch (val) {
|
|
68
|
+
case this.AdicionarNaFila:
|
|
69
|
+
return 'Adicionou na fila';
|
|
70
|
+
case this.IniciarProcessamento:
|
|
71
|
+
return 'Iniciou o processamento';
|
|
72
|
+
case this.ConcluirProcessamento:
|
|
73
|
+
return 'Concluiu o processamento';
|
|
74
|
+
case this.ErroNoProcessamento:
|
|
75
|
+
return 'Erro no processamento';
|
|
76
|
+
default:
|
|
77
|
+
return 'enum not found';
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
exports.TipoAbrangenciaNotificacao = {
|
|
82
|
+
Usuario: '0',
|
|
83
|
+
Filial: '1',
|
|
84
|
+
Empresa: '3',
|
|
85
|
+
Todos: '4',
|
|
86
|
+
description(val) {
|
|
87
|
+
switch (val) {
|
|
88
|
+
case this.Usuario:
|
|
89
|
+
return 'Usuário logado';
|
|
90
|
+
case this.Filial:
|
|
91
|
+
return 'Usuários da Filial';
|
|
92
|
+
case this.Empresa:
|
|
93
|
+
return 'Usuários da Empresa';
|
|
94
|
+
case this.Todos:
|
|
95
|
+
return 'Todos usuários do sistema';
|
|
96
|
+
default:
|
|
97
|
+
return 'enum not found';
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
exports.TipoNotificacao = {
|
|
102
|
+
Teste: '0',
|
|
103
|
+
NovoPedidoGestao: '1',
|
|
104
|
+
NovoPedidoEcommerce: '2',
|
|
105
|
+
NovaDevolucaoEcommerce: '3',
|
|
106
|
+
Aninversario: '4',
|
|
107
|
+
description(val) {
|
|
108
|
+
switch (val) {
|
|
109
|
+
case this.Teste:
|
|
110
|
+
return 'Teste...';
|
|
111
|
+
case this.NovoPedidoGestao:
|
|
112
|
+
return 'Novo pedido criado';
|
|
113
|
+
case this.NovoPedidoEcommerce:
|
|
114
|
+
return 'Novo pedido recebido';
|
|
115
|
+
case this.NovaDevolucaoEcommerce:
|
|
116
|
+
return 'Nova devolução solicitada';
|
|
117
|
+
case this.Aninversario:
|
|
118
|
+
return 'Aninversario';
|
|
119
|
+
default:
|
|
120
|
+
return 'enum not found';
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
exports.TipoBusca = {
|
|
125
|
+
Backend: '0',
|
|
126
|
+
IndexedDB: '1',
|
|
127
|
+
description(val) {
|
|
128
|
+
switch (val) {
|
|
129
|
+
case this.Backend:
|
|
130
|
+
return 'Backend';
|
|
131
|
+
case this.IndexedDB:
|
|
132
|
+
return 'IndexedDB';
|
|
133
|
+
default:
|
|
134
|
+
return 'enum not found';
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
exports.TipoCodigo = {
|
|
139
|
+
ACTIVATION: '0',
|
|
140
|
+
RECOVERY: '1',
|
|
141
|
+
description(val) {
|
|
142
|
+
switch (val) {
|
|
143
|
+
case this.ACTIVATION:
|
|
144
|
+
return 'Código de ativação';
|
|
145
|
+
case this.RECOVERY:
|
|
146
|
+
return 'Código de recuperação';
|
|
147
|
+
default:
|
|
148
|
+
return 'enum not found';
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
exports.Estacao = {
|
|
153
|
+
VERAO: '0',
|
|
154
|
+
OUTONO: '1',
|
|
155
|
+
INVERNO: '2',
|
|
156
|
+
PRIMAVERA: '3',
|
|
157
|
+
description(val) {
|
|
158
|
+
switch (val) {
|
|
159
|
+
case this.VERAO:
|
|
160
|
+
return 'Verão';
|
|
161
|
+
case this.OUTONO:
|
|
162
|
+
return 'Outono';
|
|
163
|
+
case this.INVERNO:
|
|
164
|
+
return 'Inverno';
|
|
165
|
+
case this.PRIMAVERA:
|
|
166
|
+
return 'Primavera';
|
|
167
|
+
default:
|
|
168
|
+
return 'enum not found';
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
exports.TipoNovidade = {
|
|
173
|
+
Recurso: '0',
|
|
174
|
+
Melhoria: '1',
|
|
175
|
+
Correcao: '2',
|
|
176
|
+
description(val) {
|
|
177
|
+
switch (val) {
|
|
178
|
+
case this.Recurso:
|
|
179
|
+
return 'Novo';
|
|
180
|
+
case this.Melhoria:
|
|
181
|
+
return 'Melhoria';
|
|
182
|
+
case this.Correcao:
|
|
183
|
+
return 'Ajuste';
|
|
184
|
+
default:
|
|
185
|
+
return 'enum not found';
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
};
|
|
189
|
+
exports.TipoMidiaNovidade = {
|
|
190
|
+
Imagem: '0',
|
|
191
|
+
Gif: '1',
|
|
192
|
+
Video: '2',
|
|
193
|
+
description(val) {
|
|
194
|
+
switch (val) {
|
|
195
|
+
case this.Imagem:
|
|
196
|
+
return 'Imagem';
|
|
197
|
+
case this.Gif:
|
|
198
|
+
return 'GIF';
|
|
199
|
+
case this.Video:
|
|
200
|
+
return 'Vídeo';
|
|
201
|
+
default:
|
|
202
|
+
return 'enum not found';
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
};
|