sim-node-lib 0.3.23 → 0.3.25
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/Models/VendaReduzida.d.ts +22 -0
- package/dist/Models/VendaReduzida.js +26 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import { VendaFormaPagamentoReduzida } from './VendaFormaPagamentoReduzida';
|
|
2
2
|
import { VendaItemReduzido } from './VendaItemReduzido';
|
|
3
3
|
export declare class VendaReduzida {
|
|
4
|
+
idVenda: string;
|
|
5
|
+
situacao: string;
|
|
6
|
+
dataVenda: string;
|
|
7
|
+
horaVenda: string;
|
|
8
|
+
valorTotal: number;
|
|
9
|
+
formaPagamento: VendaFormaPagamentoReduzida[];
|
|
10
|
+
idGrupoDesconto: string;
|
|
11
|
+
idGrupoDescontoErp: string;
|
|
12
|
+
tipo: string;
|
|
13
|
+
cnpj: string;
|
|
14
|
+
uf: string;
|
|
15
|
+
idEmpresa: string;
|
|
16
|
+
itens: VendaItemReduzido[];
|
|
17
|
+
identificadorVoucher: string;
|
|
18
|
+
linkDocumentoFiscal?: string | undefined;
|
|
19
|
+
valorDesconto?: number | undefined;
|
|
20
|
+
numDocumento?: string | undefined;
|
|
21
|
+
idCliente?: string | undefined;
|
|
22
|
+
cupom?: string | undefined;
|
|
23
|
+
constructor(idVenda: string, situacao: string, dataVenda: string, horaVenda: string, valorTotal: number, formaPagamento: VendaFormaPagamentoReduzida[], idGrupoDesconto: string, idGrupoDescontoErp: string, tipo: string, cnpj: string, uf: string, idEmpresa: string, itens: VendaItemReduzido[], identificadorVoucher: string, linkDocumentoFiscal?: string | undefined, valorDesconto?: number | undefined, numDocumento?: string | undefined, idCliente?: string | undefined, cupom?: string | undefined);
|
|
24
|
+
}
|
|
25
|
+
export declare class VendaReduzidaV2 {
|
|
4
26
|
idVenda: string;
|
|
5
27
|
situacao: string;
|
|
6
28
|
dataVenda: string;
|
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VendaReduzida = void 0;
|
|
3
|
+
exports.VendaReduzidaV2 = exports.VendaReduzida = void 0;
|
|
4
4
|
class VendaReduzida {
|
|
5
|
+
constructor(idVenda, situacao, dataVenda, horaVenda, valorTotal, formaPagamento, idGrupoDesconto, idGrupoDescontoErp, tipo, cnpj, uf, idEmpresa, itens, identificadorVoucher, linkDocumentoFiscal, valorDesconto, numDocumento, idCliente, cupom) {
|
|
6
|
+
this.idVenda = idVenda;
|
|
7
|
+
this.situacao = situacao;
|
|
8
|
+
this.dataVenda = dataVenda;
|
|
9
|
+
this.horaVenda = horaVenda;
|
|
10
|
+
this.valorTotal = valorTotal;
|
|
11
|
+
this.formaPagamento = formaPagamento;
|
|
12
|
+
this.idGrupoDesconto = idGrupoDesconto;
|
|
13
|
+
this.idGrupoDescontoErp = idGrupoDescontoErp;
|
|
14
|
+
this.tipo = tipo;
|
|
15
|
+
this.cnpj = cnpj;
|
|
16
|
+
this.uf = uf;
|
|
17
|
+
this.idEmpresa = idEmpresa;
|
|
18
|
+
this.itens = itens;
|
|
19
|
+
this.identificadorVoucher = identificadorVoucher;
|
|
20
|
+
this.linkDocumentoFiscal = linkDocumentoFiscal;
|
|
21
|
+
this.valorDesconto = valorDesconto;
|
|
22
|
+
this.numDocumento = numDocumento;
|
|
23
|
+
this.idCliente = idCliente;
|
|
24
|
+
this.cupom = cupom;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.VendaReduzida = VendaReduzida;
|
|
28
|
+
class VendaReduzidaV2 {
|
|
5
29
|
constructor(idVenda, situacao, dataVenda, horaVenda, valorTotal, formaPagamento, tipo, cnpj, uf, idEmpresa, itens, idClienteErp, identificadorVoucher, idGrupoDesconto, idGrupoDescontoErp, linkDocumentoFiscal, valorDesconto, numDocumento, idCliente, cupom) {
|
|
6
30
|
this.idVenda = idVenda;
|
|
7
31
|
this.situacao = situacao;
|
|
@@ -25,4 +49,4 @@ class VendaReduzida {
|
|
|
25
49
|
this.cupom = cupom;
|
|
26
50
|
}
|
|
27
51
|
}
|
|
28
|
-
exports.
|
|
52
|
+
exports.VendaReduzidaV2 = VendaReduzidaV2;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export { SMS } from './Models/SMS';
|
|
|
17
17
|
export { VendaFormaPagamentoReduzida } from './Models/VendaFormaPagamentoReduzida';
|
|
18
18
|
export { VendaItemReduzido } from './Models/VendaItemReduzido';
|
|
19
19
|
export { VendaOrigem } from './Models/VendaOrigem';
|
|
20
|
-
export { VendaReduzida } from './Models/VendaReduzida';
|
|
20
|
+
export { VendaReduzida, VendaReduzidaV2 } from './Models/VendaReduzida';
|
|
21
21
|
export { AxiosService } from './Services/AxiosService';
|
|
22
22
|
export { CombustivelService } from './Services/CombustivelService';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.CombustivelService = exports.AxiosService = exports.VendaReduzida = exports.VendaOrigem = exports.VendaItemReduzido = exports.VendaFormaPagamentoReduzida = exports.SMS = exports.PriceToSale = exports.PriceToConsult = exports.AxiosModel = exports.UpdateUtil = exports.StringHelper = exports.PromiseHelper = exports.NumberHelper = exports.HashHelper = exports.DateHelper = exports.CryptHelper = exports.PubSubHandlerAction = exports.GooglePubSubSubscription = exports.GooglePubSubPublish = exports.GooglePubSubCreateSubscription = void 0;
|
|
17
|
+
exports.CombustivelService = exports.AxiosService = exports.VendaReduzidaV2 = exports.VendaReduzida = exports.VendaOrigem = exports.VendaItemReduzido = exports.VendaFormaPagamentoReduzida = exports.SMS = exports.PriceToSale = exports.PriceToConsult = exports.AxiosModel = exports.UpdateUtil = exports.StringHelper = exports.PromiseHelper = exports.NumberHelper = exports.HashHelper = exports.DateHelper = exports.CryptHelper = exports.PubSubHandlerAction = exports.GooglePubSubSubscription = exports.GooglePubSubPublish = exports.GooglePubSubCreateSubscription = void 0;
|
|
18
18
|
var GooglePubSubCreateSubscription_1 = require("./Class/GooglePubSubCreateSubscription");
|
|
19
19
|
Object.defineProperty(exports, "GooglePubSubCreateSubscription", { enumerable: true, get: function () { return GooglePubSubCreateSubscription_1.GooglePubSubCreateSubscription; } });
|
|
20
20
|
var GooglePubSubPublish_1 = require("./Class/GooglePubSubPublish");
|
|
@@ -54,6 +54,7 @@ var VendaOrigem_1 = require("./Models/VendaOrigem");
|
|
|
54
54
|
Object.defineProperty(exports, "VendaOrigem", { enumerable: true, get: function () { return VendaOrigem_1.VendaOrigem; } });
|
|
55
55
|
var VendaReduzida_1 = require("./Models/VendaReduzida");
|
|
56
56
|
Object.defineProperty(exports, "VendaReduzida", { enumerable: true, get: function () { return VendaReduzida_1.VendaReduzida; } });
|
|
57
|
+
Object.defineProperty(exports, "VendaReduzidaV2", { enumerable: true, get: function () { return VendaReduzida_1.VendaReduzidaV2; } });
|
|
57
58
|
var AxiosService_1 = require("./Services/AxiosService");
|
|
58
59
|
Object.defineProperty(exports, "AxiosService", { enumerable: true, get: function () { return AxiosService_1.AxiosService; } });
|
|
59
60
|
var CombustivelService_1 = require("./Services/CombustivelService");
|