feat(api): 新增多个API接口和相关模型
This commit is contained in:
@@ -10,6 +10,14 @@ export type { OpenAPIConfig } from './core/OpenAPI';
|
||||
export type { ComboBoxItem } from './models/ComboBoxItem';
|
||||
export type { ComboBoxOut } from './models/ComboBoxOut';
|
||||
export type { DispatchIn } from './models/DispatchIn';
|
||||
export type { GeneralConfig } from './models/GeneralConfig';
|
||||
export type { GeneralConfig_Game } from './models/GeneralConfig_Game';
|
||||
export type { GeneralConfig_Info } from './models/GeneralConfig_Info';
|
||||
export type { GeneralConfig_Run } from './models/GeneralConfig_Run';
|
||||
export type { GeneralConfig_Script } from './models/GeneralConfig_Script';
|
||||
export type { GeneralUserConfig } from './models/GeneralUserConfig';
|
||||
export type { GeneralUserConfig_Data } from './models/GeneralUserConfig_Data';
|
||||
export type { GeneralUserConfig_Info } from './models/GeneralUserConfig_Info';
|
||||
export { GetStageIn } from './models/GetStageIn';
|
||||
export type { GlobalConfig } from './models/GlobalConfig';
|
||||
export type { GlobalConfig_Function } from './models/GlobalConfig_Function';
|
||||
@@ -18,22 +26,47 @@ export type { GlobalConfig_Start } from './models/GlobalConfig_Start';
|
||||
export type { GlobalConfig_UI } from './models/GlobalConfig_UI';
|
||||
export type { GlobalConfig_Update } from './models/GlobalConfig_Update';
|
||||
export type { GlobalConfig_Voice } from './models/GlobalConfig_Voice';
|
||||
export type { HistoryData } from './models/HistoryData';
|
||||
export type { HistoryDataGetIn } from './models/HistoryDataGetIn';
|
||||
export type { HistoryDataGetOut } from './models/HistoryDataGetOut';
|
||||
export { HistoryIndexItem } from './models/HistoryIndexItem';
|
||||
export { HistorySearchIn } from './models/HistorySearchIn';
|
||||
export type { HistorySearchOut } from './models/HistorySearchOut';
|
||||
export type { HTTPValidationError } from './models/HTTPValidationError';
|
||||
export type { InfoOut } from './models/InfoOut';
|
||||
export type { MaaConfig } from './models/MaaConfig';
|
||||
export type { MaaConfig_Info } from './models/MaaConfig_Info';
|
||||
export type { MaaConfig_Run } from './models/MaaConfig_Run';
|
||||
export type { MaaPlanConfig } from './models/MaaPlanConfig';
|
||||
export type { MaaPlanConfig_Info } from './models/MaaPlanConfig_Info';
|
||||
export type { MaaPlanConfig_Item } from './models/MaaPlanConfig_Item';
|
||||
export type { MaaUserConfig } from './models/MaaUserConfig';
|
||||
export type { MaaUserConfig_Data } from './models/MaaUserConfig_Data';
|
||||
export type { MaaUserConfig_Info } from './models/MaaUserConfig_Info';
|
||||
export type { MaaUserConfig_Task } from './models/MaaUserConfig_Task';
|
||||
export type { OutBase } from './models/OutBase';
|
||||
export type { PlanCreateIn } from './models/PlanCreateIn';
|
||||
export type { PlanCreateOut } from './models/PlanCreateOut';
|
||||
export type { PlanDeleteIn } from './models/PlanDeleteIn';
|
||||
export type { PlanGetIn } from './models/PlanGetIn';
|
||||
export type { PlanGetOut } from './models/PlanGetOut';
|
||||
export type { PlanIndexItem } from './models/PlanIndexItem';
|
||||
export type { PlanReorderIn } from './models/PlanReorderIn';
|
||||
export type { PlanUpdateIn } from './models/PlanUpdateIn';
|
||||
export type { QueueConfig } from './models/QueueConfig';
|
||||
export type { QueueConfig_Info } from './models/QueueConfig_Info';
|
||||
export type { QueueCreateOut } from './models/QueueCreateOut';
|
||||
export type { QueueDeleteIn } from './models/QueueDeleteIn';
|
||||
export type { QueueGetIn } from './models/QueueGetIn';
|
||||
export type { QueueGetOut } from './models/QueueGetOut';
|
||||
export type { QueueIndexItem } from './models/QueueIndexItem';
|
||||
export type { QueueItem } from './models/QueueItem';
|
||||
export type { QueueItem_Info } from './models/QueueItem_Info';
|
||||
export type { QueueItemCreateOut } from './models/QueueItemCreateOut';
|
||||
export type { QueueItemDeleteIn } from './models/QueueItemDeleteIn';
|
||||
export type { QueueItemGetIn } from './models/QueueItemGetIn';
|
||||
export type { QueueItemGetOut } from './models/QueueItemGetOut';
|
||||
export type { QueueItemIndexItem } from './models/QueueItemIndexItem';
|
||||
export type { QueueItemReorderIn } from './models/QueueItemReorderIn';
|
||||
export type { QueueItemUpdateIn } from './models/QueueItemUpdateIn';
|
||||
export type { QueueReorderIn } from './models/QueueReorderIn';
|
||||
@@ -44,19 +77,29 @@ export type { ScriptCreateOut } from './models/ScriptCreateOut';
|
||||
export type { ScriptDeleteIn } from './models/ScriptDeleteIn';
|
||||
export type { ScriptGetIn } from './models/ScriptGetIn';
|
||||
export type { ScriptGetOut } from './models/ScriptGetOut';
|
||||
export { ScriptIndexItem } from './models/ScriptIndexItem';
|
||||
export type { ScriptReorderIn } from './models/ScriptReorderIn';
|
||||
export type { ScriptUpdateIn } from './models/ScriptUpdateIn';
|
||||
export type { SettingGetOut } from './models/SettingGetOut';
|
||||
export type { SettingUpdateIn } from './models/SettingUpdateIn';
|
||||
export { TaskCreateIn } from './models/TaskCreateIn';
|
||||
export type { TaskCreateOut } from './models/TaskCreateOut';
|
||||
export type { TimeSet } from './models/TimeSet';
|
||||
export type { TimeSet_Info } from './models/TimeSet_Info';
|
||||
export type { TimeSetCreateOut } from './models/TimeSetCreateOut';
|
||||
export type { TimeSetDeleteIn } from './models/TimeSetDeleteIn';
|
||||
export type { TimeSetGetIn } from './models/TimeSetGetIn';
|
||||
export type { TimeSetGetOut } from './models/TimeSetGetOut';
|
||||
export type { TimeSetIndexItem } from './models/TimeSetIndexItem';
|
||||
export type { TimeSetReorderIn } from './models/TimeSetReorderIn';
|
||||
export type { TimeSetUpdateIn } from './models/TimeSetUpdateIn';
|
||||
export type { UserConfig_Notify } from './models/UserConfig_Notify';
|
||||
export type { UserCreateOut } from './models/UserCreateOut';
|
||||
export type { UserDeleteIn } from './models/UserDeleteIn';
|
||||
export type { UserGetIn } from './models/UserGetIn';
|
||||
export type { UserGetOut } from './models/UserGetOut';
|
||||
export type { UserInBase } from './models/UserInBase';
|
||||
export { UserIndexItem } from './models/UserIndexItem';
|
||||
export type { UserReorderIn } from './models/UserReorderIn';
|
||||
export type { UserUpdateIn } from './models/UserUpdateIn';
|
||||
export type { ValidationError } from './models/ValidationError';
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { MaaPlanConfig } from './MaaPlanConfig';
|
||||
export type PlanCreateOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -22,6 +23,6 @@ export type PlanCreateOut = {
|
||||
/**
|
||||
* 计划配置数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: MaaPlanConfig;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
export type PlanGetIn = {
|
||||
/**
|
||||
* 计划ID,仅在模式为Single时需要
|
||||
* 计划ID, 未携带时表示获取所有计划数据
|
||||
*/
|
||||
planId?: (string | null);
|
||||
};
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { MaaPlanConfig } from './MaaPlanConfig';
|
||||
import type { PlanIndexItem } from './PlanIndexItem';
|
||||
export type PlanGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -18,10 +20,10 @@ export type PlanGetOut = {
|
||||
/**
|
||||
* 计划索引列表
|
||||
*/
|
||||
index: Array<Record<string, string>>;
|
||||
index: Array<PlanIndexItem>;
|
||||
/**
|
||||
* 计划列表或单个计划数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: Record<string, MaaPlanConfig>;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { MaaPlanConfig } from './MaaPlanConfig';
|
||||
export type PlanUpdateIn = {
|
||||
/**
|
||||
* 计划ID
|
||||
@@ -10,6 +11,6 @@ export type PlanUpdateIn = {
|
||||
/**
|
||||
* 计划更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
data: MaaPlanConfig;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueConfig } from './QueueConfig';
|
||||
export type QueueCreateOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -22,6 +23,6 @@ export type QueueCreateOut = {
|
||||
/**
|
||||
* 队列配置数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: QueueConfig;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
export type QueueGetIn = {
|
||||
/**
|
||||
* 队列ID,仅在模式为Single时需要
|
||||
* 队列ID, 未携带时表示获取所有队列数据
|
||||
*/
|
||||
queueId?: (string | null);
|
||||
};
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueConfig } from './QueueConfig';
|
||||
import type { QueueIndexItem } from './QueueIndexItem';
|
||||
export type QueueGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -18,10 +20,10 @@ export type QueueGetOut = {
|
||||
/**
|
||||
* 队列索引列表
|
||||
*/
|
||||
index: Array<Record<string, string>>;
|
||||
index: Array<QueueIndexItem>;
|
||||
/**
|
||||
* 队列列表或单个队列数据
|
||||
* 队列数据字典, key来自于index列表的uid
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: Record<string, QueueConfig>;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueItem } from './QueueItem';
|
||||
export type QueueItemCreateOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -22,6 +23,6 @@ export type QueueItemCreateOut = {
|
||||
/**
|
||||
* 队列项配置数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: QueueItem;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueItem } from './QueueItem';
|
||||
export type QueueItemUpdateIn = {
|
||||
/**
|
||||
* 所属队列ID
|
||||
@@ -14,6 +15,6 @@ export type QueueItemUpdateIn = {
|
||||
/**
|
||||
* 队列项更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
data: QueueItem;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
export type QueueReorderIn = {
|
||||
/**
|
||||
* 调度队列ID列表,按新顺序排列
|
||||
* 按新顺序排列的调度队列UID列表
|
||||
*/
|
||||
indexList: Array<string>;
|
||||
};
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueConfig } from './QueueConfig';
|
||||
export type QueueUpdateIn = {
|
||||
/**
|
||||
* 队列ID
|
||||
@@ -10,6 +11,6 @@ export type QueueUpdateIn = {
|
||||
/**
|
||||
* 队列更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
data: QueueConfig;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralConfig } from './GeneralConfig';
|
||||
import type { MaaConfig } from './MaaConfig';
|
||||
export type ScriptCreateOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -22,6 +24,6 @@ export type ScriptCreateOut = {
|
||||
/**
|
||||
* 脚本配置数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: (MaaConfig | GeneralConfig);
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
export type ScriptGetIn = {
|
||||
/**
|
||||
* 脚本ID,仅在模式为Single时需要
|
||||
* 脚本ID, 未携带时表示获取所有脚本数据
|
||||
*/
|
||||
scriptId?: (string | null);
|
||||
};
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralConfig } from './GeneralConfig';
|
||||
import type { MaaConfig } from './MaaConfig';
|
||||
import type { ScriptIndexItem } from './ScriptIndexItem';
|
||||
export type ScriptGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -18,10 +21,10 @@ export type ScriptGetOut = {
|
||||
/**
|
||||
* 脚本索引列表
|
||||
*/
|
||||
index: Array<Record<string, string>>;
|
||||
index: Array<ScriptIndexItem>;
|
||||
/**
|
||||
* 脚本列表或单个脚本数据
|
||||
* 脚本数据字典, key来自于index列表的uid
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: Record<string, (MaaConfig | GeneralConfig)>;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralConfig } from './GeneralConfig';
|
||||
import type { MaaConfig } from './MaaConfig';
|
||||
export type ScriptUpdateIn = {
|
||||
/**
|
||||
* 脚本ID
|
||||
@@ -10,6 +12,6 @@ export type ScriptUpdateIn = {
|
||||
/**
|
||||
* 脚本更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
data: (MaaConfig | GeneralConfig);
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { TimeSet } from './TimeSet';
|
||||
export type TimeSetCreateOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -22,6 +23,6 @@ export type TimeSetCreateOut = {
|
||||
/**
|
||||
* 时间设置配置数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: TimeSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { TimeSet } from './TimeSet';
|
||||
export type TimeSetUpdateIn = {
|
||||
/**
|
||||
* 所属队列ID
|
||||
@@ -14,6 +15,6 @@ export type TimeSetUpdateIn = {
|
||||
/**
|
||||
* 时间设置更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
data: TimeSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralUserConfig } from './GeneralUserConfig';
|
||||
import type { MaaUserConfig } from './MaaUserConfig';
|
||||
export type UserCreateOut = {
|
||||
/**
|
||||
* 状态码
|
||||
@@ -22,6 +24,6 @@ export type UserCreateOut = {
|
||||
/**
|
||||
* 用户配置数据
|
||||
*/
|
||||
data: Record<string, any>;
|
||||
data: (MaaUserConfig | GeneralUserConfig);
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralUserConfig } from './GeneralUserConfig';
|
||||
import type { MaaUserConfig } from './MaaUserConfig';
|
||||
export type UserUpdateIn = {
|
||||
/**
|
||||
* 所属脚本ID
|
||||
@@ -14,6 +16,6 @@ export type UserUpdateIn = {
|
||||
/**
|
||||
* 用户更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
data: (MaaUserConfig | GeneralUserConfig);
|
||||
};
|
||||
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
import type { ComboBoxOut } from '../models/ComboBoxOut';
|
||||
import type { DispatchIn } from '../models/DispatchIn';
|
||||
import type { GetStageIn } from '../models/GetStageIn';
|
||||
import type { HistoryDataGetIn } from '../models/HistoryDataGetIn';
|
||||
import type { HistoryDataGetOut } from '../models/HistoryDataGetOut';
|
||||
import type { HistorySearchIn } from '../models/HistorySearchIn';
|
||||
import type { HistorySearchOut } from '../models/HistorySearchOut';
|
||||
import type { InfoOut } from '../models/InfoOut';
|
||||
import type { OutBase } from '../models/OutBase';
|
||||
import type { PlanCreateIn } from '../models/PlanCreateIn';
|
||||
@@ -20,6 +24,8 @@ import type { QueueGetIn } from '../models/QueueGetIn';
|
||||
import type { QueueGetOut } from '../models/QueueGetOut';
|
||||
import type { QueueItemCreateOut } from '../models/QueueItemCreateOut';
|
||||
import type { QueueItemDeleteIn } from '../models/QueueItemDeleteIn';
|
||||
import type { QueueItemGetIn } from '../models/QueueItemGetIn';
|
||||
import type { QueueItemGetOut } from '../models/QueueItemGetOut';
|
||||
import type { QueueItemReorderIn } from '../models/QueueItemReorderIn';
|
||||
import type { QueueItemUpdateIn } from '../models/QueueItemUpdateIn';
|
||||
import type { QueueReorderIn } from '../models/QueueReorderIn';
|
||||
@@ -38,10 +44,14 @@ import type { TaskCreateIn } from '../models/TaskCreateIn';
|
||||
import type { TaskCreateOut } from '../models/TaskCreateOut';
|
||||
import type { TimeSetCreateOut } from '../models/TimeSetCreateOut';
|
||||
import type { TimeSetDeleteIn } from '../models/TimeSetDeleteIn';
|
||||
import type { TimeSetGetIn } from '../models/TimeSetGetIn';
|
||||
import type { TimeSetGetOut } from '../models/TimeSetGetOut';
|
||||
import type { TimeSetReorderIn } from '../models/TimeSetReorderIn';
|
||||
import type { TimeSetUpdateIn } from '../models/TimeSetUpdateIn';
|
||||
import type { UserCreateOut } from '../models/UserCreateOut';
|
||||
import type { UserDeleteIn } from '../models/UserDeleteIn';
|
||||
import type { UserGetIn } from '../models/UserGetIn';
|
||||
import type { UserGetOut } from '../models/UserGetOut';
|
||||
import type { UserInBase } from '../models/UserInBase';
|
||||
import type { UserReorderIn } from '../models/UserReorderIn';
|
||||
import type { UserUpdateIn } from '../models/UserUpdateIn';
|
||||
@@ -218,6 +228,25 @@ export class Service {
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询用户
|
||||
* @param requestBody
|
||||
* @returns UserGetOut Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getUserApiScriptsUserGetPost(
|
||||
requestBody: UserGetIn,
|
||||
): CancelablePromise<UserGetOut> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/api/scripts/user/get',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
422: `Validation Error`,
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 添加用户
|
||||
* @param requestBody
|
||||
@@ -314,7 +343,7 @@ export class Service {
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询计划表配置信息
|
||||
* 查询计划表
|
||||
* @param requestBody
|
||||
* @returns PlanGetOut Successful Response
|
||||
* @throws ApiError
|
||||
@@ -476,6 +505,25 @@ export class Service {
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询定时项
|
||||
* @param requestBody
|
||||
* @returns TimeSetGetOut Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getTimeSetApiQueueTimeGetPost(
|
||||
requestBody: TimeSetGetIn,
|
||||
): CancelablePromise<TimeSetGetOut> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/api/queue/time/get',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
422: `Validation Error`,
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 添加定时项
|
||||
* @param requestBody
|
||||
@@ -534,7 +582,7 @@ export class Service {
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 重新排序时间设置
|
||||
* 重新排序定时项
|
||||
* @param requestBody
|
||||
* @returns OutBase Successful Response
|
||||
* @throws ApiError
|
||||
@@ -552,6 +600,25 @@ export class Service {
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询队列项
|
||||
* @param requestBody
|
||||
* @returns QueueItemGetOut Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getItemApiQueueItemGetPost(
|
||||
requestBody: QueueItemGetIn,
|
||||
): CancelablePromise<QueueItemGetOut> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/api/queue/item/get',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
422: `Validation Error`,
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 添加队列项
|
||||
* @param requestBody
|
||||
@@ -666,6 +733,44 @@ export class Service {
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 搜索历史记录总览信息
|
||||
* @param requestBody
|
||||
* @returns HistorySearchOut Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static searchHistoryApiHistorySearchPost(
|
||||
requestBody: HistorySearchIn,
|
||||
): CancelablePromise<HistorySearchOut> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/api/history/search',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
422: `Validation Error`,
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 从指定文件内获取历史记录数据
|
||||
* @param requestBody
|
||||
* @returns HistoryDataGetOut Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getHistoryDataApiHistoryDataPost(
|
||||
requestBody: HistoryDataGetIn,
|
||||
): CancelablePromise<HistoryDataGetOut> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/api/history/data',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
422: `Validation Error`,
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询配置
|
||||
* 查询配置
|
||||
|
||||
Reference in New Issue
Block a user