refactor(agent)!: focus tools on SCADA
This commit is contained in:
Vendored
+75
-682
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
export interface paths {
|
||||
"/api/v1/meta/projects": {
|
||||
"/api/v1/projects": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
@@ -12,7 +12,7 @@ export interface paths {
|
||||
cookie?: never;
|
||||
};
|
||||
/** Projects */
|
||||
get: operations["projects_api_v1_meta_projects_get"];
|
||||
get: operations["projects_api_v1_projects_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
@@ -21,15 +21,15 @@ export interface paths {
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/meta/project": {
|
||||
"/api/v1/scada/assets": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Project */
|
||||
get: operations["project_api_v1_meta_project_get"];
|
||||
/** Assets */
|
||||
get: operations["assets_api_v1_scada_assets_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
@@ -38,58 +38,7 @@ export interface paths {
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/meta/db/health": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Health */
|
||||
get: operations["health_api_v1_meta_db_health_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/monitoring/devices": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Devices */
|
||||
get: operations["devices_api_v1_monitoring_devices_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/monitoring/points": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Points */
|
||||
get: operations["points_api_v1_monitoring_points_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/monitoring/readings/query": {
|
||||
"/api/v1/scada/readings/query": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
@@ -99,133 +48,14 @@ export interface paths {
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Readings */
|
||||
post: operations["readings_api_v1_monitoring_readings_query_post"];
|
||||
post: operations["readings_api_v1_scada_readings_query_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/analyses": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Create */
|
||||
post: operations["create_api_v1_analyses_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/analyses/{job_id}": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Get */
|
||||
get: operations["get_api_v1_analyses__job_id__get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/analyses/{job_id}/cancel": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Cancel */
|
||||
post: operations["cancel_api_v1_analyses__job_id__cancel_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/simulation/models": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Upload */
|
||||
post: operations["upload_api_v1_simulation_models_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/simulations": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Create */
|
||||
post: operations["create_api_v1_simulations_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/simulations/{job_id}": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Get */
|
||||
get: operations["get_api_v1_simulations__job_id__get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/jobs/{job_id}/events": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** Events */
|
||||
get: operations["events_api_v1_jobs__job_id__events_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/tianditu/geocode": {
|
||||
"/api/v1/geocode": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
@@ -235,7 +65,7 @@ export interface paths {
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Geocode */
|
||||
post: operations["geocode_api_v1_tianditu_geocode_post"];
|
||||
post: operations["geocode_api_v1_geocode_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
@@ -280,80 +110,39 @@ export interface paths {
|
||||
export type webhooks = Record<string, never>;
|
||||
export interface components {
|
||||
schemas: {
|
||||
/** AnalysisCreate */
|
||||
AnalysisCreate: {
|
||||
/**
|
||||
* Algorithm
|
||||
* @constant
|
||||
*/
|
||||
algorithm: "data-quality";
|
||||
/** Device Ids */
|
||||
device_ids: string[];
|
||||
/**
|
||||
* Observed From
|
||||
* Format: date-time
|
||||
*/
|
||||
observed_from: string;
|
||||
/**
|
||||
* Observed To
|
||||
* Format: date-time
|
||||
*/
|
||||
observed_to: string;
|
||||
/** GeocodeLocation */
|
||||
GeocodeLocation: {
|
||||
/** Lon */
|
||||
lon: number;
|
||||
/** Lat */
|
||||
lat: number;
|
||||
/** Level */
|
||||
level?: string | null;
|
||||
/** Score */
|
||||
score?: number | null;
|
||||
/** Keyword */
|
||||
keyWord?: string | null;
|
||||
};
|
||||
/** Body_upload_api_v1_simulation_models_post */
|
||||
Body_upload_api_v1_simulation_models_post: {
|
||||
/** Name */
|
||||
name: string;
|
||||
/** File */
|
||||
file: string;
|
||||
/** GeocodeRequest */
|
||||
GeocodeRequest: {
|
||||
/** Keyword */
|
||||
keyword: string;
|
||||
};
|
||||
/** DatabaseHealthResponse */
|
||||
DatabaseHealthResponse: {
|
||||
/** Postgres */
|
||||
postgres: string;
|
||||
/** Timescale */
|
||||
timescale: string;
|
||||
};
|
||||
/** DeviceOut */
|
||||
DeviceOut: {
|
||||
/**
|
||||
* Id
|
||||
* Format: uuid
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Monitoring Point Id
|
||||
* Format: uuid
|
||||
*/
|
||||
monitoring_point_id: string;
|
||||
/** External Id */
|
||||
external_id: string;
|
||||
/** Active */
|
||||
active: boolean;
|
||||
/** GeocodeResponse */
|
||||
GeocodeResponse: {
|
||||
/** Status */
|
||||
status: string | number;
|
||||
/** Msg */
|
||||
msg?: string | null;
|
||||
location?: components["schemas"]["GeocodeLocation"] | null;
|
||||
/** Searchversion */
|
||||
searchVersion?: string | null;
|
||||
};
|
||||
/** HTTPValidationError */
|
||||
HTTPValidationError: {
|
||||
/** Detail */
|
||||
detail?: components["schemas"]["ValidationError"][];
|
||||
};
|
||||
/** JobOut */
|
||||
JobOut: {
|
||||
/**
|
||||
* Id
|
||||
* Format: uuid
|
||||
*/
|
||||
id: string;
|
||||
/** Status */
|
||||
status: string;
|
||||
/** Progress */
|
||||
progress?: number | null;
|
||||
/** Result */
|
||||
result?: {
|
||||
[key: string]: unknown;
|
||||
} | null;
|
||||
/** Error */
|
||||
error?: string | null;
|
||||
};
|
||||
/** MapExtent */
|
||||
MapExtent: {
|
||||
/** Xmin */
|
||||
@@ -365,37 +154,8 @@ export interface components {
|
||||
/** Ymax */
|
||||
ymax: number;
|
||||
};
|
||||
/** ModelUploadOut */
|
||||
ModelUploadOut: {
|
||||
/**
|
||||
* Model Id
|
||||
* Format: uuid
|
||||
*/
|
||||
model_id: string;
|
||||
/**
|
||||
* Model Version Id
|
||||
* Format: uuid
|
||||
*/
|
||||
model_version_id: string;
|
||||
/** Version */
|
||||
version: number;
|
||||
/** Sha256 */
|
||||
sha256: string;
|
||||
};
|
||||
/** MonitoringPointOut */
|
||||
MonitoringPointOut: {
|
||||
/**
|
||||
* Id
|
||||
* Format: uuid
|
||||
*/
|
||||
id: string;
|
||||
/** External Id */
|
||||
external_id: string;
|
||||
/** Name */
|
||||
name: string;
|
||||
};
|
||||
/** ProjectMetaResponse */
|
||||
ProjectMetaResponse: {
|
||||
/** ProjectResponse */
|
||||
ProjectResponse: {
|
||||
/**
|
||||
* Project Id
|
||||
* Format: uuid
|
||||
@@ -418,31 +178,36 @@ export interface components {
|
||||
gs_workspace: string;
|
||||
map_extent: components["schemas"]["MapExtent"] | null;
|
||||
};
|
||||
/** ProjectSummaryResponse */
|
||||
ProjectSummaryResponse: {
|
||||
/** ScadaAssetOut */
|
||||
ScadaAssetOut: {
|
||||
/**
|
||||
* Project Id
|
||||
* Scada Id
|
||||
* Format: uuid
|
||||
*/
|
||||
project_id: string;
|
||||
/** Code */
|
||||
code: string;
|
||||
scada_id: string;
|
||||
/** External Id */
|
||||
external_id: string;
|
||||
/** Site External Id */
|
||||
site_external_id: string;
|
||||
/** Name */
|
||||
name: string;
|
||||
/** Description */
|
||||
description: string | null;
|
||||
/**
|
||||
* Status
|
||||
* Kind
|
||||
* @enum {string}
|
||||
*/
|
||||
status: "active" | "inactive";
|
||||
/** Project Role */
|
||||
project_role: string;
|
||||
kind: "water_quality" | "radar_level" | "ultrasonic_flow";
|
||||
/** Active */
|
||||
active: boolean;
|
||||
};
|
||||
/** ReadingQuery */
|
||||
ReadingQuery: {
|
||||
/** Device Ids */
|
||||
device_ids: string[];
|
||||
/** ScadaAssetsResponse */
|
||||
ScadaAssetsResponse: {
|
||||
/** Assets */
|
||||
assets: components["schemas"]["ScadaAssetOut"][];
|
||||
};
|
||||
/** ScadaReadingQuery */
|
||||
ScadaReadingQuery: {
|
||||
/** Asset Ids */
|
||||
asset_ids: string[];
|
||||
/**
|
||||
* Observed From
|
||||
* Format: date-time
|
||||
@@ -460,24 +225,24 @@ export interface components {
|
||||
*/
|
||||
granularity: "5m" | "1h" | "1d";
|
||||
/** Metrics */
|
||||
metrics: string[];
|
||||
metrics: ("conductivity_mean" | "level_mean" | "flow_mean" | "temperature_mean")[];
|
||||
};
|
||||
/** ReadingQueryResponse */
|
||||
ReadingQueryResponse: {
|
||||
/** ScadaReadingQueryResponse */
|
||||
ScadaReadingQueryResponse: {
|
||||
/** Data */
|
||||
data: components["schemas"]["ReadingRow"][];
|
||||
data: components["schemas"]["ScadaReadingRow"][];
|
||||
/** Meta */
|
||||
meta: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
/** ReadingRow */
|
||||
ReadingRow: {
|
||||
/** ScadaReadingRow */
|
||||
ScadaReadingRow: {
|
||||
/**
|
||||
* Device Id
|
||||
* Asset Id
|
||||
* Format: uuid
|
||||
*/
|
||||
device_id: string;
|
||||
asset_id: string;
|
||||
/**
|
||||
* Observed At
|
||||
* Format: date-time
|
||||
@@ -488,46 +253,6 @@ export interface components {
|
||||
[key: string]: number | null;
|
||||
};
|
||||
};
|
||||
/** SimulationCreate */
|
||||
SimulationCreate: {
|
||||
/**
|
||||
* Model Version Id
|
||||
* Format: uuid
|
||||
*/
|
||||
model_version_id: string;
|
||||
/** Parameters */
|
||||
parameters?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
/** TiandituGeocodeLocation */
|
||||
TiandituGeocodeLocation: {
|
||||
/** Lon */
|
||||
lon: number;
|
||||
/** Lat */
|
||||
lat: number;
|
||||
/** Level */
|
||||
level?: string | null;
|
||||
/** Score */
|
||||
score?: number | null;
|
||||
/** Keyword */
|
||||
keyWord?: string | null;
|
||||
};
|
||||
/** TiandituGeocodeRequest */
|
||||
TiandituGeocodeRequest: {
|
||||
/** Keyword */
|
||||
keyword: string;
|
||||
};
|
||||
/** TiandituGeocodeResponse */
|
||||
TiandituGeocodeResponse: {
|
||||
/** Status */
|
||||
status: string | number;
|
||||
/** Msg */
|
||||
msg?: string | null;
|
||||
location?: components["schemas"]["TiandituGeocodeLocation"] | null;
|
||||
/** Searchversion */
|
||||
searchVersion?: string | null;
|
||||
};
|
||||
/** ValidationError */
|
||||
ValidationError: {
|
||||
/** Location */
|
||||
@@ -550,7 +275,7 @@ export interface components {
|
||||
}
|
||||
export type $defs = Record<string, never>;
|
||||
export interface operations {
|
||||
projects_api_v1_meta_projects_get: {
|
||||
projects_api_v1_projects_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
@@ -565,12 +290,12 @@ export interface operations {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["ProjectSummaryResponse"][];
|
||||
"application/json": components["schemas"]["ProjectResponse"][];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
project_api_v1_meta_project_get: {
|
||||
assets_api_v1_scada_assets_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
@@ -587,7 +312,7 @@ export interface operations {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["ProjectMetaResponse"];
|
||||
"application/json": components["schemas"]["ScadaAssetsResponse"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
@@ -601,100 +326,7 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
health_api_v1_meta_db_health_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["DatabaseHealthResponse"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
devices_api_v1_monitoring_devices_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["DeviceOut"][];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
points_api_v1_monitoring_points_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["MonitoringPointOut"][];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
readings_api_v1_monitoring_readings_query_post: {
|
||||
readings_api_v1_scada_readings_query_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
@@ -705,7 +337,7 @@ export interface operations {
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["ReadingQuery"];
|
||||
"application/json": components["schemas"]["ScadaReadingQuery"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
@@ -715,7 +347,7 @@ export interface operations {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["ReadingQueryResponse"];
|
||||
"application/json": components["schemas"]["ScadaReadingQueryResponse"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
@@ -729,246 +361,7 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
create_api_v1_analyses_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"Idempotency-Key"?: string | null;
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["AnalysisCreate"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
202: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["JobOut"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
get_api_v1_analyses__job_id__get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path: {
|
||||
job_id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["JobOut"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
cancel_api_v1_analyses__job_id__cancel_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path: {
|
||||
job_id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["JobOut"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
upload_api_v1_simulation_models_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"multipart/form-data": components["schemas"]["Body_upload_api_v1_simulation_models_post"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["ModelUploadOut"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
create_api_v1_simulations_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"Idempotency-Key"?: string | null;
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["SimulationCreate"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
202: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["JobOut"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
get_api_v1_simulations__job_id__get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path: {
|
||||
job_id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["JobOut"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
events_api_v1_jobs__job_id__events_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: {
|
||||
"X-Project-Id"?: string | null;
|
||||
};
|
||||
path: {
|
||||
job_id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": unknown;
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
geocode_api_v1_tianditu_geocode_post: {
|
||||
geocode_api_v1_geocode_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
@@ -977,7 +370,7 @@ export interface operations {
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["TiandituGeocodeRequest"];
|
||||
"application/json": components["schemas"]["GeocodeRequest"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
@@ -987,7 +380,7 @@ export interface operations {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["TiandituGeocodeResponse"];
|
||||
"application/json": components["schemas"]["GeocodeResponse"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
|
||||
Reference in New Issue
Block a user