/* tslint:disable */ /* eslint-disable */ /** * Identity Security Cloud API - Account Activities * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. * * 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. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; // Some imports not used depending on template conditions // @ts-ignore import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common'; import type { RequestArgs } from './base'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base'; /** * * @export * @interface AccountActivity */ export interface AccountActivity { /** * Id of the account activity * @type {string} * @memberof AccountActivity */ 'id'?: string; /** * The name of the activity * @type {string} * @memberof AccountActivity */ 'name'?: string; /** * When the activity was first created * @type {string} * @memberof AccountActivity */ 'created'?: string; /** * When the activity was last modified * @type {string} * @memberof AccountActivity */ 'modified'?: string | null; /** * When the activity was completed * @type {string} * @memberof AccountActivity */ 'completed'?: string | null; /** * * @type {CompletionStatus} * @memberof AccountActivity */ 'completionStatus'?: CompletionStatus | null; /** * The type of action the activity performed. Please see the following list of types. This list may grow over time. - CloudAutomated - IdentityAttributeUpdate - appRequest - LifecycleStateChange - AccountStateUpdate - AccountAttributeUpdate - CloudPasswordRequest - Attribute Synchronization Refresh - Certification - Identity Refresh - Lifecycle Change Refresh [Learn more here](https://documentation.sailpoint.com/saas/help/search/searchable-fields.html#searching-account-activity-data). * @type {string} * @memberof AccountActivity */ 'type'?: string | null; /** * * @type {IdentitySummary} * @memberof AccountActivity */ 'requesterIdentitySummary'?: IdentitySummary | null; /** * * @type {IdentitySummary} * @memberof AccountActivity */ 'targetIdentitySummary'?: IdentitySummary | null; /** * A list of error messages, if any, that were encountered. * @type {Array} * @memberof AccountActivity */ 'errors'?: Array | null; /** * A list of warning messages, if any, that were encountered. * @type {Array} * @memberof AccountActivity */ 'warnings'?: Array | null; /** * Individual actions performed as part of this account activity * @type {Array} * @memberof AccountActivity */ 'items'?: Array | null; /** * * @type {ExecutionStatus} * @memberof AccountActivity */ 'executionStatus'?: ExecutionStatus; /** * Arbitrary key-value pairs, if any were included in the corresponding access request * @type {{ [key: string]: string; }} * @memberof AccountActivity */ 'clientMetadata'?: { [key: string]: string; } | null; } /** * The state of an approval status * @export * @enum {string} */ export const AccountActivityApprovalStatus = { Finished: 'FINISHED', Rejected: 'REJECTED', Returned: 'RETURNED', Expired: 'EXPIRED', Pending: 'PENDING', Canceled: 'CANCELED' } as const; export type AccountActivityApprovalStatus = typeof AccountActivityApprovalStatus[keyof typeof AccountActivityApprovalStatus]; /** * * @export * @interface AccountActivityItem */ export interface AccountActivityItem { /** * Item id * @type {string} * @memberof AccountActivityItem */ 'id'?: string; /** * Human-readable display name of item * @type {string} * @memberof AccountActivityItem */ 'name'?: string; /** * Date and time item was requested * @type {string} * @memberof AccountActivityItem */ 'requested'?: string; /** * * @type {AccountActivityApprovalStatus} * @memberof AccountActivityItem */ 'approvalStatus'?: AccountActivityApprovalStatus | null; /** * * @type {ProvisioningState} * @memberof AccountActivityItem */ 'provisioningStatus'?: ProvisioningState; /** * * @type {Comment} * @memberof AccountActivityItem */ 'requesterComment'?: Comment | null; /** * * @type {IdentitySummary} * @memberof AccountActivityItem */ 'reviewerIdentitySummary'?: IdentitySummary | null; /** * * @type {Comment} * @memberof AccountActivityItem */ 'reviewerComment'?: Comment | null; /** * * @type {AccountActivityItemOperation} * @memberof AccountActivityItem */ 'operation'?: AccountActivityItemOperation | null; /** * Attribute to which account activity applies * @type {string} * @memberof AccountActivityItem */ 'attribute'?: string | null; /** * Value of attribute * @type {string} * @memberof AccountActivityItem */ 'value'?: string | null; /** * Native identity in the target system to which the account activity applies * @type {string} * @memberof AccountActivityItem */ 'nativeIdentity'?: string | null; /** * Id of Source to which account activity applies * @type {string} * @memberof AccountActivityItem */ 'sourceId'?: string; /** * * @type {AccountRequestInfo} * @memberof AccountActivityItem */ 'accountRequestInfo'?: AccountRequestInfo | null; /** * Arbitrary key-value pairs, if any were included in the corresponding access request item * @type {{ [key: string]: string; }} * @memberof AccountActivityItem */ 'clientMetadata'?: { [key: string]: string; } | null; /** * The date the role or access profile or entitlement is no longer assigned to the specified identity. * @type {string} * @memberof AccountActivityItem */ 'removeDate'?: string | null; } /** * Represents an operation in an account activity item * @export * @enum {string} */ export const AccountActivityItemOperation = { Add: 'ADD', Create: 'CREATE', Modify: 'MODIFY', Delete: 'DELETE', Disable: 'DISABLE', Enable: 'ENABLE', Unlock: 'UNLOCK', Lock: 'LOCK', Remove: 'REMOVE', Set: 'SET' } as const; export type AccountActivityItemOperation = typeof AccountActivityItemOperation[keyof typeof AccountActivityItemOperation]; /** * If an account activity item is associated with an access request, captures details of that request. * @export * @interface AccountRequestInfo */ export interface AccountRequestInfo { /** * Id of requested object * @type {string} * @memberof AccountRequestInfo */ 'requestedObjectId'?: string; /** * Human-readable name of requested object * @type {string} * @memberof AccountRequestInfo */ 'requestedObjectName'?: string; /** * * @type {RequestableObjectType} * @memberof AccountRequestInfo */ 'requestedObjectType'?: RequestableObjectType; } /** * * @export * @interface Comment */ export interface Comment { /** * Id of the identity making the comment * @type {string} * @memberof Comment */ 'commenterId'?: string; /** * Human-readable display name of the identity making the comment * @type {string} * @memberof Comment */ 'commenterName'?: string; /** * Content of the comment * @type {string} * @memberof Comment */ 'body'?: string; /** * Date and time comment was made * @type {string} * @memberof Comment */ 'date'?: string; } /** * The status after completion. * @export * @enum {string} */ export const CompletionStatus = { Success: 'SUCCESS', Failure: 'FAILURE', Incomplete: 'INCOMPLETE', Pending: 'PENDING' } as const; export type CompletionStatus = typeof CompletionStatus[keyof typeof CompletionStatus]; /** * * @export * @interface ErrorMessageDto */ export interface ErrorMessageDto { /** * The locale for the message text, a BCP 47 language tag. * @type {string} * @memberof ErrorMessageDto */ 'locale'?: string | null; /** * * @type {LocaleOrigin} * @memberof ErrorMessageDto */ 'localeOrigin'?: LocaleOrigin | null; /** * Actual text of the error message in the indicated locale. * @type {string} * @memberof ErrorMessageDto */ 'text'?: string; } /** * * @export * @interface ErrorResponseDto */ export interface ErrorResponseDto { /** * Fine-grained error code providing more detail of the error. * @type {string} * @memberof ErrorResponseDto */ 'detailCode'?: string; /** * Unique tracking id for the error. * @type {string} * @memberof ErrorResponseDto */ 'trackingId'?: string; /** * Generic localized reason for error * @type {Array} * @memberof ErrorResponseDto */ 'messages'?: Array; /** * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field * @type {Array} * @memberof ErrorResponseDto */ 'causes'?: Array; } /** * The current state of execution. * @export * @enum {string} */ export const ExecutionStatus = { Executing: 'EXECUTING', Verifying: 'VERIFYING', Terminated: 'TERMINATED', Completed: 'COMPLETED' } as const; export type ExecutionStatus = typeof ExecutionStatus[keyof typeof ExecutionStatus]; /** * * @export * @interface IdentitySummary */ export interface IdentitySummary { /** * ID of this identity summary * @type {string} * @memberof IdentitySummary */ 'id'?: string; /** * Human-readable display name of identity * @type {string} * @memberof IdentitySummary */ 'name'?: string; /** * ID of the identity that this summary represents * @type {string} * @memberof IdentitySummary */ 'identityId'?: string; /** * Indicates if all access items for this summary have been decided on * @type {boolean} * @memberof IdentitySummary */ 'completed'?: boolean; } /** * * @export * @interface ListAccountActivitiesV1401Response */ export interface ListAccountActivitiesV1401Response { /** * A message describing the error * @type {any} * @memberof ListAccountActivitiesV1401Response */ 'error'?: any; } /** * * @export * @interface ListAccountActivitiesV1429Response */ export interface ListAccountActivitiesV1429Response { /** * A message describing the error * @type {any} * @memberof ListAccountActivitiesV1429Response */ 'message'?: any; } /** * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice. * @export * @enum {string} */ export const LocaleOrigin = { Default: 'DEFAULT', Request: 'REQUEST' } as const; export type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin]; /** * Provisioning state of an account activity item * @export * @enum {string} */ export const ProvisioningState = { Pending: 'PENDING', Finished: 'FINISHED', Unverifiable: 'UNVERIFIABLE', Commited: 'COMMITED', Failed: 'FAILED', Retry: 'RETRY' } as const; export type ProvisioningState = typeof ProvisioningState[keyof typeof ProvisioningState]; /** * Currently supported requestable object types. * @export * @enum {string} */ export const RequestableObjectType = { AccessProfile: 'ACCESS_PROFILE', Role: 'ROLE', Entitlement: 'ENTITLEMENT' } as const; export type RequestableObjectType = typeof RequestableObjectType[keyof typeof RequestableObjectType]; /** * AccountActivitiesApi - axios parameter creator * @export */ export const AccountActivitiesApiAxiosParamCreator = function (configuration?: Configuration) { return { /** * This gets a single account activity by its id. * @summary Get an account activity * @param {string} id The account activity id * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ getAccountActivityV1: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getAccountActivityV1', 'id', id) const localVarPath = `/account-activities/v1/{id}` .replace(`{${"id"}}`, encodeURIComponent(String(id))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, /** * This gets a collection of account activities that satisfy the given query parameters. * @summary List account activities * @param {string} [requestedFor] The identity that the activity was requested for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. * @param {string} [requestedBy] The identity that requested the activity. *me* indicates the current user. Mutually exclusive with *regarding-identity*. * @param {string} [regardingIdentity] The specified identity will be either the requester or target of the account activity. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq, in, ge, le, lt, ne, isnull, sw* **created**: *gt, lt, ge, le, eq, in, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, isnull, sw* * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **type, created, modified** * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ listAccountActivitiesV1: async (requestedFor?: string, requestedBy?: string, regardingIdentity?: string, limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/account-activities/v1`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; if (requestedFor !== undefined) { localVarQueryParameter['requested-for'] = requestedFor; } if (requestedBy !== undefined) { localVarQueryParameter['requested-by'] = requestedBy; } if (regardingIdentity !== undefined) { localVarQueryParameter['regarding-identity'] = regardingIdentity; } if (limit !== undefined) { localVarQueryParameter['limit'] = limit; } if (offset !== undefined) { localVarQueryParameter['offset'] = offset; } if (count !== undefined) { localVarQueryParameter['count'] = count; } if (filters !== undefined) { localVarQueryParameter['filters'] = filters; } if (sorters !== undefined) { localVarQueryParameter['sorters'] = sorters; } setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, } }; /** * AccountActivitiesApi - functional programming interface * @export */ export const AccountActivitiesApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = AccountActivitiesApiAxiosParamCreator(configuration) return { /** * This gets a single account activity by its id. * @summary Get an account activity * @param {string} id The account activity id * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async getAccountActivityV1(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountActivityV1(id, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['AccountActivitiesApi.getAccountActivityV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This gets a collection of account activities that satisfy the given query parameters. * @summary List account activities * @param {string} [requestedFor] The identity that the activity was requested for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. * @param {string} [requestedBy] The identity that requested the activity. *me* indicates the current user. Mutually exclusive with *regarding-identity*. * @param {string} [regardingIdentity] The specified identity will be either the requester or target of the account activity. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq, in, ge, le, lt, ne, isnull, sw* **created**: *gt, lt, ge, le, eq, in, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, isnull, sw* * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **type, created, modified** * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async listAccountActivitiesV1(requestedFor?: string, requestedBy?: string, regardingIdentity?: string, limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountActivitiesV1(requestedFor, requestedBy, regardingIdentity, limit, offset, count, filters, sorters, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['AccountActivitiesApi.listAccountActivitiesV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, } }; /** * AccountActivitiesApi - factory interface * @export */ export const AccountActivitiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = AccountActivitiesApiFp(configuration) return { /** * This gets a single account activity by its id. * @summary Get an account activity * @param {AccountActivitiesApiGetAccountActivityV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ getAccountActivityV1(requestParameters: AccountActivitiesApiGetAccountActivityV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAccountActivityV1(requestParameters.id, axiosOptions).then((request) => request(axios, basePath)); }, /** * This gets a collection of account activities that satisfy the given query parameters. * @summary List account activities * @param {AccountActivitiesApiListAccountActivitiesV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ listAccountActivitiesV1(requestParameters: AccountActivitiesApiListAccountActivitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.listAccountActivitiesV1(requestParameters.requestedFor, requestParameters.requestedBy, requestParameters.regardingIdentity, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath)); }, }; }; /** * Request parameters for getAccountActivityV1 operation in AccountActivitiesApi. * @export * @interface AccountActivitiesApiGetAccountActivityV1Request */ export interface AccountActivitiesApiGetAccountActivityV1Request { /** * The account activity id * @type {string} * @memberof AccountActivitiesApiGetAccountActivityV1 */ readonly id: string } /** * Request parameters for listAccountActivitiesV1 operation in AccountActivitiesApi. * @export * @interface AccountActivitiesApiListAccountActivitiesV1Request */ export interface AccountActivitiesApiListAccountActivitiesV1Request { /** * The identity that the activity was requested for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. * @type {string} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly requestedFor?: string /** * The identity that requested the activity. *me* indicates the current user. Mutually exclusive with *regarding-identity*. * @type {string} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly requestedBy?: string /** * The specified identity will be either the requester or target of the account activity. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. * @type {string} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly regardingIdentity?: string /** * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @type {number} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly limit?: number /** * Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @type {number} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly offset?: number /** * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @type {boolean} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly count?: boolean /** * Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq, in, ge, le, lt, ne, isnull, sw* **created**: *gt, lt, ge, le, eq, in, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, isnull, sw* * @type {string} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly filters?: string /** * Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **type, created, modified** * @type {string} * @memberof AccountActivitiesApiListAccountActivitiesV1 */ readonly sorters?: string } /** * AccountActivitiesApi - object-oriented interface * @export * @class AccountActivitiesApi * @extends {BaseAPI} */ export class AccountActivitiesApi extends BaseAPI { /** * This gets a single account activity by its id. * @summary Get an account activity * @param {AccountActivitiesApiGetAccountActivityV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof AccountActivitiesApi */ public getAccountActivityV1(requestParameters: AccountActivitiesApiGetAccountActivityV1Request, axiosOptions?: RawAxiosRequestConfig) { return AccountActivitiesApiFp(this.configuration).getAccountActivityV1(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This gets a collection of account activities that satisfy the given query parameters. * @summary List account activities * @param {AccountActivitiesApiListAccountActivitiesV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof AccountActivitiesApi */ public listAccountActivitiesV1(requestParameters: AccountActivitiesApiListAccountActivitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig) { return AccountActivitiesApiFp(this.configuration).listAccountActivitiesV1(requestParameters.requestedFor, requestParameters.requestedBy, requestParameters.regardingIdentity, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath)); } }