mdz-enum 1.4.4 → 1.4.5

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.
@@ -451,7 +451,8 @@ export declare const OrigemOperacao: {
451
451
  NotaFiscal: string;
452
452
  PDV: string;
453
453
  Pedido: string;
454
- description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "PDV";
454
+ Operacao: string;
455
+ description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "PDV" | "Operação";
455
456
  };
456
457
  export declare const ModeloImpressao: {
457
458
  Comprovante80MM: string;
@@ -1124,6 +1124,7 @@ exports.OrigemOperacao = {
1124
1124
  NotaFiscal: '0',
1125
1125
  PDV: '1',
1126
1126
  Pedido: '2',
1127
+ Operacao: '3',
1127
1128
  description(val) {
1128
1129
  switch (val) {
1129
1130
  case this.NotaFiscal:
@@ -1132,6 +1133,8 @@ exports.OrigemOperacao = {
1132
1133
  return 'PDV';
1133
1134
  case this.Pedido:
1134
1135
  return 'Pedido';
1136
+ case this.Operacao:
1137
+ return 'Operação';
1135
1138
  default:
1136
1139
  return 'enum not found';
1137
1140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {