"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventsTransportsListModeEnum = exports.EventsRulesListSeverityEnum = exports.EventsNotificationsListSeverityEnum = exports.EventsEventsVolumeListActionsEnum = exports.EventsEventsListActionsEnum = exports.EventsApi = void 0;
const runtime = __importStar(require("../runtime"));
const index_1 = require("../models/index");
/**
 *
 */
class EventsApi extends runtime.BaseAPI {
    /**
     * Get all actions
     */
    async eventsEventsActionsListRaw(initOverrides) {
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/actions/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TypeCreateFromJSON));
    }
    /**
     * Get all actions
     */
    async eventsEventsActionsList(initOverrides) {
        const response = await this.eventsEventsActionsListRaw(initOverrides);
        return await response.value();
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsCreateRaw(requestParameters, initOverrides) {
        if (requestParameters['eventRequest'] == null) {
            throw new runtime.RequiredError('eventRequest', 'Required parameter "eventRequest" was null or undefined when calling eventsEventsCreate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.EventRequestToJSON)(requestParameters['eventRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EventFromJSON)(jsonValue));
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsCreate(requestParameters, initOverrides) {
        const response = await this.eventsEventsCreateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsDestroyRaw(requestParameters, initOverrides) {
        if (requestParameters['eventUuid'] == null) {
            throw new runtime.RequiredError('eventUuid', 'Required parameter "eventUuid" was null or undefined when calling eventsEventsDestroy().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/{event_uuid}/`;
        urlPath = urlPath.replace(`{${"event_uuid"}}`, encodeURIComponent(String(requestParameters['eventUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsDestroy(requestParameters, initOverrides) {
        await this.eventsEventsDestroyRaw(requestParameters, initOverrides);
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsListRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['action'] != null) {
            queryParameters['action'] = requestParameters['action'];
        }
        if (requestParameters['actions'] != null) {
            queryParameters['actions'] = requestParameters['actions'];
        }
        if (requestParameters['brandName'] != null) {
            queryParameters['brand_name'] = requestParameters['brandName'];
        }
        if (requestParameters['clientIp'] != null) {
            queryParameters['client_ip'] = requestParameters['clientIp'];
        }
        if (requestParameters['contextAuthorizedApp'] != null) {
            queryParameters['context_authorized_app'] = requestParameters['contextAuthorizedApp'];
        }
        if (requestParameters['contextModelApp'] != null) {
            queryParameters['context_model_app'] = requestParameters['contextModelApp'];
        }
        if (requestParameters['contextModelName'] != null) {
            queryParameters['context_model_name'] = requestParameters['contextModelName'];
        }
        if (requestParameters['contextModelPk'] != null) {
            queryParameters['context_model_pk'] = requestParameters['contextModelPk'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['page'] != null) {
            queryParameters['page'] = requestParameters['page'];
        }
        if (requestParameters['pageSize'] != null) {
            queryParameters['page_size'] = requestParameters['pageSize'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['username'] != null) {
            queryParameters['username'] = requestParameters['username'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedEventListFromJSON)(jsonValue));
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsList(requestParameters = {}, initOverrides) {
        const response = await this.eventsEventsListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsPartialUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['eventUuid'] == null) {
            throw new runtime.RequiredError('eventUuid', 'Required parameter "eventUuid" was null or undefined when calling eventsEventsPartialUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/{event_uuid}/`;
        urlPath = urlPath.replace(`{${"event_uuid"}}`, encodeURIComponent(String(requestParameters['eventUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PATCH',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.PatchedEventRequestToJSON)(requestParameters['patchedEventRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EventFromJSON)(jsonValue));
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsPartialUpdate(requestParameters, initOverrides) {
        const response = await this.eventsEventsPartialUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsRetrieveRaw(requestParameters, initOverrides) {
        if (requestParameters['eventUuid'] == null) {
            throw new runtime.RequiredError('eventUuid', 'Required parameter "eventUuid" was null or undefined when calling eventsEventsRetrieve().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/{event_uuid}/`;
        urlPath = urlPath.replace(`{${"event_uuid"}}`, encodeURIComponent(String(requestParameters['eventUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EventFromJSON)(jsonValue));
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsRetrieve(requestParameters, initOverrides) {
        const response = await this.eventsEventsRetrieveRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Get the top_n events grouped by user count
     */
    async eventsEventsTopPerUserListRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['action'] != null) {
            queryParameters['action'] = requestParameters['action'];
        }
        if (requestParameters['topN'] != null) {
            queryParameters['top_n'] = requestParameters['topN'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/top_per_user/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.EventTopPerUserFromJSON));
    }
    /**
     * Get the top_n events grouped by user count
     */
    async eventsEventsTopPerUserList(requestParameters = {}, initOverrides) {
        const response = await this.eventsEventsTopPerUserListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['eventUuid'] == null) {
            throw new runtime.RequiredError('eventUuid', 'Required parameter "eventUuid" was null or undefined when calling eventsEventsUpdate().');
        }
        if (requestParameters['eventRequest'] == null) {
            throw new runtime.RequiredError('eventRequest', 'Required parameter "eventRequest" was null or undefined when calling eventsEventsUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/{event_uuid}/`;
        urlPath = urlPath.replace(`{${"event_uuid"}}`, encodeURIComponent(String(requestParameters['eventUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.EventRequestToJSON)(requestParameters['eventRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EventFromJSON)(jsonValue));
    }
    /**
     * Event Read-Only Viewset
     */
    async eventsEventsUpdate(requestParameters, initOverrides) {
        const response = await this.eventsEventsUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Get event volume for specified filters and timeframe
     */
    async eventsEventsVolumeListRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['action'] != null) {
            queryParameters['action'] = requestParameters['action'];
        }
        if (requestParameters['actions'] != null) {
            queryParameters['actions'] = requestParameters['actions'];
        }
        if (requestParameters['brandName'] != null) {
            queryParameters['brand_name'] = requestParameters['brandName'];
        }
        if (requestParameters['clientIp'] != null) {
            queryParameters['client_ip'] = requestParameters['clientIp'];
        }
        if (requestParameters['contextAuthorizedApp'] != null) {
            queryParameters['context_authorized_app'] = requestParameters['contextAuthorizedApp'];
        }
        if (requestParameters['contextModelApp'] != null) {
            queryParameters['context_model_app'] = requestParameters['contextModelApp'];
        }
        if (requestParameters['contextModelName'] != null) {
            queryParameters['context_model_name'] = requestParameters['contextModelName'];
        }
        if (requestParameters['contextModelPk'] != null) {
            queryParameters['context_model_pk'] = requestParameters['contextModelPk'];
        }
        if (requestParameters['historyDays'] != null) {
            queryParameters['history_days'] = requestParameters['historyDays'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['username'] != null) {
            queryParameters['username'] = requestParameters['username'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/events/volume/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.EventVolumeFromJSON));
    }
    /**
     * Get event volume for specified filters and timeframe
     */
    async eventsEventsVolumeList(requestParameters = {}, initOverrides) {
        const response = await this.eventsEventsVolumeListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsDestroyRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsNotificationsDestroy().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsDestroy(requestParameters, initOverrides) {
        await this.eventsNotificationsDestroyRaw(requestParameters, initOverrides);
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsListRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['body'] != null) {
            queryParameters['body'] = requestParameters['body'];
        }
        if (requestParameters['created'] != null) {
            queryParameters['created'] = requestParameters['created'].toISOString();
        }
        if (requestParameters['event'] != null) {
            queryParameters['event'] = requestParameters['event'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['page'] != null) {
            queryParameters['page'] = requestParameters['page'];
        }
        if (requestParameters['pageSize'] != null) {
            queryParameters['page_size'] = requestParameters['pageSize'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['seen'] != null) {
            queryParameters['seen'] = requestParameters['seen'];
        }
        if (requestParameters['severity'] != null) {
            queryParameters['severity'] = requestParameters['severity'];
        }
        if (requestParameters['user'] != null) {
            queryParameters['user'] = requestParameters['user'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedNotificationListFromJSON)(jsonValue));
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsList(requestParameters = {}, initOverrides) {
        const response = await this.eventsNotificationsListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Mark all the user\'s notifications as seen
     */
    async eventsNotificationsMarkAllSeenCreateRaw(initOverrides) {
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/mark_all_seen/`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * Mark all the user\'s notifications as seen
     */
    async eventsNotificationsMarkAllSeenCreate(initOverrides) {
        await this.eventsNotificationsMarkAllSeenCreateRaw(initOverrides);
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsPartialUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsNotificationsPartialUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PATCH',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.PatchedNotificationRequestToJSON)(requestParameters['patchedNotificationRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationFromJSON)(jsonValue));
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsPartialUpdate(requestParameters, initOverrides) {
        const response = await this.eventsNotificationsPartialUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsRetrieveRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsNotificationsRetrieve().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationFromJSON)(jsonValue));
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsRetrieve(requestParameters, initOverrides) {
        const response = await this.eventsNotificationsRetrieveRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsNotificationsUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.NotificationRequestToJSON)(requestParameters['notificationRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationFromJSON)(jsonValue));
    }
    /**
     * Notification Viewset
     */
    async eventsNotificationsUpdate(requestParameters, initOverrides) {
        const response = await this.eventsNotificationsUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Get a list of all objects that use this object
     */
    async eventsNotificationsUsedByListRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsNotificationsUsedByList().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/notifications/{uuid}/used_by/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UsedByFromJSON));
    }
    /**
     * Get a list of all objects that use this object
     */
    async eventsNotificationsUsedByList(requestParameters, initOverrides) {
        const response = await this.eventsNotificationsUsedByListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesCreateRaw(requestParameters, initOverrides) {
        if (requestParameters['notificationRuleRequest'] == null) {
            throw new runtime.RequiredError('notificationRuleRequest', 'Required parameter "notificationRuleRequest" was null or undefined when calling eventsRulesCreate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.NotificationRuleRequestToJSON)(requestParameters['notificationRuleRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationRuleFromJSON)(jsonValue));
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesCreate(requestParameters, initOverrides) {
        const response = await this.eventsRulesCreateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesDestroyRaw(requestParameters, initOverrides) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling eventsRulesDestroy().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesDestroy(requestParameters, initOverrides) {
        await this.eventsRulesDestroyRaw(requestParameters, initOverrides);
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesListRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['destinationGroupName'] != null) {
            queryParameters['destination_group__name'] = requestParameters['destinationGroupName'];
        }
        if (requestParameters['name'] != null) {
            queryParameters['name'] = requestParameters['name'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['page'] != null) {
            queryParameters['page'] = requestParameters['page'];
        }
        if (requestParameters['pageSize'] != null) {
            queryParameters['page_size'] = requestParameters['pageSize'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['severity'] != null) {
            queryParameters['severity'] = requestParameters['severity'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedNotificationRuleListFromJSON)(jsonValue));
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesList(requestParameters = {}, initOverrides) {
        const response = await this.eventsRulesListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesPartialUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling eventsRulesPartialUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PATCH',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.PatchedNotificationRuleRequestToJSON)(requestParameters['patchedNotificationRuleRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationRuleFromJSON)(jsonValue));
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesPartialUpdate(requestParameters, initOverrides) {
        const response = await this.eventsRulesPartialUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesRetrieveRaw(requestParameters, initOverrides) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling eventsRulesRetrieve().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationRuleFromJSON)(jsonValue));
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesRetrieve(requestParameters, initOverrides) {
        const response = await this.eventsRulesRetrieveRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling eventsRulesUpdate().');
        }
        if (requestParameters['notificationRuleRequest'] == null) {
            throw new runtime.RequiredError('notificationRuleRequest', 'Required parameter "notificationRuleRequest" was null or undefined when calling eventsRulesUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.NotificationRuleRequestToJSON)(requestParameters['notificationRuleRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationRuleFromJSON)(jsonValue));
    }
    /**
     * NotificationRule Viewset
     */
    async eventsRulesUpdate(requestParameters, initOverrides) {
        const response = await this.eventsRulesUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Get a list of all objects that use this object
     */
    async eventsRulesUsedByListRaw(requestParameters, initOverrides) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling eventsRulesUsedByList().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/rules/{pbm_uuid}/used_by/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UsedByFromJSON));
    }
    /**
     * Get a list of all objects that use this object
     */
    async eventsRulesUsedByList(requestParameters, initOverrides) {
        const response = await this.eventsRulesUsedByListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsCreateRaw(requestParameters, initOverrides) {
        if (requestParameters['notificationTransportRequest'] == null) {
            throw new runtime.RequiredError('notificationTransportRequest', 'Required parameter "notificationTransportRequest" was null or undefined when calling eventsTransportsCreate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/`;
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.NotificationTransportRequestToJSON)(requestParameters['notificationTransportRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationTransportFromJSON)(jsonValue));
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsCreate(requestParameters, initOverrides) {
        const response = await this.eventsTransportsCreateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsDestroyRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsTransportsDestroy().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsDestroy(requestParameters, initOverrides) {
        await this.eventsTransportsDestroyRaw(requestParameters, initOverrides);
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsListRaw(requestParameters, initOverrides) {
        const queryParameters = {};
        if (requestParameters['mode'] != null) {
            queryParameters['mode'] = requestParameters['mode'];
        }
        if (requestParameters['name'] != null) {
            queryParameters['name'] = requestParameters['name'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['page'] != null) {
            queryParameters['page'] = requestParameters['page'];
        }
        if (requestParameters['pageSize'] != null) {
            queryParameters['page_size'] = requestParameters['pageSize'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['sendOnce'] != null) {
            queryParameters['send_once'] = requestParameters['sendOnce'];
        }
        if (requestParameters['webhookUrl'] != null) {
            queryParameters['webhook_url'] = requestParameters['webhookUrl'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/`;
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedNotificationTransportListFromJSON)(jsonValue));
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsList(requestParameters = {}, initOverrides) {
        const response = await this.eventsTransportsListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsPartialUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsTransportsPartialUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PATCH',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.PatchedNotificationTransportRequestToJSON)(requestParameters['patchedNotificationTransportRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationTransportFromJSON)(jsonValue));
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsPartialUpdate(requestParameters, initOverrides) {
        const response = await this.eventsTransportsPartialUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsRetrieveRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsTransportsRetrieve().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationTransportFromJSON)(jsonValue));
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsRetrieve(requestParameters, initOverrides) {
        const response = await this.eventsTransportsRetrieveRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Send example notification using selected transport. Requires Modify permissions.
     */
    async eventsTransportsTestCreateRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsTransportsTestCreate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/{uuid}/test/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationTransportTestFromJSON)(jsonValue));
    }
    /**
     * Send example notification using selected transport. Requires Modify permissions.
     */
    async eventsTransportsTestCreate(requestParameters, initOverrides) {
        const response = await this.eventsTransportsTestCreateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsUpdateRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsTransportsUpdate().');
        }
        if (requestParameters['notificationTransportRequest'] == null) {
            throw new runtime.RequiredError('notificationTransportRequest', 'Required parameter "notificationTransportRequest" was null or undefined when calling eventsTransportsUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/{uuid}/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.NotificationTransportRequestToJSON)(requestParameters['notificationTransportRequest']),
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NotificationTransportFromJSON)(jsonValue));
    }
    /**
     * NotificationTransport Viewset
     */
    async eventsTransportsUpdate(requestParameters, initOverrides) {
        const response = await this.eventsTransportsUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Get a list of all objects that use this object
     */
    async eventsTransportsUsedByListRaw(requestParameters, initOverrides) {
        if (requestParameters['uuid'] == null) {
            throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling eventsTransportsUsedByList().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/events/transports/{uuid}/used_by/`;
        urlPath = urlPath.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid'])));
        const response = await this.request({
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        }, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UsedByFromJSON));
    }
    /**
     * Get a list of all objects that use this object
     */
    async eventsTransportsUsedByList(requestParameters, initOverrides) {
        const response = await this.eventsTransportsUsedByListRaw(requestParameters, initOverrides);
        return await response.value();
    }
}
exports.EventsApi = EventsApi;
/**
 * @export
 */
exports.EventsEventsListActionsEnum = {
    AuthorizeApplication: 'authorize_application',
    ConfigurationError: 'configuration_error',
    Custom: 'custom_',
    EmailSent: 'email_sent',
    FlowExecution: 'flow_execution',
    ImpersonationEnded: 'impersonation_ended',
    ImpersonationStarted: 'impersonation_started',
    InvitationUsed: 'invitation_used',
    Login: 'login',
    LoginFailed: 'login_failed',
    Logout: 'logout',
    ModelCreated: 'model_created',
    ModelDeleted: 'model_deleted',
    ModelUpdated: 'model_updated',
    PasswordSet: 'password_set',
    PolicyException: 'policy_exception',
    PolicyExecution: 'policy_execution',
    PropertyMappingException: 'property_mapping_exception',
    SecretRotate: 'secret_rotate',
    SecretView: 'secret_view',
    SourceLinked: 'source_linked',
    SuspiciousRequest: 'suspicious_request',
    SystemException: 'system_exception',
    SystemTaskException: 'system_task_exception',
    SystemTaskExecution: 'system_task_execution',
    UpdateAvailable: 'update_available',
    UserWrite: 'user_write',
    UnknownDefaultOpenApi: '11184809'
};
/**
 * @export
 */
exports.EventsEventsVolumeListActionsEnum = {
    AuthorizeApplication: 'authorize_application',
    ConfigurationError: 'configuration_error',
    Custom: 'custom_',
    EmailSent: 'email_sent',
    FlowExecution: 'flow_execution',
    ImpersonationEnded: 'impersonation_ended',
    ImpersonationStarted: 'impersonation_started',
    InvitationUsed: 'invitation_used',
    Login: 'login',
    LoginFailed: 'login_failed',
    Logout: 'logout',
    ModelCreated: 'model_created',
    ModelDeleted: 'model_deleted',
    ModelUpdated: 'model_updated',
    PasswordSet: 'password_set',
    PolicyException: 'policy_exception',
    PolicyExecution: 'policy_execution',
    PropertyMappingException: 'property_mapping_exception',
    SecretRotate: 'secret_rotate',
    SecretView: 'secret_view',
    SourceLinked: 'source_linked',
    SuspiciousRequest: 'suspicious_request',
    SystemException: 'system_exception',
    SystemTaskException: 'system_task_exception',
    SystemTaskExecution: 'system_task_execution',
    UpdateAvailable: 'update_available',
    UserWrite: 'user_write',
    UnknownDefaultOpenApi: '11184809'
};
/**
 * @export
 */
exports.EventsNotificationsListSeverityEnum = {
    Alert: 'alert',
    Notice: 'notice',
    Warning: 'warning',
    UnknownDefaultOpenApi: '11184809'
};
/**
 * @export
 */
exports.EventsRulesListSeverityEnum = {
    Alert: 'alert',
    Notice: 'notice',
    Warning: 'warning',
    UnknownDefaultOpenApi: '11184809'
};
/**
 * @export
 */
exports.EventsTransportsListModeEnum = {
    Email: 'email',
    Local: 'local',
    Webhook: 'webhook',
    WebhookSlack: 'webhook_slack',
    UnknownDefaultOpenApi: '11184809'
};
//# sourceMappingURL=EventsApi.js.map