mdz-enum 1.6.44 → 1.6.46
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.
|
@@ -145,7 +145,8 @@ export declare const SituacaoEntrega: {
|
|
|
145
145
|
Combinar: string;
|
|
146
146
|
EmSeparacao: string;
|
|
147
147
|
Recusado: string;
|
|
148
|
-
|
|
148
|
+
Cancelado: string;
|
|
149
|
+
description(val: string): "enum not found" | "Aguardando envio" | "Objeto postado" | "Objeto em transporte" | "Objeto entregue" | "Entrega a combinar" | "Entrega em separação" | "Entrega recusada" | "Entrega Cancelada";
|
|
149
150
|
};
|
|
150
151
|
export declare const SituacaoEtiqueta: {
|
|
151
152
|
Pendente: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -408,6 +408,7 @@ exports.SituacaoEntrega = {
|
|
|
408
408
|
Combinar: '4',
|
|
409
409
|
EmSeparacao: '5',
|
|
410
410
|
Recusado: '6',
|
|
411
|
+
Cancelado: '7',
|
|
411
412
|
description(val) {
|
|
412
413
|
switch (val) {
|
|
413
414
|
case this.Aguardando:
|
|
@@ -424,6 +425,8 @@ exports.SituacaoEntrega = {
|
|
|
424
425
|
return 'Entrega em separação';
|
|
425
426
|
case this.Recusado:
|
|
426
427
|
return 'Entrega recusada';
|
|
428
|
+
case this.Cancelado:
|
|
429
|
+
return 'Entrega Cancelada';
|
|
427
430
|
default:
|
|
428
431
|
return 'enum not found';
|
|
429
432
|
}
|