mdz-enum 1.2.92 → 1.2.94
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/platform/index.d.ts
CHANGED
|
@@ -10,11 +10,9 @@ export declare const SituacaoAtivacao: {
|
|
|
10
10
|
Cancelado: string;
|
|
11
11
|
Ativo: string;
|
|
12
12
|
Bloqueado: string;
|
|
13
|
-
CancelamentoSolicitado: string;
|
|
14
13
|
PagamentoPendente: string;
|
|
15
|
-
Inativo: string;
|
|
16
14
|
CompraRecusada: string;
|
|
17
|
-
description(val: string): "enum not found" | "Cancelado" | "
|
|
15
|
+
description(val: string): "enum not found" | "Cancelado" | "Ativo" | "Bloqueado" | "Pagamento Pendente" | "Compra Recusada";
|
|
18
16
|
};
|
|
19
17
|
export declare const SituacaoTicket: {
|
|
20
18
|
EmAberto: string;
|
package/dist/platform/index.js
CHANGED
|
@@ -28,9 +28,7 @@ exports.SituacaoAtivacao = {
|
|
|
28
28
|
Cancelado: '0',
|
|
29
29
|
Ativo: '1',
|
|
30
30
|
Bloqueado: '2',
|
|
31
|
-
CancelamentoSolicitado: '3',
|
|
32
31
|
PagamentoPendente: '4',
|
|
33
|
-
Inativo: '5',
|
|
34
32
|
CompraRecusada: '6',
|
|
35
33
|
description(val) {
|
|
36
34
|
switch (val) {
|
|
@@ -40,12 +38,8 @@ exports.SituacaoAtivacao = {
|
|
|
40
38
|
return 'Bloqueado';
|
|
41
39
|
case this.Cancelado:
|
|
42
40
|
return 'Cancelado';
|
|
43
|
-
case this.CancelamentoSolicitado:
|
|
44
|
-
return 'Cancelamento Solicitado';
|
|
45
41
|
case this.PagamentoPendente:
|
|
46
42
|
return 'Pagamento Pendente';
|
|
47
|
-
case this.Inativo:
|
|
48
|
-
return 'Inativo';
|
|
49
43
|
case this.CompraRecusada:
|
|
50
44
|
return 'Compra Recusada';
|
|
51
45
|
default:
|