sailpoint-api-client 2.0.6 → 2.0.8
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/access_model_metadata/docs/Examples/typescript_code_examples_overlay.yaml +9 -2
- package/access_model_metadata/docs/Methods/AccessModelMetadataApi.md +9 -2
- package/access_profiles/docs/Examples/typescript_code_examples_overlay.yaml +6 -2
- package/access_profiles/docs/Methods/AccessProfilesApi.md +6 -2
- package/access_request_approvals/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/access_request_approvals/docs/Methods/AccessRequestApprovalsApi.md +3 -0
- package/access_requests/docs/Examples/typescript_code_examples_overlay.yaml +8 -0
- package/access_requests/docs/Methods/AccessRequestsApi.md +8 -0
- package/account_deletion_requests/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/account_deletion_requests/docs/Methods/AccountDeletionRequestsApi.md +1 -0
- package/accounts/docs/Examples/typescript_code_examples_overlay.yaml +8 -1
- package/accounts/docs/Methods/AccountsApi.md +8 -1
- package/application_discovery/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/application_discovery/docs/Methods/ApplicationDiscoveryApi.md +1 -0
- package/approvals/docs/Examples/typescript_code_examples_overlay.yaml +11 -0
- package/approvals/docs/Methods/ApprovalsApi.md +11 -0
- package/apps/docs/Examples/typescript_code_examples_overlay.yaml +7 -3
- package/apps/docs/Methods/AppsApi.md +7 -3
- package/auth_profile/docs/Examples/typescript_code_examples_overlay.yaml +2 -1
- package/auth_profile/docs/Methods/AuthProfileApi.md +2 -1
- package/auth_users/docs/Examples/typescript_code_examples_overlay.yaml +2 -1
- package/auth_users/docs/Methods/AuthUsersApi.md +2 -1
- package/certification_campaign_filters/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/certification_campaign_filters/docs/Methods/CertificationCampaignFiltersApi.md +3 -1
- package/certification_campaigns/docs/Examples/typescript_code_examples_overlay.yaml +12 -2
- package/certification_campaigns/docs/Methods/CertificationCampaignsApi.md +12 -2
- package/certifications/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/certifications/docs/Methods/CertificationsApi.md +4 -1
- package/configuration_hub/docs/Examples/typescript_code_examples_overlay.yaml +6 -0
- package/configuration_hub/docs/Methods/ConfigurationHubApi.md +6 -0
- package/connector_customizers/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/connector_customizers/docs/Methods/ConnectorCustomizersApi.md +2 -0
- package/connector_rule_management/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/connector_rule_management/docs/Methods/ConnectorRuleManagementApi.md +3 -0
- package/connectors/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/connectors/docs/Methods/ConnectorsApi.md +3 -1
- package/custom_forms/docs/Examples/typescript_code_examples_overlay.yaml +8 -3
- package/custom_forms/docs/Methods/CustomFormsApi.md +8 -3
- package/custom_password_instructions/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/custom_password_instructions/docs/Methods/CustomPasswordInstructionsApi.md +1 -0
- package/custom_user_levels/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/custom_user_levels/docs/Methods/CustomUserLevelsApi.md +3 -1
- package/data_access_security/docs/Examples/typescript_code_examples_overlay.yaml +8 -0
- package/data_access_security/docs/Methods/DataAccessSecurityApi.md +8 -0
- package/data_segmentation/docs/Examples/typescript_code_examples_overlay.yaml +3 -2
- package/data_segmentation/docs/Methods/DataSegmentationApi.md +3 -2
- package/dimensions/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/dimensions/docs/Methods/DimensionsApi.md +4 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.js +98 -101
- package/dist/index.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/entitlement_connections/docs/Examples/typescript_code_examples_overlay.yaml +6 -3
- package/entitlement_connections/docs/Methods/EntitlementConnectionsApi.md +6 -3
- package/entitlements/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/entitlements/docs/Methods/EntitlementsApi.md +4 -1
- package/global_tenant_security_settings/docs/Examples/typescript_code_examples_overlay.yaml +9 -4
- package/global_tenant_security_settings/docs/Methods/GlobalTenantSecuritySettingsApi.md +9 -4
- package/governance_groups/docs/Examples/typescript_code_examples_overlay.yaml +8 -3
- package/governance_groups/docs/Methods/GovernanceGroupsApi.md +8 -3
- package/iai_access_request_recommendations/docs/Examples/typescript_code_examples_overlay.yaml +6 -1
- package/iai_access_request_recommendations/docs/Methods/IAIAccessRequestRecommendationsApi.md +6 -1
- package/iai_common_access/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/iai_common_access/docs/Methods/IAICommonAccessApi.md +3 -1
- package/iai_outliers/docs/Examples/typescript_code_examples_overlay.yaml +2 -2
- package/iai_outliers/docs/Methods/IAIOutliersApi.md +2 -2
- package/iai_recommendations/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/iai_recommendations/docs/Methods/IAIRecommendationsApi.md +2 -0
- package/iai_role_mining/docs/Examples/typescript_code_examples_overlay.yaml +10 -3
- package/iai_role_mining/docs/Methods/IAIRoleMiningApi.md +10 -3
- package/identities/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/identities/docs/Methods/IdentitiesApi.md +3 -0
- package/identity_attributes/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/identity_attributes/docs/Methods/IdentityAttributesApi.md +3 -0
- package/identity_history/docs/Examples/typescript_code_examples_overlay.yaml +3 -3
- package/identity_history/docs/Methods/IdentityHistoryApi.md +3 -3
- package/identity_profiles/docs/Examples/typescript_code_examples_overlay.yaml +7 -3
- package/identity_profiles/docs/Methods/IdentityProfilesApi.md +7 -3
- package/index.ts +0 -3
- package/jit_access/docs/Examples/typescript_code_examples_overlay.yaml +2 -1
- package/jit_access/docs/Methods/JITAccessApi.md +2 -1
- package/jit_activations/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/jit_activations/docs/Methods/JITActivationsApi.md +3 -0
- package/launchers/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/launchers/docs/Methods/LaunchersApi.md +2 -0
- package/lifecycle_states/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/lifecycle_states/docs/Methods/LifecycleStatesApi.md +4 -1
- package/machine_account_creation_request/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/machine_account_creation_request/docs/Methods/MachineAccountCreationRequestApi.md +1 -0
- package/machine_account_mappings/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/machine_account_mappings/docs/Methods/MachineAccountMappingsApi.md +2 -0
- package/machine_account_subtypes/docs/Examples/typescript_code_examples_overlay.yaml +5 -3
- package/machine_account_subtypes/docs/Methods/MachineAccountSubtypesApi.md +5 -3
- package/machine_accounts/docs/Examples/typescript_code_examples_overlay.yaml +3 -2
- package/machine_accounts/docs/Methods/MachineAccountsApi.md +3 -2
- package/machine_classification_config/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/machine_classification_config/docs/Methods/MachineClassificationConfigApi.md +1 -0
- package/machine_identities/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/machine_identities/docs/Methods/MachineIdentitiesApi.md +3 -1
- package/managed_clients/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/managed_clients/docs/Methods/ManagedClientsApi.md +3 -1
- package/managed_cluster_types/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/managed_cluster_types/docs/Methods/ManagedClusterTypesApi.md +2 -0
- package/managed_clusters/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/managed_clusters/docs/Methods/ManagedClustersApi.md +4 -1
- package/mfa_configuration/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/mfa_configuration/docs/Methods/MFAConfigurationApi.md +4 -1
- package/multi_host_integration/docs/Examples/typescript_code_examples_overlay.yaml +6 -3
- package/multi_host_integration/docs/Methods/MultiHostIntegrationApi.md +6 -3
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/non_employee_lifecycle_management/docs/Examples/typescript_code_examples_overlay.yaml +14 -3
- package/non_employee_lifecycle_management/docs/Methods/NonEmployeeLifecycleManagementApi.md +14 -3
- package/notifications/docs/Examples/typescript_code_examples_overlay.yaml +7 -1
- package/notifications/docs/Methods/NotificationsApi.md +7 -1
- package/oauth_clients/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/oauth_clients/docs/Methods/OAuthClientsApi.md +3 -1
- package/org_config/docs/Examples/typescript_code_examples_overlay.yaml +2 -1
- package/org_config/docs/Methods/OrgConfigApi.md +2 -1
- package/package.json +1 -1
- package/parameter_storage/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/parameter_storage/docs/Methods/ParameterStorageApi.md +2 -0
- package/password_configuration/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/password_configuration/docs/Methods/PasswordConfigurationApi.md +2 -0
- package/password_management/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/password_management/docs/Methods/PasswordManagementApi.md +3 -0
- package/password_policies/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/password_policies/docs/Methods/PasswordPoliciesApi.md +2 -0
- package/password_sync_groups/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/password_sync_groups/docs/Methods/PasswordSyncGroupsApi.md +2 -0
- package/personal_access_tokens/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/personal_access_tokens/docs/Methods/PersonalAccessTokensApi.md +3 -1
- package/privilege_criteria/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/privilege_criteria/docs/Methods/PrivilegeCriteriaApi.md +2 -0
- package/privilege_criteria_configuration/docs/Examples/typescript_code_examples_overlay.yaml +1 -1
- package/privilege_criteria_configuration/docs/Methods/PrivilegeCriteriaConfigurationApi.md +1 -1
- package/public_identities_config/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/public_identities_config/docs/Methods/PublicIdentitiesConfigApi.md +1 -0
- package/reports_data_extraction/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/reports_data_extraction/docs/Methods/ReportsDataExtractionApi.md +1 -0
- package/requestable_objects/docs/Examples/typescript_code_examples_overlay.yaml +2 -2
- package/requestable_objects/docs/Methods/RequestableObjectsApi.md +2 -2
- package/role_propagation/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/role_propagation/docs/Methods/RolePropagationApi.md +1 -0
- package/roles/docs/Examples/typescript_code_examples_overlay.yaml +8 -1
- package/roles/docs/Methods/RolesApi.md +8 -1
- package/saved_search/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/saved_search/docs/Methods/SavedSearchApi.md +3 -0
- package/scheduled_search/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/scheduled_search/docs/Methods/ScheduledSearchApi.md +3 -0
- package/search/docs/Examples/typescript_code_examples_overlay.yaml +3 -0
- package/search/docs/Methods/SearchApi.md +3 -0
- package/search_attribute_configuration/docs/Examples/typescript_code_examples_overlay.yaml +3 -1
- package/search_attribute_configuration/docs/Methods/SearchAttributeConfigurationApi.md +3 -1
- package/segments/docs/Examples/typescript_code_examples_overlay.yaml +2 -1
- package/segments/docs/Methods/SegmentsApi.md +2 -1
- package/service_desk_integration/docs/Examples/typescript_code_examples_overlay.yaml +5 -1
- package/service_desk_integration/docs/Methods/ServiceDeskIntegrationApi.md +5 -1
- package/shared_signals_framework_ssf/docs/Examples/typescript_code_examples_overlay.yaml +5 -0
- package/shared_signals_framework_ssf/docs/Methods/SharedSignalsFrameworkSSFApi.md +5 -0
- package/sim_integrations/docs/Examples/typescript_code_examples_overlay.yaml +4 -0
- package/sim_integrations/docs/Methods/SIMIntegrationsApi.md +4 -0
- package/sod_policies/docs/Examples/typescript_code_examples_overlay.yaml +6 -1
- package/sod_policies/docs/Methods/SODPoliciesApi.md +6 -1
- package/sod_violations/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/sod_violations/docs/Methods/SODViolationsApi.md +2 -0
- package/sources/docs/Examples/typescript_code_examples_overlay.yaml +32 -9
- package/sources/docs/Methods/SourcesApi.md +32 -9
- package/sp_config/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/sp_config/docs/Methods/SPConfigApi.md +2 -0
- package/suggested_entitlement_description/docs/Examples/typescript_code_examples_overlay.yaml +13 -4
- package/suggested_entitlement_description/docs/Methods/SuggestedEntitlementDescriptionApi.md +13 -4
- package/tagged_objects/docs/Examples/typescript_code_examples_overlay.yaml +4 -0
- package/tagged_objects/docs/Methods/TaggedObjectsApi.md +4 -0
- package/tags/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/tags/docs/Methods/TagsApi.md +1 -0
- package/task_management/docs/Examples/typescript_code_examples_overlay.yaml +2 -1
- package/task_management/docs/Methods/TaskManagementApi.md +2 -1
- package/tenant_context/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/tenant_context/docs/Methods/TenantContextApi.md +1 -0
- package/transforms/docs/Examples/typescript_code_examples_overlay.yaml +2 -0
- package/transforms/docs/Methods/TransformsApi.md +2 -0
- package/triggers/docs/Examples/typescript_code_examples_overlay.yaml +7 -1
- package/triggers/docs/Methods/TriggersApi.md +7 -1
- package/ui_metadata/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/ui_metadata/docs/Methods/UIMetadataApi.md +1 -0
- package/work_items/docs/Examples/typescript_code_examples_overlay.yaml +1 -0
- package/work_items/docs/Methods/WorkItemsApi.md +1 -0
- package/work_reassignment/docs/Examples/typescript_code_examples_overlay.yaml +4 -1
- package/work_reassignment/docs/Methods/WorkReassignmentApi.md +4 -1
- package/workflows/docs/Examples/typescript_code_examples_overlay.yaml +7 -1
- package/workflows/docs/Methods/WorkflowsApi.md +7 -1
- package/dist/prompt_insights/api.d.ts +0 -367
- package/dist/prompt_insights/api.js +0 -349
- package/dist/prompt_insights/api.js.map +0 -1
- package/dist/prompt_insights/base.d.ts +0 -66
- package/dist/prompt_insights/base.js +0 -90
- package/dist/prompt_insights/base.js.map +0 -1
- package/dist/prompt_insights/common.d.ts +0 -65
- package/dist/prompt_insights/common.js +0 -292
- package/dist/prompt_insights/common.js.map +0 -1
- package/dist/prompt_insights/configuration.d.ts +0 -91
- package/dist/prompt_insights/configuration.js +0 -46
- package/dist/prompt_insights/configuration.js.map +0 -1
- package/dist/prompt_insights/index.d.ts +0 -13
- package/dist/prompt_insights/index.js +0 -32
- package/dist/prompt_insights/index.js.map +0 -1
- package/prompt_insights/.openapi-generator/FILES +0 -23
- package/prompt_insights/.openapi-generator/VERSION +0 -1
- package/prompt_insights/.openapi-generator-ignore +0 -23
- package/prompt_insights/.sdk-partition +0 -1
- package/prompt_insights/api.ts +0 -497
- package/prompt_insights/base.ts +0 -86
- package/prompt_insights/common.ts +0 -183
- package/prompt_insights/configuration.ts +0 -110
- package/prompt_insights/docs/Examples/typescript_code_examples_overlay.yaml +0 -31
- package/prompt_insights/docs/Methods/Index.md +0 -30
- package/prompt_insights/docs/Methods/PromptInsightsApi.md +0 -109
- package/prompt_insights/docs/Models/Errormessagedto.md +0 -21
- package/prompt_insights/docs/Models/Errorresponsedto.md +0 -22
- package/prompt_insights/docs/Models/GetPromptInsightsMetricsV1401Response.md +0 -19
- package/prompt_insights/docs/Models/GetPromptInsightsMetricsV1429Response.md +0 -19
- package/prompt_insights/docs/Models/Index.md +0 -19
- package/prompt_insights/docs/Models/Localeorigin.md +0 -21
- package/prompt_insights/docs/Models/Promptinsight.md +0 -27
- package/prompt_insights/docs/Models/Promptinsightsmetrics.md +0 -20
- package/prompt_insights/docs/Models/README.md +0 -46
- package/prompt_insights/git_push.sh +0 -57
- package/prompt_insights/index.ts +0 -18
- package/prompt_insights/package.json +0 -34
- package/prompt_insights/tsconfig.json +0 -21
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
source: |
|
|
35
35
|
import { MachineClassificationConfigApi } from 'sailpoint-api-client';
|
|
36
36
|
import { Configuration } from 'sailpoint-api-client';
|
|
37
|
+
import { Machineclassificationconfig } from 'sailpoint-api-client/dist/machine_classification_config/api';
|
|
37
38
|
|
|
38
39
|
const configuration = new Configuration();
|
|
39
40
|
const apiInstance = new MachineClassificationConfigApi(configuration);
|
|
@@ -123,6 +123,7 @@ Name | Type | Description | Notes
|
|
|
123
123
|
```typescript
|
|
124
124
|
import { MachineClassificationConfigApi } from 'sailpoint-api-client';
|
|
125
125
|
import { Configuration } from 'sailpoint-api-client';
|
|
126
|
+
import { Machineclassificationconfig } from 'sailpoint-api-client/dist/machine_classification_config/api';
|
|
126
127
|
|
|
127
128
|
const configuration = new Configuration();
|
|
128
129
|
const apiInstance = new MachineClassificationConfigApi(configuration);
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
source: |
|
|
7
7
|
import { MachineIdentitiesApi } from 'sailpoint-api-client';
|
|
8
8
|
import { Configuration } from 'sailpoint-api-client';
|
|
9
|
+
import { Machineidentityrequest } from 'sailpoint-api-client/dist/machine_identities/api';
|
|
9
10
|
|
|
10
11
|
const configuration = new Configuration();
|
|
11
12
|
const apiInstance = new MachineIdentitiesApi(configuration);
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
source: |
|
|
90
91
|
import { MachineIdentitiesApi } from 'sailpoint-api-client';
|
|
91
92
|
import { Configuration } from 'sailpoint-api-client';
|
|
93
|
+
import { Machineidentityaggregationrequest } from 'sailpoint-api-client/dist/machine_identities/api';
|
|
92
94
|
|
|
93
95
|
const configuration = new Configuration();
|
|
94
96
|
const apiInstance = new MachineIdentitiesApi(configuration);
|
|
@@ -109,7 +111,7 @@
|
|
|
109
111
|
const configuration = new Configuration();
|
|
110
112
|
const apiInstance = new MachineIdentitiesApi(configuration);
|
|
111
113
|
const id: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | Machine Identity ID. (default to undefined)
|
|
112
|
-
const requestBody: Array
|
|
114
|
+
const requestBody: Array<object> = [{"op":"add","path":"/attributes/securityRisk","value":"medium"}]; // Array<object> | A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
113
115
|
const xSailPointExperimental: string = 'true'; // string | Use this header to enable this experimental API. (optional) (default to 'true')
|
|
114
116
|
const result = await apiInstance.updateMachineIdentityV1({ id: id, requestBody: requestBody });
|
|
115
117
|
console.log(result);
|
|
@@ -56,6 +56,7 @@ Name | Type | Description | Notes
|
|
|
56
56
|
```typescript
|
|
57
57
|
import { MachineIdentitiesApi } from 'sailpoint-api-client';
|
|
58
58
|
import { Configuration } from 'sailpoint-api-client';
|
|
59
|
+
import { Machineidentityrequest } from 'sailpoint-api-client/dist/machine_identities/api';
|
|
59
60
|
|
|
60
61
|
const configuration = new Configuration();
|
|
61
62
|
const apiInstance = new MachineIdentitiesApi(configuration);
|
|
@@ -283,6 +284,7 @@ Name | Type | Description | Notes
|
|
|
283
284
|
```typescript
|
|
284
285
|
import { MachineIdentitiesApi } from 'sailpoint-api-client';
|
|
285
286
|
import { Configuration } from 'sailpoint-api-client';
|
|
287
|
+
import { Machineidentityaggregationrequest } from 'sailpoint-api-client/dist/machine_identities/api';
|
|
286
288
|
|
|
287
289
|
const configuration = new Configuration();
|
|
288
290
|
const apiInstance = new MachineIdentitiesApi(configuration);
|
|
@@ -332,7 +334,7 @@ import { Configuration } from 'sailpoint-api-client';
|
|
|
332
334
|
const configuration = new Configuration();
|
|
333
335
|
const apiInstance = new MachineIdentitiesApi(configuration);
|
|
334
336
|
const id: string = ef38f94347e94562b5bb8424a56397d8; // Machine Identity ID.
|
|
335
|
-
const requestBody: Array
|
|
337
|
+
const requestBody: Array<object> = [{"op":"add","path":"/attributes/securityRisk","value":"medium"}]; // A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
336
338
|
const xSailPointExperimental: string = true; // Use this header to enable this experimental API. (optional)
|
|
337
339
|
const result = await apiInstance.updateMachineIdentityV1({ id: id, requestBody: requestBody });
|
|
338
340
|
console.log(result);
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
source: |
|
|
7
7
|
import { ManagedClientsApi } from 'sailpoint-api-client';
|
|
8
8
|
import { Configuration } from 'sailpoint-api-client';
|
|
9
|
+
import { Managedclientrequest } from 'sailpoint-api-client/dist/managed_clients/api';
|
|
9
10
|
|
|
10
11
|
const configuration = new Configuration();
|
|
11
12
|
const apiInstance = new ManagedClientsApi(configuration);
|
|
@@ -94,10 +95,11 @@
|
|
|
94
95
|
source: |
|
|
95
96
|
import { ManagedClientsApi } from 'sailpoint-api-client';
|
|
96
97
|
import { Configuration } from 'sailpoint-api-client';
|
|
98
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/managed_clients/api';
|
|
97
99
|
|
|
98
100
|
const configuration = new Configuration();
|
|
99
101
|
const apiInstance = new ManagedClientsApi(configuration);
|
|
100
102
|
const id: string = '4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7'; // string | Managed client ID. (default to undefined)
|
|
101
|
-
const jsonpatchoperation: Array
|
|
103
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = ; // Array<Jsonpatchoperation> | JSONPatch payload used to update the object.
|
|
102
104
|
const result = await apiInstance.updateManagedClientV1({ id: id, jsonpatchoperation: jsonpatchoperation });
|
|
103
105
|
console.log(result);
|
|
@@ -54,6 +54,7 @@ Name | Type | Description | Notes
|
|
|
54
54
|
```typescript
|
|
55
55
|
import { ManagedClientsApi } from 'sailpoint-api-client';
|
|
56
56
|
import { Configuration } from 'sailpoint-api-client';
|
|
57
|
+
import { Managedclientrequest } from 'sailpoint-api-client/dist/managed_clients/api';
|
|
57
58
|
|
|
58
59
|
const configuration = new Configuration();
|
|
59
60
|
const apiInstance = new ManagedClientsApi(configuration);
|
|
@@ -285,11 +286,12 @@ Name | Type | Description | Notes
|
|
|
285
286
|
```typescript
|
|
286
287
|
import { ManagedClientsApi } from 'sailpoint-api-client';
|
|
287
288
|
import { Configuration } from 'sailpoint-api-client';
|
|
289
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/managed_clients/api';
|
|
288
290
|
|
|
289
291
|
const configuration = new Configuration();
|
|
290
292
|
const apiInstance = new ManagedClientsApi(configuration);
|
|
291
293
|
const id: string = 4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7; // Managed client ID.
|
|
292
|
-
const jsonpatchoperation: Array
|
|
294
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = ; // JSONPatch payload used to update the object.
|
|
293
295
|
const result = await apiInstance.updateManagedClientV1({ id: id, jsonpatchoperation: jsonpatchoperation });
|
|
294
296
|
console.log(result);
|
|
295
297
|
```
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
source: |
|
|
7
7
|
import { ManagedClusterTypesApi } from 'sailpoint-api-client';
|
|
8
8
|
import { Configuration } from 'sailpoint-api-client';
|
|
9
|
+
import { Managedclustertype } from 'sailpoint-api-client/dist/managed_cluster_types/api';
|
|
9
10
|
|
|
10
11
|
const configuration = new Configuration();
|
|
11
12
|
const apiInstance = new ManagedClusterTypesApi(configuration);
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
source: |
|
|
67
68
|
import { ManagedClusterTypesApi } from 'sailpoint-api-client';
|
|
68
69
|
import { Configuration } from 'sailpoint-api-client';
|
|
70
|
+
import { Jsonpatch } from 'sailpoint-api-client/dist/managed_cluster_types/api';
|
|
69
71
|
|
|
70
72
|
const configuration = new Configuration();
|
|
71
73
|
const apiInstance = new ManagedClusterTypesApi(configuration);
|
|
@@ -53,6 +53,7 @@ Name | Type | Description | Notes
|
|
|
53
53
|
```typescript
|
|
54
54
|
import { ManagedClusterTypesApi } from 'sailpoint-api-client';
|
|
55
55
|
import { Configuration } from 'sailpoint-api-client';
|
|
56
|
+
import { Managedclustertype } from 'sailpoint-api-client/dist/managed_cluster_types/api';
|
|
56
57
|
|
|
57
58
|
const configuration = new Configuration();
|
|
58
59
|
const apiInstance = new ManagedClusterTypesApi(configuration);
|
|
@@ -210,6 +211,7 @@ Name | Type | Description | Notes
|
|
|
210
211
|
```typescript
|
|
211
212
|
import { ManagedClusterTypesApi } from 'sailpoint-api-client';
|
|
212
213
|
import { Configuration } from 'sailpoint-api-client';
|
|
214
|
+
import { Jsonpatch } from 'sailpoint-api-client/dist/managed_cluster_types/api';
|
|
213
215
|
|
|
214
216
|
const configuration = new Configuration();
|
|
215
217
|
const apiInstance = new ManagedClusterTypesApi(configuration);
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
source: |
|
|
7
7
|
import { ManagedClustersApi } from 'sailpoint-api-client';
|
|
8
8
|
import { Configuration } from 'sailpoint-api-client';
|
|
9
|
+
import { Managedclusterrequest } from 'sailpoint-api-client/dist/managed_clusters/api';
|
|
9
10
|
|
|
10
11
|
const configuration = new Configuration();
|
|
11
12
|
const apiInstance = new ManagedClustersApi(configuration);
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
source: |
|
|
81
82
|
import { ManagedClustersApi } from 'sailpoint-api-client';
|
|
82
83
|
import { Configuration } from 'sailpoint-api-client';
|
|
84
|
+
import { PutClientLogConfigurationV1Request } from 'sailpoint-api-client/dist/managed_clusters/api';
|
|
83
85
|
|
|
84
86
|
const configuration = new Configuration();
|
|
85
87
|
const apiInstance = new ManagedClustersApi(configuration);
|
|
@@ -95,11 +97,12 @@
|
|
|
95
97
|
source: |
|
|
96
98
|
import { ManagedClustersApi } from 'sailpoint-api-client';
|
|
97
99
|
import { Configuration } from 'sailpoint-api-client';
|
|
100
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/managed_clusters/api';
|
|
98
101
|
|
|
99
102
|
const configuration = new Configuration();
|
|
100
103
|
const apiInstance = new ManagedClustersApi(configuration);
|
|
101
104
|
const id: string = '2c9180897de347a2017de8859e8c5039'; // string | Managed cluster ID. (default to undefined)
|
|
102
|
-
const jsonpatchoperation: Array
|
|
105
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = ; // Array<Jsonpatchoperation> | JSONPatch payload used to update the object.
|
|
103
106
|
const result = await apiInstance.updateManagedClusterV1({ id: id, jsonpatchoperation: jsonpatchoperation });
|
|
104
107
|
console.log(result);
|
|
105
108
|
- path: /managed-clusters/v1/{id}/manualUpgrade
|
|
@@ -55,6 +55,7 @@ Name | Type | Description | Notes
|
|
|
55
55
|
```typescript
|
|
56
56
|
import { ManagedClustersApi } from 'sailpoint-api-client';
|
|
57
57
|
import { Configuration } from 'sailpoint-api-client';
|
|
58
|
+
import { Managedclusterrequest } from 'sailpoint-api-client/dist/managed_clusters/api';
|
|
58
59
|
|
|
59
60
|
const configuration = new Configuration();
|
|
60
61
|
const apiInstance = new ManagedClustersApi(configuration);
|
|
@@ -249,6 +250,7 @@ Name | Type | Description | Notes
|
|
|
249
250
|
```typescript
|
|
250
251
|
import { ManagedClustersApi } from 'sailpoint-api-client';
|
|
251
252
|
import { Configuration } from 'sailpoint-api-client';
|
|
253
|
+
import { PutClientLogConfigurationV1Request } from 'sailpoint-api-client/dist/managed_clusters/api';
|
|
252
254
|
|
|
253
255
|
const configuration = new Configuration();
|
|
254
256
|
const apiInstance = new ManagedClustersApi(configuration);
|
|
@@ -288,11 +290,12 @@ Name | Type | Description | Notes
|
|
|
288
290
|
```typescript
|
|
289
291
|
import { ManagedClustersApi } from 'sailpoint-api-client';
|
|
290
292
|
import { Configuration } from 'sailpoint-api-client';
|
|
293
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/managed_clusters/api';
|
|
291
294
|
|
|
292
295
|
const configuration = new Configuration();
|
|
293
296
|
const apiInstance = new ManagedClustersApi(configuration);
|
|
294
297
|
const id: string = 2c9180897de347a2017de8859e8c5039; // Managed cluster ID.
|
|
295
|
-
const jsonpatchoperation: Array
|
|
298
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = ; // JSONPatch payload used to update the object.
|
|
296
299
|
const result = await apiInstance.updateManagedClusterV1({ id: id, jsonpatchoperation: jsonpatchoperation });
|
|
297
300
|
console.log(result);
|
|
298
301
|
```
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
source: |
|
|
47
47
|
import { MFAConfigurationApi } from 'sailpoint-api-client';
|
|
48
48
|
import { Configuration } from 'sailpoint-api-client';
|
|
49
|
+
import { Mfaduoconfig } from 'sailpoint-api-client/dist/mfa_configuration/api';
|
|
49
50
|
|
|
50
51
|
const configuration = new Configuration();
|
|
51
52
|
const apiInstance = new MFAConfigurationApi(configuration);
|
|
@@ -60,10 +61,11 @@
|
|
|
60
61
|
source: |
|
|
61
62
|
import { MFAConfigurationApi } from 'sailpoint-api-client';
|
|
62
63
|
import { Configuration } from 'sailpoint-api-client';
|
|
64
|
+
import { Kbaanswerrequestitem } from 'sailpoint-api-client/dist/mfa_configuration/api';
|
|
63
65
|
|
|
64
66
|
const configuration = new Configuration();
|
|
65
67
|
const apiInstance = new MFAConfigurationApi(configuration);
|
|
66
|
-
const kbaanswerrequestitem: Array
|
|
68
|
+
const kbaanswerrequestitem: Array<Kbaanswerrequestitem> = [{"id":"173423","answer":"822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34"},{"id":"c54fee53-2d63-4fc5-9259-3e93b9994135","answer":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"}]; // Array<Kbaanswerrequestitem> |
|
|
67
69
|
const result = await apiInstance.setMFAKBAConfigV1({ kbaanswerrequestitem: kbaanswerrequestitem });
|
|
68
70
|
console.log(result);
|
|
69
71
|
- path: /mfa/v1/okta-verify/config
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
source: |
|
|
75
77
|
import { MFAConfigurationApi } from 'sailpoint-api-client';
|
|
76
78
|
import { Configuration } from 'sailpoint-api-client';
|
|
79
|
+
import { Mfaoktaconfig } from 'sailpoint-api-client/dist/mfa_configuration/api';
|
|
77
80
|
|
|
78
81
|
const configuration = new Configuration();
|
|
79
82
|
const apiInstance = new MFAConfigurationApi(configuration);
|
|
@@ -154,6 +154,7 @@ Name | Type | Description | Notes
|
|
|
154
154
|
```typescript
|
|
155
155
|
import { MFAConfigurationApi } from 'sailpoint-api-client';
|
|
156
156
|
import { Configuration } from 'sailpoint-api-client';
|
|
157
|
+
import { Mfaduoconfig } from 'sailpoint-api-client/dist/mfa_configuration/api';
|
|
157
158
|
|
|
158
159
|
const configuration = new Configuration();
|
|
159
160
|
const apiInstance = new MFAConfigurationApi(configuration);
|
|
@@ -191,10 +192,11 @@ Name | Type | Description | Notes
|
|
|
191
192
|
```typescript
|
|
192
193
|
import { MFAConfigurationApi } from 'sailpoint-api-client';
|
|
193
194
|
import { Configuration } from 'sailpoint-api-client';
|
|
195
|
+
import { Kbaanswerrequestitem } from 'sailpoint-api-client/dist/mfa_configuration/api';
|
|
194
196
|
|
|
195
197
|
const configuration = new Configuration();
|
|
196
198
|
const apiInstance = new MFAConfigurationApi(configuration);
|
|
197
|
-
const kbaanswerrequestitem: Array
|
|
199
|
+
const kbaanswerrequestitem: Array<Kbaanswerrequestitem> = [{"id":"173423","answer":"822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34"},{"id":"c54fee53-2d63-4fc5-9259-3e93b9994135","answer":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"}]; //
|
|
198
200
|
const result = await apiInstance.setMFAKBAConfigV1({ kbaanswerrequestitem: kbaanswerrequestitem });
|
|
199
201
|
console.log(result);
|
|
200
202
|
```
|
|
@@ -228,6 +230,7 @@ Name | Type | Description | Notes
|
|
|
228
230
|
```typescript
|
|
229
231
|
import { MFAConfigurationApi } from 'sailpoint-api-client';
|
|
230
232
|
import { Configuration } from 'sailpoint-api-client';
|
|
233
|
+
import { Mfaoktaconfig } from 'sailpoint-api-client/dist/mfa_configuration/api';
|
|
231
234
|
|
|
232
235
|
const configuration = new Configuration();
|
|
233
236
|
const apiInstance = new MFAConfigurationApi(configuration);
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
source: |
|
|
7
7
|
import { MultiHostIntegrationApi } from 'sailpoint-api-client';
|
|
8
8
|
import { Configuration } from 'sailpoint-api-client';
|
|
9
|
+
import { Multihostintegrationscreate } from 'sailpoint-api-client/dist/multi_host_integration/api';
|
|
9
10
|
|
|
10
11
|
const configuration = new Configuration();
|
|
11
12
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
@@ -20,11 +21,12 @@
|
|
|
20
21
|
source: |
|
|
21
22
|
import { MultiHostIntegrationApi } from 'sailpoint-api-client';
|
|
22
23
|
import { Configuration } from 'sailpoint-api-client';
|
|
24
|
+
import { Multihostintegrationscreatesources } from 'sailpoint-api-client/dist/multi_host_integration/api';
|
|
23
25
|
|
|
24
26
|
const configuration = new Configuration();
|
|
25
27
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
26
28
|
const multihostId: string = '2c91808568c529c60168cca6f90c1326'; // string | ID of the Multi-Host Integration. (default to undefined)
|
|
27
|
-
const multihostintegrationscreatesources: Array
|
|
29
|
+
const multihostintegrationscreatesources: Array<Multihostintegrationscreatesources> = ; // Array<Multihostintegrationscreatesources> | The specifics of the sources to create within Multi-Host Integration.
|
|
28
30
|
const result = await apiInstance.createSourcesWithinMultiHostV1({ multihostId: multihostId, multihostintegrationscreatesources: multihostintegrationscreatesources });
|
|
29
31
|
console.log(result);
|
|
30
32
|
- path: /multihosts/v1/{multiHostId}/sources/bulk-delete
|
|
@@ -39,7 +41,7 @@
|
|
|
39
41
|
const configuration = new Configuration();
|
|
40
42
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
41
43
|
const multiHostId: string = '004091cb79b04636b88662afa50a4440'; // string | ID of the Multi-Host Integration (default to undefined)
|
|
42
|
-
const requestBody: Array
|
|
44
|
+
const requestBody: Array<string> = ; // Array<string> | The delete bulk sources within multi-host integration request body
|
|
43
45
|
const result = await apiInstance.deleteMultiHostSourcesV1({ multiHostId: multiHostId, requestBody: requestBody });
|
|
44
46
|
console.log(result);
|
|
45
47
|
- path: /multihosts/v1/{multihostId}
|
|
@@ -204,10 +206,11 @@
|
|
|
204
206
|
source: |
|
|
205
207
|
import { MultiHostIntegrationApi } from 'sailpoint-api-client';
|
|
206
208
|
import { Configuration } from 'sailpoint-api-client';
|
|
209
|
+
import { UpdateMultiHostSourcesV1RequestInner } from 'sailpoint-api-client/dist/multi_host_integration/api';
|
|
207
210
|
|
|
208
211
|
const configuration = new Configuration();
|
|
209
212
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
210
213
|
const multihostId: string = 'anId'; // string | ID of the Multi-Host Integration to update. (default to undefined)
|
|
211
|
-
const updateMultiHostSourcesV1RequestInner: Array
|
|
214
|
+
const updateMultiHostSourcesV1RequestInner: Array<UpdateMultiHostSourcesV1RequestInner> = [{"op":"add","path":"/description","value":"MDK Multi-Host Integration 222 description"}]; // Array<UpdateMultiHostSourcesV1RequestInner> | This endpoint allows you to update a Multi-Host Integration.
|
|
212
215
|
const result = await apiInstance.updateMultiHostSourcesV1({ multihostId: multihostId, updateMultiHostSourcesV1RequestInner: updateMultiHostSourcesV1RequestInner });
|
|
213
216
|
console.log(result);
|
|
@@ -63,6 +63,7 @@ Name | Type | Description | Notes
|
|
|
63
63
|
```typescript
|
|
64
64
|
import { MultiHostIntegrationApi } from 'sailpoint-api-client';
|
|
65
65
|
import { Configuration } from 'sailpoint-api-client';
|
|
66
|
+
import { Multihostintegrationscreate } from 'sailpoint-api-client/dist/multi_host_integration/api';
|
|
66
67
|
|
|
67
68
|
const configuration = new Configuration();
|
|
68
69
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
@@ -103,11 +104,12 @@ Name | Type | Description | Notes
|
|
|
103
104
|
```typescript
|
|
104
105
|
import { MultiHostIntegrationApi } from 'sailpoint-api-client';
|
|
105
106
|
import { Configuration } from 'sailpoint-api-client';
|
|
107
|
+
import { Multihostintegrationscreatesources } from 'sailpoint-api-client/dist/multi_host_integration/api';
|
|
106
108
|
|
|
107
109
|
const configuration = new Configuration();
|
|
108
110
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
109
111
|
const multihostId: string = 2c91808568c529c60168cca6f90c1326; // ID of the Multi-Host Integration.
|
|
110
|
-
const multihostintegrationscreatesources: Array
|
|
112
|
+
const multihostintegrationscreatesources: Array<Multihostintegrationscreatesources> = ; // The specifics of the sources to create within Multi-Host Integration.
|
|
111
113
|
const result = await apiInstance.createSourcesWithinMultiHostV1({ multihostId: multihostId, multihostintegrationscreatesources: multihostintegrationscreatesources });
|
|
112
114
|
console.log(result);
|
|
113
115
|
```
|
|
@@ -148,7 +150,7 @@ import { Configuration } from 'sailpoint-api-client';
|
|
|
148
150
|
const configuration = new Configuration();
|
|
149
151
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
150
152
|
const multiHostId: string = 004091cb79b04636b88662afa50a4440; // ID of the Multi-Host Integration
|
|
151
|
-
const requestBody: Array
|
|
153
|
+
const requestBody: Array<string> = ; // The delete bulk sources within multi-host integration request body
|
|
152
154
|
const result = await apiInstance.deleteMultiHostSourcesV1({ multiHostId: multiHostId, requestBody: requestBody });
|
|
153
155
|
console.log(result);
|
|
154
156
|
```
|
|
@@ -600,11 +602,12 @@ Name | Type | Description | Notes
|
|
|
600
602
|
```typescript
|
|
601
603
|
import { MultiHostIntegrationApi } from 'sailpoint-api-client';
|
|
602
604
|
import { Configuration } from 'sailpoint-api-client';
|
|
605
|
+
import { UpdateMultiHostSourcesV1RequestInner } from 'sailpoint-api-client/dist/multi_host_integration/api';
|
|
603
606
|
|
|
604
607
|
const configuration = new Configuration();
|
|
605
608
|
const apiInstance = new MultiHostIntegrationApi(configuration);
|
|
606
609
|
const multihostId: string = anId; // ID of the Multi-Host Integration to update.
|
|
607
|
-
const updateMultiHostSourcesV1RequestInner: Array
|
|
610
|
+
const updateMultiHostSourcesV1RequestInner: Array<UpdateMultiHostSourcesV1RequestInner> = [{"op":"add","path":"/description","value":"MDK Multi-Host Integration 222 description"}]; // This endpoint allows you to update a Multi-Host Integration.
|
|
608
611
|
const result = await apiInstance.updateMultiHostSourcesV1({ multihostId: multihostId, updateMultiHostSourcesV1RequestInner: updateMultiHostSourcesV1RequestInner });
|
|
609
612
|
console.log(result);
|
|
610
613
|
```
|
package/nerm/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-nerm-sdk@2.0.
|
|
1
|
+
## sailpoint-nerm-sdk@2.0.8
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-nerm-sdk@2.0.
|
|
39
|
+
npm install sailpoint-nerm-sdk@2.0.8 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/nerm/common.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const toPathString = function (url: URL) {
|
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
146
|
return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
|
-
let userAgent = `SailPoint-SDK-TypeScript/2.0.
|
|
147
|
+
let userAgent = `SailPoint-SDK-TypeScript/2.0.8`;
|
|
148
148
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
149
149
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
150
150
|
}
|
|
@@ -152,7 +152,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
152
152
|
const headers = {
|
|
153
153
|
...{'Accept': 'application/json'},
|
|
154
154
|
...axiosArgs.axiosOptions.headers,
|
|
155
|
-
...{'X-SailPoint-SDK':'typescript-2.0.
|
|
155
|
+
...{'X-SailPoint-SDK':'typescript-2.0.8'},
|
|
156
156
|
...{'User-Agent': userAgent},
|
|
157
157
|
}
|
|
158
158
|
|
package/nerm/package.json
CHANGED
package/nermv2025/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-nerm-sdk@2.0.
|
|
1
|
+
## sailpoint-nerm-sdk@2.0.8
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-nerm-sdk@2.0.
|
|
39
|
+
npm install sailpoint-nerm-sdk@2.0.8 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/nermv2025/common.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const toPathString = function (url: URL) {
|
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
146
|
return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
|
-
let userAgent = `SailPoint-SDK-TypeScript/2.0.
|
|
147
|
+
let userAgent = `SailPoint-SDK-TypeScript/2.0.8`;
|
|
148
148
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
149
149
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
150
150
|
}
|
|
@@ -152,7 +152,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
152
152
|
const headers = {
|
|
153
153
|
...{'Accept': 'application/json'},
|
|
154
154
|
...axiosArgs.axiosOptions.headers,
|
|
155
|
-
...{'X-SailPoint-SDK':'typescript-2.0.
|
|
155
|
+
...{'X-SailPoint-SDK':'typescript-2.0.8'},
|
|
156
156
|
...{'User-Agent': userAgent},
|
|
157
157
|
}
|
|
158
158
|
|
package/nermv2025/package.json
CHANGED
package/non_employee_lifecycle_management/docs/Examples/typescript_code_examples_overlay.yaml
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
source: |
|
|
7
7
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
8
8
|
import { Configuration } from 'sailpoint-api-client';
|
|
9
|
+
import { Nonemployeeapprovaldecision } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
9
10
|
|
|
10
11
|
const configuration = new Configuration();
|
|
11
12
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
source: |
|
|
22
23
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
23
24
|
import { Configuration } from 'sailpoint-api-client';
|
|
25
|
+
import { Nonemployeerequestbody } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
24
26
|
|
|
25
27
|
const configuration = new Configuration();
|
|
26
28
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
source: |
|
|
36
38
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
37
39
|
import { Configuration } from 'sailpoint-api-client';
|
|
40
|
+
import { Nonemployeerequestbody } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
38
41
|
|
|
39
42
|
const configuration = new Configuration();
|
|
40
43
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -49,6 +52,7 @@
|
|
|
49
52
|
source: |
|
|
50
53
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
51
54
|
import { Configuration } from 'sailpoint-api-client';
|
|
55
|
+
import { Nonemployeeschemaattributebody } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
52
56
|
|
|
53
57
|
const configuration = new Configuration();
|
|
54
58
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -64,6 +68,7 @@
|
|
|
64
68
|
source: |
|
|
65
69
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
66
70
|
import { Configuration } from 'sailpoint-api-client';
|
|
71
|
+
import { Nonemployeesourcerequestbody } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
67
72
|
|
|
68
73
|
const configuration = new Configuration();
|
|
69
74
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -92,6 +97,7 @@
|
|
|
92
97
|
source: |
|
|
93
98
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
94
99
|
import { Configuration } from 'sailpoint-api-client';
|
|
100
|
+
import { DeleteNonEmployeeRecordsInBulkV1Request } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
95
101
|
|
|
96
102
|
const configuration = new Configuration();
|
|
97
103
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -409,11 +415,12 @@
|
|
|
409
415
|
source: |
|
|
410
416
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
411
417
|
import { Configuration } from 'sailpoint-api-client';
|
|
418
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
412
419
|
|
|
413
420
|
const configuration = new Configuration();
|
|
414
421
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
415
422
|
const id: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | Non-employee record id (UUID) (default to undefined)
|
|
416
|
-
const jsonpatchoperation: Array
|
|
423
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = [{"op":"replace","path":"/endDate","value":"2019-08-23T18:40:35.772Z"}]; // Array<Jsonpatchoperation> | A list of non-employee update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
|
|
417
424
|
const result = await apiInstance.patchNonEmployeeRecordV1({ id: id, jsonpatchoperation: jsonpatchoperation });
|
|
418
425
|
console.log(result);
|
|
419
426
|
- path: /non-employee-sources/v1/{sourceId}/schema-attributes/{attributeId}
|
|
@@ -424,12 +431,13 @@
|
|
|
424
431
|
source: |
|
|
425
432
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
426
433
|
import { Configuration } from 'sailpoint-api-client';
|
|
434
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
427
435
|
|
|
428
436
|
const configuration = new Configuration();
|
|
429
437
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
430
438
|
const attributeId: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | The Schema Attribute Id (UUID) (default to undefined)
|
|
431
439
|
const sourceId: string = 'ef38f94347e94562b5bb8424a56397d8'; // string | The Source id (default to undefined)
|
|
432
|
-
const jsonpatchoperation: Array
|
|
440
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = [{"op":"replace","path":"/label","value":{"new attribute label":null}}]; // Array<Jsonpatchoperation> | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following properties are allowed for update \':\' \'label\', \'helpText\', \'placeholder\', \'required\'.
|
|
433
441
|
const result = await apiInstance.patchNonEmployeeSchemaAttributeV1({ attributeId: attributeId, sourceId: sourceId, jsonpatchoperation: jsonpatchoperation });
|
|
434
442
|
console.log(result);
|
|
435
443
|
- path: /non-employee-sources/v1/{sourceId}
|
|
@@ -440,11 +448,12 @@
|
|
|
440
448
|
source: |
|
|
441
449
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
442
450
|
import { Configuration } from 'sailpoint-api-client';
|
|
451
|
+
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
443
452
|
|
|
444
453
|
const configuration = new Configuration();
|
|
445
454
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
446
455
|
const sourceId: string = 'e136567de87e4d029e60b3c3c55db56d'; // string | Source Id (default to undefined)
|
|
447
|
-
const jsonpatchoperation: Array
|
|
456
|
+
const jsonpatchoperation: Array<Jsonpatchoperation> = [{"op":"replace","path":"/name","value":{"new name":null}},{"op":"replace","path":"/approvers","value":["2c91809f703bb37a017040a2fe8748c7","48b1f463c9e8427db5a5071bd81914b8"]}]; // Array<Jsonpatchoperation> | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
448
457
|
const result = await apiInstance.patchNonEmployeeSourceV1({ sourceId: sourceId, jsonpatchoperation: jsonpatchoperation });
|
|
449
458
|
console.log(result);
|
|
450
459
|
- path: /non-employee-approvals/v1/{id}/reject
|
|
@@ -455,6 +464,7 @@
|
|
|
455
464
|
source: |
|
|
456
465
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
457
466
|
import { Configuration } from 'sailpoint-api-client';
|
|
467
|
+
import { Nonemployeerejectapprovaldecision } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
458
468
|
|
|
459
469
|
const configuration = new Configuration();
|
|
460
470
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|
|
@@ -470,6 +480,7 @@
|
|
|
470
480
|
source: |
|
|
471
481
|
import { NonEmployeeLifecycleManagementApi } from 'sailpoint-api-client';
|
|
472
482
|
import { Configuration } from 'sailpoint-api-client';
|
|
483
|
+
import { Nonemployeerequestbody } from 'sailpoint-api-client/dist/non_employee_lifecycle_management/api';
|
|
473
484
|
|
|
474
485
|
const configuration = new Configuration();
|
|
475
486
|
const apiInstance = new NonEmployeeLifecycleManagementApi(configuration);
|