/** * Permit.io API * Authorization as a service * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { PaginatedResultActivityLogEventRead } from '../types'; /** * ActivityLogApi - axios parameter creator * @export */ export declare const ActivityLogApiAxiosParamCreator: (configuration?: Configuration) => { /** * Fetches all API History events for given filters. * @summary List Activity Events * @param {Array} [actorId] Actor ID to search * @param {string} [actorDisplayName] Actor display name to search * @param {Array} [actorType] Actor type to search (member, user, api_key) * @param {Array} [projectId] Projects to include in search * @param {Array} [envId] Environments to include in search * @param {number} [timestampFrom] Retrieve only events after this timestamp (seconds since epoch) * @param {number} [timestampUntil] Retrieve only events before this timestamp (seconds since epoch) * @param {number} [page] Page number of the results to fetch, starting at 1. * @param {number} [perPage] The number of results per page (max 100). * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActivityEvents: (actorId?: Array, actorDisplayName?: string, actorType?: Array, projectId?: Array, envId?: Array, timestampFrom?: number, timestampUntil?: number, page?: number, perPage?: number, options?: AxiosRequestConfig) => Promise; /** * * @summary List Activity Types * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActivityTypes: (options?: AxiosRequestConfig) => Promise; }; /** * ActivityLogApi - functional programming interface * @export */ export declare const ActivityLogApiFp: (configuration?: Configuration) => { /** * Fetches all API History events for given filters. * @summary List Activity Events * @param {Array} [actorId] Actor ID to search * @param {string} [actorDisplayName] Actor display name to search * @param {Array} [actorType] Actor type to search (member, user, api_key) * @param {Array} [projectId] Projects to include in search * @param {Array} [envId] Environments to include in search * @param {number} [timestampFrom] Retrieve only events after this timestamp (seconds since epoch) * @param {number} [timestampUntil] Retrieve only events before this timestamp (seconds since epoch) * @param {number} [page] Page number of the results to fetch, starting at 1. * @param {number} [perPage] The number of results per page (max 100). * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActivityEvents(actorId?: Array, actorDisplayName?: string, actorType?: Array, projectId?: Array, envId?: Array, timestampFrom?: number, timestampUntil?: number, page?: number, perPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List Activity Types * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActivityTypes(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ActivityLogApi - factory interface * @export */ export declare const ActivityLogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Fetches all API History events for given filters. * @summary List Activity Events * @param {Array} [actorId] Actor ID to search * @param {string} [actorDisplayName] Actor display name to search * @param {Array} [actorType] Actor type to search (member, user, api_key) * @param {Array} [projectId] Projects to include in search * @param {Array} [envId] Environments to include in search * @param {number} [timestampFrom] Retrieve only events after this timestamp (seconds since epoch) * @param {number} [timestampUntil] Retrieve only events before this timestamp (seconds since epoch) * @param {number} [page] Page number of the results to fetch, starting at 1. * @param {number} [perPage] The number of results per page (max 100). * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActivityEvents(actorId?: Array, actorDisplayName?: string, actorType?: Array, projectId?: Array, envId?: Array, timestampFrom?: number, timestampUntil?: number, page?: number, perPage?: number, options?: any): AxiosPromise; /** * * @summary List Activity Types * @param {*} [options] Override http request option. * @throws {RequiredError} */ listActivityTypes(options?: any): AxiosPromise; }; /** * Request parameters for listActivityEvents operation in ActivityLogApi. * @export * @interface ActivityLogApiListActivityEventsRequest */ export interface ActivityLogApiListActivityEventsRequest { /** * Actor ID to search * @type {Array} * @memberof ActivityLogApiListActivityEvents */ readonly actorId?: Array; /** * Actor display name to search * @type {string} * @memberof ActivityLogApiListActivityEvents */ readonly actorDisplayName?: string; /** * Actor type to search (member, user, api_key) * @type {Array} * @memberof ActivityLogApiListActivityEvents */ readonly actorType?: Array; /** * Projects to include in search * @type {Array} * @memberof ActivityLogApiListActivityEvents */ readonly projectId?: Array; /** * Environments to include in search * @type {Array} * @memberof ActivityLogApiListActivityEvents */ readonly envId?: Array; /** * Retrieve only events after this timestamp (seconds since epoch) * @type {number} * @memberof ActivityLogApiListActivityEvents */ readonly timestampFrom?: number; /** * Retrieve only events before this timestamp (seconds since epoch) * @type {number} * @memberof ActivityLogApiListActivityEvents */ readonly timestampUntil?: number; /** * Page number of the results to fetch, starting at 1. * @type {number} * @memberof ActivityLogApiListActivityEvents */ readonly page?: number; /** * The number of results per page (max 100). * @type {number} * @memberof ActivityLogApiListActivityEvents */ readonly perPage?: number; } /** * ActivityLogApi - object-oriented interface * @export * @class ActivityLogApi * @extends {BaseAPI} */ export declare class ActivityLogApi extends BaseAPI { /** * Fetches all API History events for given filters. * @summary List Activity Events * @param {ActivityLogApiListActivityEventsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActivityLogApi */ listActivityEvents(requestParameters?: ActivityLogApiListActivityEventsRequest, options?: AxiosRequestConfig): Promise>; /** * * @summary List Activity Types * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActivityLogApi */ listActivityTypes(options?: AxiosRequestConfig): Promise>; }