@orbe-agro/client-core 5.6.122 → 5.6.123
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/ativos/centralAtivosUser.d.ts +42 -0
- package/dist/@types/base/@types/models/ativos/centralAtivosUser.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/tipo.d.ts +1 -0
- package/dist/@types/base/@types/models/ativos/tipo.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/ativos/ativos.d.ts +26 -0
- package/dist/@types/base/configs/endpoints.config/ativos/ativos.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/ativos/config/centralAtivosUser.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/centralAtivosUser.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/tipo.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/tipo.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +26 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/ativos/ativos.submenu.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.d.ts +8 -0
- package/dist/@types/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/tipo/TipoService.d.ts +4 -0
- package/dist/@types/base/services/modules/ativos/tipo/TipoService.d.ts.map +1 -1
- package/dist/base/@types/models/ativos/centralAtivosUser.js +2 -0
- package/dist/base/@types/models/ativos/centralAtivosUser.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/ativos.js +2 -0
- package/dist/base/configs/endpoints.config/ativos/ativos.js.map +1 -1
- package/dist/base/configs/endpoints.config/ativos/config/centralAtivosUser.js +12 -0
- package/dist/base/configs/endpoints.config/ativos/config/centralAtivosUser.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/tipo.js +2 -1
- package/dist/base/configs/endpoints.config/ativos/config/tipo.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/ativos/ativos.submenu.js +2 -0
- package/dist/base/configs/navigation.config/submenu/ativos/ativos.submenu.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.js.map +1 -0
- package/dist/base/index.js +2 -1
- package/dist/base/services/index.js +2 -1
- package/dist/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.js +44 -0
- package/dist/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.js.map +1 -0
- package/dist/base/services/modules/ativos/index.js +2 -1
- package/dist/base/services/modules/ativos/tipo/TipoService.js +8 -0
- package/dist/base/services/modules/ativos/tipo/TipoService.js.map +1 -1
- package/dist/base/services/modules/index.js +2 -1
- package/lib/base/@types/models/ativos/centralAtivosUser.ts +42 -0
- package/lib/base/@types/models/ativos/tipo.ts +1 -0
- package/lib/base/configs/endpoints.config/ativos/ativos.ts +2 -0
- package/lib/base/configs/endpoints.config/ativos/config/centralAtivosUser.ts +11 -0
- package/lib/base/configs/endpoints.config/ativos/config/tipo.ts +1 -0
- package/lib/base/configs/navigation.config/submenu/ativos/ativos.submenu.ts +2 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.ts +16 -0
- package/lib/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.ts +44 -0
- package/lib/base/services/modules/ativos/tipo/TipoService.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type TCentralAtivosUserColumnDef = {
|
|
2
|
+
id: number;
|
|
3
|
+
dataCriacao: string;
|
|
4
|
+
usuarioCriacaoId: number;
|
|
5
|
+
usuarioCriacaoNome: string;
|
|
6
|
+
ativoId: number;
|
|
7
|
+
formularioCamposId: number;
|
|
8
|
+
item: string;
|
|
9
|
+
categoriaId: number;
|
|
10
|
+
categoria: string;
|
|
11
|
+
modeloId: number;
|
|
12
|
+
modelo: string;
|
|
13
|
+
empresaId: number;
|
|
14
|
+
empresaBusinessPartner: string;
|
|
15
|
+
empresaNomeCompleto: string;
|
|
16
|
+
fabricanteId: number;
|
|
17
|
+
fabricanteBusinessPartner: string;
|
|
18
|
+
fabricanteNomeCompleto: string;
|
|
19
|
+
statusAtivo: string;
|
|
20
|
+
statusContrato: string;
|
|
21
|
+
departamentoId: number;
|
|
22
|
+
departamento: string;
|
|
23
|
+
responsavelAtivoId: number;
|
|
24
|
+
responsavelAtivoNome: string;
|
|
25
|
+
contratoId?: number | null;
|
|
26
|
+
contratoDocusignId?: string | null;
|
|
27
|
+
};
|
|
28
|
+
export type TCentralAtivosUser = {
|
|
29
|
+
id?: number;
|
|
30
|
+
ativoId: number;
|
|
31
|
+
categoriaId: number;
|
|
32
|
+
modeloId: number;
|
|
33
|
+
empresaId: number;
|
|
34
|
+
fabricanteId: number;
|
|
35
|
+
statusAtivo: string;
|
|
36
|
+
statusContrato: string;
|
|
37
|
+
departamentoId: number;
|
|
38
|
+
responsavelAtivoId: number;
|
|
39
|
+
contratoId?: number | null;
|
|
40
|
+
contratoDocusignId?: string | null;
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=centralAtivosUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralAtivosUser.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/ativos/centralAtivosUser.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB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@
|
|
|
1
|
-
{"version":3,"file":"tipo.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/ativos/tipo.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAChB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"tipo.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/ativos/tipo.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAChB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACrC,CAAA"}
|
|
@@ -123,6 +123,28 @@ declare const ativos: {
|
|
|
123
123
|
method: string;
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
+
centralAtivosUser: {
|
|
127
|
+
findOne: {
|
|
128
|
+
endpoint: string;
|
|
129
|
+
method: string;
|
|
130
|
+
};
|
|
131
|
+
add: {
|
|
132
|
+
endpoint: string;
|
|
133
|
+
method: string;
|
|
134
|
+
};
|
|
135
|
+
update: {
|
|
136
|
+
endpoint: string;
|
|
137
|
+
method: string;
|
|
138
|
+
};
|
|
139
|
+
delete: {
|
|
140
|
+
endpoint: string;
|
|
141
|
+
method: string;
|
|
142
|
+
};
|
|
143
|
+
findMonitor: {
|
|
144
|
+
endpoint: string;
|
|
145
|
+
method: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
126
148
|
documentacao: {
|
|
127
149
|
findOne: {
|
|
128
150
|
endpoint: string;
|
|
@@ -438,6 +460,10 @@ declare const ativos: {
|
|
|
438
460
|
endpoint: string;
|
|
439
461
|
method: string;
|
|
440
462
|
};
|
|
463
|
+
findByTipoAndFormulario: {
|
|
464
|
+
endpoint: string;
|
|
465
|
+
method: string;
|
|
466
|
+
};
|
|
441
467
|
};
|
|
442
468
|
versaoAndroid: {
|
|
443
469
|
findOne: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ativos.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/ativos/ativos.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ativos.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/ativos/ativos.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const centralAtivosUser: {
|
|
2
|
+
findOne: {
|
|
3
|
+
endpoint: string;
|
|
4
|
+
method: string;
|
|
5
|
+
};
|
|
6
|
+
add: {
|
|
7
|
+
endpoint: string;
|
|
8
|
+
method: string;
|
|
9
|
+
};
|
|
10
|
+
update: {
|
|
11
|
+
endpoint: string;
|
|
12
|
+
method: string;
|
|
13
|
+
};
|
|
14
|
+
delete: {
|
|
15
|
+
endpoint: string;
|
|
16
|
+
method: string;
|
|
17
|
+
};
|
|
18
|
+
findMonitor: {
|
|
19
|
+
endpoint: string;
|
|
20
|
+
method: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default centralAtivosUser;
|
|
24
|
+
//# sourceMappingURL=centralAtivosUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralAtivosUser.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/ativos/config/centralAtivosUser.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;CAMtB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tipo.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/ativos/config/tipo.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"tipo.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/ativos/config/tipo.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;CAOT,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -3417,6 +3417,28 @@ declare const endpointNavigationConfig: {
|
|
|
3417
3417
|
method: string;
|
|
3418
3418
|
};
|
|
3419
3419
|
};
|
|
3420
|
+
centralAtivosUser: {
|
|
3421
|
+
findOne: {
|
|
3422
|
+
endpoint: string;
|
|
3423
|
+
method: string;
|
|
3424
|
+
};
|
|
3425
|
+
add: {
|
|
3426
|
+
endpoint: string;
|
|
3427
|
+
method: string;
|
|
3428
|
+
};
|
|
3429
|
+
update: {
|
|
3430
|
+
endpoint: string;
|
|
3431
|
+
method: string;
|
|
3432
|
+
};
|
|
3433
|
+
delete: {
|
|
3434
|
+
endpoint: string;
|
|
3435
|
+
method: string;
|
|
3436
|
+
};
|
|
3437
|
+
findMonitor: {
|
|
3438
|
+
endpoint: string;
|
|
3439
|
+
method: string;
|
|
3440
|
+
};
|
|
3441
|
+
};
|
|
3420
3442
|
documentacao: {
|
|
3421
3443
|
findOne: {
|
|
3422
3444
|
endpoint: string;
|
|
@@ -3732,6 +3754,10 @@ declare const endpointNavigationConfig: {
|
|
|
3732
3754
|
endpoint: string;
|
|
3733
3755
|
method: string;
|
|
3734
3756
|
};
|
|
3757
|
+
findByTipoAndFormulario: {
|
|
3758
|
+
endpoint: string;
|
|
3759
|
+
method: string;
|
|
3760
|
+
};
|
|
3735
3761
|
};
|
|
3736
3762
|
versaoAndroid: {
|
|
3737
3763
|
findOne: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ativos.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/ativos/ativos.submenu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"ativos.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/ativos/ativos.submenu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAMzD,QAAA,MAAM,aAAa,EAAE,cAAc,EAKlC,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralAtivosUser.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,QAAA,MAAM,wBAAwB,EAAE,cAS/B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
|
package/dist/@types/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
|
+
import { TCentralAtivosUser } from "@base/@types/models/ativos/centralAtivosUser";
|
|
3
|
+
export declare function apiGetAtivosCentralAtivosUser(id: number): Promise<TCentralAtivosUser>;
|
|
4
|
+
export declare function apiAddAtivosCentralAtivosUser(body: TCentralAtivosUser): Promise<TQueryResponse<TCentralAtivosUser>>;
|
|
5
|
+
export declare function apiUpdateAtivosCentralAtivosUser(body: TCentralAtivosUser): Promise<TQueryResponse<TCentralAtivosUser>>;
|
|
6
|
+
export declare function apiDeleteAtivosCentralAtivosUser(id: number): Promise<TQueryResponse<TCentralAtivosUser>>;
|
|
7
|
+
export declare function apiFindMonitorAtivosCentralAtivosUser(body?: IFilterParams): Promise<TQueryResponse<TCentralAtivosUser>>;
|
|
8
|
+
//# sourceMappingURL=CentralAtivosUserService.d.ts.map
|
package/dist/@types/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CentralAtivosUserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAKlF,wBAAsB,6BAA6B,CAAC,EAAE,EAAE,MAAM,+BAK7D;AAED,wBAAsB,6BAA6B,CAAC,IAAI,EAAE,kBAAkB,+CAM3E;AAED,wBAAsB,gCAAgC,CAAC,IAAI,EAAE,kBAAkB,+CAM9E;AAED,wBAAsB,gCAAgC,CAAC,EAAE,EAAE,MAAM,+CAKhE;AAED,wBAAsB,qCAAqC,CAAC,IAAI,CAAC,EAAE,aAAa,+CAM/E"}
|
|
@@ -5,4 +5,8 @@ export declare function apiAddAtivosTipo(body: TTipo): Promise<TQueryResponse<TT
|
|
|
5
5
|
export declare function apiUpdateAtivosTipo(body: TTipo): Promise<TQueryResponse<TTipo>>;
|
|
6
6
|
export declare function apiDeleteAtivosTipo(id: number): Promise<TQueryResponse<TTipo>>;
|
|
7
7
|
export declare function apiFindMonitorAtivosTipo(body?: IFilterParams): Promise<TQueryResponse<TTipo>>;
|
|
8
|
+
export declare function apiFindByTipoAndFormulario(body: {
|
|
9
|
+
tipo: string;
|
|
10
|
+
formularioCamposId?: number | null;
|
|
11
|
+
}): Promise<any[]>;
|
|
8
12
|
//# sourceMappingURL=TipoService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/ativos/tipo/TipoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAKxD,wBAAsB,gBAAgB,CAAC,EAAE,EAAE,MAAM,kBAKhD;AAED,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,KAAK,kCAMjD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,KAAK,kCAMpD;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,kCAKnD;AAED,wBAAsB,wBAAwB,CAAC,IAAI,CAAC,EAAE,aAAa,kCAMlE"}
|
|
1
|
+
{"version":3,"file":"TipoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/ativos/tipo/TipoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAKxD,wBAAsB,gBAAgB,CAAC,EAAE,EAAE,MAAM,kBAKhD;AAED,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,KAAK,kCAMjD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,KAAK,kCAMpD;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,kCAKnD;AAED,wBAAsB,wBAAwB,CAAC,IAAI,CAAC,EAAE,aAAa,kCAMlE;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,kBAM1G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralAtivosUser.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -2,6 +2,7 @@ import aplicacao from "./config/aplicacao.js";
|
|
|
2
2
|
import ativo from "./config/ativo.js";
|
|
3
3
|
import bancoDados from "./config/bancoDados.js";
|
|
4
4
|
import categoria from "./config/categoria.js";
|
|
5
|
+
import centralAtivosUser from "./config/centralAtivosUser.js";
|
|
5
6
|
import documentacao from "./config/documentacao.js";
|
|
6
7
|
import formularioCampos from "./config/formularioCampos.js";
|
|
7
8
|
import hardDisk from "./config/hardDisk.js";
|
|
@@ -24,6 +25,7 @@ const ativos = {
|
|
|
24
25
|
ativo,
|
|
25
26
|
bancoDados,
|
|
26
27
|
categoria,
|
|
28
|
+
centralAtivosUser,
|
|
27
29
|
documentacao,
|
|
28
30
|
formularioCampos,
|
|
29
31
|
hardDisk,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ativos.js","sources":["../../../../../lib/base/configs/endpoints.config/ativos/ativos.ts"],"sourcesContent":["import aplicacao from \"./config/aplicacao\"\nimport ativo from \"./config/ativo\"\nimport bancoDados from \"./config/bancoDados\"\nimport categoria from \"./config/categoria\"\nimport documentacao from \"./config/documentacao\"\nimport formularioCampos from \"./config/formularioCampos\"\nimport hardDisk from \"./config/hardDisk\"\nimport internetProtocol from \"./config/internetProtocol\"\nimport marca from \"./config/marca\"\nimport memoriaRam from \"./config/memoriaRam\"\nimport modelo from \"./config/modelo\"\nimport monitorTela from \"./config/monitorTela\"\nimport notificacaoDocumentacao from \"./config/notificacaoDocumentacao\"\nimport processador from \"./config/processador\"\nimport sistemaOperacional from \"./config/sistemaOperacional\"\nimport software from \"./config/software\"\nimport subcategoria from \"./config/subcategoria\"\nimport tipo from \"./config/tipo\"\nimport versaoAndroid from \"./config/versaoAndroid\"\nimport versaoMSOffice from \"./config/versaoMSOffice\"\nimport vlan from \"./config/vlan\"\n\nconst ativos = {\n aplicacao: aplicacao,\n ativo: ativo,\n bancoDados: bancoDados,\n categoria: categoria,\n documentacao: documentacao,\n formularioCampos: formularioCampos,\n hardDisk: hardDisk,\n internetProtocol: internetProtocol,\n marca: marca,\n memoriaRam: memoriaRam,\n modelo: modelo,\n monitorTela: monitorTela,\n notificacaoDocumentacao: notificacaoDocumentacao,\n processador: processador,\n sistemaOperacional: sistemaOperacional,\n software: software,\n subcategoria: subcategoria,\n tipo: tipo,\n versaoAndroid: versaoAndroid,\n versaoMSOffice: versaoMSOffice,\n vlan: vlan,\n}\n\nexport default ativos"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ativos.js","sources":["../../../../../lib/base/configs/endpoints.config/ativos/ativos.ts"],"sourcesContent":["import aplicacao from \"./config/aplicacao\"\nimport ativo from \"./config/ativo\"\nimport bancoDados from \"./config/bancoDados\"\nimport categoria from \"./config/categoria\"\nimport centralAtivosUser from \"./config/centralAtivosUser\"\nimport documentacao from \"./config/documentacao\"\nimport formularioCampos from \"./config/formularioCampos\"\nimport hardDisk from \"./config/hardDisk\"\nimport internetProtocol from \"./config/internetProtocol\"\nimport marca from \"./config/marca\"\nimport memoriaRam from \"./config/memoriaRam\"\nimport modelo from \"./config/modelo\"\nimport monitorTela from \"./config/monitorTela\"\nimport notificacaoDocumentacao from \"./config/notificacaoDocumentacao\"\nimport processador from \"./config/processador\"\nimport sistemaOperacional from \"./config/sistemaOperacional\"\nimport software from \"./config/software\"\nimport subcategoria from \"./config/subcategoria\"\nimport tipo from \"./config/tipo\"\nimport versaoAndroid from \"./config/versaoAndroid\"\nimport versaoMSOffice from \"./config/versaoMSOffice\"\nimport vlan from \"./config/vlan\"\n\nconst ativos = {\n aplicacao: aplicacao,\n ativo: ativo,\n bancoDados: bancoDados,\n categoria: categoria,\n centralAtivosUser: centralAtivosUser,\n documentacao: documentacao,\n formularioCampos: formularioCampos,\n hardDisk: hardDisk,\n internetProtocol: internetProtocol,\n marca: marca,\n memoriaRam: memoriaRam,\n modelo: modelo,\n monitorTela: monitorTela,\n notificacaoDocumentacao: notificacaoDocumentacao,\n processador: processador,\n sistemaOperacional: sistemaOperacional,\n software: software,\n subcategoria: subcategoria,\n tipo: tipo,\n versaoAndroid: versaoAndroid,\n versaoMSOffice: versaoMSOffice,\n vlan: vlan,\n}\n\nexport default ativos"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAM,SAAS;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const CENTRAL_ATIVOS_USER_BASE_URL = "/ativos/api/ativos/central-ativos-user";
|
|
2
|
+
const centralAtivosUser = {
|
|
3
|
+
findOne: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/`, method: "get" },
|
|
4
|
+
add: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}`, method: "post" },
|
|
5
|
+
update: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}`, method: "put" },
|
|
6
|
+
delete: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/`, method: "delete" },
|
|
7
|
+
findMonitor: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/find-monitor`, method: "post" }
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
centralAtivosUser as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=centralAtivosUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralAtivosUser.js","sources":["../../../../../../lib/base/configs/endpoints.config/ativos/config/centralAtivosUser.ts"],"sourcesContent":["const CENTRAL_ATIVOS_USER_BASE_URL = '/ativos/api/ativos/central-ativos-user'\n\nconst centralAtivosUser = {\n findOne: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}`, method: 'post' },\n update: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default centralAtivosUser"],"names":[],"mappings":"AAAA,MAAM,+BAA+B;AAErC,MAAM,oBAAoB;AAAA,EACtB,SAAS,EAAE,UAAU,GAAG,4BAA4B,KAAK,QAAQ,MAAA;AAAA,EACjE,KAAK,EAAE,UAAU,GAAG,4BAA4B,IAAI,QAAQ,OAAA;AAAA,EAC5D,QAAQ,EAAE,UAAU,GAAG,4BAA4B,IAAI,QAAQ,MAAA;AAAA,EAC/D,QAAQ,EAAE,UAAU,GAAG,4BAA4B,KAAK,QAAQ,SAAA;AAAA,EAChE,aAAa,EAAE,UAAU,GAAG,4BAA4B,iBAAiB,QAAQ,OAAA;AACrF;"}
|
|
@@ -4,7 +4,8 @@ const tipo = {
|
|
|
4
4
|
add: { endpoint: `${TIPO_BASE_URL}`, method: "post" },
|
|
5
5
|
update: { endpoint: `${TIPO_BASE_URL}`, method: "put" },
|
|
6
6
|
delete: { endpoint: `${TIPO_BASE_URL}/`, method: "delete" },
|
|
7
|
-
findMonitor: { endpoint: `${TIPO_BASE_URL}/find-monitor`, method: "post" }
|
|
7
|
+
findMonitor: { endpoint: `${TIPO_BASE_URL}/find-monitor`, method: "post" },
|
|
8
|
+
findByTipoAndFormulario: { endpoint: `${TIPO_BASE_URL}/find-by-tipo-and-formulario`, method: "post" }
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
11
|
tipo as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tipo.js","sources":["../../../../../../lib/base/configs/endpoints.config/ativos/config/tipo.ts"],"sourcesContent":["const TIPO_BASE_URL = '/ativos/api/ativos/tipo'\n\nconst tipo = {\n findOne: { endpoint: `${TIPO_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${TIPO_BASE_URL}`, method: 'post' },\n update: { endpoint: `${TIPO_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${TIPO_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${TIPO_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default tipo"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,SAAS,EAAE,UAAU,GAAG,aAAa,KAAK,QAAQ,MAAA;AAAA,EAClD,KAAK,EAAE,UAAU,GAAG,aAAa,IAAI,QAAQ,OAAA;AAAA,EAC7C,QAAQ,EAAE,UAAU,GAAG,aAAa,IAAI,QAAQ,MAAA;AAAA,EAChD,QAAQ,EAAE,UAAU,GAAG,aAAa,KAAK,QAAQ,SAAA;AAAA,EACjD,aAAa,EAAE,UAAU,GAAG,aAAa,iBAAiB,QAAQ,OAAA;
|
|
1
|
+
{"version":3,"file":"tipo.js","sources":["../../../../../../lib/base/configs/endpoints.config/ativos/config/tipo.ts"],"sourcesContent":["const TIPO_BASE_URL = '/ativos/api/ativos/tipo'\n\nconst tipo = {\n findOne: { endpoint: `${TIPO_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${TIPO_BASE_URL}`, method: 'post' },\n update: { endpoint: `${TIPO_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${TIPO_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${TIPO_BASE_URL}/find-monitor`, method: 'post' },\n findByTipoAndFormulario: { endpoint: `${TIPO_BASE_URL}/find-by-tipo-and-formulario`, method: 'post' },\n}\n\nexport default tipo"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,SAAS,EAAE,UAAU,GAAG,aAAa,KAAK,QAAQ,MAAA;AAAA,EAClD,KAAK,EAAE,UAAU,GAAG,aAAa,IAAI,QAAQ,OAAA;AAAA,EAC7C,QAAQ,EAAE,UAAU,GAAG,aAAa,IAAI,QAAQ,MAAA;AAAA,EAChD,QAAQ,EAAE,UAAU,GAAG,aAAa,KAAK,QAAQ,SAAA;AAAA,EACjD,aAAa,EAAE,UAAU,GAAG,aAAa,iBAAiB,QAAQ,OAAA;AAAA,EAClE,yBAAyB,EAAE,UAAU,GAAG,aAAa,gCAAgC,QAAQ,OAAA;AACjG;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import subMenuCadastros from "../../modules.submenu/ativos/cadastros/submenu.cadastro.js";
|
|
2
2
|
import subMenuDocumentacoes from "../../modules.submenu/ativos/documentacoes/submenu.documentacoes.js";
|
|
3
3
|
import ativoSubmenu from "./config/ativo.submenu.js";
|
|
4
|
+
import centralAtivosUserSubmenu from "./config/centralAtivosUser.submenu.js";
|
|
4
5
|
const ativosSubmenu = [
|
|
5
6
|
subMenuCadastros,
|
|
7
|
+
centralAtivosUserSubmenu,
|
|
6
8
|
subMenuDocumentacoes,
|
|
7
9
|
ativoSubmenu
|
|
8
10
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ativos.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/ativos/ativos.submenu.ts"],"sourcesContent":["import type { NavigationTree } from '@/@types/navigation'\nimport subMenuCadastros from '../../modules.submenu/ativos/cadastros/submenu.cadastro'\nimport subMenuDocumentacoes from '../../modules.submenu/ativos/documentacoes/submenu.documentacoes'\nimport ativoSubmenu from './config/ativo.submenu'\n\nconst ativosSubmenu: NavigationTree[] = [\n subMenuCadastros,\n subMenuDocumentacoes,\n ativoSubmenu\n]\n\nexport default ativosSubmenu"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ativos.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/ativos/ativos.submenu.ts"],"sourcesContent":["import type { NavigationTree } from '@/@types/navigation'\nimport subMenuCadastros from '../../modules.submenu/ativos/cadastros/submenu.cadastro'\nimport subMenuDocumentacoes from '../../modules.submenu/ativos/documentacoes/submenu.documentacoes'\nimport ativoSubmenu from './config/ativo.submenu'\nimport centralAtivosUserSubmenu from './config/centralAtivosUser.submenu'\n\nconst ativosSubmenu: NavigationTree[] = [\n subMenuCadastros,\n centralAtivosUserSubmenu,\n subMenuDocumentacoes,\n ativoSubmenu\n]\n\nexport default ativosSubmenu"],"names":[],"mappings":";;;;AAMA,MAAM,gBAAkC;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;"}
|
package/dist/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_ITEM } from "../../../../../../@ecme/constants/navigation.constant.js";
|
|
2
|
+
import { ADMIN } from "../../../../../../@ecme/constants/roles.constant.js";
|
|
3
|
+
const centralAtivosUserSubmenu = {
|
|
4
|
+
key: "modules.ativos.centralAtivosUser",
|
|
5
|
+
path: "/ativos/central-ativos-user",
|
|
6
|
+
title: "Central de Ativos por Usuário",
|
|
7
|
+
translateKey: "nav.modules.ativos.centralAtivosUser",
|
|
8
|
+
icon: "centralAtivosUser",
|
|
9
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
10
|
+
authority: [ADMIN],
|
|
11
|
+
subMenu: []
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
centralAtivosUserSubmenu as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=centralAtivosUser.submenu.js.map
|
package/dist/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralAtivosUser.submenu.js","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/ativos/config/centralAtivosUser.submenu.ts"],"sourcesContent":["import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\nimport { NavigationTree } from '@/@types/navigation'\n\nconst centralAtivosUserSubmenu: NavigationTree = {\n key: 'modules.ativos.centralAtivosUser',\n path: '/ativos/central-ativos-user',\n title: 'Central de Ativos por Usuário',\n translateKey: 'nav.modules.ativos.centralAtivosUser',\n icon: 'centralAtivosUser',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n}\n\nexport default centralAtivosUserSubmenu"],"names":[],"mappings":";;AAIA,MAAM,2BAA2C;AAAA,EAC7C,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAc;AAAA,EACd,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW,CAAC,KAAK;AAAA,EACjB,SAAS,CAAA;AACb;"}
|
package/dist/base/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import { apiAddAtivosProcessador, apiDeleteAtivosProcessador, apiFindMonitorAtiv
|
|
|
32
32
|
import { apiAddAtivosSistemaOperacional, apiDeleteAtivosSistemaOperacional, apiFindMonitorAtivosSistemaOperacional, apiGetAtivosSistemaOperacional, apiUpdateAtivosSistemaOperacional } from "./services/modules/ativos/sistemaOperacional/SistemaOperacionalService.js";
|
|
33
33
|
import { apiAddAtivosSoftware, apiDeleteAtivosSoftware, apiFindMonitorAtivosSoftware, apiGetAtivosSoftware, apiUpdateAtivosSoftware } from "./services/modules/ativos/software/SoftwareService.js";
|
|
34
34
|
import { apiAddAtivosSubcategoria, apiDeleteAtivosSubcategoria, apiFindMonitorAtivosSubcategoria, apiGetAtivosSubcategoria, apiUpdateAtivosSubcategoria } from "./services/modules/ativos/subcategoria/SubcategoriaService.js";
|
|
35
|
-
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./services/modules/ativos/tipo/TipoService.js";
|
|
35
|
+
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindByTipoAndFormulario, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./services/modules/ativos/tipo/TipoService.js";
|
|
36
36
|
import { apiAddAtivosVersaoAndroid, apiDeleteAtivosVersaoAndroid, apiFindMonitorAtivosVersaoAndroid, apiGetAtivosVersaoAndroid, apiUpdateAtivosVersaoAndroid } from "./services/modules/ativos/versaoAndroid/VersaoAndroidService.js";
|
|
37
37
|
import { apiAddAtivosVersaoMSOffice, apiDeleteAtivosVersaoMSOffice, apiFindMonitorAtivosVersaoMSOffice, apiGetAtivosVersaoMSOffice, apiUpdateAtivosVersaoMSOffice } from "./services/modules/ativos/versaoMSOffice/VersaoMSOfficeService.js";
|
|
38
38
|
import { apiAddAtivosVlan, apiDeleteAtivosVlan, apiFindMonitorAtivosVlan, apiGetAtivosVlan, apiUpdateAtivosVlan } from "./services/modules/ativos/vlan/VlanService.js";
|
|
@@ -542,6 +542,7 @@ export {
|
|
|
542
542
|
apiFindByIdsProduto,
|
|
543
543
|
apiFindByNomeOrCodigo,
|
|
544
544
|
apiFindByNotaFiscal,
|
|
545
|
+
apiFindByTipoAndFormulario,
|
|
545
546
|
apiFindCalculoFrete,
|
|
546
547
|
apiFindCartaoPortadorFreteByTipoBusca,
|
|
547
548
|
apiFindCentrosByUserId,
|
|
@@ -33,7 +33,7 @@ import { apiAddAtivosProcessador, apiDeleteAtivosProcessador, apiFindMonitorAtiv
|
|
|
33
33
|
import { apiAddAtivosSistemaOperacional, apiDeleteAtivosSistemaOperacional, apiFindMonitorAtivosSistemaOperacional, apiGetAtivosSistemaOperacional, apiUpdateAtivosSistemaOperacional } from "./modules/ativos/sistemaOperacional/SistemaOperacionalService.js";
|
|
34
34
|
import { apiAddAtivosSoftware, apiDeleteAtivosSoftware, apiFindMonitorAtivosSoftware, apiGetAtivosSoftware, apiUpdateAtivosSoftware } from "./modules/ativos/software/SoftwareService.js";
|
|
35
35
|
import { apiAddAtivosSubcategoria, apiDeleteAtivosSubcategoria, apiFindMonitorAtivosSubcategoria, apiGetAtivosSubcategoria, apiUpdateAtivosSubcategoria } from "./modules/ativos/subcategoria/SubcategoriaService.js";
|
|
36
|
-
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./modules/ativos/tipo/TipoService.js";
|
|
36
|
+
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindByTipoAndFormulario, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./modules/ativos/tipo/TipoService.js";
|
|
37
37
|
import { apiAddAtivosVersaoAndroid, apiDeleteAtivosVersaoAndroid, apiFindMonitorAtivosVersaoAndroid, apiGetAtivosVersaoAndroid, apiUpdateAtivosVersaoAndroid } from "./modules/ativos/versaoAndroid/VersaoAndroidService.js";
|
|
38
38
|
import { apiAddAtivosVersaoMSOffice, apiDeleteAtivosVersaoMSOffice, apiFindMonitorAtivosVersaoMSOffice, apiGetAtivosVersaoMSOffice, apiUpdateAtivosVersaoMSOffice } from "./modules/ativos/versaoMSOffice/VersaoMSOfficeService.js";
|
|
39
39
|
import { apiAddAtivosVlan, apiDeleteAtivosVlan, apiFindMonitorAtivosVlan, apiGetAtivosVlan, apiUpdateAtivosVlan } from "./modules/ativos/vlan/VlanService.js";
|
|
@@ -410,6 +410,7 @@ export {
|
|
|
410
410
|
apiFindByIdsProduto,
|
|
411
411
|
apiFindByNomeOrCodigo,
|
|
412
412
|
apiFindByNotaFiscal,
|
|
413
|
+
apiFindByTipoAndFormulario,
|
|
413
414
|
apiFindCalculoFrete,
|
|
414
415
|
apiFindCartaoPortadorFreteByTipoBusca,
|
|
415
416
|
apiFindCentrosByUserId,
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const CENTRAL_ATIVOS_USER_ENDPOINT = endpointNavigationConfig.ativos.centralAtivosUser;
|
|
4
|
+
async function apiGetAtivosCentralAtivosUser(id) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.findOne.endpoint + `${id}`,
|
|
7
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.findOne.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiAddAtivosCentralAtivosUser(body) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.add.endpoint,
|
|
13
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.add.method,
|
|
14
|
+
data: body
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function apiUpdateAtivosCentralAtivosUser(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.update.endpoint,
|
|
20
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.update.method,
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function apiDeleteAtivosCentralAtivosUser(id) {
|
|
25
|
+
return ApiService.fetchDataWithAxios({
|
|
26
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.delete.endpoint + `${id}`,
|
|
27
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.delete.method
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async function apiFindMonitorAtivosCentralAtivosUser(body) {
|
|
31
|
+
return ApiService.fetchDataWithAxios({
|
|
32
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.findMonitor.endpoint,
|
|
33
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.findMonitor.method,
|
|
34
|
+
data: body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
apiAddAtivosCentralAtivosUser,
|
|
39
|
+
apiDeleteAtivosCentralAtivosUser,
|
|
40
|
+
apiFindMonitorAtivosCentralAtivosUser,
|
|
41
|
+
apiGetAtivosCentralAtivosUser,
|
|
42
|
+
apiUpdateAtivosCentralAtivosUser
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=CentralAtivosUserService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CentralAtivosUserService.js","sources":["../../../../../../lib/base/services/modules/ativos/centralAtivosUser/CentralAtivosUserService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TCentralAtivosUser } from \"@base/@types/models/ativos/centralAtivosUser\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CENTRAL_ATIVOS_USER_ENDPOINT = endpointConfig.ativos.centralAtivosUser;\n\nexport async function apiGetAtivosCentralAtivosUser(id: number) {\n return ApiService.fetchDataWithAxios<TCentralAtivosUser>({\n url: CENTRAL_ATIVOS_USER_ENDPOINT.findOne.endpoint + `${id}`,\n method: CENTRAL_ATIVOS_USER_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosCentralAtivosUser(body: TCentralAtivosUser) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({\n url: CENTRAL_ATIVOS_USER_ENDPOINT.add.endpoint,\n method: CENTRAL_ATIVOS_USER_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosCentralAtivosUser(body: TCentralAtivosUser) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({\n url: CENTRAL_ATIVOS_USER_ENDPOINT.update.endpoint,\n method: CENTRAL_ATIVOS_USER_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosCentralAtivosUser(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({\n url: CENTRAL_ATIVOS_USER_ENDPOINT.delete.endpoint + `${id}`,\n method: CENTRAL_ATIVOS_USER_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosCentralAtivosUser(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({\n url: CENTRAL_ATIVOS_USER_ENDPOINT.findMonitor.endpoint,\n method: CENTRAL_ATIVOS_USER_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,+BAA+BA,yBAAe,OAAO;AAE3D,eAAsB,8BAA8B,IAAY;AAC5D,SAAO,WAAW,mBAAuC;AAAA,IACrD,KAAK,6BAA6B,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC1D,QAAQ,6BAA6B,QAAQ;AAAA,EAAA,CAChD;AACL;AAEA,eAAsB,8BAA8B,MAA0B;AAC1E,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,6BAA6B,IAAI;AAAA,IACtC,QAAQ,6BAA6B,IAAI;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,iCAAiC,MAA0B;AAC7E,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,6BAA6B,OAAO;AAAA,IACzC,QAAQ,6BAA6B,OAAO;AAAA,IAC5C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,iCAAiC,IAAY;AAC/D,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,6BAA6B,OAAO,WAAW,GAAG,EAAE;AAAA,IACzD,QAAQ,6BAA6B,OAAO;AAAA,EAAA,CAC/C;AACL;AAEA,eAAsB,sCAAsC,MAAsB;AAC9E,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,6BAA6B,YAAY;AAAA,IAC9C,QAAQ,6BAA6B,YAAY;AAAA,IACjD,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -15,7 +15,7 @@ import { apiAddAtivosProcessador, apiDeleteAtivosProcessador, apiFindMonitorAtiv
|
|
|
15
15
|
import { apiAddAtivosSistemaOperacional, apiDeleteAtivosSistemaOperacional, apiFindMonitorAtivosSistemaOperacional, apiGetAtivosSistemaOperacional, apiUpdateAtivosSistemaOperacional } from "./sistemaOperacional/SistemaOperacionalService.js";
|
|
16
16
|
import { apiAddAtivosSoftware, apiDeleteAtivosSoftware, apiFindMonitorAtivosSoftware, apiGetAtivosSoftware, apiUpdateAtivosSoftware } from "./software/SoftwareService.js";
|
|
17
17
|
import { apiAddAtivosSubcategoria, apiDeleteAtivosSubcategoria, apiFindMonitorAtivosSubcategoria, apiGetAtivosSubcategoria, apiUpdateAtivosSubcategoria } from "./subcategoria/SubcategoriaService.js";
|
|
18
|
-
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./tipo/TipoService.js";
|
|
18
|
+
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindByTipoAndFormulario, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./tipo/TipoService.js";
|
|
19
19
|
import { apiAddAtivosVersaoAndroid, apiDeleteAtivosVersaoAndroid, apiFindMonitorAtivosVersaoAndroid, apiGetAtivosVersaoAndroid, apiUpdateAtivosVersaoAndroid } from "./versaoAndroid/VersaoAndroidService.js";
|
|
20
20
|
import { apiAddAtivosVersaoMSOffice, apiDeleteAtivosVersaoMSOffice, apiFindMonitorAtivosVersaoMSOffice, apiGetAtivosVersaoMSOffice, apiUpdateAtivosVersaoMSOffice } from "./versaoMSOffice/VersaoMSOfficeService.js";
|
|
21
21
|
import { apiAddAtivosVlan, apiDeleteAtivosVlan, apiFindMonitorAtivosVlan, apiGetAtivosVlan, apiUpdateAtivosVlan } from "./vlan/VlanService.js";
|
|
@@ -66,6 +66,7 @@ export {
|
|
|
66
66
|
apiDevolverAtivosAtivo,
|
|
67
67
|
apiDevolverLocadoraAtivosAtivo,
|
|
68
68
|
apiDisponibilizarAtivosAtivo,
|
|
69
|
+
apiFindByTipoAndFormulario,
|
|
69
70
|
apiFindHistoricoByTipoAcao,
|
|
70
71
|
apiFindMonitorAtivosAplicacao,
|
|
71
72
|
apiFindMonitorAtivosAtivo,
|
|
@@ -34,9 +34,17 @@ async function apiFindMonitorAtivosTipo(body) {
|
|
|
34
34
|
data: body
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
+
async function apiFindByTipoAndFormulario(body) {
|
|
38
|
+
return ApiService.fetchDataWithAxios({
|
|
39
|
+
url: TIPO_ENDPOINT.findByTipoAndFormulario.endpoint,
|
|
40
|
+
method: TIPO_ENDPOINT.findByTipoAndFormulario.method,
|
|
41
|
+
data: body
|
|
42
|
+
});
|
|
43
|
+
}
|
|
37
44
|
export {
|
|
38
45
|
apiAddAtivosTipo,
|
|
39
46
|
apiDeleteAtivosTipo,
|
|
47
|
+
apiFindByTipoAndFormulario,
|
|
40
48
|
apiFindMonitorAtivosTipo,
|
|
41
49
|
apiGetAtivosTipo,
|
|
42
50
|
apiUpdateAtivosTipo
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipoService.js","sources":["../../../../../../lib/base/services/modules/ativos/tipo/TipoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipo } from \"@base/@types/models/ativos/tipo\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TIPO_ENDPOINT = endpointConfig.ativos.tipo;\n\nexport async function apiGetAtivosTipo(id: number) {\n return ApiService.fetchDataWithAxios<TTipo>({\n url: TIPO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TIPO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosTipo(body: TTipo) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.add.endpoint,\n method: TIPO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosTipo(body: TTipo) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.update.endpoint,\n method: TIPO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosTipo(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.delete.endpoint + `${id}`,\n method: TIPO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosTipo(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.findMonitor.endpoint,\n method: TIPO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,gBAAgBA,yBAAe,OAAO;AAE5C,eAAsB,iBAAiB,IAAY;AAC/C,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC3C,QAAQ,cAAc,QAAQ;AAAA,EAAA,CACjC;AACL;AAEA,eAAsB,iBAAiB,MAAa;AAChD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,IAAI;AAAA,IACvB,QAAQ,cAAc,IAAI;AAAA,IAC1B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,MAAa;AACnD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,OAAO;AAAA,IAC1B,QAAQ,cAAc,OAAO;AAAA,IAC7B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,IAAY;AAClD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,OAAO,WAAW,GAAG,EAAE;AAAA,IAC1C,QAAQ,cAAc,OAAO;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,yBAAyB,MAAsB;AACjE,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,YAAY;AAAA,IAC/B,QAAQ,cAAc,YAAY;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"TipoService.js","sources":["../../../../../../lib/base/services/modules/ativos/tipo/TipoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipo } from \"@base/@types/models/ativos/tipo\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TIPO_ENDPOINT = endpointConfig.ativos.tipo;\n\nexport async function apiGetAtivosTipo(id: number) {\n return ApiService.fetchDataWithAxios<TTipo>({\n url: TIPO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TIPO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosTipo(body: TTipo) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.add.endpoint,\n method: TIPO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosTipo(body: TTipo) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.update.endpoint,\n method: TIPO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosTipo(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.delete.endpoint + `${id}`,\n method: TIPO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosTipo(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipo>>({\n url: TIPO_ENDPOINT.findMonitor.endpoint,\n method: TIPO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiFindByTipoAndFormulario(body: { tipo: string; formularioCamposId?: number | null }) {\n return ApiService.fetchDataWithAxios<any[]>({\n url: TIPO_ENDPOINT.findByTipoAndFormulario.endpoint,\n method: TIPO_ENDPOINT.findByTipoAndFormulario.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,gBAAgBA,yBAAe,OAAO;AAE5C,eAAsB,iBAAiB,IAAY;AAC/C,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC3C,QAAQ,cAAc,QAAQ;AAAA,EAAA,CACjC;AACL;AAEA,eAAsB,iBAAiB,MAAa;AAChD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,IAAI;AAAA,IACvB,QAAQ,cAAc,IAAI;AAAA,IAC1B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,MAAa;AACnD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,OAAO;AAAA,IAC1B,QAAQ,cAAc,OAAO;AAAA,IAC7B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,IAAY;AAClD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,OAAO,WAAW,GAAG,EAAE;AAAA,IAC1C,QAAQ,cAAc,OAAO;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,yBAAyB,MAAsB;AACjE,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,YAAY;AAAA,IAC/B,QAAQ,cAAc,YAAY;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,MAA4D;AACzG,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,wBAAwB;AAAA,IAC3C,QAAQ,cAAc,wBAAwB;AAAA,IAC9C,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -30,7 +30,7 @@ import { apiAddAtivosProcessador, apiDeleteAtivosProcessador, apiFindMonitorAtiv
|
|
|
30
30
|
import { apiAddAtivosSistemaOperacional, apiDeleteAtivosSistemaOperacional, apiFindMonitorAtivosSistemaOperacional, apiGetAtivosSistemaOperacional, apiUpdateAtivosSistemaOperacional } from "./ativos/sistemaOperacional/SistemaOperacionalService.js";
|
|
31
31
|
import { apiAddAtivosSoftware, apiDeleteAtivosSoftware, apiFindMonitorAtivosSoftware, apiGetAtivosSoftware, apiUpdateAtivosSoftware } from "./ativos/software/SoftwareService.js";
|
|
32
32
|
import { apiAddAtivosSubcategoria, apiDeleteAtivosSubcategoria, apiFindMonitorAtivosSubcategoria, apiGetAtivosSubcategoria, apiUpdateAtivosSubcategoria } from "./ativos/subcategoria/SubcategoriaService.js";
|
|
33
|
-
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./ativos/tipo/TipoService.js";
|
|
33
|
+
import { apiAddAtivosTipo, apiDeleteAtivosTipo, apiFindByTipoAndFormulario, apiFindMonitorAtivosTipo, apiGetAtivosTipo, apiUpdateAtivosTipo } from "./ativos/tipo/TipoService.js";
|
|
34
34
|
import { apiAddAtivosVersaoAndroid, apiDeleteAtivosVersaoAndroid, apiFindMonitorAtivosVersaoAndroid, apiGetAtivosVersaoAndroid, apiUpdateAtivosVersaoAndroid } from "./ativos/versaoAndroid/VersaoAndroidService.js";
|
|
35
35
|
import { apiAddAtivosVersaoMSOffice, apiDeleteAtivosVersaoMSOffice, apiFindMonitorAtivosVersaoMSOffice, apiGetAtivosVersaoMSOffice, apiUpdateAtivosVersaoMSOffice } from "./ativos/versaoMSOffice/VersaoMSOfficeService.js";
|
|
36
36
|
import { apiAddAtivosVlan, apiDeleteAtivosVlan, apiFindMonitorAtivosVlan, apiGetAtivosVlan, apiUpdateAtivosVlan } from "./ativos/vlan/VlanService.js";
|
|
@@ -383,6 +383,7 @@ export {
|
|
|
383
383
|
apiFindByIdsProduto,
|
|
384
384
|
apiFindByNomeOrCodigo,
|
|
385
385
|
apiFindByNotaFiscal,
|
|
386
|
+
apiFindByTipoAndFormulario,
|
|
386
387
|
apiFindCalculoFrete,
|
|
387
388
|
apiFindCartaoPortadorFreteByTipoBusca,
|
|
388
389
|
apiFindCentrosByUserId,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type TCentralAtivosUserColumnDef = {
|
|
2
|
+
id: number
|
|
3
|
+
dataCriacao: string
|
|
4
|
+
usuarioCriacaoId: number
|
|
5
|
+
usuarioCriacaoNome: string
|
|
6
|
+
ativoId: number
|
|
7
|
+
formularioCamposId: number
|
|
8
|
+
item: string
|
|
9
|
+
categoriaId: number
|
|
10
|
+
categoria: string
|
|
11
|
+
modeloId: number
|
|
12
|
+
modelo: string
|
|
13
|
+
empresaId: number
|
|
14
|
+
empresaBusinessPartner: string
|
|
15
|
+
empresaNomeCompleto: string
|
|
16
|
+
fabricanteId: number
|
|
17
|
+
fabricanteBusinessPartner: string
|
|
18
|
+
fabricanteNomeCompleto: string
|
|
19
|
+
statusAtivo: string
|
|
20
|
+
statusContrato: string
|
|
21
|
+
departamentoId: number
|
|
22
|
+
departamento: string
|
|
23
|
+
responsavelAtivoId: number
|
|
24
|
+
responsavelAtivoNome: string
|
|
25
|
+
contratoId?: number | null
|
|
26
|
+
contratoDocusignId?: string | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type TCentralAtivosUser = {
|
|
30
|
+
id?: number
|
|
31
|
+
ativoId: number
|
|
32
|
+
categoriaId: number
|
|
33
|
+
modeloId: number
|
|
34
|
+
empresaId: number
|
|
35
|
+
fabricanteId: number
|
|
36
|
+
statusAtivo: string
|
|
37
|
+
statusContrato: string
|
|
38
|
+
departamentoId: number
|
|
39
|
+
responsavelAtivoId: number
|
|
40
|
+
contratoId?: number | null
|
|
41
|
+
contratoDocusignId?: string | null
|
|
42
|
+
}
|
|
@@ -2,6 +2,7 @@ import aplicacao from "./config/aplicacao"
|
|
|
2
2
|
import ativo from "./config/ativo"
|
|
3
3
|
import bancoDados from "./config/bancoDados"
|
|
4
4
|
import categoria from "./config/categoria"
|
|
5
|
+
import centralAtivosUser from "./config/centralAtivosUser"
|
|
5
6
|
import documentacao from "./config/documentacao"
|
|
6
7
|
import formularioCampos from "./config/formularioCampos"
|
|
7
8
|
import hardDisk from "./config/hardDisk"
|
|
@@ -25,6 +26,7 @@ const ativos = {
|
|
|
25
26
|
ativo: ativo,
|
|
26
27
|
bancoDados: bancoDados,
|
|
27
28
|
categoria: categoria,
|
|
29
|
+
centralAtivosUser: centralAtivosUser,
|
|
28
30
|
documentacao: documentacao,
|
|
29
31
|
formularioCampos: formularioCampos,
|
|
30
32
|
hardDisk: hardDisk,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const CENTRAL_ATIVOS_USER_BASE_URL = '/ativos/api/ativos/central-ativos-user'
|
|
2
|
+
|
|
3
|
+
const centralAtivosUser = {
|
|
4
|
+
findOne: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/`, method: 'get' },
|
|
5
|
+
add: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}`, method: 'post' },
|
|
6
|
+
update: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}`, method: 'put' },
|
|
7
|
+
delete: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/`, method: 'delete' },
|
|
8
|
+
findMonitor: { endpoint: `${CENTRAL_ATIVOS_USER_BASE_URL}/find-monitor`, method: 'post' },
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default centralAtivosUser
|
|
@@ -6,6 +6,7 @@ const tipo = {
|
|
|
6
6
|
update: { endpoint: `${TIPO_BASE_URL}`, method: 'put' },
|
|
7
7
|
delete: { endpoint: `${TIPO_BASE_URL}/`, method: 'delete' },
|
|
8
8
|
findMonitor: { endpoint: `${TIPO_BASE_URL}/find-monitor`, method: 'post' },
|
|
9
|
+
findByTipoAndFormulario: { endpoint: `${TIPO_BASE_URL}/find-by-tipo-and-formulario`, method: 'post' },
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export default tipo
|
|
@@ -2,9 +2,11 @@ import type { NavigationTree } from '@/@types/navigation'
|
|
|
2
2
|
import subMenuCadastros from '../../modules.submenu/ativos/cadastros/submenu.cadastro'
|
|
3
3
|
import subMenuDocumentacoes from '../../modules.submenu/ativos/documentacoes/submenu.documentacoes'
|
|
4
4
|
import ativoSubmenu from './config/ativo.submenu'
|
|
5
|
+
import centralAtivosUserSubmenu from './config/centralAtivosUser.submenu'
|
|
5
6
|
|
|
6
7
|
const ativosSubmenu: NavigationTree[] = [
|
|
7
8
|
subMenuCadastros,
|
|
9
|
+
centralAtivosUserSubmenu,
|
|
8
10
|
subMenuDocumentacoes,
|
|
9
11
|
ativoSubmenu
|
|
10
12
|
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
|
|
2
|
+
import { ADMIN } from '@/constants/roles.constant'
|
|
3
|
+
import { NavigationTree } from '@/@types/navigation'
|
|
4
|
+
|
|
5
|
+
const centralAtivosUserSubmenu: NavigationTree = {
|
|
6
|
+
key: 'modules.ativos.centralAtivosUser',
|
|
7
|
+
path: '/ativos/central-ativos-user',
|
|
8
|
+
title: 'Central de Ativos por Usuário',
|
|
9
|
+
translateKey: 'nav.modules.ativos.centralAtivosUser',
|
|
10
|
+
icon: 'centralAtivosUser',
|
|
11
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
12
|
+
authority: [ADMIN],
|
|
13
|
+
subMenu: [],
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default centralAtivosUserSubmenu
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ApiService from "@/services/ApiService";
|
|
2
|
+
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
3
|
+
import { TCentralAtivosUser } from "@base/@types/models/ativos/centralAtivosUser";
|
|
4
|
+
import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation";
|
|
5
|
+
|
|
6
|
+
const CENTRAL_ATIVOS_USER_ENDPOINT = endpointConfig.ativos.centralAtivosUser;
|
|
7
|
+
|
|
8
|
+
export async function apiGetAtivosCentralAtivosUser(id: number) {
|
|
9
|
+
return ApiService.fetchDataWithAxios<TCentralAtivosUser>({
|
|
10
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.findOne.method,
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export async function apiAddAtivosCentralAtivosUser(body: TCentralAtivosUser) {
|
|
16
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({
|
|
17
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.add.endpoint,
|
|
18
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.add.method,
|
|
19
|
+
data: body,
|
|
20
|
+
})
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export async function apiUpdateAtivosCentralAtivosUser(body: TCentralAtivosUser) {
|
|
24
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({
|
|
25
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.update.endpoint,
|
|
26
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.update.method,
|
|
27
|
+
data: body,
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export async function apiDeleteAtivosCentralAtivosUser(id: number) {
|
|
32
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({
|
|
33
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.delete.method,
|
|
35
|
+
})
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export async function apiFindMonitorAtivosCentralAtivosUser(body?: IFilterParams) {
|
|
39
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TCentralAtivosUser>>({
|
|
40
|
+
url: CENTRAL_ATIVOS_USER_ENDPOINT.findMonitor.endpoint,
|
|
41
|
+
method: CENTRAL_ATIVOS_USER_ENDPOINT.findMonitor.method,
|
|
42
|
+
data: body,
|
|
43
|
+
})
|
|
44
|
+
}
|
|
@@ -42,3 +42,11 @@ export async function apiFindMonitorAtivosTipo(body?: IFilterParams) {
|
|
|
42
42
|
data: body,
|
|
43
43
|
})
|
|
44
44
|
}
|
|
45
|
+
|
|
46
|
+
export async function apiFindByTipoAndFormulario(body: { tipo: string; formularioCamposId?: number | null }) {
|
|
47
|
+
return ApiService.fetchDataWithAxios<any[]>({
|
|
48
|
+
url: TIPO_ENDPOINT.findByTipoAndFormulario.endpoint,
|
|
49
|
+
method: TIPO_ENDPOINT.findByTipoAndFormulario.method,
|
|
50
|
+
data: body,
|
|
51
|
+
})
|
|
52
|
+
}
|
package/package.json
CHANGED