mdz-enum 1.7.29 → 1.7.30

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.
@@ -12,8 +12,11 @@ export declare const SituacaoPedido: {
12
12
  FaturadoParcial: string;
13
13
  RecebimentoParcial: string;
14
14
  RecebimentoExcedente: string;
15
+ EmCotacao: string;
16
+ CotacaoEncerrada: string;
15
17
  isRecebimentoCompra(val: string): boolean;
16
- description(val: string): "enum not found" | "Pendente" | "Cancelado" | "Edição" | "Liberado" | "Nota Pendente" | "Faturado" | "Enviado ao Cliente" | "Retorno do Cliente" | "Aguardando Conclusão" | "Concluída" | "Faturado Parcial" | "Recebimento Parcial" | "Recebimento a Mais";
18
+ isCotacaoCompra(val: string): boolean;
19
+ description(val: string): "enum not found" | "Pendente" | "Cancelado" | "Edição" | "Liberado" | "Nota Pendente" | "Faturado" | "Enviado ao Cliente" | "Retorno do Cliente" | "Aguardando Conclusão" | "Concluída" | "Faturado Parcial" | "Recebimento Parcial" | "Recebimento a Mais" | "Em Cotação" | "Cotação Encerrada";
17
20
  };
18
21
  export declare const OperacaoPedido: {
19
22
  Orcamento: string;
@@ -16,9 +16,14 @@ exports.SituacaoPedido = {
16
16
  FaturadoParcial: '10',
17
17
  RecebimentoParcial: '11',
18
18
  RecebimentoExcedente: '12',
19
+ EmCotacao: '13',
20
+ CotacaoEncerrada: '14',
19
21
  isRecebimentoCompra(val) {
20
22
  return val === this.RecebimentoParcial || val === this.RecebimentoExcedente;
21
23
  },
24
+ isCotacaoCompra(val) {
25
+ return val === this.EmCotacao || val === this.CotacaoEncerrada;
26
+ },
22
27
  description(val) {
23
28
  switch (val) {
24
29
  case this.Edicao:
@@ -47,6 +52,10 @@ exports.SituacaoPedido = {
47
52
  return 'Recebimento Parcial';
48
53
  case this.RecebimentoExcedente:
49
54
  return 'Recebimento a Mais';
55
+ case this.EmCotacao:
56
+ return 'Em Cotação';
57
+ case this.CotacaoEncerrada:
58
+ return 'Cotação Encerrada';
50
59
  default:
51
60
  return 'enum not found';
52
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.7.29",
3
+ "version": "1.7.30",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {