mdz-enum 1.0.80 → 1.0.81

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.
@@ -14,7 +14,8 @@ export declare const OperacaoPedido: {
14
14
  export declare const OrigemPedido: {
15
15
  Erp: string;
16
16
  Ecommerce: string;
17
- description(val: string): "enum not found" | "Erp" | "Ecommerce";
17
+ MercadoLivre: string;
18
+ description(val: string): "enum not found" | "Erp" | "Ecommerce" | "Mercado Livre";
18
19
  };
19
20
  export declare const TipoFrete: {
20
21
  ContratacaoContaRemetente: string;
@@ -41,12 +41,15 @@ exports.OperacaoPedido = {
41
41
  exports.OrigemPedido = {
42
42
  Erp: '0',
43
43
  Ecommerce: '1',
44
+ MercadoLivre: '2',
44
45
  description(val) {
45
46
  switch (val) {
46
47
  case this.Erp:
47
48
  return 'Erp';
48
49
  case this.Ecommerce:
49
50
  return 'Ecommerce';
51
+ case this.MercadoLivre:
52
+ return 'Mercado Livre';
50
53
  default:
51
54
  return 'enum not found';
52
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -49,6 +49,7 @@ export const OperacaoPedido = {
49
49
  export const OrigemPedido = {
50
50
  Erp: '0',
51
51
  Ecommerce: '1',
52
+ MercadoLivre: '2',
52
53
 
53
54
  description(val: string) {
54
55
  switch (val) {
@@ -58,6 +59,9 @@ export const OrigemPedido = {
58
59
  case this.Ecommerce:
59
60
  return 'Ecommerce'
60
61
 
62
+ case this.MercadoLivre:
63
+ return 'Mercado Livre'
64
+
61
65
  default:
62
66
  return 'enum not found'
63
67
  }