sailpoint-api-client 2.0.3 → 2.0.5

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.
Files changed (188) hide show
  1. package/access_model_metadata/docs/Methods/AccessModelMetadataApi.md +11 -11
  2. package/access_profiles/docs/Methods/AccessProfilesApi.md +8 -8
  3. package/access_request_approvals/docs/Methods/AccessRequestApprovalsApi.md +7 -7
  4. package/access_request_identity_metrics/docs/Methods/AccessRequestIdentityMetricsApi.md +1 -1
  5. package/access_requests/docs/Methods/AccessRequestsApi.md +13 -13
  6. package/account_activities/docs/Methods/AccountActivitiesApi.md +2 -2
  7. package/account_aggregations/docs/Methods/AccountAggregationsApi.md +1 -1
  8. package/account_deletion_requests/docs/Methods/AccountDeletionRequestsApi.md +2 -2
  9. package/account_usages/docs/Methods/AccountUsagesApi.md +1 -1
  10. package/accounts/docs/Methods/AccountsApi.md +16 -16
  11. package/api_usage/docs/Methods/ApiUsageApi.md +2 -2
  12. package/application_discovery/docs/Methods/ApplicationDiscoveryApi.md +4 -4
  13. package/approvals/docs/Methods/ApprovalsApi.md +15 -15
  14. package/apps/docs/Methods/AppsApi.md +14 -14
  15. package/auth_profile/docs/Methods/AuthProfileApi.md +3 -3
  16. package/auth_users/docs/Methods/AuthUsersApi.md +2 -2
  17. package/branding/docs/Methods/BrandingApi.md +5 -5
  18. package/certification_campaign_filters/docs/Methods/CertificationCampaignFiltersApi.md +5 -5
  19. package/certification_campaigns/docs/Methods/CertificationCampaignsApi.md +22 -22
  20. package/certification_summaries/docs/Methods/CertificationSummariesApi.md +4 -4
  21. package/certifications/docs/Methods/CertificationsApi.md +11 -11
  22. package/classify_source/docs/Methods/ClassifySourceApi.md +3 -3
  23. package/configuration_hub/docs/Methods/ConfigurationHubApi.md +20 -20
  24. package/connector_customizers/docs/Methods/ConnectorCustomizersApi.md +6 -6
  25. package/connector_rule_management/docs/Methods/ConnectorRuleManagementApi.md +6 -6
  26. package/connectors/docs/Methods/ConnectorsApi.md +13 -13
  27. package/custom_forms/docs/Methods/CustomFormsApi.md +18 -18
  28. package/custom_password_instructions/docs/Methods/CustomPasswordInstructionsApi.md +3 -3
  29. package/custom_user_levels/docs/Methods/CustomUserLevelsApi.md +9 -9
  30. package/data_access_security/docs/Methods/DataAccessSecurityApi.md +25 -25
  31. package/data_segmentation/docs/Methods/DataSegmentationApi.md +8 -8
  32. package/declassify_source/docs/Methods/DeclassifySourceApi.md +1 -1
  33. package/dimensions/docs/Methods/DimensionsApi.md +8 -8
  34. package/dist/index.d.ts +3 -0
  35. package/dist/index.js +192 -189
  36. package/dist/index.js.map +1 -1
  37. package/dist/intelligence/api.d.ts +1042 -0
  38. package/dist/intelligence/api.js +595 -0
  39. package/dist/intelligence/api.js.map +1 -0
  40. package/dist/intelligence/base.d.ts +66 -0
  41. package/dist/intelligence/base.js +90 -0
  42. package/dist/intelligence/base.js.map +1 -0
  43. package/dist/intelligence/common.d.ts +65 -0
  44. package/dist/intelligence/common.js +292 -0
  45. package/dist/intelligence/common.js.map +1 -0
  46. package/dist/intelligence/configuration.d.ts +91 -0
  47. package/dist/intelligence/configuration.js +46 -0
  48. package/dist/intelligence/configuration.js.map +1 -0
  49. package/dist/intelligence/index.d.ts +13 -0
  50. package/dist/intelligence/index.js +32 -0
  51. package/dist/intelligence/index.js.map +1 -0
  52. package/dist/nerm/common.js +2 -2
  53. package/dist/nermv2025/common.js +2 -2
  54. package/dist/sources/api.d.ts +509 -1
  55. package/dist/sources/api.js +587 -4
  56. package/dist/sources/api.js.map +1 -1
  57. package/entitlement_connections/docs/Methods/EntitlementConnectionsApi.md +5 -5
  58. package/entitlements/docs/Methods/EntitlementsApi.md +13 -13
  59. package/global_tenant_security_settings/docs/Methods/GlobalTenantSecuritySettingsApi.md +9 -9
  60. package/governance_groups/docs/Methods/GovernanceGroupsApi.md +10 -10
  61. package/iai_access_request_recommendations/docs/Methods/IAIAccessRequestRecommendationsApi.md +10 -10
  62. package/iai_common_access/docs/Methods/IAICommonAccessApi.md +3 -3
  63. package/iai_outliers/docs/Methods/IAIOutliersApi.md +9 -9
  64. package/iai_peer_group_strategies/docs/Methods/IAIPeerGroupStrategiesApi.md +1 -1
  65. package/iai_recommendations/docs/Methods/IAIRecommendationsApi.md +3 -3
  66. package/iai_role_mining/docs/Methods/IAIRoleMiningApi.md +25 -25
  67. package/icons/docs/Methods/IconsApi.md +2 -2
  68. package/identities/docs/Methods/IdentitiesApi.md +12 -12
  69. package/identity_attributes/docs/Methods/IdentityAttributesApi.md +6 -6
  70. package/identity_history/docs/Methods/IdentityHistoryApi.md +11 -11
  71. package/identity_profiles/docs/Methods/IdentityProfilesApi.md +11 -11
  72. package/index.ts +3 -0
  73. package/intelligence/.openapi-generator/FILES +40 -0
  74. package/intelligence/.openapi-generator/VERSION +1 -0
  75. package/intelligence/.openapi-generator-ignore +23 -0
  76. package/intelligence/.sdk-partition +1 -0
  77. package/intelligence/api.ts +1316 -0
  78. package/intelligence/base.ts +86 -0
  79. package/intelligence/common.ts +183 -0
  80. package/intelligence/configuration.ts +110 -0
  81. package/intelligence/docs/Examples/typescript_code_examples_overlay.yaml +78 -0
  82. package/intelligence/docs/Methods/Index.md +30 -0
  83. package/intelligence/docs/Methods/IntelligenceApi.md +259 -0
  84. package/intelligence/docs/Models/Errorbody.md +20 -0
  85. package/intelligence/docs/Models/Errormessagedto.md +21 -0
  86. package/intelligence/docs/Models/Errorresponsedto.md +22 -0
  87. package/intelligence/docs/Models/GetIdentityIntelligenceV1401Response.md +19 -0
  88. package/intelligence/docs/Models/GetIdentityIntelligenceV1429Response.md +19 -0
  89. package/intelligence/docs/Models/Index.md +19 -0
  90. package/intelligence/docs/Models/Intelaccessaccountwire.md +30 -0
  91. package/intelligence/docs/Models/Intelaccesshistory.md +20 -0
  92. package/intelligence/docs/Models/Intelaccesshistoryaccessitemsslice.md +20 -0
  93. package/intelligence/docs/Models/Intelaccesshistorycertificationsslice.md +20 -0
  94. package/intelligence/docs/Models/Intelaccessitemhistoryevent.md +20 -0
  95. package/intelligence/docs/Models/Intelaccesssourcewire.md +20 -0
  96. package/intelligence/docs/Models/Intelaccountsslice.md +20 -0
  97. package/intelligence/docs/Models/Intelcertificationhistoryevent.md +23 -0
  98. package/intelligence/docs/Models/Intelidentityaggregate.md +35 -0
  99. package/intelligence/docs/Models/Intelidentityambiguousbody.md +21 -0
  100. package/intelligence/docs/Models/Intelidentityambiguouscandidate.md +20 -0
  101. package/intelligence/docs/Models/Intelidentitynotfoundbody.md +20 -0
  102. package/intelligence/docs/Models/Inteloutlieraccessitem.md +24 -0
  103. package/intelligence/docs/Models/Inteloutliersslice.md +19 -0
  104. package/intelligence/docs/Models/Intelprivilegedaccessitemwire.md +26 -0
  105. package/intelligence/docs/Models/IntelprivilegedaccessitemwireSource.md +20 -0
  106. package/intelligence/docs/Models/Intelprivilegedaccessslice.md +19 -0
  107. package/intelligence/docs/Models/Intelrareaccessslice.md +20 -0
  108. package/intelligence/docs/Models/Localeorigin.md +21 -0
  109. package/intelligence/docs/Models/README.md +46 -0
  110. package/intelligence/git_push.sh +57 -0
  111. package/intelligence/index.ts +18 -0
  112. package/intelligence/package.json +34 -0
  113. package/intelligence/tsconfig.json +21 -0
  114. package/jit_access/docs/Methods/JITAccessApi.md +2 -2
  115. package/jit_activations/docs/Methods/JITActivationsApi.md +3 -3
  116. package/launchers/docs/Methods/LaunchersApi.md +6 -6
  117. package/lifecycle_states/docs/Methods/LifecycleStatesApi.md +6 -6
  118. package/machine_account_classify/docs/Methods/MachineAccountClassifyApi.md +1 -1
  119. package/machine_account_creation_request/docs/Methods/MachineAccountCreationRequestApi.md +3 -3
  120. package/machine_account_mappings/docs/Methods/MachineAccountMappingsApi.md +4 -4
  121. package/machine_account_subtypes/docs/Methods/MachineAccountSubtypesApi.md +8 -8
  122. package/machine_accounts/docs/Methods/MachineAccountsApi.md +9 -9
  123. package/machine_classification_config/docs/Methods/MachineClassificationConfigApi.md +3 -3
  124. package/machine_identities/docs/Methods/MachineIdentitiesApi.md +7 -7
  125. package/managed_clients/docs/Methods/ManagedClientsApi.md +7 -7
  126. package/managed_cluster_types/docs/Methods/ManagedClusterTypesApi.md +5 -5
  127. package/managed_clusters/docs/Methods/ManagedClustersApi.md +8 -8
  128. package/mfa_configuration/docs/Methods/MFAConfigurationApi.md +7 -7
  129. package/multi_host_integration/docs/Methods/MultiHostIntegrationApi.md +14 -14
  130. package/nerm/README.md +2 -2
  131. package/nerm/common.ts +2 -2
  132. package/nerm/package.json +1 -1
  133. package/nermv2025/README.md +2 -2
  134. package/nermv2025/common.ts +2 -2
  135. package/nermv2025/package.json +1 -1
  136. package/non_employee_lifecycle_management/docs/Methods/NonEmployeeLifecycleManagementApi.md +32 -32
  137. package/notifications/docs/Methods/NotificationsApi.md +16 -16
  138. package/oauth_clients/docs/Methods/OAuthClientsApi.md +5 -5
  139. package/org_config/docs/Methods/OrgConfigApi.md +3 -3
  140. package/package.json +1 -1
  141. package/parameter_storage/docs/Methods/ParameterStorageApi.md +8 -8
  142. package/password_configuration/docs/Methods/PasswordConfigurationApi.md +3 -3
  143. package/password_dictionary/docs/Methods/PasswordDictionaryApi.md +2 -2
  144. package/password_management/docs/Methods/PasswordManagementApi.md +4 -4
  145. package/password_policies/docs/Methods/PasswordPoliciesApi.md +5 -5
  146. package/password_sync_groups/docs/Methods/PasswordSyncGroupsApi.md +5 -5
  147. package/personal_access_tokens/docs/Methods/PersonalAccessTokensApi.md +4 -4
  148. package/privilege_criteria/docs/Methods/PrivilegeCriteriaApi.md +5 -5
  149. package/privilege_criteria_configuration/docs/Methods/PrivilegeCriteriaConfigurationApi.md +3 -3
  150. package/prompt_insights/docs/Methods/PromptInsightsApi.md +2 -2
  151. package/public_identities/docs/Methods/PublicIdentitiesApi.md +1 -1
  152. package/public_identities_config/docs/Methods/PublicIdentitiesConfigApi.md +2 -2
  153. package/reports_data_extraction/docs/Methods/ReportsDataExtractionApi.md +4 -4
  154. package/requestable_objects/docs/Methods/RequestableObjectsApi.md +1 -1
  155. package/role_insights/docs/Methods/RoleInsightsApi.md +9 -9
  156. package/role_propagation/docs/Methods/RolePropagationApi.md +6 -6
  157. package/roles/docs/Methods/RolesApi.md +16 -16
  158. package/saved_search/docs/Methods/SavedSearchApi.md +6 -6
  159. package/scheduled_search/docs/Methods/ScheduledSearchApi.md +6 -6
  160. package/search/docs/Methods/SearchApi.md +4 -4
  161. package/search_attribute_configuration/docs/Methods/SearchAttributeConfigurationApi.md +5 -5
  162. package/segments/docs/Methods/SegmentsApi.md +5 -5
  163. package/service_desk_integration/docs/Methods/ServiceDeskIntegrationApi.md +10 -10
  164. package/shared_signals_framework_ssf/docs/Methods/SharedSignalsFrameworkSSFApi.md +10 -10
  165. package/sim_integrations/docs/Methods/SIMIntegrationsApi.md +7 -7
  166. package/sod_policies/docs/Methods/SODPoliciesApi.md +17 -17
  167. package/sod_violations/docs/Methods/SODViolationsApi.md +2 -2
  168. package/source_usages/docs/Methods/SourceUsagesApi.md +2 -2
  169. package/sources/.openapi-generator/FILES +2 -0
  170. package/sources/api.ts +846 -9
  171. package/sources/docs/Examples/typescript_code_examples_overlay.yaml +101 -0
  172. package/sources/docs/Methods/SourcesApi.md +344 -56
  173. package/sources/docs/Models/Fielddetailsdtov2.md +24 -0
  174. package/sources/docs/Models/Provisioningpolicydtov2.md +24 -0
  175. package/sources/docs/Models/Usagetype.md +2 -0
  176. package/sp_config/docs/Methods/SPConfigApi.md +7 -7
  177. package/suggested_entitlement_description/docs/Methods/SuggestedEntitlementDescriptionApi.md +15 -15
  178. package/tagged_objects/docs/Methods/TaggedObjectsApi.md +8 -8
  179. package/tags/docs/Methods/TagsApi.md +4 -4
  180. package/task_management/docs/Methods/TaskManagementApi.md +3 -3
  181. package/tenant/docs/Methods/TenantApi.md +1 -1
  182. package/tenant_context/docs/Methods/TenantContextApi.md +2 -2
  183. package/transforms/docs/Methods/TransformsApi.md +5 -5
  184. package/triggers/docs/Methods/TriggersApi.md +10 -10
  185. package/ui_metadata/docs/Methods/UIMetadataApi.md +2 -2
  186. package/work_items/docs/Methods/WorkItemsApi.md +13 -13
  187. package/work_reassignment/docs/Methods/WorkReassignmentApi.md +9 -9
  188. package/workflows/docs/Methods/WorkflowsApi.md +19 -19
@@ -0,0 +1,86 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Identity Security Cloud API - Intelligence
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from '../configuration';
17
+ // Some imports not used depending on template conditions
18
+ // @ts-ignore
19
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
20
+ import globalAxios from 'axios';
21
+
22
+ export const BASE_PATH = "https://sailpoint.api.identitynow.com".replace(/\/+$/, "");
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ */
28
+ export const COLLECTION_FORMATS = {
29
+ csv: ",",
30
+ ssv: " ",
31
+ tsv: "\t",
32
+ pipes: "|",
33
+ };
34
+
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface RequestArgs
39
+ */
40
+ export interface RequestArgs {
41
+ url: string;
42
+ axiosOptions: RawAxiosRequestConfig;
43
+ }
44
+
45
+ /**
46
+ *
47
+ * @export
48
+ * @class BaseAPI
49
+ */
50
+ export class BaseAPI {
51
+ protected configuration: Configuration | undefined;
52
+
53
+ constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = configuration?.axiosInstance ?? globalAxios) {
54
+ if (configuration) {
55
+ this.configuration = configuration;
56
+ this.basePath = configuration.basePath || this.basePath;
57
+ }
58
+ }
59
+ };
60
+
61
+ /**
62
+ *
63
+ * @export
64
+ * @class RequiredError
65
+ * @extends {Error}
66
+ */
67
+ export class RequiredError extends Error {
68
+ constructor(public field: string, msg?: string) {
69
+ super(msg);
70
+ this.name = "RequiredError"
71
+ }
72
+ }
73
+
74
+ interface ServerMap {
75
+ [key: string]: {
76
+ url: string,
77
+ description: string,
78
+ }[];
79
+ }
80
+
81
+ /**
82
+ *
83
+ * @export
84
+ */
85
+ export const operationServerMap: ServerMap = {
86
+ }
@@ -0,0 +1,183 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Identity Security Cloud API - Intelligence
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from "../configuration";
17
+ import type { RequestArgs } from "./base";
18
+ import type { AxiosInstance, AxiosResponse } from 'axios';
19
+ import { RequiredError } from "./base";
20
+
21
+ /**
22
+ *
23
+ * @export
24
+ */
25
+ export const DUMMY_BASE_URL = 'https://example.com'
26
+
27
+ /**
28
+ *
29
+ * @throws {RequiredError}
30
+ * @export
31
+ */
32
+ export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
33
+ if (paramValue === null || paramValue === undefined) {
34
+ throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
35
+ }
36
+ }
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ */
42
+ export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
43
+ if (configuration && configuration.apiKey) {
44
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
45
+ ? await configuration.apiKey(keyParamName)
46
+ : await configuration.apiKey;
47
+ object[keyParamName] = localVarApiKeyValue;
48
+ }
49
+ }
50
+
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
56
+ if (configuration && (configuration.username || configuration.password)) {
57
+ object["auth"] = { username: configuration.username, password: configuration.password };
58
+ }
59
+ }
60
+
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
66
+ if (configuration && configuration.accessToken) {
67
+ const accessToken = typeof configuration.accessToken === 'function'
68
+ ? await configuration.accessToken()
69
+ : await configuration.accessToken;
70
+ object["Authorization"] = "Bearer " + accessToken;
71
+ }
72
+ }
73
+
74
+ /**
75
+ *
76
+ * @export
77
+ */
78
+ export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
79
+ if (configuration && configuration.accessToken) {
80
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
81
+ ? await configuration.accessToken(name, scopes)
82
+ : await configuration.accessToken;
83
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
84
+ }
85
+ }
86
+
87
+ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
88
+ if (parameter == null) return;
89
+ if (typeof parameter === "object") {
90
+ if (Array.isArray(parameter)) {
91
+ (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
92
+ }
93
+ else {
94
+ Object.keys(parameter).forEach(currentKey =>
95
+ setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
96
+ );
97
+ }
98
+ }
99
+ else {
100
+ if (urlSearchParams.has(key)) {
101
+ urlSearchParams.append(key, parameter);
102
+ }
103
+ else {
104
+ urlSearchParams.set(key, parameter);
105
+ }
106
+ }
107
+ }
108
+
109
+ /**
110
+ *
111
+ * @export
112
+ */
113
+ export const setSearchParams = function (url: URL, ...objects: any[]) {
114
+ const searchParams = new URLSearchParams(url.search);
115
+ setFlattenedQueryParams(searchParams, objects);
116
+ url.search = searchParams.toString();
117
+ }
118
+
119
+ /**
120
+ *
121
+ * @export
122
+ */
123
+ export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
124
+ const nonString = typeof value !== 'string';
125
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
126
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
127
+ : nonString;
128
+ return needsSerialization
129
+ ? JSON.stringify(value !== undefined ? value : {})
130
+ : (value || "");
131
+ }
132
+
133
+ /**
134
+ *
135
+ * @export
136
+ */
137
+ export const toPathString = function (url: URL) {
138
+ return url.pathname + url.search + url.hash
139
+ }
140
+
141
+ /**
142
+ *
143
+ * @export
144
+ */
145
+ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
146
+ return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
147
+ let userAgent = `SailPoint-SDK-TypeScript/1.0.0`;
148
+ if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
149
+ userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
150
+ }
151
+ userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
152
+ const headers = {
153
+ ...axiosArgs.axiosOptions.headers,
154
+ ...{'X-SailPoint-SDK':'typescript-1.0.0'},
155
+ ...{'User-Agent': userAgent},
156
+ }
157
+
158
+ if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
159
+ throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.")
160
+ } else if(configuration.experimental == true && ("X-SailPoint-Experimental" in headers)) {
161
+ console.log("Warning: You are using Experimental APIs")
162
+ }
163
+
164
+ await setBearerAuthToObject(headers, configuration);
165
+
166
+ const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.basePath) + axiosArgs.url, headers};
167
+ return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {
168
+ if (error?.isAxiosError === true) {
169
+ const clean: any = new Error(error.message ?? 'API request failed');
170
+ clean.name = 'ApiError';
171
+ clean.stack = error.stack;
172
+ clean.code = error.code;
173
+ if (error.response) {
174
+ clean.status = error.response.status;
175
+ clean.statusText = error.response.statusText;
176
+ clean.data = error.response.data;
177
+ }
178
+ throw clean;
179
+ }
180
+ throw error;
181
+ });
182
+ };
183
+ }
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Identity Security Cloud API - Intelligence
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ export interface ConfigurationParameters {
17
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
18
+ username?: string;
19
+ password?: string;
20
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
21
+ basePath?: string;
22
+ serverIndex?: number;
23
+ baseOptions?: any;
24
+ formDataCtor?: new () => any;
25
+ }
26
+
27
+ export class Configuration {
28
+ /**
29
+ * parameter for apiKey security
30
+ * @param name security name
31
+ * @memberof Configuration
32
+ */
33
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
34
+ /**
35
+ * parameter for basic security
36
+ *
37
+ * @type {string}
38
+ * @memberof Configuration
39
+ */
40
+ username?: string;
41
+ /**
42
+ * parameter for basic security
43
+ *
44
+ * @type {string}
45
+ * @memberof Configuration
46
+ */
47
+ password?: string;
48
+ /**
49
+ * parameter for oauth2 security
50
+ * @param name security name
51
+ * @param scopes oauth2 scope
52
+ * @memberof Configuration
53
+ */
54
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
55
+ /**
56
+ * override base path
57
+ *
58
+ * @type {string}
59
+ * @memberof Configuration
60
+ */
61
+ basePath?: string;
62
+ /**
63
+ * override server index
64
+ *
65
+ * @type {number}
66
+ * @memberof Configuration
67
+ */
68
+ serverIndex?: number;
69
+ /**
70
+ * base options for axios calls
71
+ *
72
+ * @type {any}
73
+ * @memberof Configuration
74
+ */
75
+ baseOptions?: any;
76
+ /**
77
+ * The FormData constructor that will be used to create multipart form data
78
+ * requests. You can inject this here so that execution environments that
79
+ * do not support the FormData class can still run the generated client.
80
+ *
81
+ * @type {new () => FormData}
82
+ */
83
+ formDataCtor?: new () => any;
84
+
85
+ constructor(param: ConfigurationParameters = {}) {
86
+ this.apiKey = param.apiKey;
87
+ this.username = param.username;
88
+ this.password = param.password;
89
+ this.accessToken = param.accessToken;
90
+ this.basePath = param.basePath;
91
+ this.serverIndex = param.serverIndex;
92
+ this.baseOptions = param.baseOptions;
93
+ this.formDataCtor = param.formDataCtor;
94
+ }
95
+
96
+ /**
97
+ * Check if the given MIME is a JSON MIME.
98
+ * JSON MIME examples:
99
+ * application/json
100
+ * application/json; charset=UTF8
101
+ * APPLICATION/JSON
102
+ * application/vnd.company+json
103
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
104
+ * @return True if the given MIME is JSON, false otherwise.
105
+ */
106
+ public isJsonMime(mime: string): boolean {
107
+ const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
108
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
109
+ }
110
+ }
@@ -0,0 +1,78 @@
1
+ - path: /intelligence/v1/identities
2
+ method: GET
3
+ xCodeSample:
4
+ - lang: TypeScript
5
+ label: SDK_tools/sdk/typescript/intelligence/methods/intelligence#get-identity-intelligence-v1
6
+ source: |
7
+ import { IntelligenceApi } from 'sailpoint-api-client';
8
+ import { Configuration } from 'sailpoint-api-client';
9
+
10
+ const configuration = new Configuration();
11
+ const apiInstance = new IntelligenceApi(configuration);
12
+ const filters: string = 'id eq "ef38f94347e94562b5bb8424a56397d8"'; // string | 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* **email**: *eq* (default to undefined)
13
+ const result = await apiInstance.getIdentityIntelligenceV1({ filters: filters });
14
+ console.log(result);
15
+ - path: /intelligence/v1/identities/{id}/access-history/access-items
16
+ method: GET
17
+ xCodeSample:
18
+ - lang: TypeScript
19
+ label: SDK_tools/sdk/typescript/intelligence/methods/intelligence#get-intel-identity-access-item-history-v1
20
+ source: |
21
+ import { IntelligenceApi } from 'sailpoint-api-client';
22
+ import { Configuration } from 'sailpoint-api-client';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new IntelligenceApi(configuration);
26
+ const id: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | Non-empty identity id path segment for Intelligence sub-resources. (default to undefined)
27
+ const limit: number = 250; // number | Page size. Defaults to 250; values above 250 are rejected with 400. (optional) (default to 250)
28
+ const offset: number = 0; // number | Zero-based page offset. Defaults to 0. (optional) (default to 0)
29
+ const result = await apiInstance.getIntelIdentityAccessItemHistoryV1({ id: id });
30
+ console.log(result);
31
+ - path: /intelligence/v1/identities/{id}/accounts
32
+ method: GET
33
+ xCodeSample:
34
+ - lang: TypeScript
35
+ label: SDK_tools/sdk/typescript/intelligence/methods/intelligence#get-intel-identity-accounts-v1
36
+ source: |
37
+ import { IntelligenceApi } from 'sailpoint-api-client';
38
+ import { Configuration } from 'sailpoint-api-client';
39
+
40
+ const configuration = new Configuration();
41
+ const apiInstance = new IntelligenceApi(configuration);
42
+ const id: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | Non-empty identity id path segment for Intelligence sub-resources. (default to undefined)
43
+ const limit: number = 250; // number | Page size. Defaults to 250; values above 250 are rejected with 400. (optional) (default to 250)
44
+ const offset: number = 0; // number | Zero-based page offset. Defaults to 0. (optional) (default to 0)
45
+ const result = await apiInstance.getIntelIdentityAccountsV1({ id: id });
46
+ console.log(result);
47
+ - path: /intelligence/v1/identities/{id}/access-history/certifications
48
+ method: GET
49
+ xCodeSample:
50
+ - lang: TypeScript
51
+ label: SDK_tools/sdk/typescript/intelligence/methods/intelligence#get-intel-identity-certification-history-v1
52
+ source: |
53
+ import { IntelligenceApi } from 'sailpoint-api-client';
54
+ import { Configuration } from 'sailpoint-api-client';
55
+
56
+ const configuration = new Configuration();
57
+ const apiInstance = new IntelligenceApi(configuration);
58
+ const id: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | Non-empty identity id path segment for Intelligence sub-resources. (default to undefined)
59
+ const limit: number = 250; // number | Page size. Defaults to 250; values above 250 are rejected with 400. (optional) (default to 250)
60
+ const offset: number = 0; // number | Zero-based page offset. Defaults to 0. (optional) (default to 0)
61
+ const result = await apiInstance.getIntelIdentityCertificationHistoryV1({ id: id });
62
+ console.log(result);
63
+ - path: /intelligence/v1/identities/{id}/outliers/rare-access
64
+ method: GET
65
+ xCodeSample:
66
+ - lang: TypeScript
67
+ label: SDK_tools/sdk/typescript/intelligence/methods/intelligence#get-intel-identity-rare-access-v1
68
+ source: |
69
+ import { IntelligenceApi } from 'sailpoint-api-client';
70
+ import { Configuration } from 'sailpoint-api-client';
71
+
72
+ const configuration = new Configuration();
73
+ const apiInstance = new IntelligenceApi(configuration);
74
+ const id: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | Non-empty identity id path segment for Intelligence sub-resources. (default to undefined)
75
+ const limit: number = 250; // number | Page size. Defaults to 250; values above 250 are rejected with 400. (optional) (default to 250)
76
+ const offset: number = 0; // number | Zero-based page offset. Defaults to 0. (optional) (default to 0)
77
+ const result = await apiInstance.getIntelIdentityRareAccessV1({ id: id });
78
+ console.log(result);
@@ -0,0 +1,30 @@
1
+ ---
2
+ id: intelligence-methods
3
+ title: Methods
4
+ pagination_label: Methods
5
+ sidebar_label: Methods
6
+ sidebar_position: 3
7
+ sidebar_key: intelligence-typescript-methods
8
+ sidebar_class_name: methods
9
+ keywords: ['typescript', 'TypeScript', 'sdk', 'intelligence', 'methods']
10
+ slug: /tools/sdk/typescript/intelligence/methods
11
+ tags: ['SDK', 'Software Development Kit', 'intelligence', 'methods']
12
+ ---
13
+
14
+ Method documents provide detailed information about each API operation (or method). They describe what the method does and details its input parameters, expected return values, and any considerations to be aware of when using it.
15
+ ## Key Features
16
+ - Purpose & Overview: Explains the purpose of the method and its role in the API.
17
+ - Parameters: Describe the required input parameters, including their data types.
18
+ - Response Format: Details the expected return format or structure.
19
+ - Error Scenarios: Outline potential errors or issues that may arise during method execution.
20
+ - Example: Provides a sample of how the API uses the method.
21
+
22
+ ## Available Methods
23
+ This is a list of the core methods available in the TypeScript SDK for **V1** endpoints:
24
+
25
+ ```mdx-code-block
26
+ import DocCardList from '@theme/DocCardList';
27
+ import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
28
+
29
+ <DocCardList items={useCurrentSidebarCategory().items}/>
30
+ ```