@sailpoint/api-client 2.2.24 → 2.2.26
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.
- package/dist/access_requests/api.d.ts +31 -6
- package/dist/access_requests/api.js +32 -12
- package/dist/access_requests/api.js.map +1 -1
- package/dist/business_applications/api.d.ts +40 -8
- package/dist/business_applications/api.js +52 -20
- package/dist/business_applications/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +32 -12
- package/dist/esm/business_applications/api.js +52 -20
- package/dist/esm/jit_activations/api.js +26 -10
- package/dist/esm/machine_account_mappings/api.js +13 -5
- package/dist/esm/machine_identities/api.js +117 -45
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/public_machine_identities/api.js +13 -5
- package/dist/esm/search/api.js +8 -8
- package/dist/jit_activations/api.d.ts +105 -4
- package/dist/jit_activations/api.js +26 -10
- package/dist/jit_activations/api.js.map +1 -1
- package/dist/machine_account_mappings/api.d.ts +10 -2
- package/dist/machine_account_mappings/api.js +13 -5
- package/dist/machine_account_mappings/api.js.map +1 -1
- package/dist/machine_identities/api.d.ts +90 -18
- package/dist/machine_identities/api.js +117 -45
- package/dist/machine_identities/api.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/public_machine_identities/api.d.ts +10 -2
- package/dist/public_machine_identities/api.js +13 -5
- package/dist/public_machine_identities/api.js.map +1 -1
- package/dist/search/api.d.ts +8 -8
- package/dist/search/api.js +8 -8
- package/dist/search/api.js.map +1 -1
- package/package.json +1 -1
package/dist/nerm/common.js
CHANGED
|
@@ -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.
|
|
261
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
260
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.26';
|
|
261
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.26";
|
|
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
|
}
|
package/dist/nerm/common.js.map
CHANGED
|
@@ -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,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBA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AC,YAAY,KAAE,GAAG,EAAE,CAAC,QAAQ,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,YAAY,CAAA,CAAC,GAAG,SAAS,CAAC,GAAG,EAAE,OAAO,SAAA,GAAC,CAAC;wBAC9H,sBAAO,KAAK,CAAC,OAAO,CAAO,gBAAgB,CAAC,CAAC,KAAK,CAAC,UAAC,KAAU;;gCAC1D,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,MAAK,IAAI,EAAE;oCAC9B,IAAM,KAAK,GAAQ,IAAI,KAAK,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,oBAAoB,CAAC,CAAC;oCACpE,KAAK,CAAC,IAAI,GAAG,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\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.24';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.24`;\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,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,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AAE,CAAC,QAAQ,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,YAAY,CAAA,CAAC,GAAG,SAAS,CAAC,GAAG,EAAE,OAAO,SAAA,GAAC,CAAC;wBAC9H,sBAAO,KAAK,CAAC,OAAO,CAAO,gBAAgB,CAAC,CAAC,KAAK,CAAC,UAAC,KAAU;;gCAC1D,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,MAAK,IAAI,EAAE;oCAC9B,IAAM,KAAK,GAAQ,IAAI,KAAK,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,oBAAoB,CAAC,CAAC;oCACpE,KAAK,CAAC,IAAI,GAAG,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\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.26';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.26`;\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"]}
|
package/dist/nermv2025/common.js
CHANGED
|
@@ -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.
|
|
261
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
260
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.26';
|
|
261
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.26";
|
|
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":["../../nermv2025/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AG,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.24';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.24`;\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":["../../nermv2025/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,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.26';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.26`;\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"]}
|
|
@@ -180,10 +180,11 @@ export declare const PublicMachineIdentitiesApiAxiosParamCreator: (configuration
|
|
|
180
180
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
181
181
|
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.
|
|
182
182
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.
|
|
183
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
183
184
|
* @param {*} [axiosOptions] Override http request option.
|
|
184
185
|
* @throws {RequiredError}
|
|
185
186
|
*/
|
|
186
|
-
listPublicMachineIdentitiesV1: (limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
187
|
+
listPublicMachineIdentitiesV1: (limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
187
188
|
};
|
|
188
189
|
/**
|
|
189
190
|
* PublicMachineIdentitiesApi - functional programming interface
|
|
@@ -198,10 +199,11 @@ export declare const PublicMachineIdentitiesApiFp: (configuration?: Configuratio
|
|
|
198
199
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
199
200
|
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.
|
|
200
201
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.
|
|
202
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
201
203
|
* @param {*} [axiosOptions] Override http request option.
|
|
202
204
|
* @throws {RequiredError}
|
|
203
205
|
*/
|
|
204
|
-
listPublicMachineIdentitiesV1(limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PublicMachineIdentity>>>;
|
|
206
|
+
listPublicMachineIdentitiesV1(limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PublicMachineIdentity>>>;
|
|
205
207
|
};
|
|
206
208
|
/**
|
|
207
209
|
* PublicMachineIdentitiesApi - factory interface
|
|
@@ -253,6 +255,12 @@ export interface PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request
|
|
|
253
255
|
* @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1
|
|
254
256
|
*/
|
|
255
257
|
readonly sorters?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Use this header to enable this experimental API.
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1
|
|
262
|
+
*/
|
|
263
|
+
readonly xSailPointExperimental?: string;
|
|
256
264
|
}
|
|
257
265
|
/**
|
|
258
266
|
* PublicMachineIdentitiesApi - object-oriented interface
|
|
@@ -109,14 +109,18 @@ var PublicMachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
110
110
|
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.
|
|
111
111
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.
|
|
112
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
112
113
|
* @param {*} [axiosOptions] Override http request option.
|
|
113
114
|
* @throws {RequiredError}
|
|
114
115
|
*/
|
|
115
|
-
listPublicMachineIdentitiesV1: function (limit, offset, count, filters, sorters, axiosOptions) {
|
|
116
|
+
listPublicMachineIdentitiesV1: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
|
|
116
117
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
117
118
|
return __awaiter(_this, void 0, void 0, function () {
|
|
118
119
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
120
|
return __generator(this, function (_a) {
|
|
121
|
+
if (xSailPointExperimental === undefined) {
|
|
122
|
+
xSailPointExperimental = 'true';
|
|
123
|
+
}
|
|
120
124
|
localVarPath = "/public-machine-identities/v1";
|
|
121
125
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
126
|
if (configuration) {
|
|
@@ -140,6 +144,9 @@ var PublicMachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
140
144
|
if (sorters !== undefined) {
|
|
141
145
|
localVarQueryParameter['sorters'] = sorters;
|
|
142
146
|
}
|
|
147
|
+
if (xSailPointExperimental != null) {
|
|
148
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
149
|
+
}
|
|
143
150
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
144
151
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
152
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -168,16 +175,17 @@ var PublicMachineIdentitiesApiFp = function (configuration) {
|
|
|
168
175
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
169
176
|
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.
|
|
170
177
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.
|
|
178
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
171
179
|
* @param {*} [axiosOptions] Override http request option.
|
|
172
180
|
* @throws {RequiredError}
|
|
173
181
|
*/
|
|
174
|
-
listPublicMachineIdentitiesV1: function (limit, offset, count, filters, sorters, axiosOptions) {
|
|
182
|
+
listPublicMachineIdentitiesV1: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
|
|
175
183
|
var _a, _b, _c;
|
|
176
184
|
return __awaiter(this, void 0, void 0, function () {
|
|
177
185
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
178
186
|
return __generator(this, function (_d) {
|
|
179
187
|
switch (_d.label) {
|
|
180
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPublicMachineIdentitiesV1(limit, offset, count, filters, sorters, axiosOptions)];
|
|
188
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPublicMachineIdentitiesV1(limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions)];
|
|
181
189
|
case 1:
|
|
182
190
|
localVarAxiosArgs = _d.sent();
|
|
183
191
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -206,7 +214,7 @@ var PublicMachineIdentitiesApiFactory = function (configuration, basePath, axios
|
|
|
206
214
|
*/
|
|
207
215
|
listPublicMachineIdentitiesV1: function (requestParameters, axiosOptions) {
|
|
208
216
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
209
|
-
return localVarFp.listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
217
|
+
return localVarFp.listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
210
218
|
},
|
|
211
219
|
};
|
|
212
220
|
};
|
|
@@ -233,7 +241,7 @@ var PublicMachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
233
241
|
PublicMachineIdentitiesApi.prototype.listPublicMachineIdentitiesV1 = function (requestParameters, axiosOptions) {
|
|
234
242
|
var _this = this;
|
|
235
243
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
236
|
-
return (0, exports.PublicMachineIdentitiesApiFp)(this.configuration).listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
244
|
+
return (0, exports.PublicMachineIdentitiesApiFp)(this.configuration).listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
237
245
|
};
|
|
238
246
|
return PublicMachineIdentitiesApi;
|
|
239
247
|
}(base_1.BaseAPI));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../public_machine_identities/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AAsFnG;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,OAAO,EAAE,S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;IAC9H,IAAM,UAAU,GAAG,IAAA,oCAA4B,EAAC,aAAa,CAAC,CAAA;IAC9D,OAAO;QACH;;;;;;WAMG;QACH,6BAA6B,YAAC,iBAAsF,EAAE,YAAoC;YAA5H,kCAAA,EAAA,sBAAsF;YAChH,OAAO,UAAU,CAAC,6BAA6B,CAAC,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAxB,CAAwB,CAAC,CAAC;QAChP,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAdW,QAAA,iCAAiC,qCAc5C;AA4CF;;;;;GAKG;AACH;IAAgD,8CAAO;IAAvD;;IAYA,CAAC;IAXG;;;;;;;OAOG;IACI,kEAA6B,GAApC,UAAqC,iBAAsF,EAAE,YAAoC;QAAjK,iBAEC;QAFoC,kCAAA,EAAA,sBAAsF;QACvH,OAAO,IAAA,oCAA4B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,6BAA6B,CAAC,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAChS,CAAC;IACL,iCAAC;AAAD,CAAC,AAZD,CAAgD,cAAO,GAYtD;AAZY,gEAA0B","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Public Machine Identities\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 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 ListPublicMachineIdentitiesV1401Response\n */\nexport interface ListPublicMachineIdentitiesV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListPublicMachineIdentitiesV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface ListPublicMachineIdentitiesV1429Response\n */\nexport interface ListPublicMachineIdentitiesV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListPublicMachineIdentitiesV1429Response\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 * Reduced machine identity details for public catalog and request workflows.\n * @export\n * @interface PublicMachineIdentity\n */\nexport interface PublicMachineIdentity {\n /**\n * Machine identity id.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'id'?: string;\n /**\n * Human-readable display name of the machine identity.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'name'?: string;\n /**\n * Description of the machine identity.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'description'?: string | null;\n /**\n * Machine identity subtype. Present when your tenant returns enriched public machine identity data; otherwise omitted or null.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'subtype'?: string | null;\n /**\n * \n * @type {PublicMachineIdentityOwner}\n * @memberof PublicMachineIdentity\n */\n 'owner'?: PublicMachineIdentityOwner;\n}\n/**\n * Primary owner of a machine identity exposed by the public list endpoint.\n * @export\n * @interface PublicMachineIdentityOwner\n */\nexport interface PublicMachineIdentityOwner {\n /**\n * Identity id of the primary owner.\n * @type {string}\n * @memberof PublicMachineIdentityOwner\n */\n 'id'?: string;\n /**\n * Human-readable display name of the primary owner.\n * @type {string}\n * @memberof PublicMachineIdentityOwner\n */\n 'name'?: string;\n /**\n * Email address of the primary owner.\n * @type {string}\n * @memberof PublicMachineIdentityOwner\n */\n 'email'?: string | null;\n}\n\n/**\n * PublicMachineIdentitiesApi - axios parameter creator\n * @export\n */\nexport const PublicMachineIdentitiesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\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 {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.\n * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listPublicMachineIdentitiesV1: async (limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/public-machine-identities/v1`;\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 if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n\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};\n\n/**\n * PublicMachineIdentitiesApi - functional programming interface\n * @export\n */\nexport const PublicMachineIdentitiesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = PublicMachineIdentitiesApiAxiosParamCreator(configuration)\n return {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\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 {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.\n * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listPublicMachineIdentitiesV1(limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PublicMachineIdentity>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listPublicMachineIdentitiesV1(limit, offset, count, filters, sorters, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['PublicMachineIdentitiesApi.listPublicMachineIdentitiesV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * PublicMachineIdentitiesApi - factory interface\n * @export\n */\nexport const PublicMachineIdentitiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = PublicMachineIdentitiesApiFp(configuration)\n return {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\n * @param {PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listPublicMachineIdentitiesV1(requestParameters: PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<PublicMachineIdentity>> {\n return localVarFp.listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for listPublicMachineIdentitiesV1 operation in PublicMachineIdentitiesApi.\n * @export\n * @interface PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request\n */\nexport interface PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request {\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 PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\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 PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly offset?: number\n\n /**\n * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {boolean}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly count?: boolean\n\n /**\n * Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.\n * @type {string}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly filters?: string\n\n /**\n * Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.\n * @type {string}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly sorters?: string\n}\n\n/**\n * PublicMachineIdentitiesApi - object-oriented interface\n * @export\n * @class PublicMachineIdentitiesApi\n * @extends {BaseAPI}\n */\nexport class PublicMachineIdentitiesApi extends BaseAPI {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\n * @param {PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof PublicMachineIdentitiesApi\n */\n public listPublicMachineIdentitiesV1(requestParameters: PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return PublicMachineIdentitiesApiFp(this.configuration).listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"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YAAoC;QAAjK,iBAEC;QAFoC,kCAAA,EAAA,sBAAsF;QACvH,OAAO,IAAA,oCAA4B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,6BAA6B,CAAC,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,sBAAsB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAC1U,CAAC;IACL,iCAAC;AAAD,CAAC,AAZD,CAAgD,cAAO,GAYtD;AAZY,gEAA0B","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Public Machine Identities\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 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 ListPublicMachineIdentitiesV1401Response\n */\nexport interface ListPublicMachineIdentitiesV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListPublicMachineIdentitiesV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface ListPublicMachineIdentitiesV1429Response\n */\nexport interface ListPublicMachineIdentitiesV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListPublicMachineIdentitiesV1429Response\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 * Reduced machine identity details for public catalog and request workflows.\n * @export\n * @interface PublicMachineIdentity\n */\nexport interface PublicMachineIdentity {\n /**\n * Machine identity id.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'id'?: string;\n /**\n * Human-readable display name of the machine identity.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'name'?: string;\n /**\n * Description of the machine identity.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'description'?: string | null;\n /**\n * Machine identity subtype. Present when your tenant returns enriched public machine identity data; otherwise omitted or null.\n * @type {string}\n * @memberof PublicMachineIdentity\n */\n 'subtype'?: string | null;\n /**\n * \n * @type {PublicMachineIdentityOwner}\n * @memberof PublicMachineIdentity\n */\n 'owner'?: PublicMachineIdentityOwner;\n}\n/**\n * Primary owner of a machine identity exposed by the public list endpoint.\n * @export\n * @interface PublicMachineIdentityOwner\n */\nexport interface PublicMachineIdentityOwner {\n /**\n * Identity id of the primary owner.\n * @type {string}\n * @memberof PublicMachineIdentityOwner\n */\n 'id'?: string;\n /**\n * Human-readable display name of the primary owner.\n * @type {string}\n * @memberof PublicMachineIdentityOwner\n */\n 'name'?: string;\n /**\n * Email address of the primary owner.\n * @type {string}\n * @memberof PublicMachineIdentityOwner\n */\n 'email'?: string | null;\n}\n\n/**\n * PublicMachineIdentitiesApi - axios parameter creator\n * @export\n */\nexport const PublicMachineIdentitiesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\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 {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.\n * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listPublicMachineIdentitiesV1: async (limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/public-machine-identities/v1`;\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 if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\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};\n\n/**\n * PublicMachineIdentitiesApi - functional programming interface\n * @export\n */\nexport const PublicMachineIdentitiesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = PublicMachineIdentitiesApiAxiosParamCreator(configuration)\n return {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\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 {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.\n * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.\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 listPublicMachineIdentitiesV1(limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PublicMachineIdentity>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listPublicMachineIdentitiesV1(limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['PublicMachineIdentitiesApi.listPublicMachineIdentitiesV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * PublicMachineIdentitiesApi - factory interface\n * @export\n */\nexport const PublicMachineIdentitiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = PublicMachineIdentitiesApiFp(configuration)\n return {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\n * @param {PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listPublicMachineIdentitiesV1(requestParameters: PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<PublicMachineIdentity>> {\n return localVarFp.listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for listPublicMachineIdentitiesV1 operation in PublicMachineIdentitiesApi.\n * @export\n * @interface PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request\n */\nexport interface PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request {\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 PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\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 PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly offset?: number\n\n /**\n * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {boolean}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly count?: boolean\n\n /**\n * Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **subtype**: *eq* **owner.id**: *eq* **owner**: *eq* `subtype`, **owner.id**, and **owner** are only available when your tenant returns enriched public machine identity data; otherwise requests using those filters return `400 Bad Request`. **owner** is rewritten to **owner.id** when filtering.\n * @type {string}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly filters?: string\n\n /**\n * Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, subtype** Sorting on `subtype` is only available when your tenant returns enriched public machine identity data; otherwise the request returns `400 Bad Request`.\n * @type {string}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly sorters?: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof PublicMachineIdentitiesApiListPublicMachineIdentitiesV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * PublicMachineIdentitiesApi - object-oriented interface\n * @export\n * @class PublicMachineIdentitiesApi\n * @extends {BaseAPI}\n */\nexport class PublicMachineIdentitiesApi extends BaseAPI {\n /**\n * Get a list of machine identities with a reduced public payload (`id`, `name`, `description`, and optionally `subtype` and the primary `owner`). Any authenticated user with the default scope can call this endpoint; it does not require the `idn:mis-identity:read` scope.\n * @summary List public machine identities\n * @param {PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof PublicMachineIdentitiesApi\n */\n public listPublicMachineIdentitiesV1(requestParameters: PublicMachineIdentitiesApiListPublicMachineIdentitiesV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return PublicMachineIdentitiesApiFp(this.configuration).listPublicMachineIdentitiesV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
|
package/dist/search/api.d.ts
CHANGED
|
@@ -770,7 +770,7 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
770
770
|
*/
|
|
771
771
|
searchCountV1: (search: Search, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
772
772
|
/**
|
|
773
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
773
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
774
774
|
* @summary Get a document by id
|
|
775
775
|
* @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*.
|
|
776
776
|
* @param {string} id ID of the requested document.
|
|
@@ -779,7 +779,7 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
779
779
|
*/
|
|
780
780
|
searchGetV1: (index: SearchGetV1IndexEnum, id: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
781
781
|
/**
|
|
782
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
782
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
783
783
|
* @summary Perform search
|
|
784
784
|
* @param {Search} search
|
|
785
785
|
* @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.
|
|
@@ -815,7 +815,7 @@ export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
|
815
815
|
*/
|
|
816
816
|
searchCountV1(search: Search, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
817
817
|
/**
|
|
818
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
818
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
819
819
|
* @summary Get a document by id
|
|
820
820
|
* @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*.
|
|
821
821
|
* @param {string} id ID of the requested document.
|
|
@@ -824,7 +824,7 @@ export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
|
824
824
|
*/
|
|
825
825
|
searchGetV1(index: SearchGetV1IndexEnum, id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
826
826
|
/**
|
|
827
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
827
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
828
828
|
* @summary Perform search
|
|
829
829
|
* @param {Search} search
|
|
830
830
|
* @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.
|
|
@@ -857,7 +857,7 @@ export declare const SearchApiFactory: (configuration?: Configuration, basePath?
|
|
|
857
857
|
*/
|
|
858
858
|
searchCountV1(requestParameters: SearchApiSearchCountV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
859
859
|
/**
|
|
860
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
860
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
861
861
|
* @summary Get a document by id
|
|
862
862
|
* @param {SearchApiSearchGetV1Request} requestParameters Request parameters.
|
|
863
863
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -865,7 +865,7 @@ export declare const SearchApiFactory: (configuration?: Configuration, basePath?
|
|
|
865
865
|
*/
|
|
866
866
|
searchGetV1(requestParameters: SearchApiSearchGetV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
867
867
|
/**
|
|
868
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
868
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
869
869
|
* @summary Perform search
|
|
870
870
|
* @param {SearchApiSearchPostV1Request} requestParameters Request parameters.
|
|
871
871
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -993,7 +993,7 @@ export declare class SearchApi extends BaseAPI {
|
|
|
993
993
|
*/
|
|
994
994
|
searchCountV1(requestParameters: SearchApiSearchCountV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
995
995
|
/**
|
|
996
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
996
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
997
997
|
* @summary Get a document by id
|
|
998
998
|
* @param {SearchApiSearchGetV1Request} requestParameters Request parameters.
|
|
999
999
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -1002,7 +1002,7 @@ export declare class SearchApi extends BaseAPI {
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
searchGetV1(requestParameters: SearchApiSearchGetV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
1004
1004
|
/**
|
|
1005
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
1005
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
1006
1006
|
* @summary Perform search
|
|
1007
1007
|
* @param {SearchApiSearchPostV1Request} requestParameters Request parameters.
|
|
1008
1008
|
* @param {*} [axiosOptions] Override http request option.
|
package/dist/search/api.js
CHANGED
|
@@ -256,7 +256,7 @@ var SearchApiAxiosParamCreator = function (configuration) {
|
|
|
256
256
|
});
|
|
257
257
|
},
|
|
258
258
|
/**
|
|
259
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
259
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
260
260
|
* @summary Get a document by id
|
|
261
261
|
* @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*.
|
|
262
262
|
* @param {string} id ID of the requested document.
|
|
@@ -293,7 +293,7 @@ var SearchApiAxiosParamCreator = function (configuration) {
|
|
|
293
293
|
});
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
296
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
297
297
|
* @summary Perform search
|
|
298
298
|
* @param {Search} search
|
|
299
299
|
* @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.
|
|
@@ -398,7 +398,7 @@ var SearchApiFp = function (configuration) {
|
|
|
398
398
|
});
|
|
399
399
|
},
|
|
400
400
|
/**
|
|
401
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
401
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
402
402
|
* @summary Get a document by id
|
|
403
403
|
* @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*.
|
|
404
404
|
* @param {string} id ID of the requested document.
|
|
@@ -422,7 +422,7 @@ var SearchApiFp = function (configuration) {
|
|
|
422
422
|
});
|
|
423
423
|
},
|
|
424
424
|
/**
|
|
425
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
425
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
426
426
|
* @summary Perform search
|
|
427
427
|
* @param {Search} search
|
|
428
428
|
* @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.
|
|
@@ -478,7 +478,7 @@ var SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
478
478
|
return localVarFp.searchCountV1(requestParameters.search, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
479
479
|
},
|
|
480
480
|
/**
|
|
481
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
481
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
482
482
|
* @summary Get a document by id
|
|
483
483
|
* @param {SearchApiSearchGetV1Request} requestParameters Request parameters.
|
|
484
484
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -488,7 +488,7 @@ var SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
488
488
|
return localVarFp.searchGetV1(requestParameters.index, requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
489
489
|
},
|
|
490
490
|
/**
|
|
491
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
491
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
492
492
|
* @summary Perform search
|
|
493
493
|
* @param {SearchApiSearchPostV1Request} requestParameters Request parameters.
|
|
494
494
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -536,7 +536,7 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
536
536
|
return (0, exports.SearchApiFp)(this.configuration).searchCountV1(requestParameters.search, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
537
537
|
};
|
|
538
538
|
/**
|
|
539
|
-
* Fetches a single document from the specified index, using the specified document ID.
|
|
539
|
+
* Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
540
540
|
* @summary Get a document by id
|
|
541
541
|
* @param {SearchApiSearchGetV1Request} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -548,7 +548,7 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
548
548
|
return (0, exports.SearchApiFp)(this.configuration).searchGetV1(requestParameters.index, requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
549
549
|
};
|
|
550
550
|
/**
|
|
551
|
-
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists).
|
|
551
|
+
* Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging. The search query itself has a size limitation of approximately 800 objects when filtering by large lists of IDs or values (e.g., using `terms` filters with extensive lists). **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
|
|
552
552
|
* @summary Perform search
|
|
553
553
|
* @param {SearchApiSearchPostV1Request} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [axiosOptions] Override http request option.
|