{ "version": 3, "sources": ["libs/angular/api/ng-geography-api/src/generated/fn/lookup/get-all-state-boundries.ts", "libs/angular/api/ng-geography-api/src/generated/fn/lookup/get-closest-to-lat-lng.ts", "libs/angular/api/ng-geography-api/src/generated/fn/lookup/get-state-and-city.ts", "libs/angular/api/ng-geography-api/src/generated/fn/lookup/get-state-boundries-by-coordinates.ts", "libs/angular/api/ng-geography-api/src/generated/fn/lookup/get-state-boundries-by-state-id.ts", "libs/angular/api/ng-geography-api/src/generated/services/itk-geo-lookup-api.ts"], "sourcesContent": ["/* tslint:disable */\n/* eslint-disable */\nimport { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\nimport { StrictHttpResponse } from '../../strict-http-response';\nimport { RequestBuilder } from '../../request-builder';\n\nimport { GeoJsonDataModelApiModel } from '../../models/geo-json-data-model-api-model';\n\nexport interface GetAllStateBoundries$Params {\n}\n\nexport function getAllStateBoundries(http: HttpClient, rootUrl: string, params?: GetAllStateBoundries$Params, context?: HttpContext): Observable>> {\n const rb = new RequestBuilder(rootUrl, getAllStateBoundries.PATH, 'get');\n if (params) {\n }\n\n return http.request(\n rb.build({ responseType: 'json', accept: 'application/json', context })\n ).pipe(\n filter((r: any): r is HttpResponse => r instanceof HttpResponse),\n map((r: HttpResponse) => {\n return r as StrictHttpResponse>;\n })\n );\n}\n\ngetAllStateBoundries.PATH = '/v1/lookup/boundries';\n", "/* tslint:disable */\n/* eslint-disable */\nimport { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\nimport { StrictHttpResponse } from '../../strict-http-response';\nimport { RequestBuilder } from '../../request-builder';\n\nimport { CityStateLookupDataModelApiModel } from '../../models/city-state-lookup-data-model-api-model';\n\nexport interface GetClosestToLatLng$Params {\n lng: any;\n lat: any;\n}\n\nexport function getClosestToLatLng(http: HttpClient, rootUrl: string, params: GetClosestToLatLng$Params, context?: HttpContext): Observable> {\n const rb = new RequestBuilder(rootUrl, getClosestToLatLng.PATH, 'get');\n if (params) {\n rb.path('lng', params.lng, {});\n rb.path('lat', params.lat, {});\n }\n\n return http.request(\n rb.build({ responseType: 'json', accept: 'application/json', context })\n ).pipe(\n filter((r: any): r is HttpResponse => r instanceof HttpResponse),\n map((r: HttpResponse) => {\n return r as StrictHttpResponse;\n })\n );\n}\n\ngetClosestToLatLng.PATH = '/v1/lookup/closest/{lat}/{lng}';\n", "/* tslint:disable */\n/* eslint-disable */\nimport { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\nimport { StrictHttpResponse } from '../../strict-http-response';\nimport { RequestBuilder } from '../../request-builder';\n\nimport { CityStateLookupDataModelApiModel } from '../../models/city-state-lookup-data-model-api-model';\n\nexport interface GetStateAndCity$Params {\n stateId: string;\n city: any;\n}\n\nexport function getStateAndCity(http: HttpClient, rootUrl: string, params: GetStateAndCity$Params, context?: HttpContext): Observable> {\n const rb = new RequestBuilder(rootUrl, getStateAndCity.PATH, 'get');\n if (params) {\n rb.path('stateId', params.stateId, {});\n rb.path('city', params.city, {});\n }\n\n return http.request(\n rb.build({ responseType: 'json', accept: 'application/json', context })\n ).pipe(\n filter((r: any): r is HttpResponse => r instanceof HttpResponse),\n map((r: HttpResponse) => {\n return r as StrictHttpResponse;\n })\n );\n}\n\ngetStateAndCity.PATH = '/v1/lookup/city/{stateId}/{city}';\n", "/* tslint:disable */\n/* eslint-disable */\nimport { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\nimport { StrictHttpResponse } from '../../strict-http-response';\nimport { RequestBuilder } from '../../request-builder';\n\nimport { GeoJsonDataModelApiModel } from '../../models/geo-json-data-model-api-model';\n\nexport interface GetStateBoundriesByCoordinates$Params {\n lng: any;\n lat: any;\n}\n\nexport function getStateBoundriesByCoordinates(http: HttpClient, rootUrl: string, params: GetStateBoundriesByCoordinates$Params, context?: HttpContext): Observable> {\n const rb = new RequestBuilder(rootUrl, getStateBoundriesByCoordinates.PATH, 'get');\n if (params) {\n rb.path('lng', params.lng, {});\n rb.path('lat', params.lat, {});\n }\n\n return http.request(\n rb.build({ responseType: 'json', accept: 'application/json', context })\n ).pipe(\n filter((r: any): r is HttpResponse => r instanceof HttpResponse),\n map((r: HttpResponse) => {\n return r as StrictHttpResponse;\n })\n );\n}\n\ngetStateBoundriesByCoordinates.PATH = '/v1/lookup/boundries/{lat}/{lng}';\n", "/* tslint:disable */\n/* eslint-disable */\nimport { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\nimport { StrictHttpResponse } from '../../strict-http-response';\nimport { RequestBuilder } from '../../request-builder';\n\nimport { GeoJsonDataModelApiModel } from '../../models/geo-json-data-model-api-model';\n\nexport interface GetStateBoundriesByStateId$Params {\n stateId: string;\n}\n\nexport function getStateBoundriesByStateId(http: HttpClient, rootUrl: string, params: GetStateBoundriesByStateId$Params, context?: HttpContext): Observable> {\n const rb = new RequestBuilder(rootUrl, getStateBoundriesByStateId.PATH, 'get');\n if (params) {\n rb.path('stateId', params.stateId, {});\n }\n\n return http.request(\n rb.build({ responseType: 'json', accept: 'application/json', context })\n ).pipe(\n filter((r: any): r is HttpResponse => r instanceof HttpResponse),\n map((r: HttpResponse) => {\n return r as StrictHttpResponse;\n })\n );\n}\n\ngetStateBoundriesByStateId.PATH = '/v1/lookup/boundries/{stateId}';\n", "/* tslint:disable */\n/* eslint-disable */\nimport { HttpClient, HttpContext } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { BaseService } from '../base-service';\nimport { ApiConfiguration } from '../api-configuration';\nimport { StrictHttpResponse } from '../strict-http-response';\n\nimport { CityStateLookupDataModelApiModel } from '../models/city-state-lookup-data-model-api-model';\nimport { GeoJsonDataModelApiModel } from '../models/geo-json-data-model-api-model';\nimport { getAllStateBoundries } from '../fn/lookup/get-all-state-boundries';\nimport { GetAllStateBoundries$Params } from '../fn/lookup/get-all-state-boundries';\nimport { getClosestToLatLng } from '../fn/lookup/get-closest-to-lat-lng';\nimport { GetClosestToLatLng$Params } from '../fn/lookup/get-closest-to-lat-lng';\nimport { getStateAndCity } from '../fn/lookup/get-state-and-city';\nimport { GetStateAndCity$Params } from '../fn/lookup/get-state-and-city';\nimport { getStateBoundriesByCoordinates } from '../fn/lookup/get-state-boundries-by-coordinates';\nimport { GetStateBoundriesByCoordinates$Params } from '../fn/lookup/get-state-boundries-by-coordinates';\nimport { getStateBoundriesByStateId } from '../fn/lookup/get-state-boundries-by-state-id';\nimport { GetStateBoundriesByStateId$Params } from '../fn/lookup/get-state-boundries-by-state-id';\n\n@Injectable({ providedIn: 'root' })\nexport class ItkGeoLookupApi extends BaseService {\n constructor(config: ApiConfiguration, http: HttpClient) {\n super(config, http);\n }\n\n /** Path part for operation `lookupControllerGetAllStateBoundries()` */\n static readonly LookupControllerGetAllStateBoundriesPath = '/v1/lookup/boundries';\n\n /**\n * This method provides access to the full `HttpResponse`, allowing access to response headers.\n * To access only the response body, use `getAllStateBoundries()` instead.\n *\n * This method doesn't expect any request body.\n */\n getAllStateBoundries$Response(params?: GetAllStateBoundries$Params, context?: HttpContext): Observable>> {\n return getAllStateBoundries(this.http, this.rootUrl, params, context);\n }\n\n /**\n * This method provides access only to the response body.\n * To access the full response (for headers, for example), `getAllStateBoundries$Response()` instead.\n *\n * This method doesn't expect any request body.\n */\n getAllStateBoundries(params?: GetAllStateBoundries$Params, context?: HttpContext): Observable> {\n return this.getAllStateBoundries$Response(params, context).pipe(\n map((r: StrictHttpResponse>): Array => r.body)\n );\n }\n\n /** Path part for operation `lookupControllerGetStateBoundriesByCoordinates()` */\n static readonly LookupControllerGetStateBoundriesByCoordinatesPath = '/v1/lookup/boundries/{lat}/{lng}';\n\n /**\n * This method provides access to the full `HttpResponse`, allowing access to response headers.\n * To access only the response body, use `getStateBoundriesByCoordinates()` instead.\n *\n * This method doesn't expect any request body.\n */\n getStateBoundriesByCoordinates$Response(params: GetStateBoundriesByCoordinates$Params, context?: HttpContext): Observable> {\n return getStateBoundriesByCoordinates(this.http, this.rootUrl, params, context);\n }\n\n /**\n * This method provides access only to the response body.\n * To access the full response (for headers, for example), `getStateBoundriesByCoordinates$Response()` instead.\n *\n * This method doesn't expect any request body.\n */\n getStateBoundriesByCoordinates(params: GetStateBoundriesByCoordinates$Params, context?: HttpContext): Observable {\n return this.getStateBoundriesByCoordinates$Response(params, context).pipe(\n map((r: StrictHttpResponse): GeoJsonDataModelApiModel => r.body)\n );\n }\n\n /** Path part for operation `lookupControllerGetStateBoundriesByStateId()` */\n static readonly LookupControllerGetStateBoundriesByStateIdPath = '/v1/lookup/boundries/{stateId}';\n\n /**\n * This method provides access to the full `HttpResponse`, allowing access to response headers.\n * To access only the response body, use `getStateBoundriesByStateId()` instead.\n *\n * This method doesn't expect any request body.\n */\n getStateBoundriesByStateId$Response(params: GetStateBoundriesByStateId$Params, context?: HttpContext): Observable> {\n return getStateBoundriesByStateId(this.http, this.rootUrl, params, context);\n }\n\n /**\n * This method provides access only to the response body.\n * To access the full response (for headers, for example), `getStateBoundriesByStateId$Response()` instead.\n *\n * This method doesn't expect any request body.\n */\n getStateBoundriesByStateId(params: GetStateBoundriesByStateId$Params, context?: HttpContext): Observable {\n return this.getStateBoundriesByStateId$Response(params, context).pipe(\n map((r: StrictHttpResponse): GeoJsonDataModelApiModel => r.body)\n );\n }\n\n /** Path part for operation `lookupControllerGetClosestToLatLng()` */\n static readonly LookupControllerGetClosestToLatLngPath = '/v1/lookup/closest/{lat}/{lng}';\n\n /**\n * This method provides access to the full `HttpResponse`, allowing access to response headers.\n * To access only the response body, use `getClosestToLatLng()` instead.\n *\n * This method doesn't expect any request body.\n */\n getClosestToLatLng$Response(params: GetClosestToLatLng$Params, context?: HttpContext): Observable> {\n return getClosestToLatLng(this.http, this.rootUrl, params, context);\n }\n\n /**\n * This method provides access only to the response body.\n * To access the full response (for headers, for example), `getClosestToLatLng$Response()` instead.\n *\n * This method doesn't expect any request body.\n */\n getClosestToLatLng(params: GetClosestToLatLng$Params, context?: HttpContext): Observable {\n return this.getClosestToLatLng$Response(params, context).pipe(\n map((r: StrictHttpResponse): CityStateLookupDataModelApiModel => r.body)\n );\n }\n\n /** Path part for operation `lookupControllerGetStateAndCity()` */\n static readonly LookupControllerGetStateAndCityPath = '/v1/lookup/city/{stateId}/{city}';\n\n /**\n * This method provides access to the full `HttpResponse`, allowing access to response headers.\n * To access only the response body, use `getStateAndCity()` instead.\n *\n * This method doesn't expect any request body.\n */\n getStateAndCity$Response(params: GetStateAndCity$Params, context?: HttpContext): Observable> {\n return getStateAndCity(this.http, this.rootUrl, params, context);\n }\n\n /**\n * This method provides access only to the response body.\n * To access the full response (for headers, for example), `getStateAndCity$Response()` instead.\n *\n * This method doesn't expect any request body.\n */\n getStateAndCity(params: GetStateAndCity$Params, context?: HttpContext): Observable {\n return this.getStateAndCity$Response(params, context).pipe(\n map((r: StrictHttpResponse): CityStateLookupDataModelApiModel => r.body)\n );\n }\n\n}\n"], "mappings": "oIAaM,SAAUA,EAAqBC,EAAkBC,EAAiBC,EAAsCC,EAAqB,CACjI,IAAMC,EAAK,IAAIC,EAAeJ,EAASF,EAAqBO,KAAM,KAAK,EAIvE,OAAON,EAAKO,QACVH,EAAGI,MAAM,CAAEC,aAAc,OAAQC,OAAQ,mBAAoBP,QAAAA,CAAO,CAAE,CAAC,EACvEQ,KACAC,EAAQC,GAAmCA,aAAaC,CAAY,EACpEC,EAAKF,GACIA,CACR,CAAC,CAEN,CAEAd,EAAqBO,KAAO,uBCbtB,SAAUU,EAAmBC,EAAkBC,EAAiBC,EAAmCC,EAAqB,CAC5H,IAAMC,EAAK,IAAIC,EAAeJ,EAASF,EAAmBO,KAAM,KAAK,EACrE,OAAIJ,IACFE,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AM,KAAKK,QAASH,EAAQC,CAAO,CACpE,CAQAY,mBAAmBb,EAAmCC,EAAqB,CACzE,OAAO,KAAKW,4BAA4BZ,EAAQC,CAAO,EAAEG,KACvDC,EAAKC,GAA8FA,EAAEC,IAAI,CAAC,CAE9G,CAWAO,yBAAyBd,EAAgCC,EAAqB,CAC5E,OAAOc,EAAgB,KAAKjB,KAAM,KAAKK,QAASH,EAAQC,CAAO,CACjE,CAQAc,gBAAgBf,EAAgCC,EAAqB,CACnE,OAAO,KAAKa,yBAAyBd,EAAQC,CAAO,EAAEG,KACpDC,EAAKC,GAA8FA,EAAEC,IAAI,CAAC,CAE9G,GA1HgBS,EAAAC,yCAA2C,uBAyB3CD,EAAAE,mDAAqD,mCAyBrDF,EAAAG,+CAAiD,iCAyBjDH,EAAAI,uCAAyC,iCAyBzCJ,EAAAK,oCAAsC,yEA1G3C3B,GAAe4B,EAAAC,CAAA,EAAAD,EAAAE,CAAA,CAAA,CAAA,wBAAf9B,EAAe+B,QAAf/B,EAAegC,UAAAC,WADF,MAAM,CAAA,EAC1B,IAAOjC,EAAPsB,SAAOtB,CAAgB,GAAA", "names": ["getAllStateBoundries", "http", "rootUrl", "params", "context", "rb", "RequestBuilder", "PATH", "request", "build", "responseType", "accept", "pipe", "filter", "r", "HttpResponse", "map", "getClosestToLatLng", "http", "rootUrl", "params", "context", "rb", "RequestBuilder", "PATH", "path", "lng", "lat", "request", "build", "responseType", "accept", "pipe", "filter", "r", "HttpResponse", "map", "getStateAndCity", "http", "rootUrl", "params", "context", "rb", "RequestBuilder", "PATH", "path", "stateId", "city", "request", "build", "responseType", "accept", "pipe", "filter", "r", "HttpResponse", "map", "getStateBoundriesByCoordinates", "http", "rootUrl", "params", "context", "rb", "RequestBuilder", "PATH", "path", "lng", "lat", "request", "build", "responseType", "accept", "pipe", "filter", "r", "HttpResponse", "map", "getStateBoundriesByStateId", "http", "rootUrl", "params", "context", "rb", "RequestBuilder", "PATH", "path", "stateId", "request", "build", "responseType", "accept", "pipe", "filter", "r", "HttpResponse", "map", "ItkGeoLookupApi", "BaseService", "constructor", "config", "http", "getAllStateBoundries$Response", "params", "context", "getAllStateBoundries", "rootUrl", "pipe", "map", "r", "body", "getStateBoundriesByCoordinates$Response", "getStateBoundriesByCoordinates", "getStateBoundriesByStateId$Response", "getStateBoundriesByStateId", "getClosestToLatLng$Response", "getClosestToLatLng", "getStateAndCity$Response", "getStateAndCity", "_ItkGeoLookupApi", "LookupControllerGetAllStateBoundriesPath", "LookupControllerGetStateBoundriesByCoordinatesPath", "LookupControllerGetStateBoundriesByStateIdPath", "LookupControllerGetClosestToLatLngPath", "LookupControllerGetStateAndCityPath", "\u0275\u0275inject", "ApiConfiguration", "HttpClient", "factory", "\u0275fac", "providedIn"] }