feat: implement billing, usage tracking, and administrative geocoding features in API with infrastructure updates
This commit is contained in:
Vendored
+15
-5
@@ -1,26 +1,36 @@
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import { Repository } from 'typeorm';
|
||||
import { Repository, DataSource } from 'typeorm';
|
||||
import { RoadSegmentStat } from './road-stat.entity';
|
||||
import { TrafficGridService } from './traffic-grid.service';
|
||||
import { GeocodingService } from '../geocoding/geocoding.service';
|
||||
import { RedisService } from '../common/redis.service';
|
||||
export declare class MapsService {
|
||||
private configService;
|
||||
private roadStatRepo;
|
||||
private trafficGrid;
|
||||
private geocodingService;
|
||||
private dataSource;
|
||||
private redisService;
|
||||
private readonly graphHopperUrl;
|
||||
constructor(configService: ConfigService, roadStatRepo: Repository<RoadSegmentStat>, trafficGrid: TrafficGridService, geocodingService: GeocodingService);
|
||||
getRoute(waypoints: [number, number][], profile?: string): Promise<{
|
||||
constructor(configService: ConfigService, roadStatRepo: Repository<RoadSegmentStat>, trafficGrid: TrafficGridService, geocodingService: GeocodingService, dataSource: DataSource, redisService: RedisService);
|
||||
requestRoutingSync(): Promise<{
|
||||
success: boolean;
|
||||
message: string;
|
||||
}>;
|
||||
getRoute(waypoints: [number, number][], profile?: string, steps?: boolean, locale?: string, alternatives?: boolean): Promise<{
|
||||
routeName: any;
|
||||
tags: any;
|
||||
distance: any;
|
||||
duration: number;
|
||||
trafficAwareDuration: number;
|
||||
duration: any;
|
||||
trafficFactor: number;
|
||||
startName: string;
|
||||
endName: string;
|
||||
points: any;
|
||||
bbox: any;
|
||||
instructions: any;
|
||||
alternatives: any;
|
||||
}>;
|
||||
private getRouteName;
|
||||
private decodePolyline;
|
||||
getMapConfig(): Promise<{
|
||||
center: number[];
|
||||
|
||||
Reference in New Issue
Block a user