@orbe-agro/client-core 5.6.126 → 5.6.127
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/services/modules/ativos/tipo/TipoService.d.ts +1 -1
- package/dist/@types/base/services/modules/ativos/tipo/TipoService.d.ts.map +1 -1
- package/dist/base/services/modules/ativos/tipo/TipoService.js.map +1 -1
- package/lib/base/services/modules/ativos/tipo/TipoService.ts +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export declare function apiUpdateAtivosTipo(body: TTipo): Promise<TQueryResponse
|
|
|
6
6
|
export declare function apiDeleteAtivosTipo(id: number): Promise<TQueryResponse<TTipo>>;
|
|
7
7
|
export declare function apiFindMonitorAtivosTipo(body?: IFilterParams): Promise<TQueryResponse<TTipo>>;
|
|
8
8
|
export declare function apiFindByTipoAndFormulario(body: {
|
|
9
|
-
tipo
|
|
9
|
+
tipo?: string;
|
|
10
10
|
formularioCamposId?: number | null;
|
|
11
11
|
}): Promise<any[]>;
|
|
12
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;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,
|
|
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,CAAC,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,kBAM3G"}
|
|
@@ -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\nexport async function apiFindByTipoAndFormulario(body: { tipo
|
|
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,MAA6D;AAC1G,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,wBAAwB;AAAA,IAC3C,QAAQ,cAAc,wBAAwB;AAAA,IAC9C,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -43,7 +43,7 @@ export async function apiFindMonitorAtivosTipo(body?: IFilterParams) {
|
|
|
43
43
|
})
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export async function apiFindByTipoAndFormulario(body: { tipo
|
|
46
|
+
export async function apiFindByTipoAndFormulario(body: { tipo?: string; formularioCamposId?: number | null }) {
|
|
47
47
|
return ApiService.fetchDataWithAxios<any[]>({
|
|
48
48
|
url: TIPO_ENDPOINT.findByTipoAndFormulario.endpoint,
|
|
49
49
|
method: TIPO_ENDPOINT.findByTipoAndFormulario.method,
|
package/package.json
CHANGED