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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -48,7 +48,7 @@ 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({
|
||||||
|
Loading…
Reference in New Issue
Block a user