/* tslint:disable */ /* eslint-disable */ /** * Identity Security Cloud API - Tagged Objects * 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 BulkAddTaggedObject */ export interface BulkAddTaggedObject { /** * * @type {Array} * @memberof BulkAddTaggedObject */ 'objectRefs'?: Array; /** * Label to be applied to an Object * @type {Array} * @memberof BulkAddTaggedObject */ 'tags'?: Array; /** * If APPEND, tags are appended to the list of tags for the object. A 400 error is returned if this would add duplicate tags to the object. If MERGE, tags are merged with the existing tags. Duplicate tags are silently ignored. * @type {string} * @memberof BulkAddTaggedObject */ 'operation'?: BulkAddTaggedObjectOperationEnum; } export const BulkAddTaggedObjectOperationEnum = { Append: 'APPEND', Merge: 'MERGE' } as const; export type BulkAddTaggedObjectOperationEnum = typeof BulkAddTaggedObjectOperationEnum[keyof typeof BulkAddTaggedObjectOperationEnum]; /** * * @export * @interface BulkRemoveTaggedObject */ export interface BulkRemoveTaggedObject { /** * * @type {Array} * @memberof BulkRemoveTaggedObject */ 'objectRefs'?: Array; /** * Label to be applied to an Object * @type {Array} * @memberof BulkRemoveTaggedObject */ 'tags'?: Array; } /** * * @export * @interface BulkTaggedObjectResponse */ export interface BulkTaggedObjectResponse { /** * * @type {Array} * @memberof BulkTaggedObjectResponse */ 'objectRefs'?: Array; /** * Label to be applied to an Object * @type {Array} * @memberof BulkTaggedObjectResponse */ 'tags'?: Array; } /** * * @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; } /** * * @export * @interface ListTaggedObjectsV1401Response */ export interface ListTaggedObjectsV1401Response { /** * A message describing the error * @type {any} * @memberof ListTaggedObjectsV1401Response */ 'error'?: any; } /** * * @export * @interface ListTaggedObjectsV1429Response */ export interface ListTaggedObjectsV1429Response { /** * A message describing the error * @type {any} * @memberof ListTaggedObjectsV1429Response */ '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]; /** * Tagged object. * @export * @interface TaggedObject */ export interface TaggedObject { /** * * @type {TaggedObjectDto} * @memberof TaggedObject */ 'objectRef'?: TaggedObjectDto; /** * Labels to be applied to an Object * @type {Array} * @memberof TaggedObject */ 'tags'?: Array; } /** * * @export * @interface TaggedObjectDto */ export interface TaggedObjectDto { /** * DTO type * @type {string} * @memberof TaggedObjectDto */ 'type'?: TaggedObjectDtoTypeEnum; /** * ID of the object this reference applies to * @type {string} * @memberof TaggedObjectDto */ 'id'?: string; /** * Human-readable display name of the object this reference applies to * @type {string} * @memberof TaggedObjectDto */ 'name'?: string | null; } export const TaggedObjectDtoTypeEnum = { AccessProfile: 'ACCESS_PROFILE', Application: 'APPLICATION', Campaign: 'CAMPAIGN', Entitlement: 'ENTITLEMENT', Identity: 'IDENTITY', Role: 'ROLE', SodPolicy: 'SOD_POLICY', Source: 'SOURCE' } as const; export type TaggedObjectDtoTypeEnum = typeof TaggedObjectDtoTypeEnum[keyof typeof TaggedObjectDtoTypeEnum]; /** * TaggedObjectsApi - axios parameter creator * @export */ export const TaggedObjectsApiAxiosParamCreator = function (configuration?: Configuration) { return { /** * Delete all tags from a tagged object. * @summary Delete object tags * @param {DeleteTaggedObjectV1TypeEnum} type The type of object to delete tags from. * @param {string} id The ID of the object to delete tags from. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ deleteTaggedObjectV1: async (type: DeleteTaggedObjectV1TypeEnum, id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'type' is not null or undefined assertParamExists('deleteTaggedObjectV1', 'type', type) // verify required parameter 'id' is not null or undefined assertParamExists('deleteTaggedObjectV1', 'id', id) const localVarPath = `/tagged-objects/v1/{type}/{id}` .replace(`{${"type"}}`, encodeURIComponent(String(type))) .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: 'DELETE', ...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 API removes tags from multiple objects. * @summary Remove tags from multiple objects * @param {BulkRemoveTaggedObject} bulkRemoveTaggedObject Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ deleteTagsToManyObjectV1: async (bulkRemoveTaggedObject: BulkRemoveTaggedObject, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'bulkRemoveTaggedObject' is not null or undefined assertParamExists('deleteTagsToManyObjectV1', 'bulkRemoveTaggedObject', bulkRemoveTaggedObject) const localVarPath = `/tagged-objects/v1/bulk-remove`; // 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: 'POST', ...baseOptions, ...axiosOptions}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; localVarRequestOptions.data = serializeDataIfNeeded(bulkRemoveTaggedObject, localVarRequestOptions, configuration) return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, /** * This gets a tagged object for the specified type. * @summary Get tagged object * @param {GetTaggedObjectV1TypeEnum} type The type of tagged object to retrieve. * @param {string} id The ID of the object reference to retrieve. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ getTaggedObjectV1: async (type: GetTaggedObjectV1TypeEnum, id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'type' is not null or undefined assertParamExists('getTaggedObjectV1', 'type', type) // verify required parameter 'id' is not null or undefined assertParamExists('getTaggedObjectV1', 'id', id) const localVarPath = `/tagged-objects/v1/{type}/{id}` .replace(`{${"type"}}`, encodeURIComponent(String(type))) .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 API returns a list of all tagged objects by type. * @summary List tagged objects by type * @param {ListTaggedObjectsByTypeV1TypeEnum} type The type of tagged object to retrieve. * @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: **objectRef.id**: *eq* **objectRef.type**: *eq* * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ listTaggedObjectsByTypeV1: async (type: ListTaggedObjectsByTypeV1TypeEnum, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'type' is not null or undefined assertParamExists('listTaggedObjectsByTypeV1', 'type', type) const localVarPath = `/tagged-objects/v1/{type}` .replace(`{${"type"}}`, encodeURIComponent(String(type))); // 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 (limit !== undefined) { localVarQueryParameter['limit'] = limit; } if (offset !== undefined) { localVarQueryParameter['offset'] = offset; } if (count !== undefined) { localVarQueryParameter['count'] = count; } if (filters !== undefined) { localVarQueryParameter['filters'] = filters; } setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, /** * This API returns a list of all tagged objects. * @summary List tagged objects * @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: **objectRef.id**: *eq, in* **objectRef.type**: *eq, in* **tagName**: *eq, in* * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ listTaggedObjectsV1: async (limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/tagged-objects/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 (limit !== undefined) { localVarQueryParameter['limit'] = limit; } if (offset !== undefined) { localVarQueryParameter['offset'] = offset; } if (count !== undefined) { localVarQueryParameter['count'] = count; } if (filters !== undefined) { localVarQueryParameter['filters'] = filters; } setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, /** * This updates a tagged object for the specified type. * @summary Update tagged object * @param {PutTaggedObjectV1TypeEnum} type The type of tagged object to update. * @param {string} id The ID of the object reference to update. * @param {TaggedObject} taggedObject * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ putTaggedObjectV1: async (type: PutTaggedObjectV1TypeEnum, id: string, taggedObject: TaggedObject, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'type' is not null or undefined assertParamExists('putTaggedObjectV1', 'type', type) // verify required parameter 'id' is not null or undefined assertParamExists('putTaggedObjectV1', 'id', id) // verify required parameter 'taggedObject' is not null or undefined assertParamExists('putTaggedObjectV1', 'taggedObject', taggedObject) const localVarPath = `/tagged-objects/v1/{type}/{id}` .replace(`{${"type"}}`, encodeURIComponent(String(type))) .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: 'PUT', ...baseOptions, ...axiosOptions}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; localVarRequestOptions.data = serializeDataIfNeeded(taggedObject, localVarRequestOptions, configuration) return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, /** * This adds a tag to an object. * @summary Add tag to object * @param {TaggedObject} taggedObject * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ setTagToObjectV1: async (taggedObject: TaggedObject, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'taggedObject' is not null or undefined assertParamExists('setTagToObjectV1', 'taggedObject', taggedObject) const localVarPath = `/tagged-objects/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: 'POST', ...baseOptions, ...axiosOptions}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; localVarRequestOptions.data = serializeDataIfNeeded(taggedObject, localVarRequestOptions, configuration) return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, /** * This API adds tags to multiple objects. * @summary Tag multiple objects * @param {BulkAddTaggedObject} bulkAddTaggedObject Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ setTagsToManyObjectsV1: async (bulkAddTaggedObject: BulkAddTaggedObject, axiosOptions: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'bulkAddTaggedObject' is not null or undefined assertParamExists('setTagsToManyObjectsV1', 'bulkAddTaggedObject', bulkAddTaggedObject) const localVarPath = `/tagged-objects/v1/bulk-add`; // 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: 'POST', ...baseOptions, ...axiosOptions}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers}; localVarRequestOptions.data = serializeDataIfNeeded(bulkAddTaggedObject, localVarRequestOptions, configuration) return { url: toPathString(localVarUrlObj), axiosOptions: localVarRequestOptions, }; }, } }; /** * TaggedObjectsApi - functional programming interface * @export */ export const TaggedObjectsApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = TaggedObjectsApiAxiosParamCreator(configuration) return { /** * Delete all tags from a tagged object. * @summary Delete object tags * @param {DeleteTaggedObjectV1TypeEnum} type The type of object to delete tags from. * @param {string} id The ID of the object to delete tags from. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async deleteTaggedObjectV1(type: DeleteTaggedObjectV1TypeEnum, id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTaggedObjectV1(type, id, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.deleteTaggedObjectV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This API removes tags from multiple objects. * @summary Remove tags from multiple objects * @param {BulkRemoveTaggedObject} bulkRemoveTaggedObject Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async deleteTagsToManyObjectV1(bulkRemoveTaggedObject: BulkRemoveTaggedObject, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTagsToManyObjectV1(bulkRemoveTaggedObject, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.deleteTagsToManyObjectV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This gets a tagged object for the specified type. * @summary Get tagged object * @param {GetTaggedObjectV1TypeEnum} type The type of tagged object to retrieve. * @param {string} id The ID of the object reference to retrieve. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async getTaggedObjectV1(type: GetTaggedObjectV1TypeEnum, id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTaggedObjectV1(type, id, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.getTaggedObjectV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This API returns a list of all tagged objects by type. * @summary List tagged objects by type * @param {ListTaggedObjectsByTypeV1TypeEnum} type The type of tagged object to retrieve. * @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: **objectRef.id**: *eq* **objectRef.type**: *eq* * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async listTaggedObjectsByTypeV1(type: ListTaggedObjectsByTypeV1TypeEnum, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.listTaggedObjectsByTypeV1(type, limit, offset, count, filters, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.listTaggedObjectsByTypeV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This API returns a list of all tagged objects. * @summary List tagged objects * @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: **objectRef.id**: *eq, in* **objectRef.type**: *eq, in* **tagName**: *eq, in* * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async listTaggedObjectsV1(limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.listTaggedObjectsV1(limit, offset, count, filters, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.listTaggedObjectsV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This updates a tagged object for the specified type. * @summary Update tagged object * @param {PutTaggedObjectV1TypeEnum} type The type of tagged object to update. * @param {string} id The ID of the object reference to update. * @param {TaggedObject} taggedObject * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async putTaggedObjectV1(type: PutTaggedObjectV1TypeEnum, id: string, taggedObject: TaggedObject, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.putTaggedObjectV1(type, id, taggedObject, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.putTaggedObjectV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This adds a tag to an object. * @summary Add tag to object * @param {TaggedObject} taggedObject * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async setTagToObjectV1(taggedObject: TaggedObject, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.setTagToObjectV1(taggedObject, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.setTagToObjectV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** * This API adds tags to multiple objects. * @summary Tag multiple objects * @param {BulkAddTaggedObject} bulkAddTaggedObject Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ async setTagsToManyObjectsV1(bulkAddTaggedObject: BulkAddTaggedObject, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.setTagsToManyObjectsV1(bulkAddTaggedObject, axiosOptions); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TaggedObjectsApi.setTagsToManyObjectsV1']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, } }; /** * TaggedObjectsApi - factory interface * @export */ export const TaggedObjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = TaggedObjectsApiFp(configuration) return { /** * Delete all tags from a tagged object. * @summary Delete object tags * @param {TaggedObjectsApiDeleteTaggedObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ deleteTaggedObjectV1(requestParameters: TaggedObjectsApiDeleteTaggedObjectV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteTaggedObjectV1(requestParameters.type, requestParameters.id, axiosOptions).then((request) => request(axios, basePath)); }, /** * This API removes tags from multiple objects. * @summary Remove tags from multiple objects * @param {TaggedObjectsApiDeleteTagsToManyObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ deleteTagsToManyObjectV1(requestParameters: TaggedObjectsApiDeleteTagsToManyObjectV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteTagsToManyObjectV1(requestParameters.bulkRemoveTaggedObject, axiosOptions).then((request) => request(axios, basePath)); }, /** * This gets a tagged object for the specified type. * @summary Get tagged object * @param {TaggedObjectsApiGetTaggedObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ getTaggedObjectV1(requestParameters: TaggedObjectsApiGetTaggedObjectV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getTaggedObjectV1(requestParameters.type, requestParameters.id, axiosOptions).then((request) => request(axios, basePath)); }, /** * This API returns a list of all tagged objects by type. * @summary List tagged objects by type * @param {TaggedObjectsApiListTaggedObjectsByTypeV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ listTaggedObjectsByTypeV1(requestParameters: TaggedObjectsApiListTaggedObjectsByTypeV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.listTaggedObjectsByTypeV1(requestParameters.type, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(axios, basePath)); }, /** * This API returns a list of all tagged objects. * @summary List tagged objects * @param {TaggedObjectsApiListTaggedObjectsV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ listTaggedObjectsV1(requestParameters: TaggedObjectsApiListTaggedObjectsV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.listTaggedObjectsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(axios, basePath)); }, /** * This updates a tagged object for the specified type. * @summary Update tagged object * @param {TaggedObjectsApiPutTaggedObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ putTaggedObjectV1(requestParameters: TaggedObjectsApiPutTaggedObjectV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.putTaggedObjectV1(requestParameters.type, requestParameters.id, requestParameters.taggedObject, axiosOptions).then((request) => request(axios, basePath)); }, /** * This adds a tag to an object. * @summary Add tag to object * @param {TaggedObjectsApiSetTagToObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ setTagToObjectV1(requestParameters: TaggedObjectsApiSetTagToObjectV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.setTagToObjectV1(requestParameters.taggedObject, axiosOptions).then((request) => request(axios, basePath)); }, /** * This API adds tags to multiple objects. * @summary Tag multiple objects * @param {TaggedObjectsApiSetTagsToManyObjectsV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ setTagsToManyObjectsV1(requestParameters: TaggedObjectsApiSetTagsToManyObjectsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.setTagsToManyObjectsV1(requestParameters.bulkAddTaggedObject, axiosOptions).then((request) => request(axios, basePath)); }, }; }; /** * Request parameters for deleteTaggedObjectV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiDeleteTaggedObjectV1Request */ export interface TaggedObjectsApiDeleteTaggedObjectV1Request { /** * The type of object to delete tags from. * @type {'ACCESS_PROFILE' | 'APPLICATION' | 'CAMPAIGN' | 'ENTITLEMENT' | 'IDENTITY' | 'ROLE' | 'SOD_POLICY' | 'SOURCE'} * @memberof TaggedObjectsApiDeleteTaggedObjectV1 */ readonly type: DeleteTaggedObjectV1TypeEnum /** * The ID of the object to delete tags from. * @type {string} * @memberof TaggedObjectsApiDeleteTaggedObjectV1 */ readonly id: string } /** * Request parameters for deleteTagsToManyObjectV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiDeleteTagsToManyObjectV1Request */ export interface TaggedObjectsApiDeleteTagsToManyObjectV1Request { /** * Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. * @type {BulkRemoveTaggedObject} * @memberof TaggedObjectsApiDeleteTagsToManyObjectV1 */ readonly bulkRemoveTaggedObject: BulkRemoveTaggedObject } /** * Request parameters for getTaggedObjectV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiGetTaggedObjectV1Request */ export interface TaggedObjectsApiGetTaggedObjectV1Request { /** * The type of tagged object to retrieve. * @type {'ACCESS_PROFILE' | 'APPLICATION' | 'CAMPAIGN' | 'ENTITLEMENT' | 'IDENTITY' | 'ROLE' | 'SOD_POLICY' | 'SOURCE'} * @memberof TaggedObjectsApiGetTaggedObjectV1 */ readonly type: GetTaggedObjectV1TypeEnum /** * The ID of the object reference to retrieve. * @type {string} * @memberof TaggedObjectsApiGetTaggedObjectV1 */ readonly id: string } /** * Request parameters for listTaggedObjectsByTypeV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiListTaggedObjectsByTypeV1Request */ export interface TaggedObjectsApiListTaggedObjectsByTypeV1Request { /** * The type of tagged object to retrieve. * @type {'ACCESS_PROFILE' | 'APPLICATION' | 'CAMPAIGN' | 'ENTITLEMENT' | 'IDENTITY' | 'ROLE' | 'SOD_POLICY' | 'SOURCE'} * @memberof TaggedObjectsApiListTaggedObjectsByTypeV1 */ readonly type: ListTaggedObjectsByTypeV1TypeEnum /** * 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 TaggedObjectsApiListTaggedObjectsByTypeV1 */ 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 TaggedObjectsApiListTaggedObjectsByTypeV1 */ 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 TaggedObjectsApiListTaggedObjectsByTypeV1 */ 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: **objectRef.id**: *eq* **objectRef.type**: *eq* * @type {string} * @memberof TaggedObjectsApiListTaggedObjectsByTypeV1 */ readonly filters?: string } /** * Request parameters for listTaggedObjectsV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiListTaggedObjectsV1Request */ export interface TaggedObjectsApiListTaggedObjectsV1Request { /** * 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 TaggedObjectsApiListTaggedObjectsV1 */ 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 TaggedObjectsApiListTaggedObjectsV1 */ 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 TaggedObjectsApiListTaggedObjectsV1 */ 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: **objectRef.id**: *eq, in* **objectRef.type**: *eq, in* **tagName**: *eq, in* * @type {string} * @memberof TaggedObjectsApiListTaggedObjectsV1 */ readonly filters?: string } /** * Request parameters for putTaggedObjectV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiPutTaggedObjectV1Request */ export interface TaggedObjectsApiPutTaggedObjectV1Request { /** * The type of tagged object to update. * @type {'ACCESS_PROFILE' | 'APPLICATION' | 'CAMPAIGN' | 'ENTITLEMENT' | 'IDENTITY' | 'ROLE' | 'SOD_POLICY' | 'SOURCE'} * @memberof TaggedObjectsApiPutTaggedObjectV1 */ readonly type: PutTaggedObjectV1TypeEnum /** * The ID of the object reference to update. * @type {string} * @memberof TaggedObjectsApiPutTaggedObjectV1 */ readonly id: string /** * * @type {TaggedObject} * @memberof TaggedObjectsApiPutTaggedObjectV1 */ readonly taggedObject: TaggedObject } /** * Request parameters for setTagToObjectV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiSetTagToObjectV1Request */ export interface TaggedObjectsApiSetTagToObjectV1Request { /** * * @type {TaggedObject} * @memberof TaggedObjectsApiSetTagToObjectV1 */ readonly taggedObject: TaggedObject } /** * Request parameters for setTagsToManyObjectsV1 operation in TaggedObjectsApi. * @export * @interface TaggedObjectsApiSetTagsToManyObjectsV1Request */ export interface TaggedObjectsApiSetTagsToManyObjectsV1Request { /** * Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. * @type {BulkAddTaggedObject} * @memberof TaggedObjectsApiSetTagsToManyObjectsV1 */ readonly bulkAddTaggedObject: BulkAddTaggedObject } /** * TaggedObjectsApi - object-oriented interface * @export * @class TaggedObjectsApi * @extends {BaseAPI} */ export class TaggedObjectsApi extends BaseAPI { /** * Delete all tags from a tagged object. * @summary Delete object tags * @param {TaggedObjectsApiDeleteTaggedObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public deleteTaggedObjectV1(requestParameters: TaggedObjectsApiDeleteTaggedObjectV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).deleteTaggedObjectV1(requestParameters.type, requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This API removes tags from multiple objects. * @summary Remove tags from multiple objects * @param {TaggedObjectsApiDeleteTagsToManyObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public deleteTagsToManyObjectV1(requestParameters: TaggedObjectsApiDeleteTagsToManyObjectV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).deleteTagsToManyObjectV1(requestParameters.bulkRemoveTaggedObject, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This gets a tagged object for the specified type. * @summary Get tagged object * @param {TaggedObjectsApiGetTaggedObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public getTaggedObjectV1(requestParameters: TaggedObjectsApiGetTaggedObjectV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).getTaggedObjectV1(requestParameters.type, requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This API returns a list of all tagged objects by type. * @summary List tagged objects by type * @param {TaggedObjectsApiListTaggedObjectsByTypeV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public listTaggedObjectsByTypeV1(requestParameters: TaggedObjectsApiListTaggedObjectsByTypeV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).listTaggedObjectsByTypeV1(requestParameters.type, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This API returns a list of all tagged objects. * @summary List tagged objects * @param {TaggedObjectsApiListTaggedObjectsV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public listTaggedObjectsV1(requestParameters: TaggedObjectsApiListTaggedObjectsV1Request = {}, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).listTaggedObjectsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This updates a tagged object for the specified type. * @summary Update tagged object * @param {TaggedObjectsApiPutTaggedObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public putTaggedObjectV1(requestParameters: TaggedObjectsApiPutTaggedObjectV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).putTaggedObjectV1(requestParameters.type, requestParameters.id, requestParameters.taggedObject, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This adds a tag to an object. * @summary Add tag to object * @param {TaggedObjectsApiSetTagToObjectV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public setTagToObjectV1(requestParameters: TaggedObjectsApiSetTagToObjectV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).setTagToObjectV1(requestParameters.taggedObject, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This API adds tags to multiple objects. * @summary Tag multiple objects * @param {TaggedObjectsApiSetTagsToManyObjectsV1Request} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof TaggedObjectsApi */ public setTagsToManyObjectsV1(requestParameters: TaggedObjectsApiSetTagsToManyObjectsV1Request, axiosOptions?: RawAxiosRequestConfig) { return TaggedObjectsApiFp(this.configuration).setTagsToManyObjectsV1(requestParameters.bulkAddTaggedObject, axiosOptions).then((request) => request(this.axios, this.basePath)); } } /** * @export */ export const DeleteTaggedObjectV1TypeEnum = { AccessProfile: 'ACCESS_PROFILE', Application: 'APPLICATION', Campaign: 'CAMPAIGN', Entitlement: 'ENTITLEMENT', Identity: 'IDENTITY', Role: 'ROLE', SodPolicy: 'SOD_POLICY', Source: 'SOURCE' } as const; export type DeleteTaggedObjectV1TypeEnum = typeof DeleteTaggedObjectV1TypeEnum[keyof typeof DeleteTaggedObjectV1TypeEnum]; /** * @export */ export const GetTaggedObjectV1TypeEnum = { AccessProfile: 'ACCESS_PROFILE', Application: 'APPLICATION', Campaign: 'CAMPAIGN', Entitlement: 'ENTITLEMENT', Identity: 'IDENTITY', Role: 'ROLE', SodPolicy: 'SOD_POLICY', Source: 'SOURCE' } as const; export type GetTaggedObjectV1TypeEnum = typeof GetTaggedObjectV1TypeEnum[keyof typeof GetTaggedObjectV1TypeEnum]; /** * @export */ export const ListTaggedObjectsByTypeV1TypeEnum = { AccessProfile: 'ACCESS_PROFILE', Application: 'APPLICATION', Campaign: 'CAMPAIGN', Entitlement: 'ENTITLEMENT', Identity: 'IDENTITY', Role: 'ROLE', SodPolicy: 'SOD_POLICY', Source: 'SOURCE' } as const; export type ListTaggedObjectsByTypeV1TypeEnum = typeof ListTaggedObjectsByTypeV1TypeEnum[keyof typeof ListTaggedObjectsByTypeV1TypeEnum]; /** * @export */ export const PutTaggedObjectV1TypeEnum = { AccessProfile: 'ACCESS_PROFILE', Application: 'APPLICATION', Campaign: 'CAMPAIGN', Entitlement: 'ENTITLEMENT', Identity: 'IDENTITY', Role: 'ROLE', SodPolicy: 'SOD_POLICY', Source: 'SOURCE' } as const; export type PutTaggedObjectV1TypeEnum = typeof PutTaggedObjectV1TypeEnum[keyof typeof PutTaggedObjectV1TypeEnum];