/* tslint:disable */
/* eslint-disable */
/**
 * 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.
 */
/**
 *
 * @export
 */
export const TokenType = {
    OIDC_ACCESS_TOKEN: 'OIDC_ACCESS_TOKEN',
    OIDC_ID_TOKEN: 'OIDC_ID_TOKEN',
    PERSONAL_ACCESS_TOKEN: 'PERSONAL_ACCESS_TOKEN',
    WEBHOOK_MESSAGE_TOKEN: 'WEBHOOK_MESSAGE_TOKEN'
};
export function instanceOfTokenType(value) {
    for (const key in TokenType) {
        if (Object.prototype.hasOwnProperty.call(TokenType, key)) {
            if (TokenType[key] === value) {
                return true;
            }
        }
    }
    return false;
}
export function TokenTypeFromJSON(json) {
    return TokenTypeFromJSONTyped(json, false);
}
export function TokenTypeFromJSONTyped(json, ignoreDiscriminator) {
    return json;
}
export function TokenTypeToJSON(value) {
    return value;
}
export function TokenTypeToJSONTyped(value, ignoreDiscriminator) {
    return value;
}
//# sourceMappingURL=TokenType.js.map