mdz-enum 1.2.10 → 1.2.12
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/common/index.d.ts +3 -1
- package/dist/common/index.js +6 -0
- package/package.json +1 -1
package/dist/common/index.d.ts
CHANGED
|
@@ -36,5 +36,7 @@ export declare const TipoNotificacao: {
|
|
|
36
36
|
Teste: string;
|
|
37
37
|
NovoPedidoGestao: string;
|
|
38
38
|
NovoPedidoEcommerce: string;
|
|
39
|
-
|
|
39
|
+
NovaDevolucaoEcommerce: string;
|
|
40
|
+
Aninversario: string;
|
|
41
|
+
description(val: string): "enum not found" | "Teste..." | "Novo pedido foi criado!" | "Novo pedido recebido pelo Ecommerce" | "Nova devolução solicitada pelo Ecommerce" | "Aninversario";
|
|
40
42
|
};
|
package/dist/common/index.js
CHANGED
|
@@ -102,6 +102,8 @@ exports.TipoNotificacao = {
|
|
|
102
102
|
Teste: '0',
|
|
103
103
|
NovoPedidoGestao: '1',
|
|
104
104
|
NovoPedidoEcommerce: '2',
|
|
105
|
+
NovaDevolucaoEcommerce: '3',
|
|
106
|
+
Aninversario: '4',
|
|
105
107
|
description(val) {
|
|
106
108
|
switch (val) {
|
|
107
109
|
case this.Teste:
|
|
@@ -110,6 +112,10 @@ exports.TipoNotificacao = {
|
|
|
110
112
|
return 'Novo pedido foi criado!';
|
|
111
113
|
case this.NovoPedidoEcommerce:
|
|
112
114
|
return 'Novo pedido recebido pelo Ecommerce';
|
|
115
|
+
case this.NovaDevolucaoEcommerce:
|
|
116
|
+
return 'Nova devolução solicitada pelo Ecommerce';
|
|
117
|
+
case this.Aninversario:
|
|
118
|
+
return 'Aninversario';
|
|
113
119
|
default:
|
|
114
120
|
return 'enum not found';
|
|
115
121
|
}
|