forked from ddrilling/asb_cloud_front
update Api client
This commit is contained in:
parent
bf9d343570
commit
9a238ba9ef
@ -40,6 +40,7 @@ export { AuthService } from './services/AuthService';
|
|||||||
export { ClusterService } from './services/ClusterService';
|
export { ClusterService } from './services/ClusterService';
|
||||||
export { DataService } from './services/DataService';
|
export { DataService } from './services/DataService';
|
||||||
export { DepositService } from './services/DepositService';
|
export { DepositService } from './services/DepositService';
|
||||||
|
export { DrillingProgramService } from './services/DrillingProgramService';
|
||||||
export { FileService } from './services/FileService';
|
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';
|
||||||
|
@ -4,8 +4,10 @@
|
|||||||
|
|
||||||
export type FileInfoDto = {
|
export type FileInfoDto = {
|
||||||
id?: number;
|
id?: number;
|
||||||
name?: string | null;
|
idWell?: number;
|
||||||
idCategory?: number;
|
idCategory?: number;
|
||||||
|
idAuthor?: number;
|
||||||
|
name?: string | null;
|
||||||
uploadDate?: string;
|
uploadDate?: string;
|
||||||
authorName?: string | null;
|
authorName?: string | null;
|
||||||
companyId?: number;
|
companyId?: number;
|
||||||
|
23
src/services/api/services/DrillingProgramService.ts
Normal file
23
src/services/api/services/DrillingProgramService.ts
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user