mdz-enum 1.7.15 → 1.7.16

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.
@@ -210,8 +210,9 @@ export declare const ModuloEmpresa: {
210
210
  Entrega: string;
211
211
  Servico: string;
212
212
  Otica: string;
213
- description(val: string): "enum not found" | "Produção" | "Serviços" | "Kit" | "Conjunto" | "Grade de produtos" | "Controle de lotes" | "Informação nutricional" | "Conferência de itens" | "Agendamento" | "Controle de entregas" | "Ótica";
214
- campo(val: string): "" | "is_produto_grade" | "is_produto_kit" | "is_produto_conjunto" | "is_modulo_producao" | "is_lote" | "is_informacao_nutricional" | "is_modulo_conferencia" | "is_modulo_agendamento" | "is_modulo_entrega" | "is_modulo_servico" | "is_modulo_otica";
213
+ Serie: string;
214
+ description(val: string): "enum not found" | "Produção" | "Serviços" | "Kit" | "Conjunto" | "Grade de produtos" | "Controle de lotes" | "Informação nutricional" | "Conferência de itens" | "Agendamento" | "Controle de entregas" | "Ótica" | "Controle de números de série";
215
+ campo(val: string): "" | "is_produto_grade" | "is_produto_kit" | "is_produto_conjunto" | "is_modulo_producao" | "is_lote" | "is_informacao_nutricional" | "is_modulo_conferencia" | "is_modulo_agendamento" | "is_modulo_entrega" | "is_modulo_servico" | "is_modulo_otica" | "is_serie";
215
216
  pai(val: string): string | null;
216
217
  doTipoProduto(tipoProduto: string): string | null;
217
218
  };
@@ -587,6 +587,7 @@ exports.ModuloEmpresa = {
587
587
  Entrega: '8',
588
588
  Servico: '9',
589
589
  Otica: '10',
590
+ Serie: '11',
590
591
  description(val) {
591
592
  switch (val) {
592
593
  case this.Grade:
@@ -611,6 +612,8 @@ exports.ModuloEmpresa = {
611
612
  return 'Serviços';
612
613
  case this.Otica:
613
614
  return 'Ótica';
615
+ case this.Serie:
616
+ return 'Controle de números de série';
614
617
  default:
615
618
  return 'enum not found';
616
619
  }
@@ -639,6 +642,8 @@ exports.ModuloEmpresa = {
639
642
  return 'is_modulo_servico';
640
643
  case this.Otica:
641
644
  return 'is_modulo_otica';
645
+ case this.Serie:
646
+ return 'is_serie';
642
647
  default:
643
648
  return '';
644
649
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.7.15",
3
+ "version": "1.7.16",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {