@smart-factor/gem-ui-map-component 0.0.37 → 0.0.39

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.
@@ -0,0 +1,2 @@
1
+ declare const useGetRoadManagerTeryt: () => import('@tanstack/react-query').UseQueryResult<string | null, Error>;
2
+ export default useGetRoadManagerTeryt;
@@ -4,5 +4,6 @@ declare const QueryKeys: {
4
4
  mapRepresentation: string;
5
5
  plots: string;
6
6
  roads: string;
7
+ roadManagerTeryt: string;
7
8
  };
8
9
  export default QueryKeys;
@@ -371,6 +371,17 @@ export type QueryClosestRoadInfoData = {
371
371
  export interface RoadInfoPayload {
372
372
  geometry?: Geometry;
373
373
  }
374
+ export interface RoadManagerDTO {
375
+ /** @format int32 */
376
+ id?: number;
377
+ name?: string;
378
+ symbol?: string;
379
+ description?: string;
380
+ territory_code?: string;
381
+ }
382
+ export type QueryRoadManagersData = {
383
+ response: RoadManagerDTO[];
384
+ };
374
385
  export interface GEMRoad {
375
386
  id: number;
376
387
  category: string;
@@ -554,6 +565,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
554
565
  */
555
566
  queryRoads: (params?: RequestParams) => Promise<AxiosResponse<QueryRoadsData, any>>;
556
567
  };
568
+ roadmanager: {
569
+ /**
570
+ * @tags /roadmanager
571
+ * @name QueryRoadManagers
572
+ * @summary Zwraca listę zarządców drogi
573
+ * @request GET:/roadmanager
574
+ * @secure
575
+ * @response `200` `QueryRoadManagersData` Pobieranie zakończone sukcesem
576
+ * @response `400` `string` Bad Request
577
+ * @response `404` `string` Not Found
578
+ * @response `406` `string` Not Acceptable
579
+ * @response `409` `(ErrorResponse | string)` Conflict
580
+ * @response `500` `(RoadManagerDTO)[]` Wewnętrzny błąd serwera
581
+ */
582
+ queryRoadManagers: (params?: RequestParams) => Promise<AxiosResponse<QueryRoadManagersData, any>>;
583
+ };
557
584
  user: {
558
585
  /**
559
586
  * No description
@@ -1,4 +1,4 @@
1
- import { M as f } from "../../MapButtons-CFqTDk2i.js";
1
+ import { M as f } from "../../MapButtons-C1G5dcCi.js";
2
2
  export {
3
3
  f as default
4
4
  };