mdz-enum 1.5.30 → 1.5.31
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
|
@@ -51,7 +51,9 @@ export declare const SituacaoPlanos: {
|
|
|
51
51
|
export declare const SituacaoUsuarios: {
|
|
52
52
|
Inativo: string;
|
|
53
53
|
Ativo: string;
|
|
54
|
-
|
|
54
|
+
ConfirmacaoPendente: string;
|
|
55
|
+
RedefinicaoSenha: string;
|
|
56
|
+
description(val: string): "enum not found" | "Inativo" | "Ativo" | "Confirmação pendente" | "Redefinição de senha";
|
|
55
57
|
};
|
|
56
58
|
export declare const Segmento: {
|
|
57
59
|
Produtos_Alimenticios: string;
|
package/dist/platform/index.js
CHANGED
|
@@ -146,12 +146,18 @@ exports.SituacaoPlanos = {
|
|
|
146
146
|
exports.SituacaoUsuarios = {
|
|
147
147
|
Inativo: '0',
|
|
148
148
|
Ativo: '1',
|
|
149
|
+
ConfirmacaoPendente: '2',
|
|
150
|
+
RedefinicaoSenha: '3',
|
|
149
151
|
description(val) {
|
|
150
152
|
switch (val) {
|
|
151
153
|
case this.Inativo:
|
|
152
154
|
return 'Inativo';
|
|
153
155
|
case this.Ativo:
|
|
154
156
|
return 'Ativo';
|
|
157
|
+
case this.ConfirmacaoPendente:
|
|
158
|
+
return 'Confirmação pendente';
|
|
159
|
+
case this.RedefinicaoSenha:
|
|
160
|
+
return 'Redefinição de senha';
|
|
155
161
|
default:
|
|
156
162
|
return 'enum not found';
|
|
157
163
|
}
|