@orbe-agro/client-core 5.3.98 → 5.3.99
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/transportadora/material.d.ts +3 -6
- package/dist/@types/base/@types/models/transportadora/material.d.ts.map +1 -1
- package/dist/@types/base/@types/models/transportadora/municipio.d.ts +1 -1
- package/dist/@types/base/@types/models/transportadora/municipio.d.ts.map +1 -1
- package/dist/@types/base/@types/models/transportadora/ordemCarregamento.d.ts +43 -27
- package/dist/@types/base/@types/models/transportadora/ordemCarregamento.d.ts.map +1 -1
- package/dist/@types/base/@types/models/transportadora/veiculo.d.ts +2 -2
- package/dist/@types/base/@types/models/transportadora/veiculo.d.ts.map +1 -1
- package/lib/base/@types/models/transportadora/material.ts +3 -8
- package/lib/base/@types/models/transportadora/municipio.ts +1 -1
- package/lib/base/@types/models/transportadora/ordemCarregamento.ts +48 -26
- package/lib/base/@types/models/transportadora/veiculo.ts +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
export type TDescricoes = {
|
|
2
|
-
id?: number;
|
|
3
|
-
nDoMaterial: string;
|
|
4
|
-
textoMaterial: string;
|
|
5
|
-
};
|
|
6
1
|
export type TMaterial = {
|
|
7
2
|
id?: number;
|
|
8
|
-
|
|
3
|
+
codigo: string;
|
|
4
|
+
descricao: string;
|
|
5
|
+
unidadesMedida: string[];
|
|
9
6
|
};
|
|
10
7
|
//# sourceMappingURL=material.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"material.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/material.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"material.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/material.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,EAAE,CAAA;CAC3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"municipio.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/municipio.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"municipio.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/municipio.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { TCliente } from "../dm/businessPartner";
|
|
2
|
-
import { TCarga } from "./carga";
|
|
1
|
+
import { TCliente, TBusinessPartner } from "../dm/businessPartner";
|
|
3
2
|
import { TMaterial } from "./material";
|
|
4
3
|
import { TMotorista } from "./motorista";
|
|
5
4
|
import { TMunicipio } from "./municipio";
|
|
@@ -14,41 +13,58 @@ export type TDadosComplementaresOrdemCarregamento = {
|
|
|
14
13
|
transportouEmpresa?: "SIM" | "NAO";
|
|
15
14
|
quantidadeTempoTransportouParaAEmpresa?: string;
|
|
16
15
|
};
|
|
17
|
-
export type
|
|
16
|
+
export type TCargaOrdemCarregamento = {
|
|
18
17
|
peso: number;
|
|
19
18
|
preco: number;
|
|
19
|
+
produtoId: number;
|
|
20
|
+
};
|
|
21
|
+
export type TContatoOrdemCarregamento = {
|
|
22
|
+
id?: number;
|
|
23
|
+
nome: string;
|
|
24
|
+
tipoContato: number;
|
|
25
|
+
tipoRetorno: number;
|
|
26
|
+
descricao: string;
|
|
20
27
|
};
|
|
21
28
|
export type TOrdemCarregamento = {
|
|
22
29
|
id?: number | undefined;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
veiculos: TVeiculo[];
|
|
29
|
-
formCidadeOrigem: TMunicipio;
|
|
30
|
+
status?: string;
|
|
31
|
+
dtCadastro?: Date;
|
|
32
|
+
veiculoIds: number[];
|
|
33
|
+
motoristaId: number;
|
|
34
|
+
proprietarioId: number;
|
|
30
35
|
cidadeOrigem: string;
|
|
31
36
|
ufOrigem: string;
|
|
32
|
-
formCidadeDestino: TMunicipio;
|
|
33
37
|
cidadeDestino: string;
|
|
34
38
|
ufDestino: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
consultaVerttice: string;
|
|
40
|
-
viagemPedagioSolucaoId: string;
|
|
41
|
-
viagemPedagioTagEmissorId: string;
|
|
42
|
-
tipoCarga: string;
|
|
43
|
-
formTipo: string;
|
|
39
|
+
consultaBuonny?: string;
|
|
40
|
+
consultaVerttice?: string;
|
|
41
|
+
laudoGuep?: string;
|
|
42
|
+
referenciaGuep?: string;
|
|
44
43
|
tipoCargaBuonny: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
observacao?: string;
|
|
45
|
+
cargas: TCargaOrdemCarregamento[];
|
|
46
|
+
contatos?: TContatoOrdemCarregamento[];
|
|
48
47
|
dadosComplementares?: TDadosComplementaresOrdemCarregamento;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
ticketId?: number;
|
|
49
|
+
ativo?: boolean;
|
|
50
|
+
produto?: TMaterial;
|
|
51
|
+
empresa?: TCliente;
|
|
52
|
+
proprietario?: TBusinessPartner;
|
|
53
|
+
motorista?: TMotorista;
|
|
54
|
+
localCarregamento?: string;
|
|
55
|
+
veiculos?: TVeiculo[] | undefined;
|
|
56
|
+
formCidadeOrigem?: TMunicipio;
|
|
57
|
+
formCidadeDestino?: TMunicipio;
|
|
58
|
+
dtCarregamento?: string;
|
|
59
|
+
moduloTransporte?: string;
|
|
60
|
+
viagemPedagioSolucaoId?: string;
|
|
61
|
+
viagemPedagioTagEmissorId?: string;
|
|
62
|
+
tipoCarga?: string;
|
|
63
|
+
formTipo?: number;
|
|
64
|
+
consultaBuonnyTipo?: string;
|
|
65
|
+
material?: string;
|
|
66
|
+
formNome?: string;
|
|
67
|
+
formDescricao?: string;
|
|
68
|
+
formTipoRetorno?: string;
|
|
53
69
|
};
|
|
54
70
|
//# sourceMappingURL=ordemCarregamento.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ordemCarregamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/ordemCarregamento.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"ordemCarregamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/ordemCarregamento.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,MAAM,MAAM,qCAAqC,GAAG;IAChD,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yBAAyB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC1C,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,GAAG,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;IACjB,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"veiculo.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/transportadora/veiculo.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TCliente } from "../dm/businessPartner";
|
|
1
|
+
import { TCliente, TBusinessPartner } from "../dm/businessPartner";
|
|
2
2
|
import { TCarga } from "./carga";
|
|
3
3
|
import { TMaterial } from "./material";
|
|
4
4
|
import { TMotorista } from "./motorista";
|
|
@@ -16,42 +16,64 @@ export type TDadosComplementaresOrdemCarregamento = {
|
|
|
16
16
|
quantidadeTempoTransportouParaAEmpresa?: string,
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type TCargaOrdemCarregamento = {
|
|
20
20
|
peso: number,
|
|
21
21
|
preco: number,
|
|
22
|
+
produtoId: number,
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type TContatoOrdemCarregamento = {
|
|
26
|
+
id?: number,
|
|
27
|
+
nome: string,
|
|
28
|
+
tipoContato: number,
|
|
29
|
+
tipoRetorno: number,
|
|
30
|
+
descricao: string
|
|
22
31
|
}
|
|
23
32
|
|
|
24
33
|
export type TOrdemCarregamento = {
|
|
25
34
|
id?: number | undefined,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
formCidadeOrigem: TMunicipio,
|
|
35
|
+
status?: string,
|
|
36
|
+
dtCadastro?: Date,
|
|
37
|
+
veiculoIds: number[],
|
|
38
|
+
motoristaId: number,
|
|
39
|
+
proprietarioId: number,
|
|
40
|
+
// Campos de localização
|
|
33
41
|
cidadeOrigem: string,
|
|
34
42
|
ufOrigem: string,
|
|
35
|
-
formCidadeDestino: TMunicipio,
|
|
36
43
|
cidadeDestino: string,
|
|
37
44
|
ufDestino: string,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
viagemPedagioTagEmissorId: string,
|
|
45
|
-
tipoCarga: string,
|
|
46
|
-
formTipo: string,
|
|
45
|
+
// Campos de consulta
|
|
46
|
+
consultaBuonny?: string,
|
|
47
|
+
consultaVerttice?: string,
|
|
48
|
+
laudoGuep?: string,
|
|
49
|
+
referenciaGuep?: string,
|
|
50
|
+
// Dados complementares
|
|
47
51
|
tipoCargaBuonny: string,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
observacao?: string,
|
|
53
|
+
cargas: TCargaOrdemCarregamento[],
|
|
54
|
+
contatos?: TContatoOrdemCarregamento[],
|
|
51
55
|
dadosComplementares?: TDadosComplementaresOrdemCarregamento,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
ticketId?: number,
|
|
57
|
+
ativo?: boolean,
|
|
58
|
+
// Campos do formulário (mantidos para compatibilidade com o form)
|
|
59
|
+
produto?: TMaterial,
|
|
60
|
+
empresa?: TCliente,
|
|
61
|
+
proprietario?: TBusinessPartner,
|
|
62
|
+
motorista?: TMotorista,
|
|
63
|
+
localCarregamento?: string,
|
|
64
|
+
veiculos?: TVeiculo[] | undefined,
|
|
65
|
+
formCidadeOrigem?: TMunicipio,
|
|
66
|
+
formCidadeDestino?: TMunicipio,
|
|
67
|
+
dtCarregamento?: string,
|
|
68
|
+
moduloTransporte?: string,
|
|
69
|
+
viagemPedagioSolucaoId?: string,
|
|
70
|
+
viagemPedagioTagEmissorId?: string,
|
|
71
|
+
tipoCarga?: string,
|
|
72
|
+
formTipo?: number,
|
|
73
|
+
consultaBuonnyTipo?: string,
|
|
74
|
+
material?: string,
|
|
75
|
+
formNome?: string,
|
|
76
|
+
formDescricao?: string,
|
|
77
|
+
formTipoRetorno?: string,
|
|
56
78
|
}
|
|
57
79
|
|