From cf8132053241121eff909d1ebee1e7f4eeda4be3 Mon Sep 17 00:00:00 2001 From: Filip Hlavac Date: Thu, 26 Sep 2024 16:29:10 +0200 Subject: [PATCH] Update RBAC client --- package-lock.json | 2 +- packages/rbac/v2/WorkspacesList/index.ts | 28 ++- packages/rbac/v2/WorkspacesRead/index.ts | 20 +- packages/rbac/v2/api.ts | 273 +++++++++++++++++++++-- packages/rbac/v2/types/index.ts | 221 +++++++++++++++++- 5 files changed, 518 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index c12efa0d..b746e463 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33762,7 +33762,7 @@ }, "packages/rbac": { "name": "@redhat-cloud-services/rbac-client", - "version": "2.2.3", + "version": "2.2.4", "license": "Apache-2.0", "dependencies": { "@redhat-cloud-services/javascript-clients-shared": "^1.2.4", diff --git a/packages/rbac/v2/WorkspacesList/index.ts b/packages/rbac/v2/WorkspacesList/index.ts index 0328911a..5adc4d4c 100644 --- a/packages/rbac/v2/WorkspacesList/index.ts +++ b/packages/rbac/v2/WorkspacesList/index.ts @@ -12,11 +12,23 @@ import type { ProblemsProblem403, WorkspacesList401Response, WorkspacesList500Re export type WorkspacesListParams = { + /** + * + * @type { number } + * @memberof WorkspacesListApi + */ + limit?: number, + /** + * + * @type { number } + * @memberof WorkspacesListApi + */ + offset?: number, options?: AxiosRequestConfig } const isWorkspacesListObjectParams = (params: [WorkspacesListParams] | unknown[]): params is [WorkspacesListParams] => { - return params.length === 1 + return params.length === 1 && true && true } /** * List workspaces in a tenant @@ -25,9 +37,9 @@ const isWorkspacesListObjectParams = (params: [WorkspacesListParams] | unknown[] * @param {*} [options] Override http request option. * @throws {RequiredError} */ -export const workspacesListParamCreator = async (...config: ([WorkspacesListParams] | [AxiosRequestConfig])): Promise => { - const params = isWorkspacesListObjectParams(config) ? config[0] : ['options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as WorkspacesListParams; - const { options = {} } = params; +export const workspacesListParamCreator = async (...config: ([WorkspacesListParams] | [number, number, AxiosRequestConfig])): Promise => { + const params = isWorkspacesListObjectParams(config) ? config[0] : ['limit', 'offset', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as WorkspacesListParams; + const { limit, offset, options = {} } = params; const localVarPath = `/workspaces/`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -35,6 +47,14 @@ export const workspacesListParamCreator = async (...config: ([WorkspacesListPara const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); diff --git a/packages/rbac/v2/WorkspacesRead/index.ts b/packages/rbac/v2/WorkspacesRead/index.ts index d13f6d5f..065c9d3e 100644 --- a/packages/rbac/v2/WorkspacesRead/index.ts +++ b/packages/rbac/v2/WorkspacesRead/index.ts @@ -8,7 +8,7 @@ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/b import { Configuration } from '@redhat-cloud-services/javascript-clients-shared/dist/configuration'; // @ts-ignore -import type { ProblemsProblem403, ProblemsProblem404, WorkspacesList401Response, WorkspacesList500Response, WorkspacesReadWorkspaceResponse } from '../types'; +import type { ProblemsProblem403, ProblemsProblem404, WorkspacesList401Response, WorkspacesList500Response, WorkspacesRead200Response } from '../types'; export type WorkspacesReadParams = { @@ -18,11 +18,17 @@ export type WorkspacesReadParams = { * @memberof WorkspacesReadApi */ uuid: string, + /** + * When true, the response will include the ancestry of the workspace. + * @type { boolean } + * @memberof WorkspacesReadApi + */ + includeAncestry?: boolean, options?: AxiosRequestConfig } const isWorkspacesReadObjectParams = (params: [WorkspacesReadParams] | unknown[]): params is [WorkspacesReadParams] => { - return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'uuid') + return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'uuid') && true } /** * Get a workspace in tenant @@ -31,9 +37,9 @@ const isWorkspacesReadObjectParams = (params: [WorkspacesReadParams] | unknown[] * @param {*} [options] Override http request option. * @throws {RequiredError} */ -export const workspacesReadParamCreator = async (...config: ([WorkspacesReadParams] | [string, AxiosRequestConfig])): Promise => { - const params = isWorkspacesReadObjectParams(config) ? config[0] : ['uuid', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as WorkspacesReadParams; - const { uuid, options = {} } = params; +export const workspacesReadParamCreator = async (...config: ([WorkspacesReadParams] | [string, boolean, AxiosRequestConfig])): Promise => { + const params = isWorkspacesReadObjectParams(config) ? config[0] : ['uuid', 'includeAncestry', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {}) as WorkspacesReadParams; + const { uuid, includeAncestry, options = {} } = params; const localVarPath = `/workspaces/{uuid}/` .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid))); // use dummy base URL string because the URL constructor only accepts absolute URLs. @@ -42,6 +48,10 @@ export const workspacesReadParamCreator = async (...config: ([WorkspacesReadPara const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (includeAncestry !== undefined) { + localVarQueryParameter['include_ancestry'] = includeAncestry; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); diff --git a/packages/rbac/v2/api.ts b/packages/rbac/v2/api.ts index 93b144d2..a7c78f9d 100644 --- a/packages/rbac/v2/api.ts +++ b/packages/rbac/v2/api.ts @@ -294,6 +294,18 @@ export interface WorkspacesBasicWorkspace { * @interface WorkspacesCreateWorkspaceResponse */ export interface WorkspacesCreateWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -306,6 +318,18 @@ export interface WorkspacesCreateWorkspaceResponse { * @memberof WorkspacesCreateWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'modified': string; } /** * @@ -495,6 +519,18 @@ export interface WorkspacesPatchWorkspaceRequest { * @interface WorkspacesPatchWorkspaceResponse */ export interface WorkspacesPatchWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -507,6 +543,61 @@ export interface WorkspacesPatchWorkspaceResponse { * @memberof WorkspacesPatchWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'modified': string; +} +/** + * + * @export + * @interface WorkspacesRead200Response + */ +export interface WorkspacesRead200Response { + /** + * + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'parent_id'?: string; + /** + * Workspace A + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'name': string; + /** + * Description of Workspace A + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'modified': string; } /** * @@ -514,6 +605,18 @@ export interface WorkspacesPatchWorkspaceResponse { * @interface WorkspacesReadWorkspaceResponse */ export interface WorkspacesReadWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -526,6 +629,67 @@ export interface WorkspacesReadWorkspaceResponse { * @memberof WorkspacesReadWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'modified': string; +} +/** + * + * @export + * @interface WorkspacesReadWorkspaceWithAncestryResponse + */ +export interface WorkspacesReadWorkspaceWithAncestryResponse { + /** + * + * @type {Array} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'ancestry': Array; + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'parent_id'?: string; + /** + * Workspace A + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'name': string; + /** + * Description of Workspace A + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'modified': string; } /** * @@ -588,7 +752,13 @@ export interface WorkspacesUpdateWorkspaceRequest { * @type {string} * @memberof WorkspacesUpdateWorkspaceRequest */ - 'description'?: string; + 'description': string; + /** + * + * @type {string} + * @memberof WorkspacesUpdateWorkspaceRequest + */ + 'parent_id': string; } /** * @@ -596,6 +766,18 @@ export interface WorkspacesUpdateWorkspaceRequest { * @interface WorkspacesUpdateWorkspaceResponse */ export interface WorkspacesUpdateWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -608,6 +790,18 @@ export interface WorkspacesUpdateWorkspaceResponse { * @memberof WorkspacesUpdateWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'modified': string; } /** * @@ -652,6 +846,31 @@ export interface WorkspacesWorkspace { */ 'modified': string; } +/** + * + * @export + * @interface WorkspacesWorkspaceAncestor + */ +export interface WorkspacesWorkspaceAncestor { + /** + * + * @type {string} + * @memberof WorkspacesWorkspaceAncestor + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesWorkspaceAncestor + */ + 'parent_id'?: string; + /** + * + * @type {string} + * @memberof WorkspacesWorkspaceAncestor + */ + 'name': string; +} /** * * @export @@ -901,10 +1120,12 @@ export const WorkspacesListApiAxiosParamCreator = function (configuration?: Conf /** * List workspaces in a tenant * @summary List workspaces in a tenant + * @param {number} [limit] + * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - workspacesList: async (options: AxiosRequestConfig = {}): Promise => { + workspacesList: async (limit?: number, offset?: number, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/workspaces/`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -917,6 +1138,14 @@ export const WorkspacesListApiAxiosParamCreator = function (configuration?: Conf const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -941,11 +1170,13 @@ export const WorkspacesListApiFp = function(configuration?: Configuration) { /** * List workspaces in a tenant * @summary List workspaces in a tenant + * @param {number} [limit] + * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async workspacesList(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.workspacesList(options); + async workspacesList(limit?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.workspacesList(limit, offset, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -961,11 +1192,13 @@ export const WorkspacesListApiFactory = function (configuration?: Configuration, /** * List workspaces in a tenant * @summary List workspaces in a tenant + * @param {number} [limit] + * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - workspacesList(options?: any): AxiosPromise { - return localVarFp.workspacesList(options).then((request) => request(axios, basePath)); + workspacesList(limit?: number, offset?: number, options?: any): AxiosPromise { + return localVarFp.workspacesList(limit, offset, options).then((request) => request(axios, basePath)); }, }; }; @@ -980,12 +1213,14 @@ export class WorkspacesListApi extends BaseAPI { /** * List workspaces in a tenant * @summary List workspaces in a tenant + * @param {number} [limit] + * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WorkspacesListApi */ - public workspacesList(options?: AxiosRequestConfig) { - return WorkspacesListApiFp(this.configuration).workspacesList(options).then((request) => request(this.axios, this.basePath)); + public workspacesList(limit?: number, offset?: number, options?: AxiosRequestConfig) { + return WorkspacesListApiFp(this.configuration).workspacesList(limit, offset, options).then((request) => request(this.axios, this.basePath)); } } @@ -1112,10 +1347,11 @@ export const WorkspacesReadApiAxiosParamCreator = function (configuration?: Conf * Get a workspace in tenant * @summary Get a workspace in tenant * @param {string} uuid Unique identification + * @param {boolean} [includeAncestry] When true, the response will include the ancestry of the workspace. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - workspacesRead: async (uuid: string, options: AxiosRequestConfig = {}): Promise => { + workspacesRead: async (uuid: string, includeAncestry?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'uuid' is not null or undefined assertParamExists('workspacesRead', 'uuid', uuid) const localVarPath = `/workspaces/{uuid}/` @@ -1131,6 +1367,10 @@ export const WorkspacesReadApiAxiosParamCreator = function (configuration?: Conf const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (includeAncestry !== undefined) { + localVarQueryParameter['include_ancestry'] = includeAncestry; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -1156,11 +1396,12 @@ export const WorkspacesReadApiFp = function(configuration?: Configuration) { * Get a workspace in tenant * @summary Get a workspace in tenant * @param {string} uuid Unique identification + * @param {boolean} [includeAncestry] When true, the response will include the ancestry of the workspace. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async workspacesRead(uuid: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.workspacesRead(uuid, options); + async workspacesRead(uuid: string, includeAncestry?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.workspacesRead(uuid, includeAncestry, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -1177,11 +1418,12 @@ export const WorkspacesReadApiFactory = function (configuration?: Configuration, * Get a workspace in tenant * @summary Get a workspace in tenant * @param {string} uuid Unique identification + * @param {boolean} [includeAncestry] When true, the response will include the ancestry of the workspace. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - workspacesRead(uuid: string, options?: any): AxiosPromise { - return localVarFp.workspacesRead(uuid, options).then((request) => request(axios, basePath)); + workspacesRead(uuid: string, includeAncestry?: boolean, options?: any): AxiosPromise { + return localVarFp.workspacesRead(uuid, includeAncestry, options).then((request) => request(axios, basePath)); }, }; }; @@ -1197,12 +1439,13 @@ export class WorkspacesReadApi extends BaseAPI { * Get a workspace in tenant * @summary Get a workspace in tenant * @param {string} uuid Unique identification + * @param {boolean} [includeAncestry] When true, the response will include the ancestry of the workspace. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WorkspacesReadApi */ - public workspacesRead(uuid: string, options?: AxiosRequestConfig) { - return WorkspacesReadApiFp(this.configuration).workspacesRead(uuid, options).then((request) => request(this.axios, this.basePath)); + public workspacesRead(uuid: string, includeAncestry?: boolean, options?: AxiosRequestConfig) { + return WorkspacesReadApiFp(this.configuration).workspacesRead(uuid, includeAncestry, options).then((request) => request(this.axios, this.basePath)); } } diff --git a/packages/rbac/v2/types/index.ts b/packages/rbac/v2/types/index.ts index d869880b..6632aa5c 100644 --- a/packages/rbac/v2/types/index.ts +++ b/packages/rbac/v2/types/index.ts @@ -269,6 +269,18 @@ export interface WorkspacesBasicWorkspace { * @interface WorkspacesCreateWorkspaceResponse */ export interface WorkspacesCreateWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -281,6 +293,18 @@ export interface WorkspacesCreateWorkspaceResponse { * @memberof WorkspacesCreateWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesCreateWorkspaceResponse + */ + 'modified': string; } /** * @@ -470,6 +494,18 @@ export interface WorkspacesPatchWorkspaceRequest { * @interface WorkspacesPatchWorkspaceResponse */ export interface WorkspacesPatchWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -482,6 +518,61 @@ export interface WorkspacesPatchWorkspaceResponse { * @memberof WorkspacesPatchWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesPatchWorkspaceResponse + */ + 'modified': string; +} +/** + * + * @export + * @interface WorkspacesRead200Response + */ +export interface WorkspacesRead200Response { + /** + * + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'parent_id'?: string; + /** + * Workspace A + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'name': string; + /** + * Description of Workspace A + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesRead200Response + */ + 'modified': string; } /** * @@ -489,6 +580,18 @@ export interface WorkspacesPatchWorkspaceResponse { * @interface WorkspacesReadWorkspaceResponse */ export interface WorkspacesReadWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -501,6 +604,67 @@ export interface WorkspacesReadWorkspaceResponse { * @memberof WorkspacesReadWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceResponse + */ + 'modified': string; +} +/** + * + * @export + * @interface WorkspacesReadWorkspaceWithAncestryResponse + */ +export interface WorkspacesReadWorkspaceWithAncestryResponse { + /** + * + * @type {Array} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'ancestry': Array; + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'parent_id'?: string; + /** + * Workspace A + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'name': string; + /** + * Description of Workspace A + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesReadWorkspaceWithAncestryResponse + */ + 'modified': string; } /** * @@ -563,7 +727,13 @@ export interface WorkspacesUpdateWorkspaceRequest { * @type {string} * @memberof WorkspacesUpdateWorkspaceRequest */ - 'description'?: string; + 'description': string; + /** + * + * @type {string} + * @memberof WorkspacesUpdateWorkspaceRequest + */ + 'parent_id': string; } /** * @@ -571,6 +741,18 @@ export interface WorkspacesUpdateWorkspaceRequest { * @interface WorkspacesUpdateWorkspaceResponse */ export interface WorkspacesUpdateWorkspaceResponse { + /** + * + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'parent_id'?: string; /** * Workspace A * @type {string} @@ -583,6 +765,18 @@ export interface WorkspacesUpdateWorkspaceResponse { * @memberof WorkspacesUpdateWorkspaceResponse */ 'description'?: string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'created': string; + /** + * 2019-01-21T17:32:28Z + * @type {string} + * @memberof WorkspacesUpdateWorkspaceResponse + */ + 'modified': string; } /** * @@ -627,6 +821,31 @@ export interface WorkspacesWorkspace { */ 'modified': string; } +/** + * + * @export + * @interface WorkspacesWorkspaceAncestor + */ +export interface WorkspacesWorkspaceAncestor { + /** + * + * @type {string} + * @memberof WorkspacesWorkspaceAncestor + */ + 'uuid': string; + /** + * + * @type {string} + * @memberof WorkspacesWorkspaceAncestor + */ + 'parent_id'?: string; + /** + * + * @type {string} + * @memberof WorkspacesWorkspaceAncestor + */ + 'name': string; +} /** * * @export