@orbe-agro/client-core 5.3.244 → 5.3.245

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.
@@ -7,6 +7,10 @@ declare const user: {
7
7
  endpoint: string;
8
8
  httpMethod: string;
9
9
  };
10
+ findCentros: (userId: string | number) => {
11
+ endpoint: string;
12
+ httpMethod: "get";
13
+ };
10
14
  };
11
15
  export default user;
12
16
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;CAGT,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;0BAGgB,MAAM,GAAG,MAAM;;;;CAIxC,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -240,6 +240,10 @@ declare const dm: {
240
240
  endpoint: string;
241
241
  httpMethod: string;
242
242
  };
243
+ findCentros: (userId: string | number) => {
244
+ endpoint: string;
245
+ httpMethod: "get";
246
+ };
243
247
  };
244
248
  departamento: {
245
249
  findMonitor: {
@@ -1 +1 @@
1
- {"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
@@ -580,6 +580,10 @@ declare const endpointNavigationConfig: {
580
580
  endpoint: string;
581
581
  httpMethod: string;
582
582
  };
583
+ findCentros: (userId: string | number) => {
584
+ endpoint: string;
585
+ httpMethod: "get";
586
+ };
583
587
  };
584
588
  departamento: {
585
589
  findMonitor: {
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { IFilterParams, TQueryResponse } from "@base/@types/api";
2
2
  export declare function apiFindUser(body?: IFilterParams): Promise<TQueryResponse<any>>;
3
3
  export declare function apiFindByIds(filters?: IFilterParams): Promise<TQueryResponse<any>>;
4
+ export declare function apiFindCentrosByUserId(userId: string | number): Promise<TQueryResponse<any>>;
4
5
  //# sourceMappingURL=UserService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKjE,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMrD;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,aAAa,gCAMzD"}
1
+ {"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKjE,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMrD;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,aAAa,gCAMzD;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gCAOnE"}
@@ -1,8 +1,12 @@
1
- const t = "/dados-mestres/api/user", d = {
1
+ const t = "/dados-mestres/api/user", e = {
2
2
  find: { endpoint: `${t}/find`, httpMethod: "post" },
3
- findByIds: { endpoint: `${t}/find-by-ids`, httpMethod: "post" }
3
+ findByIds: { endpoint: `${t}/find-by-ids`, httpMethod: "post" },
4
+ findCentros: (d) => ({
5
+ endpoint: `${t}/${d}/centros`,
6
+ httpMethod: "get"
7
+ })
4
8
  };
5
9
  export {
6
- d as default
10
+ e as default
7
11
  };
8
12
  //# sourceMappingURL=user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"sourcesContent":["const USER_BASE_URL = '/dados-mestres/api/user'\n\nconst user = {\n find: { endpoint: `${USER_BASE_URL}/find`, httpMethod: 'post' },\n findByIds: { endpoint: `${USER_BASE_URL}/find-by-ids`, httpMethod: 'post' }\n}\n\nexport default user"],"names":["USER_BASE_URL","user"],"mappings":"AAAA,MAAMA,IAAgB,2BAEhBC,IAAO;AAAA,EACT,MAAM,EAAE,UAAU,GAAGD,CAAa,SAAS,YAAY,OAAO;AAAA,EAC9D,WAAW,EAAE,UAAU,GAAGA,CAAa,gBAAgB,YAAY,OAAO;AAC9E;"}
1
+ {"version":3,"file":"user.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"sourcesContent":["const USER_BASE_URL = '/dados-mestres/api/user'\n\nconst user = {\n find: { endpoint: `${USER_BASE_URL}/find`, httpMethod: 'post' },\n findByIds: { endpoint: `${USER_BASE_URL}/find-by-ids`, httpMethod: 'post' },\n findCentros: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/${userId}/centros`,\n httpMethod: 'get' as const,\n }),\n}\n\nexport default user\n"],"names":["USER_BASE_URL","user","userId"],"mappings":"AAAA,MAAMA,IAAgB,2BAEhBC,IAAO;AAAA,EACT,MAAM,EAAE,UAAU,GAAGD,CAAa,SAAS,YAAY,OAAO;AAAA,EAC9D,WAAW,EAAE,UAAU,GAAGA,CAAa,gBAAgB,YAAY,OAAO;AAAA,EAC1E,aAAa,CAACE,OAA6B;AAAA,IACvC,UAAU,GAAGF,CAAa,IAAIE,CAAM;AAAA,IACpC,YAAY;AAAA,EAChB;AACJ;"}