mdz-enum 1.0.51 → 1.0.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.
@@ -1,10 +1,10 @@
1
1
  export declare const SituacaoPedido: {
2
2
  Edicao: string;
3
3
  Liberado: string;
4
- Bloqueado: string;
5
- Finalizado: string;
6
4
  Cancelado: string;
7
- description(val: string): "Edição" | "Liberado" | "Bloqueado" | "Finalizado" | "Cancelado" | "enum not found";
5
+ NotaPendente: string;
6
+ Faturado: string;
7
+ description(val: string): "Edição" | "Liberado" | "Cancelado" | "Nota Pendente" | "Faturado" | "enum not found";
8
8
  };
9
9
  export declare const OperacaoPedido: {
10
10
  Orcamento: string;
@@ -4,21 +4,21 @@ exports.TipoDescontoPromocao = exports.SituacaoPromocao = exports.TipoFrete = ex
4
4
  exports.SituacaoPedido = {
5
5
  Edicao: '0',
6
6
  Liberado: '1',
7
- Bloqueado: '2',
8
- Finalizado: '3',
9
- Cancelado: '4',
7
+ Cancelado: '2',
8
+ NotaPendente: '3',
9
+ Faturado: '4',
10
10
  description(val) {
11
11
  switch (val) {
12
12
  case this.Edicao:
13
13
  return 'Edição';
14
14
  case this.Liberado:
15
15
  return 'Liberado';
16
- case this.Bloqueado:
17
- return 'Bloqueado';
18
- case this.Finalizado:
19
- return 'Finalizado';
20
16
  case this.Cancelado:
21
17
  return 'Cancelado';
18
+ case this.NotaPendente:
19
+ return 'Nota Pendente';
20
+ case this.Faturado:
21
+ return 'Faturado';
22
22
  default:
23
23
  return 'enum not found';
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,9 +1,9 @@
1
1
  export const SituacaoPedido = {
2
2
  Edicao: '0',
3
3
  Liberado: '1',
4
- Bloqueado: '2',
5
- Finalizado: '3',
6
- Cancelado: '4',
4
+ Cancelado: '2',
5
+ NotaPendente: '3',
6
+ Faturado: '4',
7
7
 
8
8
  description(val: string) {
9
9
  switch (val) {
@@ -13,15 +13,15 @@ export const SituacaoPedido = {
13
13
  case this.Liberado:
14
14
  return 'Liberado'
15
15
 
16
- case this.Bloqueado:
17
- return 'Bloqueado'
18
-
19
- case this.Finalizado:
20
- return 'Finalizado'
21
-
22
16
  case this.Cancelado:
23
17
  return 'Cancelado'
24
18
 
19
+ case this.NotaPendente:
20
+ return 'Nota Pendente'
21
+
22
+ case this.Faturado:
23
+ return 'Faturado'
24
+
25
25
  default:
26
26
  return 'enum not found'
27
27
  }