diff --git a/packages/api-client/lib/openapi/api.ts b/packages/api-client/lib/openapi/api.ts index b021bd446..bb5473b2d 100644 --- a/packages/api-client/lib/openapi/api.ts +++ b/packages/api-client/lib/openapi/api.ts @@ -9131,64 +9131,6 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration options: localVarRequestOptions, }; }, - /** - * Warning: This endpoint is still actively being worked on and could be subjected to modifications. - * @summary Location Complete - * @param {string} taskId - * @param {string} location - * @param {boolean} success - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - locationCompleteTasksLocationCompletePost: async ( - taskId: string, - location: string, - success: boolean, - options: AxiosRequestConfig = {}, - ): Promise => { - // verify required parameter 'taskId' is not null or undefined - assertParamExists('locationCompleteTasksLocationCompletePost', 'taskId', taskId); - // verify required parameter 'location' is not null or undefined - assertParamExists('locationCompleteTasksLocationCompletePost', 'location', location); - // verify required parameter 'success' is not null or undefined - assertParamExists('locationCompleteTasksLocationCompletePost', 'success', success); - const localVarPath = `/tasks/location_complete`; - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - if (taskId !== undefined) { - localVarQueryParameter['task_id'] = taskId; - } - - if (location !== undefined) { - localVarQueryParameter['location'] = location; - } - - if (success !== undefined) { - localVarQueryParameter['success'] = success; - } - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = { - ...localVarHeaderParameter, - ...headersFromBaseOptions, - ...options.headers, - }; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, /** * * @summary Post Activity Discovery @@ -10236,30 +10178,6 @@ export const TasksApiFp = function (configuration?: Configuration) { ); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, - /** - * Warning: This endpoint is still actively being worked on and could be subjected to modifications. - * @summary Location Complete - * @param {string} taskId - * @param {string} location - * @param {boolean} success - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async locationCompleteTasksLocationCompletePost( - taskId: string, - location: string, - success: boolean, - options?: AxiosRequestConfig, - ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = - await localVarAxiosParamCreator.locationCompleteTasksLocationCompletePost( - taskId, - location, - success, - options, - ); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); - }, /** * * @summary Post Activity Discovery @@ -10764,25 +10682,6 @@ export const TasksApiFactory = function ( .getTaskStateTasksTaskIdStateGet(taskId, options) .then((request) => request(axios, basePath)); }, - /** - * Warning: This endpoint is still actively being worked on and could be subjected to modifications. - * @summary Location Complete - * @param {string} taskId - * @param {string} location - * @param {boolean} success - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - locationCompleteTasksLocationCompletePost( - taskId: string, - location: string, - success: boolean, - options?: any, - ): AxiosPromise { - return localVarFp - .locationCompleteTasksLocationCompletePost(taskId, location, success, options) - .then((request) => request(axios, basePath)); - }, /** * * @summary Post Activity Discovery @@ -11247,27 +11146,6 @@ export class TasksApi extends BaseAPI { .then((request) => request(this.axios, this.basePath)); } - /** - * Warning: This endpoint is still actively being worked on and could be subjected to modifications. - * @summary Location Complete - * @param {string} taskId - * @param {string} location - * @param {boolean} success - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof TasksApi - */ - public locationCompleteTasksLocationCompletePost( - taskId: string, - location: string, - success: boolean, - options?: AxiosRequestConfig, - ) { - return TasksApiFp(this.configuration) - .locationCompleteTasksLocationCompletePost(taskId, location, success, options) - .then((request) => request(this.axios, this.basePath)); - } - /** * * @summary Post Activity Discovery diff --git a/packages/api-client/lib/version.ts b/packages/api-client/lib/version.ts index 79daaee92..9db0b9637 100644 --- a/packages/api-client/lib/version.ts +++ b/packages/api-client/lib/version.ts @@ -3,6 +3,6 @@ import { version as rmfModelVer } from 'rmf-models'; export const version = { rmfModels: rmfModelVer, - rmfServer: 'b7c04a5019c749e898e3f59af95e43db1087a70d', + rmfServer: 'eb83039e43d7caee62ea130adf1f73b24d8465e6', openapiGenerator: '6.2.1', }; diff --git a/packages/api-client/schema/index.ts b/packages/api-client/schema/index.ts index 5edd1275a..2b91a0166 100644 --- a/packages/api-client/schema/index.ts +++ b/packages/api-client/schema/index.ts @@ -1380,47 +1380,6 @@ export default { }, }, }, - '/tasks/location_complete': { - post: { - tags: ['Tasks'], - summary: 'Location Complete', - description: - 'Warning: This endpoint is still actively being worked on and could be\nsubjected to modifications.', - operationId: 'location_complete_tasks_location_complete_post', - parameters: [ - { - required: true, - schema: { title: 'Task Id', type: 'string' }, - name: 'task_id', - in: 'query', - }, - { - required: true, - schema: { title: 'Location', type: 'string' }, - name: 'location', - in: 'query', - }, - { - required: true, - schema: { title: 'Success', type: 'boolean' }, - name: 'success', - in: 'query', - }, - ], - responses: { - '200': { - description: 'Successful Response', - content: { 'application/json': { schema: {} } }, - }, - '422': { - description: 'Validation Error', - content: { - 'application/json': { schema: { $ref: '#/components/schemas/HTTPValidationError' } }, - }, - }, - }, - }, - }, '/scheduled_tasks': { get: { tags: ['Tasks'],