Services updated

This commit is contained in:
goodmice 2021-11-15 14:01:17 +05:00
parent 2663b1f6dd
commit 6ec3836abe
67 changed files with 498 additions and 401 deletions

View File

@ -70,6 +70,7 @@ export { FileService } from './services/FileService';
export { MeasureService } from './services/MeasureService'; export { MeasureService } from './services/MeasureService';
export { MessageService } from './services/MessageService'; export { MessageService } from './services/MessageService';
export { ReportService } from './services/ReportService'; export { ReportService } from './services/ReportService';
export { RequerstTrackerService } from './services/RequerstTrackerService';
export { TelemetryAnalyticsService } from './services/TelemetryAnalyticsService'; export { TelemetryAnalyticsService } from './services/TelemetryAnalyticsService';
export { TelemetryDataSaubService } from './services/TelemetryDataSaubService'; export { TelemetryDataSaubService } from './services/TelemetryDataSaubService';
export { TelemetryDataSpinService } from './services/TelemetryDataSpinService'; export { TelemetryDataSpinService } from './services/TelemetryDataSpinService';

View File

@ -3,10 +3,9 @@
/* eslint-disable */ /* eslint-disable */
export type TelemetryDataSaubDto = { export type TelemetryDataSaubDto = {
id?: number; idTelemetry?: number;
date?: string; date?: string;
mode?: number | null; mode?: number | null;
idTelemetry?: number;
user?: string | null; user?: string | null;
wellDepth?: number | null; wellDepth?: number | null;
bitDepth?: number | null; bitDepth?: number | null;

View File

@ -3,7 +3,6 @@
/* eslint-disable */ /* eslint-disable */
export type TelemetryDataSpinDto = { export type TelemetryDataSpinDto = {
id?: number;
idTelemetry?: number; idTelemetry?: number;
date?: string; date?: string;
topDriveSpeed?: number | null; topDriveSpeed?: number | null;

View File

@ -15,9 +15,9 @@ export class AdminClusterService {
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<ClusterDtoPaginationContainer> { ): Promise<ClusterDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/cluster`, path: `/api/admin/cluster`,
@ -36,8 +36,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: ClusterDto, requestBody?: ClusterDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/cluster`, path: `/api/admin/cluster`,
@ -53,8 +53,8 @@ requestBody?: ClusterDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<ClusterDto> { ): Promise<ClusterDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/cluster/${id}`, path: `/api/admin/cluster/${id}`,
@ -70,9 +70,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: ClusterDto, requestBody?: ClusterDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/cluster/${id}`, path: `/api/admin/cluster/${id}`,
@ -88,8 +88,8 @@ requestBody?: ClusterDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/cluster/${id}`, path: `/api/admin/cluster/${id}`,

View File

@ -15,9 +15,9 @@ export class AdminCompanyService {
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<CompanyDtoPaginationContainer> { ): Promise<CompanyDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/company`, path: `/api/admin/company`,
@ -36,8 +36,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: CompanyDto, requestBody?: CompanyDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/company`, path: `/api/admin/company`,
@ -53,8 +53,8 @@ requestBody?: CompanyDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<CompanyDto> { ): Promise<CompanyDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/company/${id}`, path: `/api/admin/company/${id}`,
@ -70,9 +70,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: CompanyDto, requestBody?: CompanyDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/company/${id}`, path: `/api/admin/company/${id}`,
@ -88,8 +88,8 @@ requestBody?: CompanyDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/company/${id}`, path: `/api/admin/company/${id}`,

View File

@ -15,9 +15,9 @@ export class AdminDepositService {
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<DepositDtoPaginationContainer> { ): Promise<DepositDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/deposit`, path: `/api/admin/deposit`,
@ -36,8 +36,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: DepositDto, requestBody?: DepositDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/deposit`, path: `/api/admin/deposit`,
@ -53,8 +53,8 @@ requestBody?: DepositDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<DepositDto> { ): Promise<DepositDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/deposit/${id}`, path: `/api/admin/deposit/${id}`,
@ -70,9 +70,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: DepositDto, requestBody?: DepositDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/deposit/${id}`, path: `/api/admin/deposit/${id}`,
@ -88,8 +88,8 @@ requestBody?: DepositDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/deposit/${id}`, path: `/api/admin/deposit/${id}`,

View File

@ -26,8 +26,8 @@ export class AdminTelemetryService {
* @throws ApiError * @throws ApiError
*/ */
public static async mergeTelemetries( public static async mergeTelemetries(
requestBody?: Array<number>, requestBody?: Array<number>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/merge`, path: `/merge`,
@ -44,9 +44,9 @@ requestBody?: Array<number>,
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<TelemetryDtoPaginationContainer> { ): Promise<TelemetryDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/telemetry`, path: `/api/admin/telemetry`,
@ -65,8 +65,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: TelemetryDto, requestBody?: TelemetryDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/telemetry`, path: `/api/admin/telemetry`,
@ -82,8 +82,8 @@ requestBody?: TelemetryDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<TelemetryDto> { ): Promise<TelemetryDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/telemetry/${id}`, path: `/api/admin/telemetry/${id}`,
@ -99,9 +99,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: TelemetryDto, requestBody?: TelemetryDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/telemetry/${id}`, path: `/api/admin/telemetry/${id}`,
@ -117,8 +117,8 @@ requestBody?: TelemetryDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/telemetry/${id}`, path: `/api/admin/telemetry/${id}`,

View File

@ -15,9 +15,9 @@ export class AdminUserRoleService {
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<UserRoleDtoPaginationContainer> { ): Promise<UserRoleDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/user/role`, path: `/api/admin/user/role`,
@ -36,8 +36,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: UserRoleDto, requestBody?: UserRoleDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/user/role`, path: `/api/admin/user/role`,
@ -53,8 +53,8 @@ requestBody?: UserRoleDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<UserRoleDto> { ): Promise<UserRoleDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/user/role/${id}`, path: `/api/admin/user/role/${id}`,
@ -70,9 +70,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: UserRoleDto, requestBody?: UserRoleDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/user/role/${id}`, path: `/api/admin/user/role/${id}`,
@ -88,8 +88,8 @@ requestBody?: UserRoleDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/user/role/${id}`, path: `/api/admin/user/role/${id}`,

View File

@ -15,9 +15,9 @@ export class AdminUserService {
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<UserDtoPaginationContainer> { ): Promise<UserDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/user`, path: `/api/admin/user`,
@ -36,8 +36,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: UserDto, requestBody?: UserDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/user`, path: `/api/admin/user`,
@ -53,8 +53,8 @@ requestBody?: UserDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<UserDto> { ): Promise<UserDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/user/${id}`, path: `/api/admin/user/${id}`,
@ -70,9 +70,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: UserDto, requestBody?: UserDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/user/${id}`, path: `/api/admin/user/${id}`,
@ -88,8 +88,8 @@ requestBody?: UserDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/user/${id}`, path: `/api/admin/user/${id}`,

View File

@ -15,9 +15,9 @@ export class AdminWellService {
* @throws ApiError * @throws ApiError
*/ */
public static async getPage( public static async getPage(
skip: number, skip: number,
take: number = 32, take: number = 32,
): Promise<WellDtoPaginationContainer> { ): Promise<WellDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/well`, path: `/api/admin/well`,
@ -36,8 +36,8 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
requestBody?: WellDto, requestBody?: WellDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/admin/well`, path: `/api/admin/well`,
@ -53,8 +53,8 @@ requestBody?: WellDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
id: number, id: number,
): Promise<WellDto> { ): Promise<WellDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/admin/well/${id}`, path: `/api/admin/well/${id}`,
@ -70,9 +70,9 @@ id: number,
* @throws ApiError * @throws ApiError
*/ */
public static async put( public static async put(
id: number, id: number,
requestBody?: WellDto, requestBody?: WellDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/admin/well/${id}`, path: `/api/admin/well/${id}`,
@ -88,8 +88,8 @@ requestBody?: WellDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
id: number, id: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/admin/well/${id}`, path: `/api/admin/well/${id}`,

View File

@ -15,8 +15,8 @@ export class AuthService {
* @throws ApiError * @throws ApiError
*/ */
public static async login( public static async login(
requestBody?: AuthDto, requestBody?: AuthDto,
): Promise<UserTokenDto> { ): Promise<UserTokenDto> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/auth/login`, path: `/auth/login`,
@ -48,8 +48,8 @@ requestBody?: AuthDto,
* @throws ApiError * @throws ApiError
*/ */
public static async register( public static async register(
requestBody?: UserDto, requestBody?: UserDto,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/auth`, path: `/auth`,
@ -66,9 +66,9 @@ requestBody?: UserDto,
* @throws ApiError * @throws ApiError
*/ */
public static async changePassword( public static async changePassword(
idUser: number, idUser: number,
requestBody?: string, requestBody?: string,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/auth/${idUser}/ChangePassword`, path: `/auth/${idUser}/ChangePassword`,

View File

@ -27,8 +27,8 @@ export class ClusterService {
* @throws ApiError * @throws ApiError
*/ */
public static async getWells( public static async getWells(
idCluster: number, idCluster: number,
): Promise<Array<WellDto>> { ): Promise<Array<WellDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/cluster/${idCluster}`, path: `/api/cluster/${idCluster}`,

View File

@ -40,8 +40,8 @@ export class DepositService {
* @throws ApiError * @throws ApiError
*/ */
public static async getClusters( public static async getClusters(
depositId: number, depositId: number,
): Promise<Array<ClusterDto>> { ): Promise<Array<ClusterDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/deposit/${depositId}`, path: `/api/deposit/${depositId}`,

View File

@ -14,9 +14,9 @@ export class DrillFlowChartService {
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
idWell: number, idWell: number,
updateFrom?: string, updateFrom?: string,
): Promise<Array<DrillFlowChartDto>> { ): Promise<Array<DrillFlowChartDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/drillFlowChart`, path: `/api/well/${idWell}/drillFlowChart`,
@ -35,9 +35,9 @@ updateFrom?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
idWell: number, idWell: number,
requestBody?: DrillFlowChartDto, requestBody?: DrillFlowChartDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/drillFlowChart`, path: `/api/well/${idWell}/drillFlowChart`,
@ -54,9 +54,9 @@ requestBody?: DrillFlowChartDto,
* @throws ApiError * @throws ApiError
*/ */
public static async edit( public static async edit(
idWell: number, idWell: number,
requestBody?: DrillFlowChartDto, requestBody?: DrillFlowChartDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/well/${idWell}/drillFlowChart`, path: `/api/well/${idWell}/drillFlowChart`,
@ -73,9 +73,9 @@ requestBody?: DrillFlowChartDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
idWell: number, idWell: number,
drillFlowChartParamsId?: number, drillFlowChartParamsId?: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/drillFlowChart`, path: `/api/well/${idWell}/drillFlowChart`,
@ -94,9 +94,9 @@ drillFlowChartParamsId?: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getByTelemetry( public static async getByTelemetry(
uid: string, uid: string,
updateFrom?: string, updateFrom?: string,
): Promise<Array<DrillFlowChartDto>> { ): Promise<Array<DrillFlowChartDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/telemetry/${uid}/drillFlowChart`, path: `/api/telemetry/${uid}/drillFlowChart`,
@ -115,9 +115,9 @@ updateFrom?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async insertRange( public static async insertRange(
idWell: number, idWell: number,
requestBody?: Array<DrillFlowChartDto>, requestBody?: Array<DrillFlowChartDto>,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/drillFlowChart/range`, path: `/api/well/${idWell}/drillFlowChart/range`,

View File

@ -15,10 +15,10 @@ export class DrillParamsService {
* @throws ApiError * @throws ApiError
*/ */
public static async getDefault( public static async getDefault(
idWell: number, idWell: number,
startDepth?: number, startDepth?: number,
endDepth?: number, endDepth?: number,
): Promise<DrillParamsDto> { ): Promise<DrillParamsDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/drillParams/autoParams`, path: `/api/well/${idWell}/drillParams/autoParams`,
@ -37,8 +37,8 @@ endDepth?: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getAll( public static async getAll(
idWell: number, idWell: number,
): Promise<Array<DrillParamsDto>> { ): Promise<Array<DrillParamsDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/drillParams`, path: `/api/well/${idWell}/drillParams`,
@ -54,9 +54,9 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
idWell: number, idWell: number,
requestBody?: DrillParamsDto, requestBody?: DrillParamsDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/drillParams`, path: `/api/well/${idWell}/drillParams`,
@ -74,10 +74,10 @@ requestBody?: DrillParamsDto,
* @throws ApiError * @throws ApiError
*/ */
public static async update( public static async update(
idWell: number, idWell: number,
dtoId?: number, dtoId?: number,
requestBody?: DrillParamsDto, requestBody?: DrillParamsDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/well/${idWell}/drillParams`, path: `/api/well/${idWell}/drillParams`,
@ -97,9 +97,9 @@ requestBody?: DrillParamsDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
idWell: number, idWell: number,
drillParamsId?: number, drillParamsId?: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/drillParams`, path: `/api/well/${idWell}/drillParams`,
@ -118,9 +118,9 @@ drillParamsId?: number,
* @throws ApiError * @throws ApiError
*/ */
public static async insertRange( public static async insertRange(
idWell: number, idWell: number,
requestBody?: Array<DrillParamsDto>, requestBody?: Array<DrillParamsDto>,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/drillParams/range`, path: `/api/well/${idWell}/drillParams/range`,
@ -137,9 +137,9 @@ requestBody?: Array<DrillParamsDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async save( public static async save(
idWell: number, idWell: number,
requestBody?: Array<DrillParamsDto>, requestBody?: Array<DrillParamsDto>,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/drillParams/save`, path: `/api/well/${idWell}/drillParams/save`,
@ -155,8 +155,8 @@ requestBody?: Array<DrillParamsDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async getCompositeAll( public static async getCompositeAll(
idWell: number, idWell: number,
): Promise<Array<DrillParamsDto>> { ): Promise<Array<DrillParamsDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/drillParams/composite`, path: `/api/well/${idWell}/drillParams/composite`,

View File

@ -13,8 +13,8 @@ export class DrillingProgramService {
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
idWell: number, idWell: number,
): Promise<string> { ): Promise<string> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/drillingProgram`, path: `/api/well/${idWell}/drillingProgram`,
@ -29,8 +29,8 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getOrCreateSharedUrl( public static async getOrCreateSharedUrl(
idWell: number, idWell: number,
): Promise<string> { ): Promise<string> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/drillingProgram/webUrl`, path: `/api/well/${idWell}/drillingProgram/webUrl`,
@ -46,9 +46,9 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async createFileMark( public static async createFileMark(
idWell: number, idWell: number,
requestBody?: FileMarkDto, requestBody?: FileMarkDto,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/drillingProgram/fileMark`, path: `/api/well/${idWell}/drillingProgram/fileMark`,
@ -65,9 +65,9 @@ requestBody?: FileMarkDto,
* @throws ApiError * @throws ApiError
*/ */
public static async deleteFileMark( public static async deleteFileMark(
idWell: number, idWell: number,
idMark?: number, idMark?: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/drillingProgram/fileMark`, path: `/api/well/${idWell}/drillingProgram/fileMark`,

View File

@ -16,10 +16,10 @@ export class FileService {
* @throws ApiError * @throws ApiError
*/ */
public static async saveFiles( public static async saveFiles(
idWell: number, idWell: number,
idCategory?: number, idCategory?: number,
requestBody?: any, requestBody?: any,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/files`, path: `/api/well/${idWell}/files`,
@ -45,15 +45,15 @@ requestBody?: any,
* @throws ApiError * @throws ApiError
*/ */
public static async getFilesInfo( public static async getFilesInfo(
idWell: number, idWell: number,
idCategory: number, idCategory: number,
companyName?: string, companyName?: string,
fileName?: string, fileName?: string,
begin?: string, begin?: string,
end?: string, end?: string,
skip: number = 0, skip: number = 0,
take: number = 32, take: number = 32,
): Promise<FileInfoDtoPaginationContainer> { ): Promise<FileInfoDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/files`, path: `/api/well/${idWell}/files`,
@ -78,9 +78,9 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async getFile( public static async getFile(
idWell: number, idWell: number,
fileId: number, fileId: number,
): Promise<string> { ): Promise<string> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/files/${fileId}`, path: `/api/well/${idWell}/files/${fileId}`,
@ -96,9 +96,9 @@ fileId: number,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
idWell: number, idWell: number,
idFile: number, idFile: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/files/${idFile}`, path: `/api/well/${idWell}/files/${idFile}`,
@ -114,9 +114,9 @@ idFile: number,
* @throws ApiError * @throws ApiError
*/ */
public static async createFileMark( public static async createFileMark(
idWell: number, idWell: number,
requestBody?: FileMarkDto, requestBody?: FileMarkDto,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/files/fileMark`, path: `/api/well/${idWell}/files/fileMark`,
@ -133,9 +133,9 @@ requestBody?: FileMarkDto,
* @throws ApiError * @throws ApiError
*/ */
public static async deleteFileMark( public static async deleteFileMark(
idWell: number, idWell: number,
idMark?: number, idMark?: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/files/fileMark`, path: `/api/well/${idWell}/files/fileMark`,

View File

@ -12,8 +12,8 @@ export class MeasureService {
* @throws ApiError * @throws ApiError
*/ */
public static async getCategories( public static async getCategories(
idWell: number, idWell: number,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/measure/categories`, path: `/api/well/${idWell}/measure/categories`,
@ -28,9 +28,9 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getLast( public static async getLast(
idWell: number, idWell: number,
idCategory: number, idCategory: number,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/measure/last/${idCategory}`, path: `/api/well/${idWell}/measure/last/${idCategory}`,
@ -45,9 +45,9 @@ idCategory: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getHisory( public static async getHisory(
idWell: number, idWell: number,
idCategory: number, idCategory: number,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/measure/history`, path: `/api/well/${idWell}/measure/history`,
@ -62,9 +62,9 @@ idCategory: number,
* @throws ApiError * @throws ApiError
*/ */
public static async insert( public static async insert(
idWell: number, idWell: number,
requestBody?: MeasureDto, requestBody?: MeasureDto,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/measure`, path: `/api/well/${idWell}/measure`,
@ -80,9 +80,9 @@ requestBody?: MeasureDto,
* @throws ApiError * @throws ApiError
*/ */
public static async update( public static async update(
idWell: number, idWell: number,
requestBody?: MeasureDto, requestBody?: MeasureDto,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/well/${idWell}/measure`, path: `/api/well/${idWell}/measure`,
@ -98,9 +98,9 @@ requestBody?: MeasureDto,
* @throws ApiError * @throws ApiError
*/ */
public static async markAsDelete( public static async markAsDelete(
idWell: number, idWell: number,
idData: number, idData: number,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/measure/history/${idData}`, path: `/api/well/${idWell}/measure/history/${idData}`,

View File

@ -20,14 +20,14 @@ export class MessageService {
* @throws ApiError * @throws ApiError
*/ */
public static async getMessages( public static async getMessages(
idWell: number, idWell: number,
skip: number, skip: number,
take: number = 32, take: number = 32,
categoryids?: Array<number>, categoryids?: Array<number>,
begin?: string, begin?: string,
end?: string, end?: string,
searchString?: string, searchString?: string,
): Promise<MessageDtoPaginationContainer> { ): Promise<MessageDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/message`, path: `/api/well/${idWell}/message`,
@ -50,8 +50,8 @@ searchString?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getMessagesDateRange( public static async getMessagesDateRange(
idWell: number, idWell: number,
): Promise<DatesRangeDto> { ): Promise<DatesRangeDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/message/datesRange`, path: `/api/well/${idWell}/message/datesRange`,

View File

@ -17,12 +17,12 @@ export class ReportService {
* @throws ApiError * @throws ApiError
*/ */
public static async createReport( public static async createReport(
idWell: number, idWell: number,
stepSeconds?: number, stepSeconds?: number,
format?: number, format?: number,
begin?: string, begin?: string,
end?: string, end?: string,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/report`, path: `/api/well/${idWell}/report`,
@ -43,8 +43,8 @@ end?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getAllReportsNamesByWell( public static async getAllReportsNamesByWell(
idWell: number, idWell: number,
): Promise<Array<string>> { ): Promise<Array<string>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/report`, path: `/api/well/${idWell}/report`,
@ -65,12 +65,12 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getSuitableReportsNames( public static async getSuitableReportsNames(
idWell: number, idWell: number,
stepSeconds?: number, stepSeconds?: number,
format?: number, format?: number,
begin?: string, begin?: string,
end?: string, end?: string,
): Promise<Array<string>> { ): Promise<Array<string>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/report/suitableReports`, path: `/api/well/${idWell}/report/suitableReports`,
@ -95,12 +95,12 @@ end?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getReportSize( public static async getReportSize(
idWell: number, idWell: number,
stepSeconds?: number, stepSeconds?: number,
format?: number, format?: number,
begin?: string, begin?: string,
end?: string, end?: string,
): Promise<string> { ): Promise<string> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/report/reportSize`, path: `/api/well/${idWell}/report/reportSize`,
@ -121,8 +121,8 @@ end?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getReportsDateRange( public static async getReportsDateRange(
idWell: number, idWell: number,
): Promise<DatesRangeDto> { ): Promise<DatesRangeDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/report/datesRange`, path: `/api/well/${idWell}/report/datesRange`,

View File

@ -0,0 +1,98 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import { request as __request } from '../core/request';
export class RequerstTrackerService {
/**
* @param take
* @returns any Success
* @throws ApiError
*/
public static async getAll(
take: number = 512,
): Promise<any> {
const result = await __request({
method: 'GET',
path: `/api/RequerstTracker`,
query: {
'take': take,
},
});
return result.body;
}
/**
* @param take
* @returns any Success
* @throws ApiError
*/
public static async getFast(
take: number = 512,
): Promise<any> {
const result = await __request({
method: 'GET',
path: `/api/RequerstTracker/fast`,
query: {
'take': take,
},
});
return result.body;
}
/**
* @param take
* @returns any Success
* @throws ApiError
*/
public static async getSlow(
take: number = 512,
): Promise<any> {
const result = await __request({
method: 'GET',
path: `/api/RequerstTracker/slow`,
query: {
'take': take,
},
});
return result.body;
}
/**
* @param take
* @returns any Success
* @throws ApiError
*/
public static async getError(
take: number = 512,
): Promise<any> {
const result = await __request({
method: 'GET',
path: `/api/RequerstTracker/error`,
query: {
'take': take,
},
});
return result.body;
}
/**
* @param take
* @returns any Success
* @throws ApiError
*/
public static async getUsersStat(
take: number = 512,
): Promise<any> {
const result = await __request({
method: 'GET',
path: `/api/RequerstTracker/users`,
query: {
'take': take,
},
});
return result.body;
}
}

View File

@ -22,13 +22,13 @@ export class TelemetryAnalyticsService {
* @throws ApiError * @throws ApiError
*/ */
public static async getOperationsByWell( public static async getOperationsByWell(
idWell: number, idWell: number,
skip: number, skip: number,
take: number = 32, take: number = 32,
categoryIds?: Array<number>, categoryIds?: Array<number>,
begin?: string, begin?: string,
end?: string, end?: string,
): Promise<TelemetryOperationDtoPaginationContainer> { ): Promise<TelemetryOperationDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/telemetryAnalytics/operationsByWell`, path: `/api/well/${idWell}/telemetryAnalytics/operationsByWell`,
@ -50,8 +50,8 @@ end?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getWellDepthToDay( public static async getWellDepthToDay(
idWell: number, idWell: number,
): Promise<Array<WellDepthToDayDto>> { ): Promise<Array<WellDepthToDayDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/telemetryAnalytics/wellDepthToDay`, path: `/api/well/${idWell}/telemetryAnalytics/wellDepthToDay`,
@ -68,10 +68,10 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getWellDepthToInterval( public static async getWellDepthToInterval(
idWell: number, idWell: number,
intervalSeconds?: number, intervalSeconds?: number,
workBeginSeconds?: number, workBeginSeconds?: number,
): Promise<Array<WellDepthToIntervalDto>> { ): Promise<Array<WellDepthToIntervalDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/telemetryAnalytics/wellDepthToInterval`, path: `/api/well/${idWell}/telemetryAnalytics/wellDepthToInterval`,
@ -92,10 +92,10 @@ workBeginSeconds?: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getOperationsSummary( public static async getOperationsSummary(
idWell: number, idWell: number,
begin?: string, begin?: string,
end?: string, end?: string,
): Promise<Array<TelemetryOperationDurationDto>> { ): Promise<Array<TelemetryOperationDurationDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/telemetryAnalytics/operationsSummary`, path: `/api/well/${idWell}/telemetryAnalytics/operationsSummary`,
@ -116,10 +116,10 @@ end?: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getOperationsToInterval( public static async getOperationsToInterval(
idWell: number, idWell: number,
intervalSeconds?: number, intervalSeconds?: number,
workBeginSeconds?: number, workBeginSeconds?: number,
): Promise<Array<TelemetryOperationDurationDto>> { ): Promise<Array<TelemetryOperationDurationDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/telemetryAnalytics/operationsToInterval`, path: `/api/well/${idWell}/telemetryAnalytics/operationsToInterval`,
@ -138,8 +138,8 @@ workBeginSeconds?: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getOperationsDateRange( public static async getOperationsDateRange(
idWell: number, idWell: number,
): Promise<DatesRangeDto> { ): Promise<DatesRangeDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/telemetryAnalytics/datesRange`, path: `/api/well/${idWell}/telemetryAnalytics/datesRange`,

View File

@ -15,9 +15,9 @@ export class TelemetryDataSaubService {
* @throws ApiError * @throws ApiError
*/ */
public static async postData( public static async postData(
uid: string, uid: string,
requestBody?: Array<TelemetryDataSaubDto>, requestBody?: Array<TelemetryDataSaubDto>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/TelemetryDataSaub/${uid}`, path: `/api/TelemetryDataSaub/${uid}`,
@ -37,11 +37,11 @@ requestBody?: Array<TelemetryDataSaubDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async getData( public static async getData(
idWell: number, idWell: number,
begin?: string, begin?: string,
intervalSec: number = 600, intervalSec: number = 600,
approxPointsCount: number = 1024, approxPointsCount: number = 1024,
): Promise<TelemetryDataSaubDto> { ): Promise<TelemetryDataSaubDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/TelemetryDataSaub/${idWell}`, path: `/api/TelemetryDataSaub/${idWell}`,
@ -61,8 +61,8 @@ approxPointsCount: number = 1024,
* @throws ApiError * @throws ApiError
*/ */
public static async getDataDatesRange( public static async getDataDatesRange(
idWell: number, idWell: number,
): Promise<DatesRangeDto> { ): Promise<DatesRangeDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/TelemetryDataSaub/${idWell}/datesRange`, path: `/api/TelemetryDataSaub/${idWell}/datesRange`,

View File

@ -15,9 +15,9 @@ export class TelemetryDataSpinService {
* @throws ApiError * @throws ApiError
*/ */
public static async postData( public static async postData(
uid: string, uid: string,
requestBody?: Array<TelemetryDataSpinDto>, requestBody?: Array<TelemetryDataSpinDto>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/TelemetryDataSpin/${uid}`, path: `/api/TelemetryDataSpin/${uid}`,
@ -37,11 +37,11 @@ requestBody?: Array<TelemetryDataSpinDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async getData( public static async getData(
idWell: number, idWell: number,
begin?: string, begin?: string,
intervalSec: number = 600, intervalSec: number = 600,
approxPointsCount: number = 1024, approxPointsCount: number = 1024,
): Promise<TelemetryDataSpinDto> { ): Promise<TelemetryDataSpinDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/TelemetryDataSpin/${idWell}`, path: `/api/TelemetryDataSpin/${idWell}`,
@ -61,8 +61,8 @@ approxPointsCount: number = 1024,
* @throws ApiError * @throws ApiError
*/ */
public static async getDataDatesRange( public static async getDataDatesRange(
idWell: number, idWell: number,
): Promise<DatesRangeDto> { ): Promise<DatesRangeDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/TelemetryDataSpin/${idWell}/datesRange`, path: `/api/TelemetryDataSpin/${idWell}/datesRange`,

View File

@ -17,9 +17,9 @@ export class TelemetryService {
* @throws ApiError * @throws ApiError
*/ */
public static async postInfo( public static async postInfo(
uid: string, uid: string,
requestBody?: TelemetryInfoDto, requestBody?: TelemetryInfoDto,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/telemetry/${uid}/info`, path: `/api/telemetry/${uid}/info`,
@ -36,9 +36,9 @@ requestBody?: TelemetryInfoDto,
* @throws ApiError * @throws ApiError
*/ */
public static async postMessages( public static async postMessages(
uid: string, uid: string,
requestBody?: Array<TelemetryMessageDto>, requestBody?: Array<TelemetryMessageDto>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/telemetry/${uid}/message`, path: `/api/telemetry/${uid}/message`,
@ -55,9 +55,9 @@ requestBody?: Array<TelemetryMessageDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async postEvents( public static async postEvents(
uid: string, uid: string,
requestBody?: Array<EventDto>, requestBody?: Array<EventDto>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/telemetry/${uid}/event`, path: `/api/telemetry/${uid}/event`,
@ -74,9 +74,9 @@ requestBody?: Array<EventDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async postUsers( public static async postUsers(
uid: string, uid: string,
requestBody?: Array<TelemetryUserDto>, requestBody?: Array<TelemetryUserDto>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/telemetry/${uid}/user`, path: `/api/telemetry/${uid}/user`,

View File

@ -13,8 +13,8 @@ export class WellCompositeService {
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
idWell: number, idWell: number,
): Promise<Array<WellCompositeDto>> { ): Promise<Array<WellCompositeDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/composite`, path: `/api/well/${idWell}/composite`,
@ -30,9 +30,9 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async save( public static async save(
idWell: number, idWell: number,
requestBody?: Array<WellCompositeDto>, requestBody?: Array<WellCompositeDto>,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/composite`, path: `/api/well/${idWell}/composite`,

View File

@ -15,8 +15,8 @@ export class WellOperationService {
* @throws ApiError * @throws ApiError
*/ */
public static async getCategories( public static async getCategories(
idWell: string, idWell: string,
): Promise<Array<WellOperationCategoryDto>> { ): Promise<Array<WellOperationCategoryDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/wellOperations/categories`, path: `/api/well/${idWell}/wellOperations/categories`,
@ -40,17 +40,17 @@ idWell: string,
* @throws ApiError * @throws ApiError
*/ */
public static async getOperations( public static async getOperations(
idWell: number, idWell: number,
opertaionType?: number, opertaionType?: number,
sectionTypeIds?: Array<number>, sectionTypeIds?: Array<number>,
operationCategoryIds?: Array<number>, operationCategoryIds?: Array<number>,
begin?: string, begin?: string,
end?: string, end?: string,
minDepth: number = -1.7976931348623157e+308, minDepth: number = -1.7976931348623157e+308,
maxDepth: number = 1.7976931348623157e+308, maxDepth: number = 1.7976931348623157e+308,
skip: number = 0, skip: number = 0,
take: number = 32, take: number = 32,
): Promise<WellOperationDtoPaginationContainer> { ): Promise<WellOperationDtoPaginationContainer> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/wellOperations`, path: `/api/well/${idWell}/wellOperations`,
@ -77,9 +77,9 @@ take: number = 32,
* @throws ApiError * @throws ApiError
*/ */
public static async insertRange( public static async insertRange(
idWell: number, idWell: number,
requestBody?: Array<WellOperationDto>, requestBody?: Array<WellOperationDto>,
): Promise<Array<WellOperationDto>> { ): Promise<Array<WellOperationDto>> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/wellOperations`, path: `/api/well/${idWell}/wellOperations`,
@ -96,9 +96,9 @@ requestBody?: Array<WellOperationDto>,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
idWell: number, idWell: number,
idOperation: number, idOperation: number,
): Promise<WellOperationDto> { ): Promise<WellOperationDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/wellOperations/${idOperation}`, path: `/api/well/${idWell}/wellOperations/${idOperation}`,
@ -115,10 +115,10 @@ idOperation: number,
* @throws ApiError * @throws ApiError
*/ */
public static async update( public static async update(
idWell: number, idWell: number,
idOperation: number, idOperation: number,
requestBody?: WellOperationDto, requestBody?: WellOperationDto,
): Promise<WellOperationDto> { ): Promise<WellOperationDto> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/well/${idWell}/wellOperations/${idOperation}`, path: `/api/well/${idWell}/wellOperations/${idOperation}`,
@ -135,9 +135,9 @@ requestBody?: WellOperationDto,
* @throws ApiError * @throws ApiError
*/ */
public static async delete( public static async delete(
idWell: number, idWell: number,
idOperation: number, idOperation: number,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'DELETE', method: 'DELETE',
path: `/api/well/${idWell}/wellOperations/${idOperation}`, path: `/api/well/${idWell}/wellOperations/${idOperation}`,
@ -154,10 +154,10 @@ idOperation: number,
* @throws ApiError * @throws ApiError
*/ */
public static async import( public static async import(
idWell: number, idWell: number,
options: number, options: number,
requestBody?: any, requestBody?: any,
): Promise<any> { ): Promise<any> {
const result = await __request({ const result = await __request({
method: 'POST', method: 'POST',
path: `/api/well/${idWell}/wellOperations/import/${options}`, path: `/api/well/${idWell}/wellOperations/import/${options}`,
@ -173,8 +173,8 @@ requestBody?: any,
* @throws ApiError * @throws ApiError
*/ */
public static async export( public static async export(
idWell: number, idWell: number,
): Promise<string> { ): Promise<string> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/wellOperations/export`, path: `/api/well/${idWell}/wellOperations/export`,
@ -189,8 +189,8 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getTamplate( public static async getTamplate(
idWell: string, idWell: string,
): Promise<string> { ): Promise<string> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/wellOperations/tamplate`, path: `/api/well/${idWell}/wellOperations/tamplate`,

View File

@ -15,8 +15,8 @@ export class WellOperationStatService {
* @throws ApiError * @throws ApiError
*/ */
public static async getStatCluster( public static async getStatCluster(
idCluster: number, idCluster: number,
): Promise<StatClusterDto> { ): Promise<StatClusterDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/cluster/${idCluster}/stat`, path: `/api/cluster/${idCluster}/stat`,
@ -31,8 +31,8 @@ idCluster: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getWellsStat( public static async getWellsStat(
idWells?: Array<number>, idWells?: Array<number>,
): Promise<Array<StatWellDto>> { ): Promise<Array<StatWellDto>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/wellsStats`, path: `/api/wellsStats`,
@ -50,8 +50,8 @@ idWells?: Array<number>,
* @throws ApiError * @throws ApiError
*/ */
public static async getStatWell( public static async getStatWell(
idWell: number, idWell: number,
): Promise<StatWellDto> { ): Promise<StatWellDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/stat`, path: `/api/well/${idWell}/stat`,
@ -66,8 +66,8 @@ idWell: number,
* @throws ApiError * @throws ApiError
*/ */
public static async getTvd( public static async getTvd(
idWell: number, idWell: number,
): Promise<Array<WellOperationDtoPlanFactPredictBase>> { ): Promise<Array<WellOperationDtoPlanFactPredictBase>> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/${idWell}/tvd`, path: `/api/well/${idWell}/tvd`,

View File

@ -30,9 +30,9 @@ export class WellService {
* @throws ApiError * @throws ApiError
*/ */
public static async updateWell( public static async updateWell(
idWell?: number, idWell?: number,
requestBody?: WellParamsDto, requestBody?: WellParamsDto,
): Promise<number> { ): Promise<number> {
const result = await __request({ const result = await __request({
method: 'PUT', method: 'PUT',
path: `/api/well`, path: `/api/well`,
@ -51,8 +51,8 @@ requestBody?: WellParamsDto,
* @throws ApiError * @throws ApiError
*/ */
public static async get( public static async get(
idWell?: number, idWell?: number,
): Promise<WellDto> { ): Promise<WellDto> {
const result = await __request({ const result = await __request({
method: 'GET', method: 'GET',
path: `/api/well/getWell`, path: `/api/well/getWell`,