Skip to content

Commit

Permalink
chore: Update generated api models. (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund authored Sep 18, 2024
1 parent 2610add commit 6f29c6c
Show file tree
Hide file tree
Showing 31 changed files with 154 additions and 272 deletions.
20 changes: 8 additions & 12 deletions src/api/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export type { AddAnalogueModelMetadataCommandForm } from './models/AddAnalogueMo
export type { AddAnalogueModelMetadataCommandResponse } from './models/AddAnalogueModelMetadataCommandResponse';
export type { AddAnalogueModelMetadataDto } from './models/AddAnalogueModelMetadataDto';
export type { AddAnalogueModelOutcropForm } from './models/AddAnalogueModelOutcropForm';
export type { AddAnalogueModelOutcropResponse } from './models/AddAnalogueModelOutcropResponse';
export type { AddAnalogueModelParameterCommandForm } from './models/AddAnalogueModelParameterCommandForm';
export type { AddAnalogueModelParameterCommandResponse } from './models/AddAnalogueModelParameterCommandResponse';
export type { AddAnalogueModelParameterDto } from './models/AddAnalogueModelParameterDto';
Expand All @@ -33,6 +34,8 @@ export type { ComputeCaseModelAreaDto } from './models/ComputeCaseModelAreaDto';
export { ComputeJobStatus } from './models/ComputeJobStatus';
export { ComputeType } from './models/ComputeType';
export type { ConvertAnalogueModelCommand } from './models/ConvertAnalogueModelCommand';
export type { ConvertAnalogueModelCommandResponse } from './models/ConvertAnalogueModelCommandResponse';
export type { ConvertAnalogueModelDto } from './models/ConvertAnalogueModelDto';
export type { CoordinateDto } from './models/CoordinateDto';
export type { CountryDto } from './models/CountryDto';
export type { CreateAnalogueModelCommand } from './models/CreateAnalogueModelCommand';
Expand All @@ -44,14 +47,16 @@ export type { CreateComputeCaseInputSettingsForm } from './models/CreateComputeC
export type { CreateMetadataCommandForm } from './models/CreateMetadataCommandForm';
export type { CreateMetadataCommandResponse } from './models/CreateMetadataCommandResponse';
export type { CreateMetadataDto } from './models/CreateMetadataDto';
export type { CreateParameterCommand } from './models/CreateParameterCommand';
export type { CreateParameterCommandResponse } from './models/CreateParameterCommandResponse';
export type { CreateParameterDto } from './models/CreateParameterDto';
export type { DeleteGeologicalGroupCommandResponse } from './models/DeleteGeologicalGroupCommandResponse';
export type { DeleteOutcropResponse } from './models/DeleteOutcropResponse';
export type { DeleteStratigraphicGroupCommandResponse } from './models/DeleteStratigraphicGroupCommandResponse';
export type { ErrorResponse } from './models/ErrorResponse';
export type { EstimateObjectCommand } from './models/EstimateObjectCommand';
export type { EstimateObjectCommandResponse } from './models/EstimateObjectCommandResponse';
export type { EstimateObjectDto } from './models/EstimateObjectDto';
export type { EstimateVariogramCommand } from './models/EstimateVariogramCommand';
export type { EstimateVariogramCommandResponse } from './models/EstimateVariogramCommandResponse';
export type { EstimateVariogramDto } from './models/EstimateVariogramDto';
export type { FieldDto } from './models/FieldDto';
export type { File } from './models/File';
export type { GeologicalGroupDto } from './models/GeologicalGroupDto';
Expand All @@ -68,8 +73,6 @@ export type { GetObjectResultsDto } from './models/GetObjectResultsDto';
export type { GetObjectResultsFileDto } from './models/GetObjectResultsFileDto';
export type { GetOutcropsCommandResponse } from './models/GetOutcropsCommandResponse';
export type { GetOutcropsDto } from './models/GetOutcropsDto';
export type { GetParameterDetailQueryResponse } from './models/GetParameterDetailQueryResponse';
export type { GetParameterListQueryResponse } from './models/GetParameterListQueryResponse';
export type { GetUploadDetailQueryResponse } from './models/GetUploadDetailQueryResponse';
export type { GetUploadListQueryResponse } from './models/GetUploadListQueryResponse';
export type { GetVariogramResultsByModelIdQueryResponse } from './models/GetVariogramResultsByModelIdQueryResponse';
Expand Down Expand Up @@ -105,12 +108,9 @@ export type { ObjectHeightDto } from './models/ObjectHeightDto';
export type { Operation } from './models/Operation';
export { OperationType } from './models/OperationType';
export type { OutcropDto } from './models/OutcropDto';
export type { ParameterDetail } from './models/ParameterDetail';
export type { ParameterList } from './models/ParameterList';
export type { PatchAnalogueModelCommandResponse } from './models/PatchAnalogueModelCommandResponse';
export type { PatchAnalogueModelDto } from './models/PatchAnalogueModelDto';
export type { PatchParameterCommandResponse } from './models/PatchParameterCommandResponse';
export type { PatchParameterDto } from './models/PatchParameterDto';
export type { PrepareChunkedUploadCommandResponse } from './models/PrepareChunkedUploadCommandResponse';
export type { PrepareChunkedUploadDto } from './models/PrepareChunkedUploadDto';
export type { ProblemDetails } from './models/ProblemDetails';
Expand All @@ -130,9 +130,6 @@ export type { UpdateJobStatusDto } from './models/UpdateJobStatusDto';
export type { UpdateObjectEstimationStatusCommand } from './models/UpdateObjectEstimationStatusCommand';
export type { UpdateObjectEstimationStatusCommandResponse } from './models/UpdateObjectEstimationStatusCommandResponse';
export type { UpdateObjectEstimationStatusDto } from './models/UpdateObjectEstimationStatusDto';
export type { UpdateParameterCommandBody } from './models/UpdateParameterCommandBody';
export type { UpdateParameterCommandResponse } from './models/UpdateParameterCommandResponse';
export type { UpdateParameterDto } from './models/UpdateParameterDto';
export type { UpdateVariogramEstimationStatusCommand } from './models/UpdateVariogramEstimationStatusCommand';
export type { UploadAnalogueModelCommandResponse } from './models/UploadAnalogueModelCommandResponse';
export type { UploadAnalogueModelDto } from './models/UploadAnalogueModelDto';
Expand All @@ -155,7 +152,6 @@ export { MetadataService } from './services/MetadataService';
export { MetadataTypeService } from './services/MetadataTypeService';
export { ModelAreaTypeService } from './services/ModelAreaTypeService';
export { OutcropsService } from './services/OutcropsService';
export { ParametersService } from './services/ParametersService';
export { ResultsService } from './services/ResultsService';
export { UploadsService } from './services/UploadsService';
export { WebhooksService } from './services/WebhooksService';
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
/* tslint:disable */
/* eslint-disable */

import type { ParameterList } from './ParameterList';
import type { OutcropDto } from './OutcropDto';

export type GetParameterListQueryResponse = {
export type AddAnalogueModelOutcropResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: Array<ParameterList>;
data: OutcropDto;
};

15 changes: 15 additions & 0 deletions src/api/generated/models/ConvertAnalogueModelCommandResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { ConvertAnalogueModelDto } from './ConvertAnalogueModelDto';

export type ConvertAnalogueModelCommandResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: ConvertAnalogueModelDto;
};

15 changes: 15 additions & 0 deletions src/api/generated/models/ConvertAnalogueModelDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { JobStatus } from './JobStatus';
import type { JobType } from './JobType';

export type ConvertAnalogueModelDto = {
jobId: string;
name: string;
jobStatus: JobStatus;
jobType: JobType;
};

11 changes: 0 additions & 11 deletions src/api/generated/models/CreateParameterCommand.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/api/generated/models/CreateParameterDto.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
/* tslint:disable */
/* eslint-disable */

import type { ParameterDetail } from './ParameterDetail';

export type GetParameterDetailQueryResponse = {
export type DeleteOutcropResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: ParameterDetail;
data: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
/* tslint:disable */
/* eslint-disable */

import type { PatchParameterDto } from './PatchParameterDto';
import type { EstimateObjectDto } from './EstimateObjectDto';

export type PatchParameterCommandResponse = {
export type EstimateObjectCommandResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: PatchParameterDto;
data: EstimateObjectDto;
};

15 changes: 15 additions & 0 deletions src/api/generated/models/EstimateObjectDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { JobStatus } from './JobStatus';
import type { JobType } from './JobType';

export type EstimateObjectDto = {
jobId: string;
name: string;
jobStatus: JobStatus;
jobType: JobType;
};

Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
/* tslint:disable */
/* eslint-disable */

import type { CreateParameterDto } from './CreateParameterDto';
import type { EstimateVariogramDto } from './EstimateVariogramDto';

export type CreateParameterCommandResponse = {
export type EstimateVariogramCommandResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: CreateParameterDto;
data: EstimateVariogramDto;
};

15 changes: 15 additions & 0 deletions src/api/generated/models/EstimateVariogramDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { JobStatus } from './JobStatus';
import type { JobType } from './JobType';

export type EstimateVariogramDto = {
jobId: string;
name: string;
jobStatus: JobStatus;
jobType: JobType;
};

12 changes: 0 additions & 12 deletions src/api/generated/models/ParameterDetail.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/api/generated/models/PatchParameterDto.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/api/generated/models/UpdateParameterCommandBody.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/api/generated/models/UpdateParameterCommandResponse.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/api/generated/models/UpdateParameterDto.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class AnalogueModelComputeCasesService {
mediaType: 'application/json-patch+json',
errors: {
400: `Bad Request`,
403: `Forbidden`,
},
});
}
Expand All @@ -53,6 +54,7 @@ export class AnalogueModelComputeCasesService {
},
errors: {
400: `Bad Request`,
403: `Forbidden`,
},
});
}
Expand Down Expand Up @@ -80,6 +82,7 @@ export class AnalogueModelComputeCasesService {
mediaType: 'application/json-patch+json',
errors: {
400: `Bad Request`,
403: `Forbidden`,
},
});
}
Expand All @@ -103,6 +106,7 @@ export class AnalogueModelComputeCasesService {
},
errors: {
400: `Bad Request`,
403: `Forbidden`,
404: `Not Found`,
},
});
Expand Down
1 change: 1 addition & 0 deletions src/api/generated/services/AnalogueModelMetadataService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class AnalogueModelMetadataService {
mediaType: 'application/json-patch+json',
errors: {
400: `Bad Request`,
403: `Forbidden`,
},
});
}
Expand Down
2 changes: 2 additions & 0 deletions src/api/generated/services/AnalogueModelParametersService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { request as __request } from '../core/request';
export class AnalogueModelParametersService {

/**
* @deprecated
* @param id
* @param requestBody
* @returns AddAnalogueModelParameterCommandResponse Success
Expand All @@ -31,6 +32,7 @@ export class AnalogueModelParametersService {
mediaType: 'application/json-patch+json',
errors: {
400: `Bad Request`,
403: `Forbidden`,
},
});
}
Expand Down
Loading

0 comments on commit 6f29c6c

Please sign in to comment.