@orbe-agro/client-core 5.5.46 → 5.5.48
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/@types/base/@types/models/dm/condicaoPagamento.d.ts +19 -1
- package/dist/@types/base/@types/models/dm/condicaoPagamento.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -4
- package/dist/@types/base/configs/endpoints.config/racao/config/pedidoVenda.d.ts +4 -4
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +4 -4
- package/dist/base/configs/endpoints.config/racao/config/pedidoVenda.js +2 -2
- package/dist/base/configs/endpoints.config/racao/config/pedidoVenda.js.map +1 -1
- package/lib/base/@types/models/dm/condicaoPagamento.ts +20 -1
- package/lib/base/configs/endpoints.config/racao/config/pedidoVenda.ts +1 -1
- package/package.json +1 -1
|
@@ -2,10 +2,28 @@ export type TCondicaoPagamento = {
|
|
|
2
2
|
id: number;
|
|
3
3
|
codigo: string;
|
|
4
4
|
nome: string;
|
|
5
|
-
|
|
5
|
+
compras: boolean;
|
|
6
|
+
racao: boolean;
|
|
7
|
+
commodities: boolean;
|
|
6
8
|
diaLimite: string;
|
|
9
|
+
chaveCondicaoPagamento: string;
|
|
10
|
+
tipoDataBase: string;
|
|
11
|
+
bloqueio: string;
|
|
7
12
|
diasVencimento: string;
|
|
8
13
|
indicadorParcelamento: boolean;
|
|
14
|
+
parcelas: TCondicaoPagamentoParcelas[];
|
|
15
|
+
};
|
|
16
|
+
export type TCondicaoPagamentoParcelas = {
|
|
17
|
+
id: number;
|
|
18
|
+
codigo: string;
|
|
19
|
+
nome: string;
|
|
20
|
+
numeroPrestacao: number;
|
|
21
|
+
percentualParcela: number;
|
|
22
|
+
condicaoParcela: string;
|
|
23
|
+
diasVencimento: string;
|
|
24
|
+
diaLimite: string;
|
|
25
|
+
bloqueioParcela: string;
|
|
26
|
+
bloqueio: boolean;
|
|
9
27
|
};
|
|
10
28
|
export type TCondicaoPagamentoFormSchema = TCondicaoPagamento;
|
|
11
29
|
//# sourceMappingURL=condicaoPagamento.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"condicaoPagamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/dm/condicaoPagamento.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"condicaoPagamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/dm/condicaoPagamento.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,OAAO,CAAA;IACd,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,0BAA0B,EAAE,CAAA;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,kBAAkB,CAAA"}
|
|
@@ -208,6 +208,10 @@ declare const endpointNavigationConfig: {
|
|
|
208
208
|
};
|
|
209
209
|
};
|
|
210
210
|
pedidoVenda: {
|
|
211
|
+
countByStatus: {
|
|
212
|
+
endpoint: string;
|
|
213
|
+
method: string;
|
|
214
|
+
};
|
|
211
215
|
findOne: {
|
|
212
216
|
endpoint: string;
|
|
213
217
|
method: string;
|
|
@@ -244,10 +248,6 @@ declare const endpointNavigationConfig: {
|
|
|
244
248
|
endpoint: string;
|
|
245
249
|
method: string;
|
|
246
250
|
};
|
|
247
|
-
countByStatus: {
|
|
248
|
-
endpoint: string;
|
|
249
|
-
method: string;
|
|
250
|
-
};
|
|
251
251
|
};
|
|
252
252
|
carga: {
|
|
253
253
|
findOne: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const pedidoVenda: {
|
|
2
|
+
countByStatus: {
|
|
3
|
+
endpoint: string;
|
|
4
|
+
method: string;
|
|
5
|
+
};
|
|
2
6
|
findOne: {
|
|
3
7
|
endpoint: string;
|
|
4
8
|
method: string;
|
|
@@ -35,10 +39,6 @@ declare const pedidoVenda: {
|
|
|
35
39
|
endpoint: string;
|
|
36
40
|
method: string;
|
|
37
41
|
};
|
|
38
|
-
countByStatus: {
|
|
39
|
-
endpoint: string;
|
|
40
|
-
method: string;
|
|
41
|
-
};
|
|
42
42
|
};
|
|
43
43
|
export default pedidoVenda;
|
|
44
44
|
//# sourceMappingURL=pedidoVenda.d.ts.map
|
|
@@ -148,6 +148,10 @@ declare const racao: {
|
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
150
|
pedidoVenda: {
|
|
151
|
+
countByStatus: {
|
|
152
|
+
endpoint: string;
|
|
153
|
+
method: string;
|
|
154
|
+
};
|
|
151
155
|
findOne: {
|
|
152
156
|
endpoint: string;
|
|
153
157
|
method: string;
|
|
@@ -184,10 +188,6 @@ declare const racao: {
|
|
|
184
188
|
endpoint: string;
|
|
185
189
|
method: string;
|
|
186
190
|
};
|
|
187
|
-
countByStatus: {
|
|
188
|
-
endpoint: string;
|
|
189
|
-
method: string;
|
|
190
|
-
};
|
|
191
191
|
};
|
|
192
192
|
carga: {
|
|
193
193
|
findOne: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const PEDIDO_VENDA_BASE_URL = "/racao/api/racao/pedido-venda";
|
|
2
2
|
const pedidoVenda = {
|
|
3
|
+
countByStatus: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count-pedidos`, method: "post" },
|
|
3
4
|
findOne: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: "get" },
|
|
4
5
|
add: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: "post" },
|
|
5
6
|
update: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: "put" },
|
|
@@ -8,8 +9,7 @@ const pedidoVenda = {
|
|
|
8
9
|
aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: "post" },
|
|
9
10
|
reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: "post" },
|
|
10
11
|
findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: "post" },
|
|
11
|
-
calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: "get" }
|
|
12
|
-
countByStatus: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count-pedidos`, method: "post" }
|
|
12
|
+
calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: "get" }
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
15
|
pedidoVenda as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pedidoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/pedidoVenda.ts"],"sourcesContent":["const PEDIDO_VENDA_BASE_URL = '/racao/api/racao/pedido-venda'\n\nconst pedidoVenda = {\n findOne: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'post' },\n update: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'delete' },\n cancelar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/cancelar/`, method: 'post' },\n aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: 'post' },\n reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: 'post' },\n findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: 'post' },\n calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: 'get' },\n
|
|
1
|
+
{"version":3,"file":"pedidoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/pedidoVenda.ts"],"sourcesContent":["const PEDIDO_VENDA_BASE_URL = '/racao/api/racao/pedido-venda'\n\nconst pedidoVenda = {\n countByStatus: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count-pedidos`, method: 'post' },\n findOne: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'post' },\n update: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'delete' },\n cancelar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/cancelar/`, method: 'post' },\n aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: 'post' },\n reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: 'post' },\n findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: 'post' },\n calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: 'get' },\n}\n\nexport default pedidoVenda"],"names":[],"mappings":"AAAA,MAAM,wBAAwB;AAE9B,MAAM,cAAc;AAAA,EAChB,eAAe,EAAE,UAAU,GAAG,qBAAqB,kBAAkB,QAAQ,OAAA;AAAA,EAC7E,SAAS,EAAE,UAAU,GAAG,qBAAqB,KAAK,QAAQ,MAAA;AAAA,EAC1D,KAAK,EAAE,UAAU,GAAG,qBAAqB,IAAI,QAAQ,OAAA;AAAA,EACrD,QAAQ,EAAE,UAAU,GAAG,qBAAqB,IAAI,QAAQ,MAAA;AAAA,EACxD,QAAQ,EAAE,UAAU,GAAG,qBAAqB,KAAK,QAAQ,SAAA;AAAA,EACzD,UAAU,EAAE,UAAU,GAAG,qBAAqB,cAAc,QAAQ,OAAA;AAAA,EACpE,SAAS,EAAE,UAAU,GAAG,qBAAqB,aAAa,QAAQ,OAAA;AAAA,EAClE,UAAU,EAAE,UAAU,GAAG,qBAAqB,cAAc,QAAQ,OAAA;AAAA,EACpE,aAAa,EAAE,UAAU,GAAG,qBAAqB,iBAAiB,QAAQ,OAAA;AAAA,EAC1E,uBAAuB,EAAE,UAAU,GAAG,qBAAqB,qBAAqB,QAAQ,MAAA;AAC5F;"}
|
|
@@ -2,10 +2,29 @@ export type TCondicaoPagamento = {
|
|
|
2
2
|
id: number;
|
|
3
3
|
codigo: string;
|
|
4
4
|
nome: string;
|
|
5
|
-
|
|
5
|
+
compras: boolean
|
|
6
|
+
racao: boolean
|
|
7
|
+
commodities: boolean
|
|
6
8
|
diaLimite: string;
|
|
9
|
+
chaveCondicaoPagamento: string
|
|
10
|
+
tipoDataBase: string;
|
|
11
|
+
bloqueio: string;
|
|
7
12
|
diasVencimento: string;
|
|
8
13
|
indicadorParcelamento: boolean
|
|
14
|
+
parcelas: TCondicaoPagamentoParcelas[]
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export type TCondicaoPagamentoParcelas = {
|
|
18
|
+
id: number;
|
|
19
|
+
codigo: string;
|
|
20
|
+
nome: string;
|
|
21
|
+
numeroPrestacao: number;
|
|
22
|
+
percentualParcela: number;
|
|
23
|
+
condicaoParcela: string;
|
|
24
|
+
diasVencimento: string;
|
|
25
|
+
diaLimite: string;
|
|
26
|
+
bloqueioParcela: string;
|
|
27
|
+
bloqueio: boolean;
|
|
9
28
|
};
|
|
10
29
|
|
|
11
30
|
export type TCondicaoPagamentoFormSchema = TCondicaoPagamento
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const PEDIDO_VENDA_BASE_URL = '/racao/api/racao/pedido-venda'
|
|
2
2
|
|
|
3
3
|
const pedidoVenda = {
|
|
4
|
+
countByStatus: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count-pedidos`, method: 'post' },
|
|
4
5
|
findOne: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'get' },
|
|
5
6
|
add: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'post' },
|
|
6
7
|
update: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'put' },
|
|
@@ -10,7 +11,6 @@ const pedidoVenda = {
|
|
|
10
11
|
reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: 'post' },
|
|
11
12
|
findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: 'post' },
|
|
12
13
|
calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: 'get' },
|
|
13
|
-
countByStatus: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count-pedidos`, method: 'post' },
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export default pedidoVenda
|