mdz-enum 1.1.51 → 1.1.52

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.
@@ -9,7 +9,8 @@ export declare const SituacaoPedido: {
9
9
  RetornoCliente: string;
10
10
  AguardandoConclusao: string;
11
11
  Concluida: string;
12
- description(val: string): "Edição" | "Liberado" | "Cancelado" | "Nota Pendente" | "Faturado" | "Pendente" | "Enviado ao Cliente" | "Retorno do Cliente" | "Aguardando Conclusão" | "Concluída" | "enum not found";
12
+ AguardandoPagamento: string;
13
+ description(val: string): "Edição" | "Liberado" | "Cancelado" | "Nota Pendente" | "Faturado" | "Pendente" | "Enviado ao Cliente" | "Retorno do Cliente" | "Aguardando Conclusão" | "Concluída" | "Aguardando Pagamento" | "enum not found";
13
14
  };
14
15
  export declare const OperacaoPedido: {
15
16
  Orcamento: string;
@@ -74,7 +75,7 @@ export declare const TipoGrupoComissao: {
74
75
  };
75
76
  export declare const MotivoPedido: {
76
77
  SemEstoque: string;
77
- ausenciaPagamento: string;
78
+ AusenciaPagamento: string;
78
79
  description(val: string): "enum not found" | "Sem Estoque" | "Ausencia de pagamento";
79
80
  };
80
81
  export declare const SituacaoItemConsignacao: {
@@ -12,6 +12,7 @@ exports.SituacaoPedido = {
12
12
  RetornoCliente: '7',
13
13
  AguardandoConclusao: '8',
14
14
  Concluida: '9',
15
+ AguardandoPagamento: '10',
15
16
  description(val) {
16
17
  switch (val) {
17
18
  case this.Edicao:
@@ -34,6 +35,8 @@ exports.SituacaoPedido = {
34
35
  return 'Aguardando Conclusão';
35
36
  case this.Concluida:
36
37
  return 'Concluída';
38
+ case this.AguardandoPagamento:
39
+ return 'Aguardando Pagamento';
37
40
  default:
38
41
  return 'enum not found';
39
42
  }
@@ -214,12 +217,12 @@ exports.TipoGrupoComissao = {
214
217
  };
215
218
  exports.MotivoPedido = {
216
219
  SemEstoque: '0',
217
- ausenciaPagamento: '1',
220
+ AusenciaPagamento: '1',
218
221
  description(val) {
219
222
  switch (val) {
220
223
  case this.SemEstoque:
221
224
  return 'Sem Estoque';
222
- case this.ausenciaPagamento:
225
+ case this.AusenciaPagamento:
223
226
  return 'Ausencia de pagamento';
224
227
  default:
225
228
  return 'enum not found';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.51",
3
+ "version": "1.1.52",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {