/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { ErrorCollection } from '../models'; export interface GetValidProjectKeyRequest { key?: string; } export interface GetValidProjectNameRequest { name: string; } export interface ValidateProjectKeyRequest { key?: string; } /** * no description */ export declare class ProjectKeyAndNameValidationApi extends runtime.BaseAPI { /** * Validates a project key and, if the key is invalid or in use, generates a valid random string for the project key. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Get valid project key */ getValidProjectKeyRaw(requestParameters: GetValidProjectKeyRequest): Promise>; /** * Validates a project key and, if the key is invalid or in use, generates a valid random string for the project key. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Get valid project key */ getValidProjectKey(requestParameters: GetValidProjectKeyRequest): Promise; /** * Checks that a project name isn\'t in use. If the name isn\'t in use, the passed string is returned. If the name is in use, this operation attempts to generate a valid project name based on the one supplied, usually by adding a sequence number. If a valid project name cannot be generated, a 404 response is returned. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Get valid project name */ getValidProjectNameRaw(requestParameters: GetValidProjectNameRequest): Promise>; /** * Checks that a project name isn\'t in use. If the name isn\'t in use, the passed string is returned. If the name is in use, this operation attempts to generate a valid project name based on the one supplied, usually by adding a sequence number. If a valid project name cannot be generated, a 404 response is returned. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Get valid project name */ getValidProjectName(requestParameters: GetValidProjectNameRequest): Promise; /** * Validates a project key by confirming the key is a valid string and not in use. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Validate project key */ validateProjectKeyRaw(requestParameters: ValidateProjectKeyRequest): Promise>; /** * Validates a project key by confirming the key is a valid string and not in use. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Validate project key */ validateProjectKey(requestParameters: ValidateProjectKeyRequest): Promise; }