sim-node-lib 0.0.91 → 0.0.92
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/PriceToSale.d.ts +40 -0
- package/dist/Models/PriceToSale.js +55 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare class PriceToSale {
|
|
2
|
+
grupo: Grupo;
|
|
3
|
+
empresa: Empresa;
|
|
4
|
+
precos: Preco[];
|
|
5
|
+
constructor(grupo: Grupo, empresa: Empresa, precos: Preco[]);
|
|
6
|
+
}
|
|
7
|
+
export declare class Grupo {
|
|
8
|
+
codigo: string;
|
|
9
|
+
descricao: string;
|
|
10
|
+
constructor(codigo: string, descricao: string);
|
|
11
|
+
}
|
|
12
|
+
export declare class Empresa {
|
|
13
|
+
codigo: string;
|
|
14
|
+
key: string;
|
|
15
|
+
descricao: string;
|
|
16
|
+
cidade: string;
|
|
17
|
+
estado: string;
|
|
18
|
+
latitude: string;
|
|
19
|
+
longitude: string;
|
|
20
|
+
constructor(codigo: string, key: string, descricao: string, cidade: string, estado: string, latitude: string, longitude: string);
|
|
21
|
+
}
|
|
22
|
+
export declare class Preco {
|
|
23
|
+
item: Item;
|
|
24
|
+
preco_base: number;
|
|
25
|
+
preco_final: number;
|
|
26
|
+
desconto: number;
|
|
27
|
+
origem: Origem;
|
|
28
|
+
constructor(item: Item, preco_base: number, preco_final: number, desconto: number, origem: Origem);
|
|
29
|
+
}
|
|
30
|
+
export declare class Item {
|
|
31
|
+
codigo_erp: string;
|
|
32
|
+
descricao: string;
|
|
33
|
+
key?: string | undefined;
|
|
34
|
+
constructor(codigo_erp: string, descricao: string, key?: string | undefined);
|
|
35
|
+
}
|
|
36
|
+
export declare class Origem {
|
|
37
|
+
politica: string;
|
|
38
|
+
regra_key?: string | undefined;
|
|
39
|
+
constructor(politica: string, regra_key?: string | undefined);
|
|
40
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Origem = exports.Item = exports.Preco = exports.Empresa = exports.Grupo = exports.PriceToSale = void 0;
|
|
4
|
+
class PriceToSale {
|
|
5
|
+
constructor(grupo, empresa, precos) {
|
|
6
|
+
this.grupo = grupo;
|
|
7
|
+
this.empresa = empresa;
|
|
8
|
+
this.precos = precos;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PriceToSale = PriceToSale;
|
|
12
|
+
class Grupo {
|
|
13
|
+
constructor(codigo, descricao) {
|
|
14
|
+
this.codigo = codigo;
|
|
15
|
+
this.descricao = descricao;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.Grupo = Grupo;
|
|
19
|
+
class Empresa {
|
|
20
|
+
constructor(codigo, key, descricao, cidade, estado, latitude, longitude) {
|
|
21
|
+
this.codigo = codigo;
|
|
22
|
+
this.key = key;
|
|
23
|
+
this.descricao = descricao;
|
|
24
|
+
this.cidade = cidade;
|
|
25
|
+
this.estado = estado;
|
|
26
|
+
this.latitude = latitude;
|
|
27
|
+
this.longitude = longitude;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.Empresa = Empresa;
|
|
31
|
+
class Preco {
|
|
32
|
+
constructor(item, preco_base, preco_final, desconto, origem) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
this.preco_base = preco_base;
|
|
35
|
+
this.preco_final = preco_final;
|
|
36
|
+
this.desconto = desconto;
|
|
37
|
+
this.origem = origem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.Preco = Preco;
|
|
41
|
+
class Item {
|
|
42
|
+
constructor(codigo_erp, descricao, key) {
|
|
43
|
+
this.codigo_erp = codigo_erp;
|
|
44
|
+
this.descricao = descricao;
|
|
45
|
+
this.key = key;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.Item = Item;
|
|
49
|
+
class Origem {
|
|
50
|
+
constructor(politica, regra_key) {
|
|
51
|
+
this.politica = politica;
|
|
52
|
+
this.regra_key = regra_key;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.Origem = Origem;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ export { NumberHelper } from './Helpers/NumberHelper';
|
|
|
8
8
|
export { PromiseHelper } from './Helpers/PromiseHelper';
|
|
9
9
|
export { StringHelper } from './Helpers/StringHelper';
|
|
10
10
|
export { AxiosModel } from './Models/AxiosModel';
|
|
11
|
+
export { PriceToSale } from './Models/PriceToSale';
|
|
11
12
|
export { AxiosService } from './Services/AxiosService';
|
|
12
13
|
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.CombustivelService = exports.AxiosService = exports.AxiosModel = exports.StringHelper = exports.PromiseHelper = exports.NumberHelper = exports.HashHelper = exports.DateHelper = exports.CryptHelper = exports.PubSubHandlerAction = exports.GooglePubSubSubscription = exports.GooglePubSubPublish = void 0;
|
|
3
|
+
exports.CombustivelService = exports.AxiosService = exports.PriceToSale = 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");
|
|
@@ -21,6 +21,8 @@ var StringHelper_1 = require("./Helpers/StringHelper");
|
|
|
21
21
|
Object.defineProperty(exports, "StringHelper", { enumerable: true, get: function () { return StringHelper_1.StringHelper; } });
|
|
22
22
|
var AxiosModel_1 = require("./Models/AxiosModel");
|
|
23
23
|
Object.defineProperty(exports, "AxiosModel", { enumerable: true, get: function () { return AxiosModel_1.AxiosModel; } });
|
|
24
|
+
var PriceToSale_1 = require("./Models/PriceToSale");
|
|
25
|
+
Object.defineProperty(exports, "PriceToSale", { enumerable: true, get: function () { return PriceToSale_1.PriceToSale; } });
|
|
24
26
|
var AxiosService_1 = require("./Services/AxiosService");
|
|
25
27
|
Object.defineProperty(exports, "AxiosService", { enumerable: true, get: function () { return AxiosService_1.AxiosService; } });
|
|
26
28
|
var CombustivelService_1 = require("./Services/CombustivelService");
|