sim-node-lib 0.0.66 → 0.0.68
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/index.d.ts +0 -1
- package/dist/index.js +1 -3
- package/package.json +1 -1
- package/dist/Models/AllProdutos.d.ts +0 -5
- package/dist/Models/AllProdutos.js +0 -10
- package/dist/Models/IVendaItem.d.ts +0 -8
- package/dist/Models/IVendaItem.js +0 -15
- package/dist/Services/CombustivelService.d.ts +0 -5
- package/dist/Services/CombustivelService.js +0 -11
package/dist/index.d.ts
CHANGED
|
@@ -9,4 +9,3 @@ export { PromiseHelper } from './Helpers/PromiseHelper';
|
|
|
9
9
|
export { StringHelper } from './Helpers/StringHelper';
|
|
10
10
|
export { AxiosModel } from './Models/AxiosModel';
|
|
11
11
|
export { AxiosService } from './Services/AxiosService';
|
|
12
|
-
export { CombustivelService } from './Services/CombustivelService';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AxiosService = exports.AxiosModel = exports.StringHelper = exports.PromiseHelper = exports.NumberHelper = exports.HashHelper = exports.DateHelper = exports.CryptHelper = exports.PubSubHandlerAction = exports.GooglePubSubSubscription = exports.GooglePubSubPublish = void 0;
|
|
4
4
|
var GooglePubSubPublish_1 = require("./Class/GooglePubSubPublish");
|
|
5
5
|
Object.defineProperty(exports, "GooglePubSubPublish", { enumerable: true, get: function () { return GooglePubSubPublish_1.GooglePubSubPublish; } });
|
|
6
6
|
var GooglePubSubSubscription_1 = require("./Class/GooglePubSubSubscription");
|
|
@@ -23,5 +23,3 @@ var AxiosModel_1 = require("./Models/AxiosModel");
|
|
|
23
23
|
Object.defineProperty(exports, "AxiosModel", { enumerable: true, get: function () { return AxiosModel_1.AxiosModel; } });
|
|
24
24
|
var AxiosService_1 = require("./Services/AxiosService");
|
|
25
25
|
Object.defineProperty(exports, "AxiosService", { enumerable: true, get: function () { return AxiosService_1.AxiosService; } });
|
|
26
|
-
var CombustivelService_1 = require("./Services/CombustivelService");
|
|
27
|
-
Object.defineProperty(exports, "CombustivelService", { enumerable: true, get: function () { return CombustivelService_1.CombustivelService; } });
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AllProdutos = void 0;
|
|
4
|
-
class AllProdutos {
|
|
5
|
-
constructor(codigo_produto, nome_produto) {
|
|
6
|
-
this.codigo_produto = codigo_produto;
|
|
7
|
-
this.nome_produto = nome_produto;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.AllProdutos = AllProdutos;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Produto = exports.VendaItem = void 0;
|
|
4
|
-
class VendaItem {
|
|
5
|
-
constructor(produto) {
|
|
6
|
-
this.produto = produto;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
exports.VendaItem = VendaItem;
|
|
10
|
-
class Produto {
|
|
11
|
-
constructor(id_produto_erp) {
|
|
12
|
-
this.id_produto_erp = id_produto_erp;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.Produto = Produto;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CombustivelService = void 0;
|
|
4
|
-
class CombustivelService {
|
|
5
|
-
ehCombustivel(combustiveis, item) {
|
|
6
|
-
return combustiveis.find(function (o) {
|
|
7
|
-
return o.codigo_produto.toString() === item.produto.id_produto_erp.toString();
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.CombustivelService = CombustivelService;
|