update Api client

This commit is contained in:
Фролов 2021-08-29 17:32:18 +05:00
parent bf9d343570
commit 9a238ba9ef
4 changed files with 28 additions and 2 deletions

View File

@ -40,6 +40,7 @@ export { AuthService } from './services/AuthService';
export { ClusterService } from './services/ClusterService';
export { DataService } from './services/DataService';
export { DepositService } from './services/DepositService';
export { DrillingProgramService } from './services/DrillingProgramService';
export { FileService } from './services/FileService';
export { MeasureService } from './services/MeasureService';
export { MessageService } from './services/MessageService';

View File

@ -4,8 +4,10 @@
export type FileInfoDto = {
id?: number;
name?: string | null;
idWell?: number;
idCategory?: number;
idAuthor?: number;
name?: string | null;
uploadDate?: string;
authorName?: string | null;
companyId?: number;

View File

@ -0,0 +1,23 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import { request as __request } from '../core/request';
export class DrillingProgramService {
/**
* @param idWell
* @returns string Success
* @throws ApiError
*/
public static async get(
idWell: number,
): Promise<string> {
const result = await __request({
method: 'GET',
path: `/api/well/${idWell}/drillingProgram`,
});
return result.body;
}
}