mdz-enum 1.1.51 → 1.1.53

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