/** * 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. */ /** * The request to look a principal alias up * @export * @interface PrincipalAliasRequest */ export interface PrincipalAliasRequest { /** * The alias to bind to the principal * @type {string} * @memberof PrincipalAliasRequest */ 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 PrincipalAliasRequest */ type?: PrincipalAliasRequestTypeEnum; } /** * @export */ export declare const PrincipalAliasRequestTypeEnum: { 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 PrincipalAliasRequestTypeEnum = typeof PrincipalAliasRequestTypeEnum[keyof typeof PrincipalAliasRequestTypeEnum]; /** * Check if a given object implements the PrincipalAliasRequest interface. */ export declare function instanceOfPrincipalAliasRequest(value: object): value is PrincipalAliasRequest; export declare function PrincipalAliasRequestFromJSON(json: any): PrincipalAliasRequest; export declare function PrincipalAliasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrincipalAliasRequest; export declare function PrincipalAliasRequestToJSON(json: any): PrincipalAliasRequest; export declare function PrincipalAliasRequestToJSONTyped(value?: PrincipalAliasRequest | null, ignoreDiscriminator?: boolean): any;