Skip to content

Commit

Permalink
Regenerate API
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed May 31, 2024
1 parent eb83039 commit e05a1f8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 164 deletions.
122 changes: 0 additions & 122 deletions packages/api-client/lib/openapi/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<RequestArgs> => {
// 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
Expand Down Expand Up @@ -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<any>> {
const localVarAxiosArgs =
await localVarAxiosParamCreator.locationCompleteTasksLocationCompletePost(
taskId,
location,
success,
options,
);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
*
* @summary Post Activity Discovery
Expand Down Expand Up @@ -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<any> {
return localVarFp
.locationCompleteTasksLocationCompletePost(taskId, location, success, options)
.then((request) => request(axios, basePath));
},
/**
*
* @summary Post Activity Discovery
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { version as rmfModelVer } from 'rmf-models';

export const version = {
rmfModels: rmfModelVer,
rmfServer: 'b7c04a5019c749e898e3f59af95e43db1087a70d',
rmfServer: 'eb83039e43d7caee62ea130adf1f73b24d8465e6',
openapiGenerator: '6.2.1',
};
41 changes: 0 additions & 41 deletions packages/api-client/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit e05a1f8

Please sign in to comment.