diff --git a/src/serverApi/v3/api.ts b/src/serverApi/v3/api.ts index 45c21e66af..06d0e75e88 100644 --- a/src/serverApi/v3/api.ts +++ b/src/serverApi/v3/api.ts @@ -1490,6 +1490,7 @@ export interface CopyApiResponse { export enum CopyApiResponseTypeEnum { Board = 'BOARD', Card = 'CARD', + CollaborativeTextEditorElement = 'COLLABORATIVE_TEXT_EDITOR_ELEMENT', Column = 'COLUMN', Columnboard = 'COLUMNBOARD', Content = 'CONTENT', @@ -1545,6 +1546,7 @@ export enum CopyApiResponseStatusEnum { export enum CopyApiResponseElementsTypesEnum { Board = 'BOARD', Card = 'CARD', + CollaborativeTextEditorElement = 'COLLABORATIVE_TEXT_EDITOR_ELEMENT', Column = 'COLUMN', Columnboard = 'COLUMNBOARD', Content = 'CONTENT', @@ -23501,6 +23503,128 @@ export class UserLoginMigrationApi extends BaseAPI implements UserLoginMigration } +/** + * UserLoginMigrationRollbackApi - axios parameter creator + * @export + */ +export const UserLoginMigrationRollbackApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + userLoginMigrationRollbackControllerMigrateUserLogin: async (userId: string, options: any = {}): Promise => { + // verify required parameter 'userId' is not null or undefined + assertParamExists('userLoginMigrationRollbackControllerMigrateUserLogin', 'userId', userId) + const localVarPath = `/user-login-migrations/users/{userId}/rollback-migration` + .replace(`{${"userId"}}`, encodeURIComponent(String(userId))); + // 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; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * UserLoginMigrationRollbackApi - functional programming interface + * @export + */ +export const UserLoginMigrationRollbackApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = UserLoginMigrationRollbackApiAxiosParamCreator(configuration) + return { + /** + * + * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async userLoginMigrationRollbackControllerMigrateUserLogin(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.userLoginMigrationRollbackControllerMigrateUserLogin(userId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * UserLoginMigrationRollbackApi - factory interface + * @export + */ +export const UserLoginMigrationRollbackApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = UserLoginMigrationRollbackApiFp(configuration) + return { + /** + * + * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + userLoginMigrationRollbackControllerMigrateUserLogin(userId: string, options?: any): AxiosPromise { + return localVarFp.userLoginMigrationRollbackControllerMigrateUserLogin(userId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * UserLoginMigrationRollbackApi - interface + * @export + * @interface UserLoginMigrationRollbackApi + */ +export interface UserLoginMigrationRollbackApiInterface { + /** + * + * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UserLoginMigrationRollbackApiInterface + */ + userLoginMigrationRollbackControllerMigrateUserLogin(userId: string, options?: any): AxiosPromise; + +} + +/** + * UserLoginMigrationRollbackApi - object-oriented interface + * @export + * @class UserLoginMigrationRollbackApi + * @extends {BaseAPI} + */ +export class UserLoginMigrationRollbackApi extends BaseAPI implements UserLoginMigrationRollbackApiInterface { + /** + * + * @param {string} userId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UserLoginMigrationRollbackApi + */ + public userLoginMigrationRollbackControllerMigrateUserLogin(userId: string, options?: any) { + return UserLoginMigrationRollbackApiFp(this.configuration).userLoginMigrationRollbackControllerMigrateUserLogin(userId, options).then((request) => request(this.axios, this.basePath)); + } +} + + /** * VideoConferenceApi - axios parameter creator * @export