mdz-enum 1.0.44 → 1.0.45
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.
- package/dist/finance/index.d.ts +2 -1
- package/dist/finance/index.js +3 -0
- package/package.json +1 -1
- package/src/finance/index.ts +4 -0
package/dist/finance/index.d.ts
CHANGED
|
@@ -79,5 +79,6 @@ export declare const TipoCaixaOperacao: {
|
|
|
79
79
|
export declare const SituacaoCaixa: {
|
|
80
80
|
Aberto: string;
|
|
81
81
|
Fechado: string;
|
|
82
|
-
|
|
82
|
+
FechadoComDiferenca: string;
|
|
83
|
+
description(val: string): "enum not found" | "Aberto" | "Fechado" | "Fechado com Diferença";
|
|
83
84
|
};
|
package/dist/finance/index.js
CHANGED
|
@@ -229,12 +229,15 @@ exports.TipoCaixaOperacao = {
|
|
|
229
229
|
exports.SituacaoCaixa = {
|
|
230
230
|
Aberto: '0',
|
|
231
231
|
Fechado: '1',
|
|
232
|
+
FechadoComDiferenca: '2',
|
|
232
233
|
description(val) {
|
|
233
234
|
switch (val) {
|
|
234
235
|
case this.Aberto:
|
|
235
236
|
return 'Aberto';
|
|
236
237
|
case this.Fechado:
|
|
237
238
|
return 'Fechado';
|
|
239
|
+
case this.FechadoComDiferenca:
|
|
240
|
+
return 'Fechado com Diferença';
|
|
238
241
|
default:
|
|
239
242
|
return 'enum not found';
|
|
240
243
|
}
|
package/package.json
CHANGED
package/src/finance/index.ts
CHANGED
|
@@ -295,6 +295,7 @@ export const TipoCaixaOperacao = {
|
|
|
295
295
|
export const SituacaoCaixa = {
|
|
296
296
|
Aberto: '0',
|
|
297
297
|
Fechado: '1',
|
|
298
|
+
FechadoComDiferenca: '2',
|
|
298
299
|
|
|
299
300
|
description(val: string) {
|
|
300
301
|
switch (val) {
|
|
@@ -304,6 +305,9 @@ export const SituacaoCaixa = {
|
|
|
304
305
|
case this.Fechado:
|
|
305
306
|
return 'Fechado'
|
|
306
307
|
|
|
308
|
+
case this.FechadoComDiferenca:
|
|
309
|
+
return 'Fechado com Diferença'
|
|
310
|
+
|
|
307
311
|
default:
|
|
308
312
|
return 'enum not found'
|
|
309
313
|
}
|