/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request to check if an alias is available. * @export * @interface AliasCheckRequest */ export interface AliasCheckRequest { /** * The alias to check * @type {string} * @memberof AliasCheckRequest */ alias?: string; /** * The enumeration of the possible alias types that can be bound to a principal. Note, these names must match those in AliasEnum. For an OAuthProvider type the matching alias is prefixed with USER_ * @type {string} * @memberof AliasCheckRequest */ type?: AliasCheckRequestTypeEnum; } /** * @export */ export declare const AliasCheckRequestTypeEnum: { readonly USER_NAME: "USER_NAME"; readonly TEAM_NAME: "TEAM_NAME"; readonly USER_EMAIL: "USER_EMAIL"; readonly USER_OPEN_ID: "USER_OPEN_ID"; readonly USER_ORCID: "USER_ORCID"; }; export type AliasCheckRequestTypeEnum = typeof AliasCheckRequestTypeEnum[keyof typeof AliasCheckRequestTypeEnum]; /** * Check if a given object implements the AliasCheckRequest interface. */ export declare function instanceOfAliasCheckRequest(value: object): value is AliasCheckRequest; export declare function AliasCheckRequestFromJSON(json: any): AliasCheckRequest; export declare function AliasCheckRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AliasCheckRequest; export declare function AliasCheckRequestToJSON(json: any): AliasCheckRequest; export declare function AliasCheckRequestToJSONTyped(value?: AliasCheckRequest | null, ignoreDiscriminator?: boolean): any;