sim-node-lib 0.3.28 → 0.3.30
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/Enums/SituacaoOrdemEnum.d.ts +6 -0
- package/dist/Enums/SituacaoOrdemEnum.js +10 -0
- package/dist/Enums/index.d.ts +1 -0
- package/dist/Enums/index.js +1 -0
- package/dist/Models/VendaPortal.d.ts +17 -0
- package/dist/Models/VendaPortal.js +13 -0
- package/dist/Models/VendaReduzida.d.ts +2 -1
- package/dist/Models/VendaReduzida.js +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SituacaoOrdemEnum = void 0;
|
|
4
|
+
var SituacaoOrdemEnum;
|
|
5
|
+
(function (SituacaoOrdemEnum) {
|
|
6
|
+
SituacaoOrdemEnum["INICIALIZAR"] = "INICIALIZAR";
|
|
7
|
+
SituacaoOrdemEnum["ATUALIZAR"] = "ATUALIZAR";
|
|
8
|
+
SituacaoOrdemEnum["FINALIZAR"] = "FINALIZAR";
|
|
9
|
+
SituacaoOrdemEnum["CANCELAR"] = "CANCELAR";
|
|
10
|
+
})(SituacaoOrdemEnum = exports.SituacaoOrdemEnum || (exports.SituacaoOrdemEnum = {}));
|
package/dist/Enums/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './PubSubTableEnum';
|
|
|
9
9
|
export * from './ResponsavelConcessaoEnum';
|
|
10
10
|
export * from './SMSEnum';
|
|
11
11
|
export * from './SituacaoEnum';
|
|
12
|
+
export * from './SituacaoOrdemEnum';
|
|
12
13
|
export * from './TagNameEnum';
|
|
13
14
|
export * from './TipoClienteEnum';
|
|
14
15
|
export * from './TipoCondicaoEnum';
|
package/dist/Enums/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./PubSubTableEnum"), exports);
|
|
|
25
25
|
__exportStar(require("./ResponsavelConcessaoEnum"), exports);
|
|
26
26
|
__exportStar(require("./SMSEnum"), exports);
|
|
27
27
|
__exportStar(require("./SituacaoEnum"), exports);
|
|
28
|
+
__exportStar(require("./SituacaoOrdemEnum"), exports);
|
|
28
29
|
__exportStar(require("./TagNameEnum"), exports);
|
|
29
30
|
__exportStar(require("./TipoClienteEnum"), exports);
|
|
30
31
|
__exportStar(require("./TipoCondicaoEnum"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SituacaoOrdemEnum } from "../Enums";
|
|
2
|
+
export declare class VendaPortal {
|
|
3
|
+
hash: string;
|
|
4
|
+
idVenda: string;
|
|
5
|
+
situacao: SituacaoOrdemEnum;
|
|
6
|
+
idClienteErp: string;
|
|
7
|
+
itens: {
|
|
8
|
+
idProduto: string;
|
|
9
|
+
qtd: number;
|
|
10
|
+
vlrUnit: number;
|
|
11
|
+
}[];
|
|
12
|
+
constructor(hash: string, idVenda: string, situacao: SituacaoOrdemEnum, idClienteErp: string, itens: {
|
|
13
|
+
idProduto: string;
|
|
14
|
+
qtd: number;
|
|
15
|
+
vlrUnit: number;
|
|
16
|
+
}[]);
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VendaPortal = void 0;
|
|
4
|
+
class VendaPortal {
|
|
5
|
+
constructor(hash, idVenda, situacao, idClienteErp, itens) {
|
|
6
|
+
this.hash = hash;
|
|
7
|
+
this.idVenda = idVenda;
|
|
8
|
+
this.situacao = situacao;
|
|
9
|
+
this.idClienteErp = idClienteErp;
|
|
10
|
+
this.itens = itens;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.VendaPortal = VendaPortal;
|
|
@@ -43,5 +43,6 @@ export declare class VendaReduzidaV2 {
|
|
|
43
43
|
numDocumento?: string | undefined;
|
|
44
44
|
idCliente?: string | undefined;
|
|
45
45
|
cupom?: string | undefined;
|
|
46
|
-
|
|
46
|
+
ordemHash?: string | undefined;
|
|
47
|
+
constructor(idVenda: string, situacao: string, dataVenda: string, horaVenda: string, valorTotal: number, formaPagamento: VendaFormaPagamentoReduzida[], tipo: string, cnpj: string, uf: string, idEmpresa: string, itens: VendaItemReduzido[], idClienteErp?: string | undefined, identificadorVoucher?: string | undefined, idGrupoDesconto?: string | undefined, idGrupoDescontoErp?: string | undefined, linkDocumentoFiscal?: string | undefined, valorDesconto?: number | undefined, numDocumento?: string | undefined, idCliente?: string | undefined, cupom?: string | undefined, ordemHash?: string | undefined);
|
|
47
48
|
}
|
|
@@ -26,7 +26,7 @@ class VendaReduzida {
|
|
|
26
26
|
}
|
|
27
27
|
exports.VendaReduzida = VendaReduzida;
|
|
28
28
|
class VendaReduzidaV2 {
|
|
29
|
-
constructor(idVenda, situacao, dataVenda, horaVenda, valorTotal, formaPagamento, tipo, cnpj, uf, idEmpresa, itens, idClienteErp, identificadorVoucher, idGrupoDesconto, idGrupoDescontoErp, linkDocumentoFiscal, valorDesconto, numDocumento, idCliente, cupom) {
|
|
29
|
+
constructor(idVenda, situacao, dataVenda, horaVenda, valorTotal, formaPagamento, tipo, cnpj, uf, idEmpresa, itens, idClienteErp, identificadorVoucher, idGrupoDesconto, idGrupoDescontoErp, linkDocumentoFiscal, valorDesconto, numDocumento, idCliente, cupom, ordemHash) {
|
|
30
30
|
this.idVenda = idVenda;
|
|
31
31
|
this.situacao = situacao;
|
|
32
32
|
this.dataVenda = dataVenda;
|
|
@@ -47,6 +47,7 @@ class VendaReduzidaV2 {
|
|
|
47
47
|
this.numDocumento = numDocumento;
|
|
48
48
|
this.idCliente = idCliente;
|
|
49
49
|
this.cupom = cupom;
|
|
50
|
+
this.ordemHash = ordemHash;
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
exports.VendaReduzidaV2 = VendaReduzidaV2;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ 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 { VendaPortal } from './Models/VendaPortal';
|
|
20
21
|
export { VendaReduzida, VendaReduzidaV2 } from './Models/VendaReduzida';
|
|
21
22
|
export { AxiosService } from './Services/AxiosService';
|
|
22
23
|
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.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;
|
|
17
|
+
exports.CombustivelService = exports.AxiosService = exports.VendaReduzidaV2 = exports.VendaReduzida = exports.VendaPortal = 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");
|
|
@@ -52,6 +52,8 @@ var VendaItemReduzido_1 = require("./Models/VendaItemReduzido");
|
|
|
52
52
|
Object.defineProperty(exports, "VendaItemReduzido", { enumerable: true, get: function () { return VendaItemReduzido_1.VendaItemReduzido; } });
|
|
53
53
|
var VendaOrigem_1 = require("./Models/VendaOrigem");
|
|
54
54
|
Object.defineProperty(exports, "VendaOrigem", { enumerable: true, get: function () { return VendaOrigem_1.VendaOrigem; } });
|
|
55
|
+
var VendaPortal_1 = require("./Models/VendaPortal");
|
|
56
|
+
Object.defineProperty(exports, "VendaPortal", { enumerable: true, get: function () { return VendaPortal_1.VendaPortal; } });
|
|
55
57
|
var VendaReduzida_1 = require("./Models/VendaReduzida");
|
|
56
58
|
Object.defineProperty(exports, "VendaReduzida", { enumerable: true, get: function () { return VendaReduzida_1.VendaReduzida; } });
|
|
57
59
|
Object.defineProperty(exports, "VendaReduzidaV2", { enumerable: true, get: function () { return VendaReduzida_1.VendaReduzidaV2; } });
|