diff --git a/src/services/api/models/ClusterDto.ts b/src/services/api/models/ClusterDto.ts index 82b801d..ec20834 100644 --- a/src/services/api/models/ClusterDto.ts +++ b/src/services/api/models/ClusterDto.ts @@ -2,10 +2,13 @@ /* tslint:disable */ /* eslint-disable */ +import type { WellDto } from './WellDto'; + export type ClusterDto = { id?: number; caption?: string | null; description?: string | null; latitude?: number | null; longitude?: number | null; + wells?: Array | null; } \ No newline at end of file diff --git a/src/services/api/models/ClusterStatDto.ts b/src/services/api/models/ClusterStatDto.ts index dc711bb..911a264 100644 --- a/src/services/api/models/ClusterStatDto.ts +++ b/src/services/api/models/ClusterStatDto.ts @@ -2,6 +2,7 @@ /* tslint:disable */ /* eslint-disable */ +import type { WellDto } from './WellDto'; import type { WellStatDto } from './WellStatDto'; export type ClusterStatDto = { @@ -10,5 +11,6 @@ export type ClusterStatDto = { description?: string | null; latitude?: number | null; longitude?: number | null; + wells?: Array | null; wellsStat?: Array | null; } \ No newline at end of file diff --git a/src/services/api/models/DepositDto.ts b/src/services/api/models/DepositDto.ts index 0cbaeec..c142448 100644 --- a/src/services/api/models/DepositDto.ts +++ b/src/services/api/models/DepositDto.ts @@ -2,10 +2,13 @@ /* tslint:disable */ /* eslint-disable */ +import type { ClusterDto } from './ClusterDto'; + export type DepositDto = { id?: number; - name?: string | null; + caption?: string | null; description?: string | null; latitude?: number | null; longitude?: number | null; + clusters?: Array | null; } \ No newline at end of file diff --git a/src/services/api/models/FilePropertiesDto.ts b/src/services/api/models/FilePropertiesDto.ts new file mode 100644 index 0000000..59ed185 --- /dev/null +++ b/src/services/api/models/FilePropertiesDto.ts @@ -0,0 +1,11 @@ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ + +export type FilePropertiesDto = { + id?: number; + name?: string | null; + idCategory?: number; + uploadDate?: string; + userName?: string | null; +} \ No newline at end of file diff --git a/src/services/api/models/FilePropertiesDtoPaginationContainer.ts b/src/services/api/models/FilePropertiesDtoPaginationContainer.ts new file mode 100644 index 0000000..b2226ef --- /dev/null +++ b/src/services/api/models/FilePropertiesDtoPaginationContainer.ts @@ -0,0 +1,12 @@ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ + +import type { FilePropertiesDto } from './FilePropertiesDto'; + +export type FilePropertiesDtoPaginationContainer = { + skip?: number; + take?: number; + count?: number; + items?: Array | null; +} \ No newline at end of file diff --git a/src/services/api/models/WellDto.ts b/src/services/api/models/WellDto.ts index e33d86b..d681ec5 100644 --- a/src/services/api/models/WellDto.ts +++ b/src/services/api/models/WellDto.ts @@ -7,7 +7,6 @@ export type WellDto = { cluster?: string | null; deposit?: string | null; id?: number; - lastData?: any; latitude?: number | null; longitude?: number | null; wellType?: string | null; diff --git a/src/services/api/models/WellStatDto.ts b/src/services/api/models/WellStatDto.ts index 18176e6..7293b43 100644 --- a/src/services/api/models/WellStatDto.ts +++ b/src/services/api/models/WellStatDto.ts @@ -10,7 +10,6 @@ export type WellStatDto = { cluster?: string | null; deposit?: string | null; id?: number; - lastData?: any; latitude?: number | null; longitude?: number | null; wellType?: string | null; diff --git a/src/services/api/services/AnalyticsService.ts b/src/services/api/services/AnalyticsService.ts index a3913d0..8c52822 100644 --- a/src/services/api/services/AnalyticsService.ts +++ b/src/services/api/services/AnalyticsService.ts @@ -14,9 +14,9 @@ export class AnalyticsService { * @param wellId id скважины * @param skip для пагинации кол-во записей пропустить * @param take для пагинации кол-во записей - * @param categoryids - * @param begin - * @param end + * @param categoryIds список категорий + * @param begin дата начала + * @param end окончание * @returns OperationDtoPaginationContainer Success * @throws ApiError */ @@ -24,7 +24,7 @@ export class AnalyticsService { wellId: number, skip: number, take: number = 32, -categoryids?: Array, +categoryIds?: Array, begin?: string, end?: string, ): Promise { @@ -34,7 +34,7 @@ end?: string, query: { 'skip': skip, 'take': take, - 'categoryids': categoryids, + 'categoryIds': categoryIds, 'begin': begin, 'end': end, },