Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mdz-enum

Package Overview
Dependencies
Maintainers
1
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdz-enum - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

60

fiscal/index.js

@@ -524,2 +524,62 @@ export const ICMS_CST = {

}
}
export const OperacaoCenarioFiscal = {
Entrada: '0',
Saida: '1',
description(val) {
switch (val) {
case this.Entrada:
return 'Entrada'
case this.Saida:
return 'Saída'
default:
return 'enum not found'
}
}
}
export const OperacaoNotaFiscal = {
Entrada: '0',
Saida: '1',
description(val) {
switch (val) {
case this.Entrada:
return 'Entrada'
case this.Saida:
return 'Saída'
default:
return 'enum not found'
}
}
}
export const ModeloNotaFiscal = {
NF: '01',
NFe: '55',
NFCe: '65',
SAT: '59',
description(val) {
switch (val) {
case this.NF:
return 'Nota Fiscal'
case this.NFe:
return 'Nota Fisca Eletrônica'
case this.NFCe:
return 'Nota Fiscal de Consumidor Eletrônica'
case this.SAT:
return 'SAT'
default:
return 'enum not found'
}
}
}

20

index.js
export { listEnum } from "./functions"
export { SituacaoPedido, OperacaoPedido, OrigemPedido, TipoFrete } from './commercial'
export { MeioPagamento, OperacaoOperadoraCartao } from './finance'
export { COFINS, ICMS_CSOSN, ICMS_CST, IPI, PIS, OperacaoCenarioFiscal, TipoCenarioFiscal } from './fiscal'
// module.exports = {
// SituacaoPedido,
// OperacaoPedido,
// OrigemPedido,
// OperacaoOperadoraCartao,
// MeioPagamento,
// TipoFrete,
// listEnum,
// ICMS_CST,
// ICMS_CSOSN,
// IPI,
// PIS,
// COFINS,
// OperacaoCenarioFiscal,
// TipoCenarioFiscal
// }
export { COFINS, ICMS_CSOSN, ICMS_CST, IPI, PIS, OperacaoCenarioFiscal, TipoCenarioFiscal } from './fiscal'
{
"name": "mdz-enum",
"version": "1.0.3",
"version": "1.0.4",
"description": "Enumerados Moderniza",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc