@sailpoint/api-client 2.2.20 → 2.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -257,7 +257,7 @@ var MachineAccountMappingsApiAxiosParamCreator = function (configuration) {
257
257
  (0, common_1.assertParamExists)('setMachineAccountMappingsV1', 'sourceId', sourceId);
258
258
  // verify required parameter 'attributeMappings' is not null or undefined
259
259
  (0, common_1.assertParamExists)('setMachineAccountMappingsV1', 'attributeMappings', attributeMappings);
260
- localVarPath = "/sources/v1/{sourceId}/machine-mappings"
260
+ localVarPath = "/sources/v1/{sourceId}/machine-account-mappings"
261
261
  .replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
262
262
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
263
263
  if (configuration) {
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../machine_account_mappings/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AA+CtF,QAAA,oCAAoC,GAAG;IAChD,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,eAAe;IAC7B,aAAa,EAAE,gBAAgB;CACzB,CAAC;AA0KX;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACZ,CAAC;AAMX;;;GAGG;AACI,IAAM,0CAA0C,GAAG,UAAU,aAA6B;IAAvC,iBAyLzD;IAxLG,OAAO;QACH;;;;;;;;WAQG;QACH,8BAA8B,EAAE,UAAO,QAAgB,EAAE,iBAAoC,EAAE,sBAA+B,EAAE,YAA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O,GAgDrD;AAhDY,8DAAyB","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Machine Account Mappings\n * 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.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * \n * @export\n * @interface AttributeMappings\n */\nexport interface AttributeMappings {\n /**\n * \n * @type {AttributeMappingsAllOfTarget}\n * @memberof AttributeMappings\n */\n 'target'?: AttributeMappingsAllOfTarget;\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinition}\n * @memberof AttributeMappings\n */\n 'transformDefinition'?: AttributeMappingsAllOfTransformDefinition;\n}\n/**\n * Targeted Entity\n * @export\n * @interface AttributeMappingsAllOfTarget\n */\nexport interface AttributeMappingsAllOfTarget {\n /**\n * The type of target entity\n * @type {string}\n * @memberof AttributeMappingsAllOfTarget\n */\n 'type'?: AttributeMappingsAllOfTargetTypeEnum;\n /**\n * Name of the targeted attribute\n * @type {string}\n * @memberof AttributeMappingsAllOfTarget\n */\n 'attributeName'?: string;\n /**\n * The ID of Source\n * @type {string}\n * @memberof AttributeMappingsAllOfTarget\n */\n 'sourceId'?: string;\n}\n\nexport const AttributeMappingsAllOfTargetTypeEnum = {\n Account: 'ACCOUNT',\n Identity: 'IDENTITY',\n OwnerAccount: 'OWNER_ACCOUNT',\n OwnerIdentity: 'OWNER_IDENTITY'\n} as const;\n\nexport type AttributeMappingsAllOfTargetTypeEnum = typeof AttributeMappingsAllOfTargetTypeEnum[keyof typeof AttributeMappingsAllOfTargetTypeEnum];\n\n/**\n * \n * @export\n * @interface AttributeMappingsAllOfTransformDefinition\n */\nexport interface AttributeMappingsAllOfTransformDefinition {\n /**\n * The type of transform\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinition\n */\n 'type'?: string;\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinitionAttributes}\n * @memberof AttributeMappingsAllOfTransformDefinition\n */\n 'attributes'?: AttributeMappingsAllOfTransformDefinitionAttributes;\n /**\n * Transform Operation\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinition\n */\n 'id'?: string;\n}\n/**\n * attributes object\n * @export\n * @interface AttributeMappingsAllOfTransformDefinitionAttributes\n */\nexport interface AttributeMappingsAllOfTransformDefinitionAttributes {\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinitionAttributesInput}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributes\n */\n 'input'?: AttributeMappingsAllOfTransformDefinitionAttributesInput;\n}\n/**\n * Input Object\n * @export\n * @interface AttributeMappingsAllOfTransformDefinitionAttributesInput\n */\nexport interface AttributeMappingsAllOfTransformDefinitionAttributesInput {\n /**\n * The Type of Attribute\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInput\n */\n 'type'?: string;\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInput\n */\n 'attributes'?: AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes;\n}\n/**\n * Attibute Mapping Object\n * @export\n * @interface AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\nexport interface AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes {\n /**\n * The name of attribute\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\n 'attributeName'?: string;\n /**\n * Name of the Source\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\n 'sourceName'?: string;\n /**\n * ID of the Source\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\n 'name'?: string;\n}\n/**\n * \n * @export\n * @interface ErrorMessageDto\n */\nexport interface ErrorMessageDto {\n /**\n * The locale for the message text, a BCP 47 language tag.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'locale'?: string | null;\n /**\n * \n * @type {LocaleOrigin}\n * @memberof ErrorMessageDto\n */\n 'localeOrigin'?: LocaleOrigin | null;\n /**\n * Actual text of the error message in the indicated locale.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'text'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorResponseDto\n */\nexport interface ErrorResponseDto {\n /**\n * Fine-grained error code providing more detail of the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'detailCode'?: string;\n /**\n * Unique tracking id for the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'trackingId'?: string;\n /**\n * Generic localized reason for error\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'messages'?: Array<ErrorMessageDto>;\n /**\n * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'causes'?: Array<ErrorMessageDto>;\n}\n/**\n * \n * @export\n * @interface ListMachineAccountMappingsV1401Response\n */\nexport interface ListMachineAccountMappingsV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListMachineAccountMappingsV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface ListMachineAccountMappingsV1429Response\n */\nexport interface ListMachineAccountMappingsV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListMachineAccountMappingsV1429Response\n */\n 'message'?: any;\n}\n/**\n * 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.\n * @export\n * @enum {string}\n */\n\nexport const LocaleOrigin = {\n Default: 'DEFAULT',\n Request: 'REQUEST'\n} as const;\n\nexport type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin];\n\n\n\n/**\n * MachineAccountMappingsApi - axios parameter creator\n * @export\n */\nexport const MachineAccountMappingsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n createMachineAccountMappingsV1: async (sourceId: string, attributeMappings: AttributeMappings, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('createMachineAccountMappingsV1', 'sourceId', sourceId)\n // verify required parameter 'attributeMappings' is not null or undefined\n assertParamExists('createMachineAccountMappingsV1', 'attributeMappings', attributeMappings)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(attributeMappings, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {string} sourceId source ID.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n deleteMachineAccountMappingsV1: async (sourceId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('deleteMachineAccountMappingsV1', 'sourceId', sourceId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {string} sourceId Source ID\n * @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.\n * @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.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineAccountMappingsV1: async (sourceId: string, limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('listMachineAccountMappingsV1', 'sourceId', sourceId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n setMachineAccountMappingsV1: async (sourceId: string, attributeMappings: AttributeMappings, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('setMachineAccountMappingsV1', 'sourceId', sourceId)\n // verify required parameter 'attributeMappings' is not null or undefined\n assertParamExists('setMachineAccountMappingsV1', 'attributeMappings', attributeMappings)\n const localVarPath = `/sources/v1/{sourceId}/machine-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(attributeMappings, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * MachineAccountMappingsApi - functional programming interface\n * @export\n */\nexport const MachineAccountMappingsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = MachineAccountMappingsApiAxiosParamCreator(configuration)\n return {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async createMachineAccountMappingsV1(sourceId: string, attributeMappings: AttributeMappings, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappings>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineAccountMappingsV1(sourceId, attributeMappings, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.createMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {string} sourceId source ID.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async deleteMachineAccountMappingsV1(sourceId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountMappingsV1(sourceId, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.deleteMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {string} sourceId Source ID\n * @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.\n * @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.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listMachineAccountMappingsV1(sourceId: string, limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappings>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineAccountMappingsV1(sourceId, limit, offset, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.listMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async setMachineAccountMappingsV1(sourceId: string, attributeMappings: AttributeMappings, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappings>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.setMachineAccountMappingsV1(sourceId, attributeMappings, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.setMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * MachineAccountMappingsApi - factory interface\n * @export\n */\nexport const MachineAccountMappingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = MachineAccountMappingsApiFp(configuration)\n return {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {MachineAccountMappingsApiCreateMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n createMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiCreateMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappings>> {\n return localVarFp.createMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n deleteMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.deleteMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {MachineAccountMappingsApiListMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiListMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappings>> {\n return localVarFp.listMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {MachineAccountMappingsApiSetMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n setMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiSetMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappings>> {\n return localVarFp.setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for createMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiCreateMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiCreateMachineAccountMappingsV1Request {\n /**\n * Source ID.\n * @type {string}\n * @memberof MachineAccountMappingsApiCreateMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * \n * @type {AttributeMappings}\n * @memberof MachineAccountMappingsApiCreateMachineAccountMappingsV1\n */\n readonly attributeMappings: AttributeMappings\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineAccountMappingsApiCreateMachineAccountMappingsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for deleteMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request {\n /**\n * source ID.\n * @type {string}\n * @memberof MachineAccountMappingsApiDeleteMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineAccountMappingsApiDeleteMachineAccountMappingsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for listMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiListMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiListMachineAccountMappingsV1Request {\n /**\n * Source ID\n * @type {string}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly limit?: number\n\n /**\n * 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.\n * @type {number}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly offset?: number\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for setMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiSetMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiSetMachineAccountMappingsV1Request {\n /**\n * Source ID.\n * @type {string}\n * @memberof MachineAccountMappingsApiSetMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * \n * @type {AttributeMappings}\n * @memberof MachineAccountMappingsApiSetMachineAccountMappingsV1\n */\n readonly attributeMappings: AttributeMappings\n}\n\n/**\n * MachineAccountMappingsApi - object-oriented interface\n * @export\n * @class MachineAccountMappingsApi\n * @extends {BaseAPI}\n */\nexport class MachineAccountMappingsApi extends BaseAPI {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {MachineAccountMappingsApiCreateMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public createMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiCreateMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).createMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public deleteMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).deleteMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {MachineAccountMappingsApiListMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public listMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiListMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).listMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {MachineAccountMappingsApiSetMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public setMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiSetMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../machine_account_mappings/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;A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AAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IACrR,CAAC;IAED;;;;;;;OAOG;IACI,+DAA2B,GAAlC,UAAmC,iBAA8E,EAAE,YAAoC;QAAvJ,iBAEC;QADG,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,2BAA2B,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAC5N,CAAC;IACL,gCAAC;AAAD,CAAC,AAhDD,CAA+C,cAAO,GAgDrD;AAhDY,8DAAyB","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Machine Account Mappings\n * 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.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * \n * @export\n * @interface AttributeMappings\n */\nexport interface AttributeMappings {\n /**\n * \n * @type {AttributeMappingsAllOfTarget}\n * @memberof AttributeMappings\n */\n 'target'?: AttributeMappingsAllOfTarget;\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinition}\n * @memberof AttributeMappings\n */\n 'transformDefinition'?: AttributeMappingsAllOfTransformDefinition;\n}\n/**\n * Targeted Entity\n * @export\n * @interface AttributeMappingsAllOfTarget\n */\nexport interface AttributeMappingsAllOfTarget {\n /**\n * The type of target entity\n * @type {string}\n * @memberof AttributeMappingsAllOfTarget\n */\n 'type'?: AttributeMappingsAllOfTargetTypeEnum;\n /**\n * Name of the targeted attribute\n * @type {string}\n * @memberof AttributeMappingsAllOfTarget\n */\n 'attributeName'?: string;\n /**\n * The ID of Source\n * @type {string}\n * @memberof AttributeMappingsAllOfTarget\n */\n 'sourceId'?: string;\n}\n\nexport const AttributeMappingsAllOfTargetTypeEnum = {\n Account: 'ACCOUNT',\n Identity: 'IDENTITY',\n OwnerAccount: 'OWNER_ACCOUNT',\n OwnerIdentity: 'OWNER_IDENTITY'\n} as const;\n\nexport type AttributeMappingsAllOfTargetTypeEnum = typeof AttributeMappingsAllOfTargetTypeEnum[keyof typeof AttributeMappingsAllOfTargetTypeEnum];\n\n/**\n * \n * @export\n * @interface AttributeMappingsAllOfTransformDefinition\n */\nexport interface AttributeMappingsAllOfTransformDefinition {\n /**\n * The type of transform\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinition\n */\n 'type'?: string;\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinitionAttributes}\n * @memberof AttributeMappingsAllOfTransformDefinition\n */\n 'attributes'?: AttributeMappingsAllOfTransformDefinitionAttributes;\n /**\n * Transform Operation\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinition\n */\n 'id'?: string;\n}\n/**\n * attributes object\n * @export\n * @interface AttributeMappingsAllOfTransformDefinitionAttributes\n */\nexport interface AttributeMappingsAllOfTransformDefinitionAttributes {\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinitionAttributesInput}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributes\n */\n 'input'?: AttributeMappingsAllOfTransformDefinitionAttributesInput;\n}\n/**\n * Input Object\n * @export\n * @interface AttributeMappingsAllOfTransformDefinitionAttributesInput\n */\nexport interface AttributeMappingsAllOfTransformDefinitionAttributesInput {\n /**\n * The Type of Attribute\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInput\n */\n 'type'?: string;\n /**\n * \n * @type {AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInput\n */\n 'attributes'?: AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes;\n}\n/**\n * Attibute Mapping Object\n * @export\n * @interface AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\nexport interface AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes {\n /**\n * The name of attribute\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\n 'attributeName'?: string;\n /**\n * Name of the Source\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\n 'sourceName'?: string;\n /**\n * ID of the Source\n * @type {string}\n * @memberof AttributeMappingsAllOfTransformDefinitionAttributesInputAttributes\n */\n 'name'?: string;\n}\n/**\n * \n * @export\n * @interface ErrorMessageDto\n */\nexport interface ErrorMessageDto {\n /**\n * The locale for the message text, a BCP 47 language tag.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'locale'?: string | null;\n /**\n * \n * @type {LocaleOrigin}\n * @memberof ErrorMessageDto\n */\n 'localeOrigin'?: LocaleOrigin | null;\n /**\n * Actual text of the error message in the indicated locale.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'text'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorResponseDto\n */\nexport interface ErrorResponseDto {\n /**\n * Fine-grained error code providing more detail of the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'detailCode'?: string;\n /**\n * Unique tracking id for the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'trackingId'?: string;\n /**\n * Generic localized reason for error\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'messages'?: Array<ErrorMessageDto>;\n /**\n * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'causes'?: Array<ErrorMessageDto>;\n}\n/**\n * \n * @export\n * @interface ListMachineAccountMappingsV1401Response\n */\nexport interface ListMachineAccountMappingsV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListMachineAccountMappingsV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface ListMachineAccountMappingsV1429Response\n */\nexport interface ListMachineAccountMappingsV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListMachineAccountMappingsV1429Response\n */\n 'message'?: any;\n}\n/**\n * 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.\n * @export\n * @enum {string}\n */\n\nexport const LocaleOrigin = {\n Default: 'DEFAULT',\n Request: 'REQUEST'\n} as const;\n\nexport type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin];\n\n\n\n/**\n * MachineAccountMappingsApi - axios parameter creator\n * @export\n */\nexport const MachineAccountMappingsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n createMachineAccountMappingsV1: async (sourceId: string, attributeMappings: AttributeMappings, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('createMachineAccountMappingsV1', 'sourceId', sourceId)\n // verify required parameter 'attributeMappings' is not null or undefined\n assertParamExists('createMachineAccountMappingsV1', 'attributeMappings', attributeMappings)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(attributeMappings, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {string} sourceId source ID.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n deleteMachineAccountMappingsV1: async (sourceId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('deleteMachineAccountMappingsV1', 'sourceId', sourceId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {string} sourceId Source ID\n * @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.\n * @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.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineAccountMappingsV1: async (sourceId: string, limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('listMachineAccountMappingsV1', 'sourceId', sourceId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n setMachineAccountMappingsV1: async (sourceId: string, attributeMappings: AttributeMappings, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'sourceId' is not null or undefined\n assertParamExists('setMachineAccountMappingsV1', 'sourceId', sourceId)\n // verify required parameter 'attributeMappings' is not null or undefined\n assertParamExists('setMachineAccountMappingsV1', 'attributeMappings', attributeMappings)\n const localVarPath = `/sources/v1/{sourceId}/machine-account-mappings`\n .replace(`{${\"sourceId\"}}`, encodeURIComponent(String(sourceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(attributeMappings, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * MachineAccountMappingsApi - functional programming interface\n * @export\n */\nexport const MachineAccountMappingsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = MachineAccountMappingsApiAxiosParamCreator(configuration)\n return {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async createMachineAccountMappingsV1(sourceId: string, attributeMappings: AttributeMappings, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappings>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineAccountMappingsV1(sourceId, attributeMappings, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.createMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {string} sourceId source ID.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async deleteMachineAccountMappingsV1(sourceId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountMappingsV1(sourceId, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.deleteMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {string} sourceId Source ID\n * @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.\n * @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.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listMachineAccountMappingsV1(sourceId: string, limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappings>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineAccountMappingsV1(sourceId, limit, offset, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.listMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {string} sourceId Source ID.\n * @param {AttributeMappings} attributeMappings \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async setMachineAccountMappingsV1(sourceId: string, attributeMappings: AttributeMappings, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappings>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.setMachineAccountMappingsV1(sourceId, attributeMappings, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsApi.setMachineAccountMappingsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * MachineAccountMappingsApi - factory interface\n * @export\n */\nexport const MachineAccountMappingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = MachineAccountMappingsApiFp(configuration)\n return {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {MachineAccountMappingsApiCreateMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n createMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiCreateMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappings>> {\n return localVarFp.createMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n deleteMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.deleteMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {MachineAccountMappingsApiListMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiListMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappings>> {\n return localVarFp.listMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {MachineAccountMappingsApiSetMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n setMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiSetMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappings>> {\n return localVarFp.setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for createMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiCreateMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiCreateMachineAccountMappingsV1Request {\n /**\n * Source ID.\n * @type {string}\n * @memberof MachineAccountMappingsApiCreateMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * \n * @type {AttributeMappings}\n * @memberof MachineAccountMappingsApiCreateMachineAccountMappingsV1\n */\n readonly attributeMappings: AttributeMappings\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineAccountMappingsApiCreateMachineAccountMappingsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for deleteMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request {\n /**\n * source ID.\n * @type {string}\n * @memberof MachineAccountMappingsApiDeleteMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineAccountMappingsApiDeleteMachineAccountMappingsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for listMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiListMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiListMachineAccountMappingsV1Request {\n /**\n * Source ID\n * @type {string}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly limit?: number\n\n /**\n * 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.\n * @type {number}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly offset?: number\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineAccountMappingsApiListMachineAccountMappingsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for setMachineAccountMappingsV1 operation in MachineAccountMappingsApi.\n * @export\n * @interface MachineAccountMappingsApiSetMachineAccountMappingsV1Request\n */\nexport interface MachineAccountMappingsApiSetMachineAccountMappingsV1Request {\n /**\n * Source ID.\n * @type {string}\n * @memberof MachineAccountMappingsApiSetMachineAccountMappingsV1\n */\n readonly sourceId: string\n\n /**\n * \n * @type {AttributeMappings}\n * @memberof MachineAccountMappingsApiSetMachineAccountMappingsV1\n */\n readonly attributeMappings: AttributeMappings\n}\n\n/**\n * MachineAccountMappingsApi - object-oriented interface\n * @export\n * @class MachineAccountMappingsApi\n * @extends {BaseAPI}\n */\nexport class MachineAccountMappingsApi extends BaseAPI {\n /**\n * Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Create machine account mappings\n * @param {MachineAccountMappingsApiCreateMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public createMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiCreateMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).createMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Delete source\\'s machine account mappings\n * @param {MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public deleteMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiDeleteMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).deleteMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves Machine account mappings for a specified source using Source ID.\n * @summary Machine account mapping for source\n * @param {MachineAccountMappingsApiListMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public listMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiListMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).listMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.\n * @summary Update source\\'s machine account mappings\n * @param {MachineAccountMappingsApiSetMachineAccountMappingsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineAccountMappingsApi\n */\n public setMachineAccountMappingsV1(requestParameters: MachineAccountMappingsApiSetMachineAccountMappingsV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineAccountMappingsApiFp(this.configuration).setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
257
257
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
258
258
  // not allow, which blocks the request outright.
259
259
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
260
- headers['X-SailPoint-SDK'] = 'typescript-2.2.20';
261
- userAgent = "SailPoint-SDK-TypeScript/2.2.20";
260
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.22';
261
+ userAgent = "SailPoint-SDK-TypeScript/2.2.22";
262
262
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
263
263
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
264
264
  }
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../nerm/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,S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C;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API\n * The NERM API accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.20';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.20`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../nerm/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC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A,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API\n * The NERM API accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.22';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.22`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
257
257
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
258
258
  // not allow, which blocks the request outright.
259
259
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
260
- headers['X-SailPoint-SDK'] = 'typescript-2.2.20';
261
- userAgent = "SailPoint-SDK-TypeScript/2.2.20";
260
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.22';
261
+ userAgent = "SailPoint-SDK-TypeScript/2.2.22";
262
262
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
263
263
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumer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AG,UAAU,CAAC;oCACxB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API v2025\n * The NERM API v2025 accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.20';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.20`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n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xB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API v2025\n * The NERM API v2025 accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.22';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.22`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
@@ -494,10 +494,11 @@ export declare const WorkReassignmentApiAxiosParamCreator: (configuration?: Conf
494
494
  * @param {number} [limit] Max number of results to return.
495
495
  * @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.
496
496
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
497
+ * @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&#x3D;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.
497
498
  * @param {*} [axiosOptions] Override http request option.
498
499
  * @throws {RequiredError}
499
500
  */
500
- listReassignmentConfigurationsV1: (limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
501
+ listReassignmentConfigurationsV1: (limit?: number, offset?: number, xSailPointExperimental?: string, count?: boolean, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
501
502
  /**
502
503
  * Replaces existing Reassignment configuration for an identity with the newly provided configuration.
503
504
  * @summary Update reassignment configuration
@@ -584,10 +585,11 @@ export declare const WorkReassignmentApiFp: (configuration?: Configuration) => {
584
585
  * @param {number} [limit] Max number of results to return.
585
586
  * @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.
586
587
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
588
+ * @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&#x3D;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.
587
589
  * @param {*} [axiosOptions] Override http request option.
588
590
  * @throws {RequiredError}
589
591
  */
590
- listReassignmentConfigurationsV1(limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResponse>>>;
592
+ listReassignmentConfigurationsV1(limit?: number, offset?: number, xSailPointExperimental?: string, count?: boolean, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResponse>>>;
591
593
  /**
592
594
  * Replaces existing Reassignment configuration for an identity with the newly provided configuration.
593
595
  * @summary Update reassignment configuration
@@ -830,6 +832,12 @@ export interface WorkReassignmentApiListReassignmentConfigurationsV1Request {
830
832
  * @memberof WorkReassignmentApiListReassignmentConfigurationsV1
831
833
  */
832
834
  readonly xSailPointExperimental?: string;
835
+ /**
836
+ * 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&#x3D;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.
837
+ * @type {boolean}
838
+ * @memberof WorkReassignmentApiListReassignmentConfigurationsV1
839
+ */
840
+ readonly count?: boolean;
833
841
  }
834
842
  /**
835
843
  * Request parameters for putReassignmentConfigV1 operation in WorkReassignmentApi.
@@ -384,10 +384,11 @@ var WorkReassignmentApiAxiosParamCreator = function (configuration) {
384
384
  * @param {number} [limit] Max number of results to return.
385
385
  * @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.
386
386
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
387
+ * @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&#x3D;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.
387
388
  * @param {*} [axiosOptions] Override http request option.
388
389
  * @throws {RequiredError}
389
390
  */
390
- listReassignmentConfigurationsV1: function (limit, offset, xSailPointExperimental, axiosOptions) {
391
+ listReassignmentConfigurationsV1: function (limit, offset, xSailPointExperimental, count, axiosOptions) {
391
392
  if (axiosOptions === void 0) { axiosOptions = {}; }
392
393
  return __awaiter(_this, void 0, void 0, function () {
393
394
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -409,6 +410,9 @@ var WorkReassignmentApiAxiosParamCreator = function (configuration) {
409
410
  if (offset !== undefined) {
410
411
  localVarQueryParameter['offset'] = offset;
411
412
  }
413
+ if (count !== undefined) {
414
+ localVarQueryParameter['count'] = count;
415
+ }
412
416
  if (xSailPointExperimental != null) {
413
417
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
414
418
  }
@@ -669,16 +673,17 @@ var WorkReassignmentApiFp = function (configuration) {
669
673
  * @param {number} [limit] Max number of results to return.
670
674
  * @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.
671
675
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
676
+ * @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&#x3D;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.
672
677
  * @param {*} [axiosOptions] Override http request option.
673
678
  * @throws {RequiredError}
674
679
  */
675
- listReassignmentConfigurationsV1: function (limit, offset, xSailPointExperimental, axiosOptions) {
680
+ listReassignmentConfigurationsV1: function (limit, offset, xSailPointExperimental, count, axiosOptions) {
676
681
  var _a, _b, _c;
677
682
  return __awaiter(this, void 0, void 0, function () {
678
683
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
679
684
  return __generator(this, function (_d) {
680
685
  switch (_d.label) {
681
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReassignmentConfigurationsV1(limit, offset, xSailPointExperimental, axiosOptions)];
686
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReassignmentConfigurationsV1(limit, offset, xSailPointExperimental, count, axiosOptions)];
682
687
  case 1:
683
688
  localVarAxiosArgs = _d.sent();
684
689
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -818,7 +823,7 @@ var WorkReassignmentApiFactory = function (configuration, basePath, axios) {
818
823
  */
819
824
  listReassignmentConfigurationsV1: function (requestParameters, axiosOptions) {
820
825
  if (requestParameters === void 0) { requestParameters = {}; }
821
- return localVarFp.listReassignmentConfigurationsV1(requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
826
+ return localVarFp.listReassignmentConfigurationsV1(requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, requestParameters.count, axiosOptions).then(function (request) { return request(axios, basePath); });
822
827
  },
823
828
  /**
824
829
  * Replaces existing Reassignment configuration for an identity with the newly provided configuration.
@@ -939,7 +944,7 @@ var WorkReassignmentApi = /** @class */ (function (_super) {
939
944
  WorkReassignmentApi.prototype.listReassignmentConfigurationsV1 = function (requestParameters, axiosOptions) {
940
945
  var _this = this;
941
946
  if (requestParameters === void 0) { requestParameters = {}; }
942
- return (0, exports.WorkReassignmentApiFp)(this.configuration).listReassignmentConfigurationsV1(requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
947
+ return (0, exports.WorkReassignmentApiFp)(this.configuration).listReassignmentConfigurationsV1(requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, requestParameters.count, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
943
948
  };
944
949
  /**
945
950
  * Replaces existing Reassignment configuration for an identity with the newly provided configuration.